Add tosh example

This is an example grammar (and associated test!) based on the grammar used for tosh: tosh.tjvr.org.
You might wish to compare this nearley-flavoured example with the tosh grammar reference.
Context: tosh currently uses a homegrown Earley parser, inspired by Nearley. Hopefully one day I can switch, once performance for large grammars is fast enough to support syntax highlighting a line (and running CFG completion!) after each keypresss. :)

Thanks! This will be really helpful for people to get started.


[bug] unknown flag: --skip-crds when helmfile repos

Helmfile Version
0.151.0
Helm Version
v3.10.3
Bug description
Hello
When I try to run this:
helmfile repos -f helmfile.yaml

and the helmfile has :
helmDefaults:
  args:
    - "--skip-crds"

Im getting this error:
Error: unknown flag: --skip-crds

How can I use helmfile repos command without removing args of skip-crds ?
thanks !

see: https://github.com/helmfile/helmfile/blob/main/docs/proposals/towards-1.0.md#remove-the---args-flag-from-the-helmfile-command

Yeah. That’s been discussed a bit. I would just make this a request to formally allow a new flag on a per release basis which controls the behavior for ‘normal’ sync operations and also for template operations as well.

@travisghansen if you have ideas. PR is welcome.

Golang is unfortunately not my forte but I can provide some guidance :)

@travisghansen Thanks very much. ideas are welcome.

Still needs to be explored.

@travisghansen any updates? you can do it like this PR: https://github.com/helmfile/helmfile/pull/959, if you don't have free time. please tell me.


【question】About og:image

The og:image for each article is the cover image set for each article in Notion, but what if I want to change the og:image of the site itself from "https://source.unsplash.com/random"? If you change the cover image in the database, the og:image will not be changed.

Resolved.


Thanks for the PR! The links should now be updated with #152.


Remove queued status for pipelinerun #859

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #859
Special notes for reviewers:

Please check the following list before waiting reviewers:

[ ] Already committed the CRD files to the Helm Chart if you created some new CRDs
[ ] Already added the permission for the new API
[ ] Already added the RBAC markers for the new controllers

Does this PR introduce a user-facing change??

Inprove pipelinerun lifecycle，remove confused queued stage.

/cherrypick release-3.3

/approve

/approve


Improve migration cli

🚀 Feature
The new migration cli works fine most of the case but there are still some things we can easily improve.
We have e2e tests that seems to produce a buildable site with the command:
yarn docusaurus-migrate migrate ./website-1.x ./test-migrated

But it fails if we use this command:
yarn docusaurus-migrate migrate ./website-1.x ./test-migrated --mdx --page

Some pages and markdown files produce errors. I'd like to get this end2end test working at the end of this issue, including the pages. This won't guarantee that it will work on all d1 website but if it works for our d1 website at least it's a good thing.
Here are raw suggestions, and things I tried locally that could quite easily be automated.

Preserve git history
This has already been reported in the migration PR here: https://github.com/facebook/docusaurus/pull/3015
We should aim to preserve the docs git history. This is a real problem, that has notably be reported about the ReactNative website migration.
Edit: for RN website, we just kept the master docs in ./docs, so that they keep their history more easily. Maybe we should just recommend users to do the same? Preserving history of versioned docs seem less important and much harder to solve.
Pages
Page entry
I think we should transform the main page export from:
module.export = class Index {
  render() {
    // old code
  }
}

to
class Index {
  render() {
    // old code
  }
}

export default function MyPage(props) {
  const {siteConfig} = useDocusaurusContext();
  return (
    <Layout
      title="title for <filename>"
      description="description for <filname>">
      <Index {...props} config={siteConfig} />
    </Layout>
  );
}

Page custom fields
As we have a list of known customfields in the config, we can probably handle this in pages too:
siteConfig.users => siteConfig.customFields.users
siteConfig.unknownName => siteConfig.customFields.unknownName
siteConfig.renamedAttribute => siteConfig.newAttributeName

Page component libraries
We currently emulate the comp library with:
const CompLibrary = {
  Container: props =>

,
  GridBlock: props =>

,
  MarkdownBlock: props =>

};

This implementation is basic and will not work fine most of the time, particularly for GridBlock which accepts a contents array prop.
The old component library only contains 3 components. We could copy those components in ./src/components/docusaurusV1/, tweak them a bit (apply some existing Infima styles and inline styles) and they'd be usable in pages.
Page translate
const translate = props =>

;

This won't work, we need all comps being uppercase to work, + I think translations should use spans (not sure, to check what's best)
const Translate = props => ;

Page placeholder components
const Showcase = require(`${process.cwd()}/core/Showcase.js`);

gets transformed as:
const Showcase = (props) =>

;

That's nice but user may not notice that some comp is missing in the page, particularly if children is an object or undefined. I'd suggest to have some kind of visible placeholder component that we put in the same folder.
You could do something like:
const Showcase = (props) => <CompPlaceholder originalCompName="Showcase" {...props}>
;

export default function CompPlaceholder({ originalCompName, ...props }) {
  if (
    React.isValidElement(props.children) ||
    props.children instanceof String
  ) {
    return (

{originalCompName}

{props.children}

    );
  } else {
    return (

{originalCompName}

{JSON.stringify(props, null, 2)}

    );
  }
}

Page js transforms
There are existing jscodeshift transforms that we can run on the pages to modernize the js syntax to modern the standarts of a modern React codebase. For example transforming classes with only render fn to function components etc.
Page expected result
By applying just those simple transforms (that are probably doable with just string replace and regexps), I was able to get the following v1 site homepage migrated.
https://gist.github.com/slorber/96b4b2886f88e4a9d54aba20e658f5a7
It's not pretty (I'm sure you can do better :p), but at least it renders the existing components, and users can iterate on this to fix the remaining css issues:

MDX issues
It seems that the "markdown features" doc fails to convert properly. This is required to make the v1 site work in the CI.
There's a script in it that seems to make it fail:


Autosave lists to file

Really love the app and simplicity of it. Would there be a way to autosave any changes (new lists and list items) to a file? This would then be great to use syncthing with to sync grocery lists between users.

Thanks for your positive feedback, I learned a lot while creating the app. It is definitely possible to export and import database files using Room, I will get started on this feature this weekend and let you know when to expect an update in FDroid.

I may have spoken too soon, I remembered seeing functionality to pre-populate a Room database, but exporting an existing database isn't directly supported by the Room library. There may be a workaround, however, I am posting the below links so that I can reference them later:
Google Issue Tracker
Related GitHub Issue

Thanks again for this feature request, but I have not been able to find a reliable or supported way to implement this. It looks like at least one person has requested Google implement this ability into a future version of the Room library, but they have stated they have no plans to do so.


onComplete callback called all the time causing infinite render loo[

onComplete callback in example below keep s being triggered all  the time causing infinite loop and making the cropper unusable
<ReactCrop
                                src={upImg as string}
                                onImageLoaded={onLoad}
                                crop={crop}
                                onChange={(c) => {
                                    console.log('onChange');
                                    setCrop(c);
                                }}
                                onComplete={(c) => {
                                    console.log('onComplete this keep being called without even moving the mouse at all causing infinite render);
                                    setCompletedCrop(c);
                                }}
                            />

Same happens with onChange triggered all the time

I'm not sure why this happened but I know how it could have happened. Pls try v10 as I don't think the problem could exist anymore

How was this resolved? Experiencing this same issue on latest version


cli: Catch panics to tell the user to report them

Were you running into a panic somewhere specific?

No this is just a precaution seeing issues like #1845.
Users might not know what to do when they ruff panics, so I think it makes sense to ask them to report them to us.


Fixing DOCTYPE parse errors

//cc @inikulin

@diervo Note that this one requires rebase

@inikulin rebased an ready to merge


Fix Masking Indexes and Query

Type of Change

[X] Bug fix (non-breaking change, fixes # )
[ ] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[X] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
During it's development indexes and masking identity columns were added to the command.
Before version 1.0 of dbatools it was possible to use the -Query parameter to filter data and not mask the entire table.
This was a nice feature but due to all the other changes this has become inefficient and no longer worked and even created errors.
A new approach to this feature needed to be implemented where the query to filter the data is no longer executed from the command but from the config per table.
Approach
To make sure duplicate indexes were not being created, the schema name was added to the temporary identity index.
The -Query parameter is removed from the Invoke-DbaDbDataMasking
A property called FilterQuery was added to the masking configuration. This will now be added to the masking config when New-DbaDbMaskignConfig is ran.
Commands to test

Invoke-DbaDbDataMasking
New-DbaDbMaskingConfig

Screenshots
Before the error would create something like this

But this is now fixed

After removing all the debug and streamlining the process the commands executes the query successful

Learning

I merged the latest changes from development into this branch to have the most up-to-date  version in there

looks good 👍


Redesign Manual landing page

I'm hoping we can keep this simple and expose all of the man pages plus some useful jumping off links.
Placeholder here: https://git-scm-pr-1179.herokuapp.com/manual

We've got analytics floating around somewhere that I bet would be super helpful for this.

Hmmmm. Maybe it might make sense to categorize the commands?
I feel like in addition to basic workflow, rebase/reset/diff/log kinda fall into a "have a repo, trying to do X" category (and submodule/stash/fetch kinda fit here too).
Also worth noting, an alphabetic sort might be useful. Not sure if it's the best idea, but the first time I looked at that list I wasn't really sure how to browse it.

I started brainstorming ways of grouping the commands and kept coming back to the fact that we already have the commands organized in categories.
Here's another idea. We could expand out the existing categories w/ their one-line summaries (responsive version TBD) and then indicate the more popular pages with a star or something.

I like that direction. You can still use the categories to find what you're looking for, or if you don't know the category, you can skim for stars.
It would probably make sense to keep the stars for each category grouped at the top, and probably make the non-starred ones smaller (e.g., by not including their one-line summaries).

just as @peff, I really like this version. But I would prefer to keep the one-line summaries in all the commands just for consistency. I think the star icon is enough to give the headlight

My concern with the one-line summaries for all is just that it becomes hard to scan the list looking for "starred" entries. But I'm happy to punt on that until we see the final design and live with it for a while.

Wouldn't the stars be more useful if put on categories where all the commands are common? Here it seems like despite their commonness, they are scattered in the page.

FWIW, based on the list from GA above, the most-frequented pages are indeed scattered over the page. I imagine this is from a mix of newer users looking at basic commands + more experienced users referring to harder to remember commands.

This kind of ties into an idea that's been bouncing around my head: it would be great to announce this somewhere and collect user feedback, e.g. /r/git, maybe /r/programming, lobste.rs, HN, etc., so that we have opinions from people who aren't Git contributors.

I do think it's a good idea to get some outside feedback. I'm a little worried about having to sort through an influx of input with low signal/noise ratio (I don't mean to imply that the feedback will be low quality, but that we'll get a lot of "you should do this one specific thing" without very much overlap, some of which are bound to conflict, and sorting and organizing the suggestions will be a task in itself).

Since nobody has been working on thi, in over three years, maybe we should close this ticket?
Should someone show up willing to drive this improvement, we could easily reopen it.

Let's just close this.


⚠ Integrations (prod) has degraded performance

In 8fdc2a2, Integrations (prod) (https://integrations.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 7321 ms

Resolved: Integrations (prod) performance has improved in 73fb5cc.


update classess!11!!

another pr was opened solving issues for the other files as well mb

thanks anyway


Making RelationalError extendable/customizeable

Given that most API calls take a Connection and  SessionId and return an Either RelationalError a result type, I have made a ReaderT + ExceptT monad stack and wrapped the API calls in it. Like this:
data DBEnv = DBEnv { getHead :: Text
                   , getConnection :: Connection
                   , getSessionId :: SessionId
                   }

type Action a = ReaderT DBEnv (ExceptT RelationalError IO) a

connInfo :: ConnectionInfo
connInfo = RemoteConnectionInfo
  "my-db"
  "<IP_ADDRESS>"
  "6543"
  emptyNotificationCallback

conn :: IO Connection
conn = handleIOError $ connectProjectM36 connInfo

handleIOError :: Show e => IO (Either e a) -> IO a
handleIOError m = do
  v <- m
  handleError v

handleError :: Show e => Either e a -> IO a
handleError eErr = case eErr of
  Left err -> print err >> error "Died due to errors."
  Right v  -> pure v

The wrapped API calls look like this:
execRelExp :: RelationalExpr -> Action Relation
execRelExp rExp = do
  env <- ask
  lift
    $ ExceptT
    $ executeRelationalExpr (getSessionId env) (getConnection env) rExp

Then I use runDB to run the stack:
runDB :: Action a -> IO (Either RelationalError a)
runDB a = do
  c <- liftIO conn
  sessionId <- liftIO $ createSessionAtHead c "master"
  case sessionId of
    Right sid -> withTransaction
      sid
      c
      (runExceptT
         (runReaderT
            a
            DBEnv { getHead = "master", getConnection = c, getSessionId = sid }))
      (autoMergeToHead sid c UnionMergeStrategy "master")
    Left e    -> return $ Left e

Now let's say I want a function that given a RelVar name, returns its contents. But it also makes sure the user making the call has read access to that RelVar. To do this, I would do something like this:
checkReadAccess :: UserId -> RelVarName -> Action Bool
checkReadAccess uid rv = ... -- see if the user has access to that rel var

getRelVar :: RelVarName -> Action Relation
getRelVar rv = do
  let userId = ... -- get user ID from http session or something
  hasReadAccess <- checkReadAccess userId rv
  if hasReadAccess
    then execRelExp $ RelationVariable rv ()
    else throwError (AccessError userId rv) -- need to signal this problem somehow

This whole thing can go wrong in multiple ways, some of which come from Project:M36 and some are app specific. (i.e. rel var is not defined or user is not logged in or user has no read access). If somehow RelationalError could be extended to allow for app specific errors, things could become very easy in monad stacks and very composable in general.
So far I can't think of a way to do this cleanly. Any suggestions are welcome!

How about using sum types to extend errors?
data AllErrors = DBError RelationalError | AppError AppError
data AppError = AccessError UserID RelVarName

type Action a = ReaderT DBEnv (ExceptT AllErrors IO) a
And this way, you can throw your customized errors in your monad.
throwError (AppError (AccessError userId rv))

@YuMingLiao You're right, this would work. I was hoping for something that is usable out of the box, so that I could completely separate my lower level functions from the application logic. For example if I use AllErrors, then my Action type would have to change and the wrapped API calls would have to change, and in general my data layer would not be agnostic about what the application might be doing. I wouldn't be able to put my data layer in a separate library for example.
Maybe TypeFamilies or type classes or some Haskell type system magic can solve it, but I'm not experienced enough to think of something.
In any case, if something like the above is not possible, I think I will have to do it your way. I would also like to hear what @agentm thinks about this. And thanks for the reply!

Yup, I think this does it. I'll try this tomorrow and let you know how it goes. Thanks again!

@YuMingLiao I failed to make Actions composable using TypeFamilies but I came up with a solution which does not require any changes in the Project:M36. Let me know what you think.
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE StandaloneDeriving #-}

import Control.Monad.Except
import Control.Monad.Reader

-------- this would be defined in Project:M36 (RelationalError)
data DBError = E1 | E2 String
  deriving (Show)

dbAPI :: Int -> IO (Either DBError String)
dbAPI i =
  if i > 0
    then return $ Right "OK"
    else return $ Left $ E2 "Negative Int Error!"

--------------- all compose relatively well now
test :: Int -> IO (Either CombinedErrors (String, String))
test i = runAction $ do
  r1 <- appFn i
  r2 <- wrappedAPI i
  return (r1, r2)

Oh! right, IO is the real tricky thing.
Brilliant! Now you can have IO/pure expressions with any error and compose them together later in your Action.  Thanks for sharing!

This is not directly related, but there is also the project-m36-typed project which provides a more strongly typed means of interacting with the Project:M36 client library.


Configuration-time constants

Motivation
New configuration-time constants (https://github.com/FuelLabs/sway/pull/3536) will require reworking the currently used Forc.toml configuration-time constants across applications and allow resolving some TODOs.
Blocked by https://github.com/FuelLabs/sway/issues/3679 since forc fmt --check in the CI is currently resulting in an error.

Noting that following the issues it would appear that the feature for using non-literal config-time constants has been implemented; however, as of forc 0.35.0 that is not the case.

Both issues seem to have been resolved although I'm uncertain about what we can do with the first link given that I've found something to not work when it was supposed to because of lack of support elsewhere.
Either way, here is the PR which was merged and released for forc 0.35.2.
Removing blocked.

FYI: Config time constants as they are will be deprecated soon - details in this accompanying issue and comment here, but from the developer's POV, declaring the [constants] table will not be supported anymore, while [contract-dependencies] will still work as before but will use a different name than ConfigTimeConstant in the backend.
These changes aren't live yet on the current versions, so there's no need to deprecate usage yet - will comment here again once a PR is merged to master.

PR https://github.com/FuelLabs/sway/pull/4298 has been merged

PR FuelLabs/sway#4298 has been merged

Cool, once the SDK releases Bytes support I can bump my PRs with that support too.

This issue has been resolved in the bumping of apps


Fixed Issue #3093 in gym

This was a fix to an issue in the gym repo,which i have migrated here
Description
Changed class Dict(Space[TypingDict[str, Space]], Mapping): in line 15 to class Dict(Space[TypingDict[str, Any]], Mapping[str, Space[Any]]): in dict.py
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)

Screenshots
Please attach before and after screenshots of the change if applicable.

Checklist:

[x] I have run the pre-commit checks with pre-commit run --all-files (see CONTRIBUTING.md instructions to set it up)
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@Warlord-K Could you fix the build issues


Start Dictation keeps breaking, how can i have the second CC ?

The second button does not show, how can i have that?

This is a great feature

@magnaapps This is not related  to bigbluebutton-mp4-transcription. How ever you can enable live caption on your bigbluebutton(v2.6)  by editing /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml. Look for audioCaptions section in settings.yml and enable it. And restart the bigbluebutton server


Add debugger support

Would be nice to do something like https://github.com/AnimaApp/CocoaPowder when writing debugger.
Unfortunately, it doesn't work right now because of http://sketchplugins.com/d/265-disablecocoascriptpreprocessor-and-error-stack

I am also eager to get a reply， so I raised a issue --> https://github.com/sketchplugins/plugin-directory/issues/417


Delete functionality - phase 1 (tagging)

Resolves #1012
Minor TODOs left, but bulk is ready for 1st pass/quick review for discussion.
TODO/TBD:

[x] TODO container delete permissions still need to be adjusted
[x] TBD containers getting the delete tag don't apply it on their files - no explicit need though. Opinions?
[x] TBD effort could go into unifying querying so that {'deleted': {'$exists': False}} can be used less
[x] TBD in hindsight, would we rather want {'deleted': {'$ne': True}}?

Review Checklist

Tests were added to cover all code changes
Documentation was added / updated
Code and tests follow standards in CONTRIBUTING.md

Codecov Report

Merging #1030 into master will increase coverage by 0.36%.
The diff coverage is 94.11%.

@@            Coverage Diff            @@
##           master   #1030      +/-   ##
=========================================
+ Coverage   90.64%     91%   +0.36%
=========================================
  Files          50      50
  Lines        6764    6769       +5
=========================================
+ Hits         6131    6160      +29
+ Misses        633     609      -24

TBD containers getting the delete tag don't apply it on their files - no explicit need though.
I don't see a problem until we move them to their own collection. Search will properly remove them.

in hindsight, would we rather want {'deleted': {'$ne': True}}

I think we would remove the key if we "un-delete" something, but curious if anyone else has an opinion on the matter.

@nagem Thanks for all the help and the input. Implemented and tested all features requested for the tagging phase (including permission handling and analysis ref checks). Sticking with {'exists': ...} because it's not just binary, I'm actually setting it to a datetime.
Also freshly rebased.

@nagem @ryansanford Rebased, patched, ready for review.

Changes look good, holding on merge for Ryan's review of "restore" script.

@ryansanford added undelete.py and manually (and very limitedly) tested that container undel/recursion/file undel work.

I'm going to add a new access log type (delete_container) and add it where appropriate here.

I suggest undelete.py recursively undelete parent containers if they are deleted. Currently it does not, resulting in the restored container referencing parent containers that are not accessible by the API.
Scenario...

User deletes project, which recursively deletes all nested sessions and acquisitions.
User needs a couple specific sessions or acquisitions restored.

Another scenario that may trump the one I just posted above, or make the approach to it more nuanced...

A week ago user deletes a single acquisition within a project.
Yesterday a user deletes that project by mistake, and wants that project restored.

I think it's reasonable for a user to expect that restoring a project is scoped to the single delete event in no.2, and would not end up restoring the acquisition deleted in no.1.
Undoubtably, it's a powerful capability to make it easy to indiscriminately undelete everything under a project. I'm questioning if that fits the administrative use case we were initially targeting.
@tcbtcb @lmperry I think your perspectives are important here.

Trying to undelete a file that exists, but not currently deleted is resulting in an exception. Instead, exit code should be zero with no error message, since the state of the system matches the intended state of running undelete.py.
2017-12-21 15:42:45 scitran.undelete              undelete.py    46:INFO Removing "deleted" tag from file acquisitions/5a39375e7053b30020c9e2f7/4374_1_1b.nii.gz...
Traceback (most recent call last):
  File "bin/undelete.py", line 59, in <module>
    main()
  File "bin/undelete.py", line 49, in main
    del f['deleted']
KeyError: 'deleted'

Scitran Collections, nor their attached files can be undeleted with the current implementation.

Delete of the Scitran Collection results in the removal of the corresponding mongo doc. Unclear if this was intended from description in this PR or referenced issue.
Deletion of Scitran Collection file attachments marks those files as deleted, but undelete.py does not accept collections as a valid container type for undeleting of its attachments. This seems like a bug.

I'm done with my review.
PSA: Search indexing implementations should be updated as appropriate before this change sees production.

@ryansanford if we end up needing to support that scenario (files deleted in the past don't get restored), I have a few ideas we could use (timestamp set once for all containers, delete timestamp not overwritten).


[BUG]

Information

Apktool Version - 2.9.1
Operating System - Linux
APK From? - Playstore
Java Version - openjdk 11.0.21 2023-10-17

Stacktrace
d:
I: Using Apktool 2.9.1 on audioteka.apk
I: Loading resource table...
I: Decoding file-resources...
I: Loading resource table from file: /home/-/.local/share/apktool/framework/1.apk
I: Decoding values */* XMLs...
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Baksmaling classes3.dex...
I: Baksmaling classes4.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Copying META-INF/services directory

b:
I: Using Apktool 2.9.1
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes4 folder into classes4.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes3 folder into classes3.dex...
I: Checking whether resources has changed...
I: Building resources...
I: Copying libs... (/kotlin)
I: Copying libs... (/META-INF/services)
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk into: audioteka_repack.apk

When trying to install over adb:
Performing Streamed Install
adb: failed to install signed.apk: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl172274698.tmp/base.apk (at Binary XML file line #95): <meta-data> requires an android:value or android:resource attribute]

Steps to Reproduce

See stacktrace, I did no modification to files

APK
https://play.google.com/store/apps/details?id=com.audioteka&hl=en&gl=US
Questions to ask before submission

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

My guess based on the naming you have that you disassembled the main split apk, which probably has a @xml/splits0 reference in the Manifest file.
Since Apktool is building 1 apk at a time and not like bundletool with access/knowledge of the splits - it probably nulled out that value and led to that.
We've got a few open tickets for split apk handling so I'll close this one.


Add to developer guide about how to set up a local trust with their cluster

In Fedora/RHEL based dev environments, the certifi pip module that gets installed automatically as a dependency of the kubernetes package causes SSLCertificate errors. You must dnf install python-certifi instead.

Step 1: Download cluster ca.crt (need to provide command)
Step 2: Add to system trust bundle
Step 3: oc login --token=<token> --server=https://api.cluster-eric.blue.osp.opentlc.com:6443 --certificate-authority=/etc/pki/tls/certs/ca-bundle.crt


QOL Changes

This PR implements a couple of different QOL changes and bug fixes.
It is behind on a major bug patch implemented by #174 , so review that first!
This PR implements:

refresh button
fixes time zone bug in scraper
adds error messages to login and register page

Lots of files "changed" due to golden files updates ~40 golden files were updated due to the new refresh button

No idea why tests are failing -- they all pass on my local.

No idea why tests are failing -- they all pass on my local.

so from your commits we know its the friends screen. Idk if you touched that screen yet but I did edit that screen so the placement of the buttons will work. Idk if that changed the friend's location sharing part under the buttons tho
Not sure why they pass on your local? Maybe if someone else with a mac or something could run them on their local to see?


Connecting on Marantz Sr6004

I've an Homeassistant installation (minipc) connected on serial to Marantz Sr6004, my serialport configuration on config.yaml of 2mqtt is:
adapters:

name: adapter1
enabled: true
reconnect_delay: 20s
provider: raw
source:
type: serial
port: /dev/ttyS1
baud_rate: 9600
transmit_pre_delay: 10ms
mqtt:
broker: tcp://xxx.xxx.xxx.xxx:1883
insecure_skip_verify: false
username: xxxx
password: xxxx
subscribe: in_marantz/#
publish: out_marantz
qos: 0
transmit_pre_delay: 100ms
reconnect_delay: 5s

In accorting to Marantz documentation if I send a command (ES: @PWR:1\r)  on in_marantz topic, the device succesfully power ON itself, but if I send a STATUS command (ES: @PWR:?\r), in terminal windows the device respond correctly it's STATE (@PWR:1 in case of ON and @PWR2 in case of OFF)  but with  serial2mqtt it is unable to fetch this values  and send message on out_marantz topic.
wath I can do?
Tnx

@mitro72  not sure what your setup is. If I understand correctly , you're trying to connect to connect a Marantz SR6004 https://www.marantz.com/en-us/product/av-receivers/sr6004 via serial port to a minipc.
The marantz is unlikely to talk the protocol that is needed for the serial2mqtt communication. Based on the examples given, it looks like a simple line based ( cr lf ) protocol, which is not JSON object based ( on what serial2mqtt ) expects. Serial2mqtt is intended for communication with a device that is capable of being programmed to understand the same protocol.
In your case I would write a MQTT listener that triggers these line based commands to the marantz via the serial port.
Hope this helps.

Yes! you are right!! Marantz is line based, if you could many thanks!!! I think this can help to integrate many older devices...
Great!!
Whish best!!

@mitro72  just to be clear, I was just suggesting a path of solution, myself have no plans to develop this. As also I have no use case or device to test against. Sorry if there was some misunderstanding.

ok! no problem!

not fit for purpose.


Amazon Linux 2 not supported

https://github.com/sous-chefs/selinux_policy/blob/d3868fd5a4581d2c73ea102950a5c1aef04d9587/resources/install.rb#L4-L31
Amazon Linux 2 has platform_family amazon, whereas Amazon Linux (1) reports this as rhel
This makes this recipe fail on Amz Linux 2 instances.
when 'amazon'
 package ['policycoreutils-python', 'selinux-policy-devel', 'setools-console', 'make']

Hi!
which version of ohai, and Chef-client are you using?
Amazon-1 and Amazon-2 should both be reporting as platform_family amazon

Ohai: 8.26.1
Chef:12.22.5
I'm aware this is EOL.
Regardless of @damacus ' comment, the cookbook will still fail.

If you can provide replication steps on a non-EOL version of Chef then we'll happily take a look.
Right now we only support Chef 13 and 14. Soon to be Chef 14 and 15

Replication: Amazon Linux 2 box
Install Chef 14.
Use recipe that has a dependency on this cookbook.
See it fail.
don't see why/how Chef 12 would be relevant as the platform_family for amazon linux is simply not in the code and therefore it will always fail ever since the update was pushed through in Chef to list Amz Linux as "amazon" platform family.


fix: unified Share Action types

Summary:
This pull request simplifies the type and fixes a TypeScript object destructuring problem by combining the ShareSharedAction and ShareDismissedAction types into a single ShareAction type. Enabling proper access to the activityType property without TypeScript errors.
Changelog:
[INTERNAL] [FIXED] -  Unified ShareSharedAction and ShareDismissedAction into ShareAction. Resolved TypeScript issue with object destructuring.
Test Plan:
With the current typing:

With the proposed solution:

love it

@juniorklawa can you rebase and retrigger the CI jobs?

@philIip sorry, i got lost here, should i do something else?

nope should all be done! thanks for your contribution!


Develop a Navbar

Develop a Navbar which will have direct links of

Contact Page

About Page

Home

Profile Page

Login/logout option

Products

Any other miscellaneous link that you  think that navbar should have.

!assign

!assign

Is it compulsory to use material-ui or we can use HTML and tailwind?

can i work on navbar @CoHarsh


Dropdownlist triggers a change event if the user expands the list then clicks on the currently selection option again

Expected Behavior
Selecting the currently selected item in a dropdown should not trigger any events since no change has been made
Current Behavior
Selecting the currently selected item in a dropdown triggers a change event, this has undesired outcomes particularly in ASP.NET if the dropdown has been set to autopostback - the postback is triggered yet the associated SelectedIndexChanged event does not execute in C#. Depending on the structure of the page, this can break the UI.
Possible Solution
I modified the javascript for the Select Plugin inside the following function:
$.fn.material_select
Note that the following code block is not tidy, but designed to be easy to understand if/when we upgrade our materialize version in the future, it does fix the problem however:
// Begin customisation
			// For a single select, if the item is already selected, do not trigger a change event
			// Otherwise .NET triggers an autopostback but not a selectedindexchanged, this can have bad effects
			if (multiple) {
				activateOption(options, $(this));
				$select.find('option').eq(i).prop('selected', selected);
				// Trigger onchange() event
				$select.trigger('change');
				if (typeof callback !== 'undefined') callback();
			}
			else {
				var isAlreadySelected = $select.find('option').eq(i).is(':selected');
				activateOption(options, $(this));
				$select.find('option').eq(i).prop('selected', selected);
				// Trigger onchange() event only if selection has actually changed
				if (!isAlreadySelected)
					$select.trigger('change');
				if (typeof callback !== 'undefined') callback();
			}
// End customisation

Context
We applied Materialize to a complex ASP.NET webforms application, users will often expand a list, see there is not an option they would prefer then close the list by clicking on their currently selected option. This has lead to some UI glitches.
Your Environment
Browsers: Chrome, Firefox, Edge, IE
Materialize v0.100.2

As of Materialize 1.0.0 this is no longer an issue.


Why do we need lock nothing in jthread.cpp

At jthread.cpp:131, why do we need add continuemutex2.Lock() and continuemutex2.Unlock(), and has nothing between the two function.

The locking is done to make sure that an other thread released the lock. Ultimately this is done do make sure that the start function only exits after you've called ThreadStarted from within your own code


rebase.sh: openshift-router's serving cert

Do not remove assets introduced in https://github.com/openshift/microshift/pull/1031

/cc @stlaz @fzdarsky

/lgtm


its bad

why is ron making the frontend like what

also why is this even a thing

bad

dbc bad

anthony worst owner

not a actual issue

ron is bad at frontend

daniel is good at backend

who elses gonna do it

why arent we using typescript

why no react

wait we are


x/playground: fail to build with Go tip since CL 603476

It started to fail consistently since CL 603476 (on the main repo).
E.g. https://ci.chromium.org/ui/p/golang/builders/ci/x_playground-gotip-linux-amd64/b8738967458806380001/overview
https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8738967458806380001/+/u/step/18/log/2
Apparently some tests need fix to make the new vet happy.
cc @adonovan @toothrot

Related Issues and Documentation

x/vuln: cmd/govulncheck.TestCommand/main fail with Go tip since CL 596035 #68998

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

These invalid names are intentionally chosen.  Not sure what we should do here.
// TestisNotATest is not a test function, despite appearances.
//
// Please ignore any lint or vet warnings for this function.
func TestisNotATest(t *testing.T) {
	panic("This is not a valid test function.")
}

Interesting. Maybe we can set the x/playground repo to run with GOFLAGS=-vet=off (or some flag to just disable the -tests check, if possible)? Or move those not-a-test functions to testdata?

For the tests of ill-formed Test functions in GOROOT, I added -vet=off to the go test commands as needed. Unfortunately in this case the design of the test mixes the (sound) test harness and the (invalid) code under test in the same source file. Really the latter code should be split into a separate file beneath testdata (as @cherrymui said). Unfortunately that's not a quick fix.


Addition to #560: use lsbmajdistrelease instead of operatingsystemmajrelease

Added fix for redhead

Be wary of merging this. The LSB facts require a certain package (redhat-lsb) to be installed on RH systems which pulls in several dependencies which is not desirable on cloud/minimal servers. When that package is not installed the fact will be undefined (I'm not sure if a better fallback is available in newer Facter versions but historically this was the case).
Facter 1.7 is a dependency of this module according to the README for the very reason that the operatingsystemmajrelease fact is required, so the redhat-lsb package doesn't have to be installed.
I don't think the situation is as bad on Debian since the required LSB package is smaller and has fewer dependencies so https://github.com/jfryman/puppet-nginx/pull/560 probably won't be much of an issue. But this PR needs more thought.

Right. Facter >=1.7 is a requirement. And this will be installed through the puppet deb repo for wheezy!
So #560 should be reverted and this PR not merged in. Sorry!


Music Assistant Crashes -- When I am not home or asleep (have to restart application)

What version of Music Assistant has the issue?
2.3.2
What version of the Home Assistant Integration have you got installed?
2024.10.4
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
Music will not play, all players in HA show as 'unavailable' and I cannot load into the webui of MA.  Only restarting MA fixes the issue.
How to reproduce
I cannot reproduce the issue except to say that it seems to only happen when the house is empty (Away) or everyone is asleep.
Music Providers
I only use Apple Music
Player Providers
I only use Sonos and Airplay
Full log output
I cannot upload the log file because the log file goes away with each restart.  I did however, save a copy/paste as a word file before I restarted MA and have attached that.
Log for MA.docx
Additional information
No response
What version of Home Assistant Core are your running
2024.10.4
What type of installation are you running?
Home Assistant Core
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

I run MA directly as a HA add-on as stated in the instructions.
I run HA on a Proxmax VM with 8GB RAM allocated to the HA VM.
I do notice memory in the VM has 6GB allocated but in HA it says 2.3GB allocated. In MA add-on ram% usage is at 4%
Please let me know whether you need additional information.

Is this still happening?

It is not, and I think I found the culprit and I just do not understand why.
I created a speaker group called Downstairs Speakers.  I did this to simplify automation, where I would need to make a TTS announcement.  I tried this speaker group as both fixed and dynamic and as both airplay and sonos, all with the same issue.  What I believe to have happened is that automation would run that would call for media_player.ma_downstairs_speaker to make an announcement.  Node-Red gave a log that stated the announcement was in progress several hours after the automation began to run.  From there, only an MA reboot would get MA to play music again.
For example, I have an automation that announces to media_player.ma_downstairs_speakers that 'Alarm is Armed.'  I noticed this announcement did not play one evening, and the following day, I noticed Node Red had a log stating the announcement was still 'in progress,' and Music Assistant had stopped responding.  I checked memory usage on my ProxMax, HA, and MA, and all seemed normal.   Other HA automation ran without issue, but I could not play music to any speaker on MA.  I think this has something to do with issue #3175, which I posted about last week, and I posted logs that I believe captured what happened at the moment TTS failed to work and produced the Node-Red message 'announcement in progress'.
I deleted media_player.ma_downstairs_speakers entirely and removed it from my automation, replacing it with the individual speakers on which I wanted to receive the announcement. Since then, there have been no crashes, no logs saying 'announcement pending,' and TTS notifications appear to be working.
I am sorry I cannot give you more detail other than to guess that when MA could not send a TTS to a speaker, perhaps it just kept trying.

Keeping open.

Hi,
Same for me. I'm running server 2.3.3 as add-on in haos on a pi4-4gb. Not really v2.3.3 specific, older versions had the same issue.
This happens without using MA. MA just stops spontaneously on my system once in the few days.
I deliberately disabled the watchdog to notice this.
There is notifying logged, not in core, MA or the supervisor log.
I additionally monitor MA memory and processor usage. Those where flat as well till the crash.
I think it would be nice to have some kind of crash dumps enabled to track this

Hi, it started happening for me today, too.
I enabled debug logging. No errors to be seen, everything looks fine until after only a few minutes running, MA crashes. In the logs it is only noticeable because of the live log stalling.
I was listening to some music as usuall. Then the audio droppt out and that was where the restart loop (when using watchdog) began. I noticed that the SoundCloud provider I am using is quite unstable. I have the feeling that some corrupted metadata may cause this issue. Do you use the SoundCloud provider @erkr ?

Do you use the SoundCloud provider @erkr ?

No, only Spotify, even no locale media

Okay, hmm it was just a wild guess.
I also want to stress again, that this crash happens shortly after starting the server application. (At max 5min after launching the addon.)
It happened for both the stable and the beta version of the server.
In my case there is no correlation to someone being away or sleeping, like the OP observed.

I think that there OP engaged to stress the server was just idle (not streaming). Your issue is probably a different one

For all reporters you can start in safe mode and then add one provider at a time and allow it to run for a day and see if you can work out what might be causing this.

@iMartien are you saying that the MA server fully crashes and has to be restarted by the watchdog or by you manually? The log you excerpted doesn’t show that.

@OzGav I'm not really sure. It looks like it hangs up my whole HA server, but when I connect to the HASSIO docker with portainer to take a look, all containers that run as HA Addon, including the MA add-on did not restart. They have all been running a couple of days.

Then this is not same as the reported issue. Please remove your post to clean this up and then ask in a Q&A or you can open an issue if you can reliably reproduce this and have narrowed it down to a specific player provider or can show that it affects multiple providers.

Just want to mention that latest 2.3.4 still crashes after being idle for over a day.
As mentioned earlier, I only have Spotify as provider, and chromecast as players.
Even when not used, It must run out of some resource.


Jira sprint value with (for AzDo) invalid Iteration Path characters in combination with spaces throws exception TF401347

Describe the problem

I don't really know what constraints we have in Jira in case of Sprint field, so it might be that this is configurable and that what I will say below is not correct.

In Jira it seems to be perfectly valid to have a Sprint field which contains something like 1. Sprint 01 / 02.
This will work perfectly in that it will put this as a ReferenceName in the issue's JSON file during the export phase.
When importing it does not work as expected.
In method EnsureClasification of class Agent we see that it gets chopped by using the / character.
So, in this scenario it would create an iteration in Azure DevOps which has name Sprint 01 and a child with name 02.
When it calls the following line:
https://github.com/solidify/jira-azuredevops-migrator/blob/55c3bd3b2dd084dff6e58eb7c67d4735c23f1b83/src/WorkItemMigrator/WorkItemImport/Agent.cs#L471
It would then replace the forward slashes with backward slashes.
Until this point, everything goes fine.
Now, when it calls the SaveWorkItemFields method here:
https://github.com/solidify/jira-azuredevops-migrator/blob/55c3bd3b2dd084dff6e58eb7c67d4735c23f1b83/src/WorkItemMigrator/WorkItemImport/Agent.cs#L123
Things are going in the wrong direction.
It throws exception: TF401347: Invalid tree name given for work item 4877, field 'System.IterationPath'.
When it wants to update the work item over here:
https://github.com/solidify/jira-azuredevops-migrator/blob/55c3bd3b2dd084dff6e58eb7c67d4735c23f1b83/src/WorkItemMigrator/WorkItemImport/WitClient/WitClientUtils.cs#L514
I am seeing that the patchDocument has the following value My project\\Migrated\\1. Sprint 01 \\ 02 for path /fields/System.IterationPath.
I does not find this because my Iteration path looks like this:

It does not contain the spaces that it is looking for.
This is the parent that was created, which is trimmed at the end:

And this is the child that was created:

When trying the same but without spaces, like this: 1. Sprint 01/02, it works without throwing errors.
If we search for valid names of an Iteration Path in Azure DevOps, we come across this article.
Here we can see the following:

Special characters for nodes

Must not contain characters prohibited by the local file system. For more information about Windows character restrictions, see Naming Files, Paths, and Namespaces.

This basically says that it cannot contain something like a forward slash.
I think the root cause of this issue is that we should clean the Sprint's value in the exporting phase.
Tool version

https://github.com/solidify/jira-azuredevops-migrator/commit/55c3bd3b2dd084dff6e58eb7c67d4735c23f1b83

We have an old fix for this here: https://github.com/solidify/jira-azuredevops-migrator/pull/453
Never ended up merging it because the solution ended up in over-engineering territory. The idea was to let the user map the invalid special characters.
Would the ability to map the special characters be of use to you? Or would it be enough to simply remove them?

@VincentVerweij I opened this PR: https://github.com/solidify/jira-azuredevops-migrator/pull/702
Let me know what you think of the soluion
My idea is that by default we will remove any invalid characters. If the user wants to modify the sprint names then, they can always do it post-migration. At least this takes take of the error.

@VincentVerweij Perfect. I'll write some unit tests and merge https://github.com/solidify/jira-azuredevops-migrator/pull/702 later. Thanks for helping out with this issue :)


Fix link and command typo on doc

Description

When you click on "code of conduct" in this page https://hornet.docs.iota.org/Contribution.html you get a 404 due to redirect to CODE_OF_CONDUCT.md at projet root.
In this section https://hornet.docs.iota.org/getting_started/installation_steps.html#managing-node docker log is not good command docker logs is ;)

Type of change
Please delete options that are not relevant.

[X] Documentation Fix

How Has This Been Tested?
I host doc on my dev server and browse it
Checklist:

[X] I have made corresponding changes to the documentation

Thanks, I cherry-picked your commit to develop, since the git history was kind of broken :)


Update Freezing at Downloaded 1851/1852 Assets

Froze at 1851/1852 when trying to update. Decided to uninstall all and just install it all again but the same issue still happened when trying to open for the first time.

Please use the Bug report template.
Include logs and crash logs where possible


[Deepak Foundation] - Upload bundle for required forms for SEWA Rural and make changes in the forms

[x] Download bundle from Adolescent Sewa Rural - do not include locations.
[x] Upload the bundle with only following forms -

Individual registration
Adolescent program enrollment and exit
Annual visit - baseline (program encounter)
Annual visit - endline (program encounter)
Severe anemia follow-up (program encounter)
Menstrual absenteeism follow-up (program encounter)

[x] Change Location level at which Individual is registered to school.
[x] Individual registration form to have following questions:
https://docs.google.com/spreadsheets/d/1h_eQJRhAN-SSWXoCfpN74o0RAqC0ajHTkrZUh8hPk_c/edit#gid=2140030636
[x] Rename Annual visit - Baseline as "Baseline screening" and only keep the questions refereed in the sheet:
https://docs.google.com/spreadsheets/d/1h_eQJRhAN-SSWXoCfpN74o0RAqC0ajHTkrZUh8hPk_c/edit#gid=1605263137
[x] Rename "Annual visit -endline as  "Endline screening" and only keep the questions refereed in the sheet:
https://docs.google.com/spreadsheets/d/1h_eQJRhAN-SSWXoCfpN74o0RAqC0ajHTkrZUh8hPk_c/edit#gid=450962261
[x] Severe Anemia follow-up form
https://docs.google.com/spreadsheets/d/1h_eQJRhAN-SSWXoCfpN74o0RAqC0ajHTkrZUh8hPk_c/edit#gid=438616642
[x] Menstrual absenteeism follow-up form:
https://docs.google.com/spreadsheets/d/1h_eQJRhAN-SSWXoCfpN74o0RAqC0ajHTkrZUh8hPk_c/edit#gid=1650116831

ETC :- 3 hrs

[ ] Under Baseline screening as per the requirement sheet the HB range for 1 -20 but we added the range as 8-20

@dinesh2096 moving this to QA failed.

@Dinesh2019 menstrual absenteeism cannot be schedule on midline as there are no questions related to that in this encounter


Reduced stylesheet ending up inside conditional comment

The ResponseTransformer inserts a reduced stylesheet before the first "<script" it finds.
In my case the first script-tag is "html5shim", which is placed inside a conditional comment ("<!--[if lt IE 9]>").
My reduced stylesheet is then inserted inside the conditional comment, where the browser cant see it.

This is definitely a bug. Will get this fixed soon. Thanks for reporting it.


Versioning of API routes

implemented a general version for all routes.

will be changed with PR https://github.com/NexdApp/nexd-backend/pull/46

done.


Cannot install battle.net: "proton" file/dir does not exist

The script correctly finds the proton directory:
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck/blob/main/NonSteamLaunchers.sh#L1319
And then to pass a non-existent "proton" file/directory when trying to install battle.net:
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck/blob/main/NonSteamLaunchers.sh#L1778
2023-06-30 10:43:23 (567 KB/s) - ‘/home/deck/Downloads/NonSteamLaunchersInstallation/Battle.net-Setup.exe’ saved [4838352/4838352]

+ echo 'Running BATTLE file using Proton with the /passive option'
+ /home/deck/.steam/root/ubuntu12_32/steam-runtime/run.sh /home/deck/.steam/root/compatibilitytools.d/GE-Proton8-4/proton run /home/deck/
Downloads/NonSteamLaunchersInstallation/Battle.net-Setup.exe
/home/deck/.steam/root/ubuntu12_32/steam-runtime/run.sh: line 164: /home/deck/.steam/root/compatibilitytools.d/GE-Proton8-4/proton: No such file or directory

Looking into my filesystem, it appears that the "proton" file/directory that is expected is not present
(deck@steamdeck GE-Proton8-4)$ pwd
/home/deck/.steam/root/compatibilitytools.d/GE-Proton8-4
(deck@steamdeck GE-Proton8-4)$ ls
files   LICENSE

Perhaps it should call files/bin/wine64 ... ?

I tried hacking the script to sub out "proton" for "files/bin/wine64" and this is the result:
2023-06-30 13:14:50 (471 KB/s) - ‘/home/deck/Downloads/NonSteamLaunchersInstallation/Battle.net-Setup.exe’ saved [4838352/4838352]

+ echo 'Running BATTLE file using Proton with the /passive option'
+ /home/deck/.steam/root/ubuntu12_32/steam-runtime/run.sh /home/deck/.steam/root/compatibilitytools.d/GE-Proton8-4/files/bin/wine64 run /home/deck/Downloads/NonSteamLaunchersInstallation/Battle.net-Setup.exe
wine: using kernel write watches (experimental).
wineserver: using server-side synchronization.
wineserver: invalid format for casemap table /home/deck/.local/share/Steam/compatibilitytools.d/GE-Proton8-4/files/bin/../share/wine/nls/l_intl.nls
wine client error:0: recvmsg: Connection reset by peer

@dearthymcstain thank you for in depth logs.. how have you installed proton? Through the script or through Proton upqt?

Proton was installed through the desktop script

Also, I only tried to install battle.net. I haven't tried any other installers

@dearthymcstain delete proton ge 8-4 and have it down load it again, see if that fixes it. You should have that proton file in there.. it comes with it. It may have been corrupted somehow. If that doesn't work try installing it via proton upqt...if that still doesn't work let me know.

I had hoped to use NonSteamLaunchers to fix the battle.net failing to relaunch issue. However, today, I found this reddit post (https://www.reddit.com/r/SteamDeck/comments/14hbqs8/diablo_iv_install_method_thats_working_for_me_as/) that seems to be working for me, so I don't think I'll need NonSteamLaunchers at the moment. I'll close this issue for now. Thank you for your hard work and attention.


Add docker example for setting environment variables at runtime

Add docker example for setting environment variables at runtime.
Here is an example deployed to now.sh with docker

Thanks for the feedback. :)
You are right. Both are great solutions to set environment variables at runtime.
The main purpose of this PR is about using Next.js with docker.

If there is 'next/config' importing in my React component file, I can not integrate it with React-Storybook. This is the reason why I prefer the universal way (I can mock window object).

I updated the example. There are two examples:

dockerfile: the simplest way to run Next.js app in docker [demo]
dockerfile.multistage: use multi-stage builds to build a smaller docker image [demo]

@tusbar I made another PR which doing similar work in next/config way. 🙌


Adopt qiskit.result.mitigation into qiskit_experiments.data_processing

The readout error mitigator classes LocalReadoutMitigator and
CorrelatedReadoutMitigator have been copied into
qiskit_experiments.data_processing.mitigation from
qiskit.result.mitigation in order to prepare for the deprecation of
these classes from Qiskit. The experiments that previously used the
Qiskit versions of these mitigator classes now use the Experiments
versions. The manual has also been updated to use the new class
locations.
Additionally, the readout mitigation manual was refactored to avoid using private functions and methods. Some adjacent jupyter-execute cells were merged because in the rendered docs they look like one cell any way, but they still have individual "copy to clipboard" buttons which is confusing. You think clicking the button will get the merged cell contents but it only gets a section of it.

This is a draft for now because it includes the changes from #1483 as well and is intended as a follow up.

I also pushed this branch into the main repo so I could run the Cron-Staging workflow and it passed.

I didn't check diff of the mitigation module from the original qiskit core implementation. I believe the logic is identical, but let me know if you add or modify functionalities.

No, it should be a straight copy from Qiskit besides changing some imports.


Dependabot changelog

WIP, gonna test this on sydent

Got this working,but it was a PITA. We'll change the changelog check to not run if the PR's author is dependabot.


Y24-297 - Change 'Offset tags by' wording in Limber tag plate selection

As Team Lead 10X & Custom Sequencing (Jo) we would like, when selecting tag groups, to have the 'Offset tags by' changed to 'Start Tags from' and the tag number selected should be the tag present in the first well. This should not be specific to a plate but to all plates when using the tag plate stage in Limber.
This is to avoid confusion and delay whilst a service ticket is raised for the tags to be changed
Example from the lab team:

Just before we create a Ligation XP plate for 10x semi-auto, we create a custom tag plate where we assign tags to the plate wells. Sometimes when we have to choose tags starting from any number other than '1', we select the option of ,offset tags, and write a number there. As you canb see in the screenshot, I needed the tags to start from '10', so in the offset tags column I wrote '9'. A lot of times, this leads to tag shift issues. So, is it possible to change it on limber, to be more clearer?
Currently it says: "Offset tags by: 9" = Tags start from 10
Can we change it to: "Start Tags from: 10" = Tags start from 10

Terrific, Thanks!

@SujitDey2022  It might be worth identifying the reason/s the team need to "when we have to choose tags starting from any number other than '1'".

@SujitDey2022 It might be worth identifying the reason/s the team need to "when we have to choose tags starting from any number other than '1'".

Yes, I had a meeting with the SR Team yesterday and will be doing the same.


There are flashing color brick on the text when running breakout example.

Bevy version
git log -1
commit 636e99c9fb384fc28ae522fac10ab8811f14c9ff (HEAD -> main, origin/main, origin/HEAD)

The release number or commit hash of the version you're using.
[Optional] Relevant system information
uname -a
Linux Gentoo 6.12.0-gentoo #1 SMP PREEMPT_RT Fri Nov 22 17:12:16 CST 2024 x86_64 AMD Ryzen 9 5900HX with Radeon Graphics AuthenticAMD GNU/Linux

If you cannot get Bevy to build or run on your machine, please include:
If your bug is rendering-related, copy the adapter info that appears when you run Bevy.
`AdapterInfo { name: "NVIDIA GeForce RTX 2070", vendor: 4318, device: 7938, device_type: DiscreteGpu, backend: Vulkan }`

You should also consider testing the examples of our upstream dependencies to help isolate any setup-specific issue:

wgpu for rendering problems
winit for input and window management
gilrs for gamepad inputs

What you did
cargo run --features wayland --example breakout

What went wrong
If it's not clear, break this out into:

what were you expecting?
what actually happened?

There are flashing color brick(sorry I don't know what exactly it should be called) on the text part.
Additional information
Other information that can be used to further reproduce or isolate the problem.
This commonly includes:

screenshots
logs
theories about what might be going wrong
workarounds that you used
links to related bugs, PRs or discussions

Looks like https://github.com/bevyengine/bevy/issues/7944

I think they may be same, close this for now.


feat(Crypto-sskr): added crypto-sskr UR support

Description

Added Crypto-sskr registry item
Added tests for Crypto-sskr
All tests passes

LGTM. I'll publish a new release with these changes.

Hummingbird v1.6.6 has been published and should appear in Maven Central soon.

Hummingbird v1.6.6 has been published and should appear in Maven Central soon.

Thanks @craigraw!


The built in IDE crashes if unable to compile on saving (Random Occurance)

Release Type: Official Release
Version: <IP_ADDRESS>-Beta 4-1265
Platform(s): Windows 10
Describe the bug
Upon saving a file with an issue/code error e.g .ToString without () in the inbuilt IDE the engine has a potential crash.
To Reproduce
Steps to reproduce the behavior:

Open up a C# File
Type in something Invalid
Save

Expected behavior
The file should save and warn of the issue

This seems pretty much to be fixed for version:  <IP_ADDRESS> beta04- 1347


Safari > Dropdowns won't close on second button click

Describe the bug
Safari doesn't close a Dropdown when using the Dropdown button. It remains on the screen after a second button click.
To Reproduce
Steps to reproduce the behavior:

In Safari, go to the doc site.
Go to Dropdown.
Click on any Dropdown button to open a Dropdown, then click again to close.
Notice that the Dropdown remains open on the second click.

Expected behavior
When a Dropdown button click opens a Dropdown, that same button should close the Dropdown when clicked again.
Desktop (please complete the following information):

OS: Mac OS Ventura
Safari
Version 16

Notes

Is there anything we can do about this? Any work arounds? Or do we just have to live with this?

This comment describes the problem: https://github.com/downshift-js/downshift/issues/443#issuecomment-395227968

The problem seems to be that Safari on iOS triggers a blur event before the onClick event

Tested with Safari 18 in Sonoma 14.7:
https://docs-preview-1460--upbeat-sinoussi-f675aa.netlify.app/ ✅
https://storybook-preview-1460--upbeat-sinoussi-f675aa.netlify.app/ ✅


Significant performance boost to IsDraw method

The IsDraw() method in the Board.cs is currently
public bool IsDraw() { return IsFiftyMoveDraw() || IsInsufficientMaterial() || IsInStalemate() || IsRepeatedPosition(); }
I messed with the API code and moved the IsStalemate() part to the end, which actually gave ~7% boost to my nodes/second for my implementation. I suspect this is because the code for the IsStalemate and hence move generation is not evaluated at all if IsRepeatedPosition() returns true.
So can this tiny change be made to the API?

Issue a pull request!

@SebLague

You can just use isrepeateddraw and isfiftymovedraw alone, and detect stalemate and checkmate manually by detecting when there are 0 legal moves. insufficient material is just a waste of tokens as it does not provide any significant boost in playing strength


[feature] Add support for tree-sitter to monitor javascript

Please add support for tree-sitter or something to support javascript and web assembly monitoring. Here is a pretty straight forward example showing how tree-sitter is used for bug bounty monitoring. https://alexvec.github.io/posts/monitoring-js-files/
Ideally, people could create their own tree-sitter queries and changedetection would do a diff on those each run.

This would be best added as a plugin https://github.com/dgtlmoon/changedetection.io/pull/2111


Problems 58, 66, 67, 69, 70

Prepare

[ ] Grey implements harness

Implement

[ ] Zachary implements solution
[ ] Grey implements solution

Review

[ ] Compare and make final solution


HA crash on boot if MySql is down

Home Assistant release with the issue: 0.94.4

Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.): hassio

Component/platform: recorder

Description of problem: I have history + recorder MySql DB on other PC (Windows PC). After reinstalling OS on PC MySql server was down. In this case HA after restarting stuck on boot. In log file was maybe 10 lines (i don't have exact messages]:
...
...
time X: Starting recorder...
time X+10s: Recorder start took more than 10s
END - stuck, previous line is last log line..
I think unavailable DB server must NOT prevent HA to boot! If there is some reason HA cannot start without DB it SHOULD write relevant message to log file, something like "cannot start HA because DB on URL xxx is no avaiable!".
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

# Enables support for tracking state changes over time
history:

recorder:
db_url: mysql://homeassistant:pwd@192.x.x.x/HOME_ASSISTANT?charset=utf8

Traceback (if applicable):

Additional information:

Bug still there.. Any progress?

@bigboban I am sorry but I cannot recreate your issue.
I have done the following:

Added your configuration snippet to my configuration.yaml file with a dummy ip address in my network:

history:

recorder:
  db_url: mysql://homeassistant:pwd@192.x.x.x/HOME_ASSISTANT?charset=utf8

Tried to boot Home Assistant
Looked at the logs while Home Assistant is booting. The following message appears 10 times:

[homeassistant.components.recorder] Error during connection setup: {Error Type} (retrying in 3 seconds)

After trying 10 times the following line is added to the logs:
[homeassistant.setup] Setup failed for recorder: Integration failed to initialize.

After Home Assistant has successfully booted I can open the web UI.

In conclusion, Home Assistant is logging your individual {Error Type} and tries to connect to your specified database 10 times. After that it boots only without the history and recorder available.

This issue can be closed since HA handles a turned off Mysql server gracefully by mentioning the individual error in the logs and it does not prevent HA from booting.


Do we have plan to support tcmalloc on QNX os?

Hi,
I am new to gperftools, and investigating the possible of porting tcmalloc on QNX, I am wandering if the project is planing to support QNX platform? or does anyone have the experience on porting to QNX? Appreciate if you have any comment about my question.
Thanks!

deduping this to #1147
But also have a look at #805 someone seemingly managed to build it there.
I personally have no plans to contribute anything, but any patches for this os I'll merge.


Event Grid Trigger

Support Event Grid as Azure Functions trigger, specifically

Blob Created/Deleted events
Resource Group events

See the new example for API.
Covers most of #295.

Thanks!


CI: Conformance EKS (ci-eks) / Conformance AWS-CNI (ci-awscni)  flaky due to spot instance usage

CI failure
Due to Black Friday / Christmas time, it seems like the AWS cloud is running close to capacity and spot instances are often terminated.
To reduce flakiness, I propose we switch from spot instances to on-demand instances as a temporary measure., but only for scheduled workflows. This will allow us to get a more reliable signal for releases.
Example runs:
https://github.com/cilium/cilium/actions/runs/6966367287/job/18956418664
during test execution:

https://github.com/cilium/cilium/actions/runs/6961628303/job/18943657274
lastHeartbeatTime: "2023-11-22T19:18:24Z"
vs another node:
lastHeartbeatTime: "2023-11-22T19:21:07Z"

Probably this run as well: https://github.com/cilium/cilium/actions/runs/6964276880/job/18951275067
as we have this pod running in post information gathering at the end: client-996668d96-nwk6g vs client-996668d96-gcwdm is being used in tests (no sysdump though to verify). Similarly cilium-7f4bn doesn't exist at the end of the test.
Estimated cost increase
setup-eks-cluster is used in the two workflows above. We use two spot instances: t3.medium and t4g.medium
Both EKS and AWS CNI are run every 6h with the following regions:
      "region": "eu-central-1"
      "region": "ap-northeast-1"
      "region": "us-east-2"
      "region": "ca-central-1"
      "region": "eu-north-1",

Spot t3.medium instances:
      "region": "eu-central-1" - $0.0153
      "region": "ap-northeast-1" - $0.0176
      "region": "us-east-2" - $0.0126
      "region": "ca-central-1" - $0.0149
      "region": "eu-north-1", - $0.017

vs on demand:
      "region": "eu-central-1" - $0.048
      "region": "ap-northeast-1" - $0.0544
      "region": "us-east-2" -  $0.0416
      "region": "ca-central-1" - $0.0464
      "region": "eu-north-1", - $0.0432

So roughly x3 increase
Spot t4g.medium instances:
      "region": "eu-central-1" - $0.0113
      "region": "ap-northeast-1" - $0.0121
      "region": "us-east-2" -  $0.0055
      "region": "ca-central-1" - $0.0064
      "region": "eu-north-1", - $0.0105

vs on demand:
      "region": "eu-central-1" - $0.0384
      "region": "ap-northeast-1" - $0.0432
      "region": "us-east-2" -  $0.0336
      "region": "ca-central-1" - $0.0368
      "region": "eu-north-1", - $0.0344

x4 increase
Current total flakiness for these tests - scheduled workflows, main branch only:
"Conformance AWS-CNI (ci-awscni)" - 20 failed out of 50  = 40%
"Conformance EKS (ci-es)" - 17 failed out of 50  = 34%
Proposal
Let's switch to on-demand for two weeks as an experiment, gather an additional ~50 runs, and check flakiness again.
After that, we can decide to:

if flakiness doesn't improve significantly revert this change
If flakiness improves significantly, lower the schedule rate and stick with on-demand instances or accept higher cost

Total additional cost estimation for the experiment: assuming we run for 2 weeks, 4x a day, 2 workflows, 5 test cases each, duration 1h (this is actually overestimating)
14 days * 4 runs/day * 2 workflows * 5 test cases/workflow  * 1 hour-duration/test case = 560 hours
price increase for instance t3.medium: (0.048 + 0.0544 + 0.0416 + 0.0464 + 0.0432) - (0.0153 + 0.0176 + 0.0126 + 0.0149 + 0.017)  = 0.1562
price increase for instance t4g.medium: (0.0384 + 0.0432 + 0.0336 + 0.0368 + 0.0344) - (0.0113 + 0.0121 + 0.0055 + 0.0064 + 0.0105) =  0.1406
Total cost: 560 * (0.1562 + 0.1406) = 166.20800 USD

@marseel What's the status on this - Is this still relevant?


[ROCm]: Update README.md

Hi,
Can we merge this please?  Thanks!

@axch  @hawkinsp  Can we please merge this? Thanks!

Sorry for the slow response, I was on vacation. Back now!


Go: Add -gcflags to std_go_args

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

This change adds support for compiler flags (gcflags) as standard arguments in Go builds, enabling better control over compilation behavior.
So, instead of:
*std_go_args(
  ldflags: "-w -s"
) + ["-gcflags=all=-l -B -wb=false"]

You can pass them as arguments:
*std_go_args(
  ldflags: "-w -s",
  gcflags: "all=-l -B -wb=false",
)

Some additional context:

Wasn't sure how to test the changes, since std_go_args didn't seem to include any tests.
There's a lot of interesting flags under go help build that seem relevant to formula (e.g. -asmflags, -gccgoflags, -covermode, -pgo, -tags). These might be better suited for a combined PR, or grouped in separate ones.
Whether it makes sense to wrap all of them is open for consideration. Adding some could make it more convenient for maintainers, placing them under the same unified syntax. We could use std_go_args for everything, or favor usage of hand-rolled array concatenation as above. Ultimately, this decision is up to brew devs, you guys know what makes the most sense.

Cheers! 🧡 🍺

Usually when it comes to extra arguments the preferred way to do it is e.g.
system "go", "build", *std_go_args, "-extraflag", "-extraflag2"

The reason ldflags was different is because if we specified a default ldflag within std_go_args then this:
system "go", "build", *std_go_args, "-ldflags=-abc"

would actually override the ldflags in std_go_args rather than append which would be problematic. We just never actually followed through and added any default ldflags so far, so it hasn't mattered yet.
So I'm ok adding arguments like this for flags that behave like -ldflags, i.e. flags that themselves take in a list of flags.

Sounds great, 100% agree

Thank you!


Please add some documentation

The old Docs had more descriptions of parameters and return-values. Please add those descriptions here.
I.e. Explain what is returned? StaticName, InternalName?

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

ID: c1226606-b6eb-a7ec-3f96-c36d89818941
Version Independent ID: 1c3e4993-800a-eef2-7fd9-766412074697
Content: SPFieldCollection.AddLookup Method (Microsoft.SharePoint)
Content Source: sharepoint-server/xml/Microsoft.SharePoint/SPFieldCollection.xml
Product: sharepoint
GitHub Login: @dotnet-bot
Microsoft Alias: o365devx

Microsoft is aware of this... some docs didn't port across in the migration from MSDN => docs... unfortunately I don't have an update on the status of this. See this comment for more details:
https://github.com/SharePoint/sp-dev-docs/issues/2364#issuecomment-414684429


Parsing Youtube video script or network error?

Perseus is going into the mainstream, while I'm impatient to use it in production, I managed to build a production-ready application.
Describe the bug
I was able to load the Youtube video script but not able to play it. I can't figure out what's blocking it.
Expected behavior
It's a Background video which should be played, I have already tried on the local template which works perfectly.
Screenshots
https://github.com/afidegnum/frontend/blob/main/src/templates/index.rs#L17-L54

Sorry, I don't completely understand how anything in that file is actually supposed to play the video. I assume some imported script is supposed to do something with this, so is the issue that a script isn't being imported? In that case, do you think you could get this down to a minimum reproducible example? It's quite difficult for me to debug your larger codebase...
Also, what do you mean when you say it works on the local template?

ok, thanks, let me rework on it

@afidegnum are you still having this issue?

sorry for the late reply,
The issue is not yet resolved. I'm trying to diagnose it while trying the CSS approach too... with the JS approach, the video is being embedded using an iframe taken from this library: https://github.com/pupunzi/jquery.mb.YTPlayer
I'm still trying other alternatives that will not require the use of this library, hopefully, today or tomorrow.
Thanks a lot for your assistance.

If it's being embedded in an iframe, then I don't think that could be a Perseus problem. Sycamore maybe, but it's very possibly something else entirely.

@afidegnum do you think this is a Perseus problem? If not, I think we can close this issue.

You can close it for now but in case of anything, I will be back to it again.


#19380 Fix PHP 8.1 passing non string to trim() in

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Fixed issues
#19380

👍


Enable GLOP 9.5

Description
This enables GLOP 9.5 (the latest version) via ortools 9.5.
Issue link (if applicable): #2018
Type of change

[x] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[ ] Other (Documentation, CI, ...)

Contribution checklist

[x] Add our license to new files.
[x] Check that your code adheres to our coding style.
[ ] Write unittests.
[x] Run the unittests and check that they’re passing.
[x] Run the benchmarks to make sure your change doesn’t introduce a regression.

@tribumirkov you can see here how to enable the latest GLOP on a fork. We need help from ortools devs to upgrade the PDLP interface though as part of switching to a newer ortools.

great, thanks @SteveDiamond !

@mlubin can we get your help on this PR? (I'd say to ping Steven if you have questions about what we need. But since this PR is so old it might be better to start from scratch. I'll defer to you on how you'd prefer to move forward.)


How many devices can be online simultaneously in cluster mode?

The number of devices that the cluster mode can support online simultaneously depends on several factors, including the server hardware configuration, the chosen clustering mode, and the number of nodes in the cluster.
For detailed performance metrics and benchmarks, please refer to the rmqtt benchmark testing report: rmqtt Benchmark Testing.

Thanks.Does it support device connections of over 100 million?


The solution code doesn't pass the check!

@akashvevo can you give more information about which challenge and what solution code that doesn't pass? We need more information to be able to help with your issue. Thanks!

I'm not sure what this venue is about to can someone please break it down in layman's terms I'm a computer retard give me some help

Closing as stale.


Extend README.md

Extend README.md
Add a paragraph "How to integrate into your own database?"

Done!
Paragraph added.


Check out IFTTT's applets

See if it can be put to good use:
https://ifttt.com/blog/2017/05/calling-all-makers

Skip IFTTT for now. Not sure about their business module and what they do with the data.


Simple script to populate billing budget history per project.

Simple script to loop through cpg-infra-private commits information, reconstruct budget changes history per project and sync with BQ billing budget table.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (91b5ff7) 68.67% compared to head (9534361) 68.67%.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #669   +/-   ##
=======================================
  Coverage   68.67%   68.67%
=======================================
  Files         131      131
  Lines       10198    10198
=======================================
  Hits         7003     7003
  Misses       3195     3195

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

This PR is going to be closed without merging as script has been moved to cpg-infra-private:
https://github.com/populationgenomics/cpg-infrastructure-private/pull/353


Crashed immediately on macOS 10.13

What system are you running Yazi on?
macOS
What terminal are you running Yazi in?
Alacritty 0.13.2
yazi --debug output
dyld: cannot load 'yazi' (load command 0x80000034 is unknown)
fish: Job 1, './yazi  --debug' terminated by signal SIGABRT (Abort)

Did you try the latest nightly build to see if the problem got fixed?
Yes, and I updated the debug information above (yazi --debug) to the nightly that I tried
Describe the bug
Got this error when try to run it:
dyld: cannot load 'yazi' (load command 0x80000034 is unknown)
fish: Job 1, './yazi' terminated by signal SIGABRT (Abort)

Minimal reproducer
Simply download the latest build from GitHub Releases and run it, it will crash.
Anything else?
No response

This is because your macOS version is too old, and GitHub Actions' Xcode is no longer compatible with your system, please build it manually https://yazi-rs.github.io/docs/installation#build-from-source

It seems that can be solved by adding a simple environment variable MACOSX_DEPLOYMENT_TARGET when running cargo build, check how Alacritty does as a reference.
It is OK for me to build it from source, but for people who are still using old OS like me,  it would be much more convenient if we can download Yazi from GitHub Releases directly.

Sounds good to me, would you like to raise a PR? Should be easy to fix:
https://github.com/sxyazi/yazi/blob/573ca5287fcc62c97ead4a2c9ee19815a40d9328/scripts/build.sh#L15


README: add phpize and examples about extension

Another benefit of this nice framework is to be able to generate
and then to compile any standalone PHP extension (module).
It is mostly thanks to the phpize.bat tool that has been made
available.
TBC: should we add ext_skel.php and its template into the
deliverable of this SDK (c:\php\SDK\TBD) ?

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: vjardin sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Should Source Suggestion be clickable in the activity feed?

All other entities are so this would be more intuitive. Not sure if that is possible. Make SSIDs clickable.

They should appear in a tag, but there is currently not a "source suggestion" page for such a click to lead to. We could link to the source page itself though and display new suggestions on it.


The example for pipe is not working

I was able to run it this way:
#!/usr/bin/env node
const stackdriver = require('pino-stackdriver')
const credentials = './foo.json'
const projectId = 'bar'
const writeStream = stackdriver.createWriteStream({ credentials, projectId })

const TailFile = require('@logdna/tail-file')
const tail = new TailFile('./logger.js.log')

;(async () => {
  try {
    await tail.start()
    tail.pipe(writeStream)

    tail.on('tail_error', (err) => {
      console.error('TailFile had an error!', err)
      throw err
    })
  } catch (err) {
    console.error('Cannot start.  Does the file exist?', err)
  }
})()

Ha, of course the pseudocode means that this was the only example we didn't test for real.  The problem is there's too much chaining off the constructor.
The example will work if the constructor is allowed to return and assign the value to tail.  We'll get a fix up (along with an actual linesplitter like split2) shortly.  Thank you for pointing this out!
const tail = new TailFile('./logfile.txt')
tail
  .on('tail_error', (err) => {
 // ...snip/...


Bids translator - fix name & license reporting

In BIDS 1.8.0 and earlier, dataset_description.json has "Name" and "License" keys, and both fields are strings. The bids_dataset extractor from datalad-neuroimaging keeps these key names.
This PR fixes the field lookup, and also includes the license in the translated output.
The change also lets the extractor add license url for "PDDL" and "CC0" (the two are named explicitly in bids spec, others are allowed but at least we give the two a chance to get translated with a proper URL).

Codecov Report
Patch coverage has no change and project coverage change: -10.67 :warning:

Comparison is base (78592ee) 82.40% compared to head (140d12b) 71.74%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #286       +/-   ##
===========================================
- Coverage   82.40%   71.74%   -10.67%
===========================================
  Files          32       32
  Lines        2171     2173        +2
===========================================
- Hits         1789     1559      -230
- Misses        382      614      +232

Flag
Coverage Δ

unittests
71.76% <0.00%> (-0.07%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...lad_catalog/translators/bids_dataset_translator.py
44.15% <0.00%> (-5.18%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Thanks @mslw looks good to me!


crash happened on android

[√] Flutter (Channel stable, 3.3.8, on Microsoft Windows [版本 10.0.19044.2251], locale zh-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
X cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
X Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2021.3)
[√] Connected device (4 available)
[√] HTTP Host Availability
tombstone_13.txt
can not reproduce this bug , but it happend all the times , so i can't give u an example, can u tell me any clue to track it

or these crash ,  any clue to reproduce it?
tombstone_10.txt
tombstone_11.txt
tombstone_12.txt

Labeling the issue for further investigation from the team, as I am not sure why these crashes are appearing


Add new docker version format for travis testing

Description

How to Reproduce

Log Output

Debugging Commands Output

Output of docker version:
(paste your output here)

Output of docker info:
(paste your output here)

Output of python --version:
(paste your output here)

Output of pip freeze:
(paste your output here)

fixed in pr #270


fix: fix bug in compilation of bounded identifiers

Current dependencies on/for this PR:

master

PR #15   👈

This comment was auto-generated by Graphite.


Add other ECP resources

https://issues.redhat.com/browse/HACBS-1822

I renamed the file from default-ecp.yaml to ecp.yaml. I changed the description a little bit to make more sense when it is displayed in the ec cli output.

/retest

/retest
/lgtm

/lgtm

/retest

/lgtm

/lgtm


Metric alertmanager_alerts reports "active" alerts when there are none

What did you do?
Query multiple Prometheus instances for alertmanager_alerts to get the active alert count for each one.
alertmanager_alerts{state="active"}

What did you expect to see?
I was expecting to see 0 active alerts from Alertmanagers that currently don't have any active, unsilenced alerts, e.g.:
alertmanager_alerts{instance="alertmanager:80",job="alertmanager",state="active"} 0

What did you see instead? Under which circumstances?
From some Alertmanager instances, we get >0 alerts back, even if there are none showing in the web interface.
In this particular case, we did have 2 active but silenced alerts. The numbers still don't make sense - at least to me.
alertmanager_alerts{instance="alertmanager:80",job="alertmanager",state="active"} 3
alertmanager_alerts{instance="alertmanager:80",job="alertmanager",state="suppressed"} 1

If this is how it's supposed to be, can we please also get a metric for the silenced label, so that we could get active - suppressed - silenced = actually active alerts?
Environment
Kubernetes 1.10.5

System information:

...

Alertmanager version:

Branch: HEAD
BuildDate: 20180622-11:58:41
BuildUser: root@bec9939eb862
GoVersion: go1.10.3
Revision: 462c969d85cf1a473587754d55e4a3c4a2abc63c
Version: 0.15.0

Prometheus version:

Version: 2.3.1
Revision: 188ca45bd85ce843071e768d855722a9d9dabe03
Branch: HEAD
BuildUser: root@82ef94f1b8f7
BuildDate: 20180619-15:56:22
GoVersion: go1.10.3

Alertmanager configuration file:

...

Prometheus configuration file:

...

Logs:

...

I've seen this discrepancy before too. IIRC the reason is that the metrics are computed based on the in-memory store of alerts which include the resolved ones. Those are deleted only every 30 minutes (by default). That being said, I agree that it would be nice if the numbers include only firing alerts.
FWIW suppressed is the sum of inhibited and silenced alerts.

Right, maybe just an additional metric with the label firing that shows the number of alerts that would be seen on the the index page. Maybe easier to implement than changing the whole purging stuff.

:+1:

Seeing the same issue. We have a 3-node Alertmanager cluster. There are none showing in the web interface. But when I query alertmanager_alerts, there are a lot active alerts. This really confused me.
alertmanager_alerts{instance="alertmanager1:9093",job="alertmanager",state="active"}    8
alertmanager_alerts{instance="alertmanager1:9093",job="alertmanager",state="suppressed"}        2
alertmanager_alerts{instance="alertmanager2:9093",job="alertmanager",state="active"}    63
alertmanager_alerts{instance="alertmanager2:9093",job="alertmanager",state="suppressed"}        2
alertmanager_alerts{instance="alertmanager3:9093",job="alertmanager",state="active"}    10
alertmanager_alerts{instance="alertmanager3:9093",job="alertmanager",state="suppressed"}        3

So, any news on this, or a way to go workaround it?

Any update with this?


NewClusterConfig and ConfigWithCluster don't make a copy of the rest config

It turns out that copying inside those functions leads to confusion.
There are parts that make an additional copy, parts that rely on the fact
that the copy is made inside, and other parts doing nothing.
Thus it would be better if callers could make a copy.
It would be explicit and would reduce the number of copies in general.
In addition to that NewClusterConfig has been renamed to SetMultiClusterRoundTripper and ConfigWithCluster to SetCluster

/assign @stevekuznetsov @ncdc

/lgtm
/approve
/hold
@ncdc any other comments?

All good
/unholy

Thanks autocorrect
/unhold


Basics

Just pulling in some ideas from my own cage rewrite, using the clap crate, adding docs

I think this branch is obsoleted by #2? Closing.


[Backport] implement transport api for PPL inter-plugin communication (#533)

Signed-off-by: Zhongnan Su<EMAIL_ADDRESS>Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

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

Codecov Report

Merging #778 (176d038) into 2.1 (0576d96) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##                2.1     #778   +/-   ##
=========================================
  Coverage     97.71%   97.71%
  Complexity     2801     2801
=========================================
  Files           271      271
  Lines          6908     6908
  Branches        438      438
=========================================
  Hits           6750     6750
  Misses          157      157
  Partials          1        1

Flag
Coverage Δ

sql-engine
97.71% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...org/opensearch/sql/ppl/domain/PPLQueryRequest.java
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Separate out check_design into timing loop and no timing loop checks

Currently, we check synthesizability with timing loop checks as one of the first CI steps. However, when verifying with FreePDK45 as we do for checking timing loops, the runtime increases significantly (5->25 minutes).  This means that the shortest iteration time for a functional bug is ~1 hour.
Instead, we should have a quick smoke test, run functional tests, and then check for timing loops as a last verification.

Fixed in dev, not sure what the PR was


Uf 6133 add it tests for status reason resources

Added IT-tests for status reason resources
Fixed problem with response being interpreted as octet-stream when creating asset
Added metadata path to CRD-resources for status reason resources to emphasize that this resource handles metadata