git push failing with deleted files

I tried to push some changes back up to GitHub and got this LFS error log:
» git lfs logs last     (preprint) jsick@Helvetica ~/manuscripts/phd_thesis 1 ↵
> git-lfs pre-push origin git@github.com:jonathansick/phd_thesis.git
LocalWorkingDir=/Users/jsick/manuscripts/phd_thesis
LocalGitDir=/Users/jsick/manuscripts/phd_thesis/.git
LocalMediaDir=/Users/jsick/manuscripts/phd_thesis/.git/lfs/objects
TempDir=/Users/jsick/manuscripts/phd_thesis/.git/lfs/tmp
GIT_PREFIX=

Error uploading file figs/resolvedsp/patches/patch_fit_chisq.pdf (a1abaf8316861a74933e5c72de59f4f8e80baa476f17d0505dceea0fec2a69aa)

stat figs/resolvedsp/patches/patch_fit_chisq.pdf: no such file or directory
goroutine 16 [running]:
github.com/github/git-lfs/lfs.Stack(0x0, 0x0, 0x0)
        /Users/rick/github/git-lfs/.vendor/src/github.com/github/git-lfs/lfs/errors.go:85 +0x89
github.com/github/git-lfs/commands.logPanic(0x65daa8, 0xc208025aa0, 0x69da00, 0x0, 0x0)
        /Users/rick/github/git-lfs/.vendor/src/github.com/github/git-lfs/commands/commands.go:156 +0xf17
github.com/github/git-lfs/commands.handlePanic(0x65daa8, 0xc208025aa0, 0x0, 0x0)
        /Users/rick/github/git-lfs/.vendor/src/github.com/github/git-lfs/commands/commands.go:108 +0x6c
github.com/github/git-lfs/commands.LoggedError(0x65daa8, 0xc208025aa0, 0xc208030090, 0x83, 0x0, 0x0, 0x0)
        /Users/rick/github/git-lfs/.vendor/src/github.com/github/git-lfs/commands/commands.go:65 +0x89
github.com/github/git-lfs/commands.Panic(0x65daa8, 0xc208025aa0, 0xc208030090, 0x83, 0x0, 0x0, 0x0)
        /Users/rick/github/git-lfs/.vendor/src/github.com/github/git-lfs/commands/commands.go:75 +0x68
github.com/github/git-lfs/commands.prePushCommand(0x594800, 0xc208044640, 0x2, 0x2)
        /Users/rick/github/git-lfs/.vendor/src/github.com/github/git-lfs/commands/commands_pre_push.go:84 +0x775
github.com/spf13/cobra.(*Command).execute(0x594800, 0xc208044620, 0x2, 0x2, 0x0, 0x0)
        /Users/rick/github/git-lfs/.vendor/src/github.com/spf13/cobra/command.go:355 +0x17c
github.com/spf13/cobra.(*Command).findAndExecute(0x594700, 0xc20800e010, 0x3, 0x3, 0x0, 0x0)
        /Users/rick/github/git-lfs/.vendor/src/github.com/spf13/cobra/command.go:334 +0xd3
github.com/spf13/cobra.(*Command).Execute(0x594700, 0x0, 0x0)
        /Users/rick/github/git-lfs/.vendor/src/github.com/spf13/cobra/command.go:408 +0x7b0
github.com/github/git-lfs/commands.Run()
        /Users/rick/github/git-lfs/.vendor/src/github.com/github/git-lfs/commands/commands.go:80 +0x2a
main.main()
        /Users/rick/github/git-lfs/cmd/git-lfs/git-lfs.go:8 +0x1a

The file in question (figs/resolvedsp/patches/patch_fit_chisq.pdf) was in the repo but has since been deleted in the current HEAD.
Is there a way I can get this repo back into a shape such that I can push it back up?

My software versions are:
» git lfs version
git-lfs/0.5.1 (GitHub; darwin amd64; git 2.3.5; go 1.3)
» git --version
git version 2.3.5
hub version 1.10.4

Looks like you found a bug in Git LFS where it has issues pushing deleted files. #461 fixes it, and will be available in v0.5.3. Was figs/resolvedsp/patches/patch_fit_chisq.pdf added or modified in the range of commits you're trying to push?
Your best bet at a workaround for now is to squash the commits that you're about to push so that you never upload that deleted file. Let me know if you need help. Feel free to join https://gitter.im/github/git-lfs to chat with us directly during normal US work hours next week.

@technoweenie Thanks for fixing it! I squashed the commits where the file was added then deleted and my git push works again.

Would like to bump this issue.
Getting the exact same error on a second machine where I cloned my repo. After making changes, I cannot push new commits as git lfs tries to upload dozens of files that I had deleted a long time ago.
I've been trying to use git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch <file/dir>' HEAD as a temporary fix but quickly gave up when I realized just how many file paths I had to apply this to.
I'm confused as to why files that had been deleted a while back -- absent both in my local directory and on github -- are lingering and providing this error.
Currently using v0.5.4.
Error uploading file files/images/project-library/Trash Icon.png (10e7059987de0c34965064ddf0a978c6fac2e0ad2033a7850a4b9a84dcf14e08)

Errors logged to /Users/georgevaldes/Desktop/tollbooth/.git/modules/frontend/lfs/objects/logs/20160308T130535.91275225.log
Use `git lfs logs last` to view the log.
error: failed to push some refs to 'https://github.com/IrisVR/frontend.git'
Georges-MacBook-Air% git lfs logs last
git-lfs/0.5.4 (GitHub; darwin amd64; go 1.4.2)
git version 2.5.0

$ git-lfs pre-push origin https://github.com/IrisVR/frontend.git
Error uploading file files/images/project-library/Trash Icon.png (10e7059987de0c34965064ddf0a978c6fac2e0ad2033a7850a4b9a84dcf14e08)

Expected files/images/project-library/Trash Icon.png to have an OID of 10e7059987de0c34965064ddf0a978c6fac2e0ad2033a7850a4b9a84dcf14e08, got f4737528fdcf5447670c7b309ecd9c56833e290b5e712865e82b7b23105c9aae
goroutine 1 [running]:
github.com/github/git-lfs/lfs.Stack(0x0, 0x0, 0x0)
    /private/tmp/git-lfs20150803-12429-1wj4067/git-lfs-0.5.4-homebrew/src/github.com/github/git-lfs/lfs/errors.go:85 +0x8d
github.com/github/git-lfs/commands.logPanicToWriter(0x68eb70, 0xc20802a028, 0x68aa00, 0xc2081d8930)
    /private/tmp/git-lfs20150803-12429-1wj4067/git-lfs-0.5.4-homebrew/src/github.com/github/git-lfs/commands/commands.go:174 +0xeda
github.com/github/git-lfs/commands.logPanic(0x68aa00, 0xc2081d8930, 0x0, 0x0)
    /private/tmp/git-lfs20150803-12429-1wj4067/git-lfs-0.5.4-homebrew/src/github.com/github/git-lfs/commands/commands.go:138 +0x414
github.com/github/git-lfs/commands.handlePanic(0x68aa00, 0xc2081d8930, 0x0, 0x0)
    /private/tmp/git-lfs20150803-12429-1wj4067/git-lfs-0.5.4-homebrew/src/github.com/github/git-lfs/commands/commands.go:113 +0x61
github.com/github/git-lfs/commands.LoggedError(0x68aa00, 0xc2081d8930, 0xc208232000, 0x83, 0x0, 0x0, 0x0)
    /private/tmp/git-lfs20150803-12429-1wj4067/git-lfs-0.5.4-homebrew/src/github.com/github/git-lfs/commands/commands.go:70 +0x85
github.com/github/git-lfs/commands.Panic(0x68aa00, 0xc2081d8930, 0xc208232000, 0x83, 0x0, 0x0, 0x0)
    /private/tmp/git-lfs20150803-12429-1wj4067/git-lfs-0.5.4-homebrew/src/github.com/github/git-lfs/commands/commands.go:80 +0x64
github.com/github/git-lfs/commands.prePushCommand(0x5bf5a0, 0xc20801e740, 0x2, 0x2)
    /private/tmp/git-lfs20150803-12429-1wj4067/git-lfs-0.5.4-homebrew/src/github.com/github/git-lfs/commands/command_pre_push.go:88 +0xa3f
github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra.(*Command).execute(0x5bf5a0, 0xc20801e720, 0x2, 0x2, 0x0, 0x0)
    /private/tmp/git-lfs20150803-12429-1wj4067/git-lfs-0.5.4-homebrew/src/github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra/command.go:355 +0x189
github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra.(*Command).findAndExecute(0x5bffa0, 0xc20800a010, 0x3, 0x3, 0x0, 0x0)
    /private/tmp/git-lfs20150803-12429-1wj4067/git-lfs-0.5.4-homebrew/src/github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra/command.go:334 +0xd4
github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra.(*Command).Execute(0x5bffa0, 0x0, 0x0)
    /private/tmp/git-lfs20150803-12429-1wj4067/git-lfs-0.5.4-homebrew/src/github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra/command.go:408 +0x8ad
github.com/github/git-lfs/commands.Run()
    /private/tmp/git-lfs20150803-12429-1wj4067/git-lfs-0.5.4-homebrew/src/github.com/github/git-lfs/commands/commands.go:85 +0x2a
main.main()
    /private/tmp/git-lfs20150803-12429-1wj4067/git-lfs-0.5.4-homebrew/git-lfs.go:9 +0x1b

ENV:
LocalWorkingDir=/Users/georgevaldes/Desktop/tollbooth/frontend
LocalGitDir=/Users/georgevaldes/Desktop/tollbooth/.git/modules/frontend
LocalMediaDir=/Users/georgevaldes/Desktop/tollbooth/.git/modules/frontend/lfs/objects
TempDir=/Users/georgevaldes/Desktop/tollbooth/.git/modules/frontend/lfs/tmp
ConcurrentTransfers=3
BatchTransfer=false
GIT_DIR=/Users/georgevaldes/Desktop/tollbooth/.git/modules/frontend
GIT_PREFIX=

That error means you dont have .git/lfs/objects/10/e7/10e7059987de0c34965064ddf0a978c6fac2e0ad2033a7850a4b9a84dcf14e08.
What's happening is that it's trying to upload an older version of "files/images/project-library/Trash Icon.png". Since that file above doesn't exist, it tried hashing the actual file. It's failing because apparently that file is different in your HEAD commit.
Try using bfg repo cleaner: https://rtyley.github.io/bfg-repo-cleaner/
Also, that error message has been updated to be more clear (hopefully). I'd highly recommend upgrading, v0.5.4 is ancient :)

Thanks for your advice.
For some reason I'm having a lot of trouble upgrading. brew install git-lfs installs 0.5.4 by default. Then typing brew upgrade git-lfs gives me Error: git-lfs 0.5.4 already installed. How can I get the latest version?

brew update will update the brew recipes. Then you'll have the recipe locally for git lfs v1.1.2.

worked like a charm, thanks for being patiently walking me through!


Set COMPUTECPP_USER_FLAGS

Set COMPUTECPP_USER_FLAGS instead of COMPUTECPP_DEVICE_COMPILER_FLAGS, as required by FindComputeCpp.cmake. This is required because of this change to ComputeCpp SDK: https://github.com/codeplaysoftware/computecpp-sdk/pull/149

I think you might need to merge in the most recent master, as this is currently timing out on Travis - which suggests to me that the changes that Mehdi made to speed up the Level 3 blas tests aren't in the branch that you're trying to merge.

Okay, so after a bit of digging, the tests are timing out because we also set COMPUTECPP_USER_FLAGS in the Docker to -fsycl-split-modules=20, which speeds up the recompilation that happens every time we run the GEMM.
I'm not sure what we should do - I have a similar change to this, where we set the COMPUTECPP_DEVICE_COMPILER_FLAGS using list(APPEND...), which seems to work. I'm not sure which flags are most appropriate for the library configuration though, or whether we can just update the Docker (or the CMake configuration) to append to user flags instead.


Modify document-type-specific options that are not exposed via API

Config options like Flat Pattern Treatments to reduce bsplines to lines and arcs are not exposed via the API in any way. They're also saved at the document level so they cannot be bulk modified by changing defaults. We need a way to modify these options programmatically to operate on large sets of files.
Options are suspected to be stored in the PSMcluster0 stream in the COM structured storage of the document file.
PSMcluster.zip
PSMclusterVariance.zip
PSMcluster0-off.zip

@ChrisClems
I ran across an old post on the SE Forum that used SendKeys to do something not exposed in the API.
It's far from ideal, but might be easier than hacking a binary stream in Windows Structured Storage.

@ChrisClems I ran across an old post on the SE Forum that used SendKeys to do something not exposed in the API.
It's far from ideal, but might be easier than hacking a binary stream in Windows Structured Storage.

Yeah, I hit some big dead ends with the structured storage streams. Every time I found something promising it would go nowhere without a deeper understanding of how the different streams appear to interact. Changing a simple value would change binary code all over the place. Saving a file with no changes would change far more in the binary than one would expect for simple timestamps, rev bump, etc. Maybe if I had a Parasolid SDK license I could poke around in the parasolid stream, but the x_b format is not documented and they're not even using simple x_b's for the parasolid. They're partitions and deltas which appear are individual parts of a complete x_b.
I think it's safe to close this as not planned for now. I'm at the end of my rope without spending a year or two studying reverse engineering and I'm in no hurry to go back to school.


add claude-3-opus as a translation generator

Before adding this:

Move to a vps to ensure egress costs control
can only be used after logging in (misuse, opus is expensive 7x more than gpt3)
angle for monetization? could be.
create a PromptEngine : automated prompt engineering and quality controls

Sonnet making mistakes while opus is on point. Impossible to add this without a good monetization approach.

Run ads - everyone hates ads and this is not mass media
Donations -  Not possible at the time.
Paid product - Opus is extremely expensive and subscription that people can afford may not cover the costs
Bring Your own API keys - I think the only way forward.


Update scala-java-time to 2.0.0-RC4

Updates io.github.cquiroz:scala-java-time from 2.0.0-RC3 to 2.0.0-RC4.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.github.cquiroz", artifactId = "scala-java-time" } ]

labels: library-update, semver-pre-release

on 2.0.0 already.


Is it possible to disable "required" on the CardElement?

I am looking for a way to disable the required aspect of the <CardElement/>.
I have the component on a settings page and it's optional if the user would like to update their card. However because of the validation if the card is empty it's invalid and prevents the submit from taking other inputs on the page.
Is it possible to disable required on the <CardElement/>, and not post anything to stripe if the component is empty?

I was still calling stripe.createToken() within my form onSubmit handler. Conditionally calling this based on the onChange response empty for <CardElement/> fixed my issue.


Is it possible to have multiple same types defined inside the same project?

We have a GraphQL server that fetches data from multiple different micro services with GraphQL APIs, which we would like to mock inside the main project and simply instantiate Apollo Servers for each of them. This doesn't work if some types are named the same among them (which is unfortunately our case).
It would be nice if we could add some sort of "instance context" to each decorator so it would tell the decorators to manage these types separately. A  string namespace would be sufficient (and ideally if not specified, it would save it to some sort of "general" namespace so we'd never get conflicts.)
I wonder if this would be a lot of work.
To clarify, the services are not deployed yet so we need a way to mock them and this would be easier than having a separate repository for each of them.

I'm not sure if it's related to #110 or #156? 😕

@vnenkpet
Can you describe your problem and proposed solution in more details?
Would #110 or #156 fix your problem?

There won't be {context: "schema1"} for sure.
But you will be able to achieve the same just with proper imports:
// ./app/schema1/user.type.ts
@ObjectType()
export class User {
  // ...
}

// ./app/schema1/user.resolver.ts
import { User } from "./user.type.ts"
@Resolver()
export default class UserResolver {
  // ...
  @Query(returns => [User])
  users() {
    // ...
  }
}

// ./app/schemas.ts
import Schema1UserResolver from "./schema1/user.resolver.ts"
import Schema2UserResolver from "./schema2/user.resolver.ts"

const schema1 = buildSchemaSync({
  resolvers: [Schema1UserResolver],
});
const schema2 = buildSchemaSync({
  resolvers: [Schema2UserResolver],
});

There will be no global metadata leaks, so only the types used by one schema (and it's resolvers) will be emitted.
So closing as a duplicate of #110 🔒


support search filter instances

support search filter instances
and also fully qualified class names

search filter instances are valid options

for context, see
https://github.com/silverstripe/silverstripe-framework/issues/8574

And if you can't wait for this to be merged, you can simply copy paste this class into your project which brings other benefits (like changing the default search filter, allowing wildcard match, setting manymany extra fields)
https://github.com/lekoala/silverstripe-base/blob/db64a738ae206ab03bda4b81b810f4f0e0de0794/src/Forms/GridField/BetterGridFieldAddExistingAutocompleter.php

I'd be happy to accept this as a minor improvement to the currently flawed mechanism, despite missing a test related to the addition; existing tests are passing. What do you think @maxime-rainville or @emteknetnz?

Certainly makes sense to support namespaced classes since that's how I'd expect filters to be defined - e.g. https://gist.github.com/maxime-rainville/9f544d1858b761db323c209933fd038c#file-subdummy-php-L22
I'm not so sure about supporting instances though?  What's the use case for doing that?

The default search filters support that (as @lekoala linked in the original issue), so I'm fine having it here too. Not sure where/how they actually get created.

Since this is a bugfix with no API changes this should be targeted a the current minor branch 4.9
I'd prefer a test, though I can live without it since I get this may be hard.  There is an existing https://github.com/silverstripe/silverstripe-framework/blob/4/tests/php/Forms/GridField/GridFieldAddExistingAutocompleterTest.php


Test fails on macos

Some tests fails on macos:
======================================================================
FAIL: testArcRoiSwitchMode (silx.gui.plot.tools.test.testROI.TestRegionOfInterestManager)
Make sure we can switch mode by clicking on the ROI
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/tvincent/src/silx/build/lib.macosx-10.9-x86_64-3.7/silx/gui/plot/tools/test/testROI.py", line 653, in testArcRoiSwitchMode
    self.assertIs(item.getInteractionMode(), roi_items.ArcROI.PolarMode)
AssertionError: <silx.gui.plot.items._roi_base.RoiInteractionMode object at 0x11497e748> is not <silx.gui.plot.items._roi_base.RoiInteractionMode object at 0x11497e780>

======================================================================
FAIL: testLineInteraction (silx.gui.plot.tools.test.testROI.TestRegionOfInterestManager)
This test make sure that a ROI based on handles can be edited with
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/tvincent/src/silx/build/lib.macosx-10.9-x86_64-3.7/silx/gui/plot/tools/test/testROI.py", line 570, in testLineInteraction
    self.assertNotEqual(points[0, 1], result[0, 1])
AssertionError: 0.0 == 0.0

testArcRoiSwitchMode looks to be due to high-DPI screen and widget coordinates, still to see if is the test or something that needs a fix.

testArcRoiSwitchMode issue due to issue in high-dpi support in PlotWidget matplotlib backend (fine with the OpenGL one). This needs to be fixed.

Related to #2914

closed by #3318


Accessibility

As a visual impaired user  I can enjoy the Pillarbox demo.
Acceptance criteria

Pillarbox demo is fully usable with talkback enabled.

Tasks

[ ] ...

Simple change to implement: mark headers.


Add support for activerecord 5.2.2

In relation to the changes in activerecord version 5.2.2in using scope_for_create (https://github.com/rails/rails/pull/33639/files), we must use the new method values_for_create provided.
This will resolves the issue https://github.com/krautcomputing/active_record-acts_as/issues/27.

Coverage remained the same at 99.615% when pulling 62aa48f09878b829eddab3901f84fdf6ff16fa3e on tenshiAMD:add-support-for-activerecord-5-2-2 into 52dbc3e11805c8250dd2a8280ed81bbab7a640cd on krautcomputing:master.

Coverage remained the same at 99.615% when pulling 62aa48f09878b829eddab3901f84fdf6ff16fa3e on tenshiAMD:add-support-for-activerecord-5-2-2 into 52dbc3e11805c8250dd2a8280ed81bbab7a640cd on krautcomputing:master.

Coverage remained the same at 99.615% when pulling 62aa48f09878b829eddab3901f84fdf6ff16fa3e on tenshiAMD:add-support-for-activerecord-5-2-2 into 52dbc3e11805c8250dd2a8280ed81bbab7a640cd on krautcomputing:master.

Thanks for working on this, @tenshiAMD! 😃


⚠ Bofrost.at has degraded performance

In 7dad249, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2456 ms

Resolved: Bofrost.at performance has improved in 888f688.


Fix unable to recursive parsing the UNION clause

This closes #93

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 59.386%

Totals

Change from base Build<PHONE_NUMBER>8:
0.04%

Covered Lines:
6156

Relevant Lines:
10366

💛  - Coveralls

@Lance726 The root cause parseSelectQuery will recursively parse the UNION clause but parseSelectStatment would limit to the SELECT clause only.

@Lance726 The root cause parseSelectQuery will recursively parse the UNION clause but parseSelectStatment would limit to the SELECT clause only.

OK, get it !


The quick start for MMM does not work

Running the example code does not work.
import pandas as pd
from pymc_marketing import mmm

data_url = "https://raw.githubusercontent.com/pymc-labs/pymc-marketing/main/datasets/mmm_example.csv"
data = pd.read_csv(data_url, parse_dates=['date_week'])

model = mmm.DelayedSaturatedMMM(
    data=data,
    target_column="y",
    date_column="date_week",
    channel_columns=["x1", "x2"],
    control_columns=[
        "event_1",
        "event_2",
        "t",
        "sin_order_1",
        "cos_order_1",
        "sin_order_2",
        "cos_order_2",
    ],
    adstock_max_lag=8,
)

model.fit()
model.plot_components_contributions();

produces the error:

TypeError                                 Traceback (most recent call last)
Cell In[79], line 25
6 data = pd.read_csv(data_url, parse_dates=['date_week'])
8 model = mmm.DelayedSaturatedMMM(
9     data=data,
10     target_column="y",
(...)
22     adstock_max_lag=8,
23 )
---> 25 model.fit()
26 model.plot_components_contributions();
TypeError: ModelBuilder.fit() missing 1 required positional argument: 'X'

Thanks for the report @HananInfiniGrow, would you like to submit a fix?

This looks like versioning issue, as the mmm_example notebook is already updated. Which version you can see in the left top corner? It might be you're looking at legacy documentation, in that case you should use older version of pymc-marketing.
In the official example notebook I can see:

It is in the latest official docs at https://www.pymc-marketing.io/en/stable/
p.s. thank you for publishing this open source. I know how much of a headache is it to implement this model alone. Please also support hierarchial and budget allocation optimization.

I'm sorry, I'm afraid I can't help in this case, the link you're providing shows me the doc version I've shared with you on the screenshot above. In general, we've altered the API a bit, to follow sklearn API. So now you need to divide your dataset into the X data frame, and y series (containing the target variable) and pass it along to fit() method. That should solve your problem. As to the example notebook, @ricardoV94 any ideas why we're seeing different documentation versions?

https://www.pymc-marketing.io/en/stable/

The documentation was only updated after we released the last version (in #340), and we haven't re-released so it doesn't show it up to date yet.
 Apologies for the confusion @HananInfiniGrow


cleanup remnants of innerRef and fix bubbling

Overview
This PR cleans up a few last remnants of innerRef and typings
Screenshots (if applicable)
NA
Testing

[x] Updated Typescript types and/or component PropTypes
[ ] Added / modified component docs
[ ] Added / modified Storybook stories

Not the right place to ask but for the first time I've had to use refs (focus mgmt on a field) and I've had to use innerRef which isn't really documented anywhere that I could find... and from this update, it sounds like it is going away in favor of just using ref?
My example is using a <TextInputField> element.
Using innerRef works but I am getting proptype errors from <Text> and <Box> for innerRef.
Using ref doesn't work at all...
I'm running v5 already ("evergreen-ui": "^5.0.0-2").

@cstrat can you see which version(s) of ui-box you have installed? yarn why ui-box

My issue was I was running 5.0.0-2, updated to -5 and its working fine with no warnings and errors using ref 👍

By the way, updating to -5 has stuffed up <IconButton> padding.

I know it is a WIP branch, but is that something you want bug reports on?

https://github.com/segmentio/evergreen/issues/900
However I think I am just running an old branch! Bug doesn't appear in the later releases.


Inputs other than CIF?

Hi! This is a very impressive project, kudos for pulling it off. :-)
Since the only example given uses CIF input with all of the restrictions that implies (352x288 resolution, 30000/1001 framerate, YCbCr color representation, etc.), I'm wondering to what extent those restrictions are currently hard coded into the encoder. I'd love to use minih264 in a project I'm writing as a backup option for cases when ffmpeg is not available, but that requires dealing with arbitrary resolution frames of RGBA images (which I can, of course, transform on the fly, but the resolution part isn't flexible). Is that something that would be doable with reasonable effort, or am I pushing too far beyond the scope of your intentions for this project?

Hi :)
Sample application supports any input resolution. It tries guess it from file name here:
static const frame_size_descriptor_t g_frame_size_descriptor[] =
{
    {"sqcif",  128,   96},
    { "qvga",  320,  240},
    { "svga",  800,  600},
    { "4vga", 1280,  960},
    { "sxga", 1280, 1024},
    {  "xga", 1024,  768},
    {  "vga",  640,  480},
    { "qcif",  176,  144},
    { "4cif",  704,  576},
    { "4sif",  704,  480},
    {  "cif",  352,  288},
    {  "sif",  352,  240},
    {  "pal",  720,  576},
    { "ntsc",  720,  480},
    {   "d1",  720,  480},
    {"16cif", 1408, 1152},
    {"16sif", 1408,  960},
    { "720p", 1280,  720},
    {"4SVGA", 1600, 1200},
    { "4XGA", 2048, 1536},
    {"16VGA", 2560, 1920},
    {"16VGA", 2560, 1920},
    {NULL, 0, 0},
};

/**
*   Guess image size specification from ASCII string.
*   If string have several specs, only last one taken.
*   Spec may look like "352x288" or "qcif", "cif", etc.
*/
static int guess_format_from_name(const char *file_name, int *w, int *h)

RGB do not supported directly in h264 format. RGB->YUV converter is needed and do not included in sample app. I suggest using https://github.com/lemenkov/libyuv to do the conversion.

fps is more interesting question, in h264 it can be encoded in VUI parameters block in SPS, but it's optional and minih264 do not encodes that block. So there no information stored in h264 stream about fps, and there no timestamps per frame either. This information should be added at packetization step (PES, TS, MP4 etc). So minih264 is fully fps agnostic and you must manually calculate frame budget from fps what you want. Here where it's calculated in sample app:
            if (cmdline->kbps)
            {
                run_param.desired_frame_bytes = cmdline->kbps*1000/8/30;
                run_param.qp_min = 10;
                run_param.qp_max = 50;
            } else

API somewhat documented in header itself:
https://github.com/lieff/minih264/blob/master/minih264e.h#L22

Awesome, thank you for the comprehensive response. This should be enough to get me started. :)


Enable upload and visualisation of service purchase information

Introduces an offer upload dialog for signed/unsigned offers:

org.apache.tomcat.util.http.fileupload.impl.SizeLimitExceededException: the request was rejected because its size (11255463) exceeds the configured maximum (10485760)

When trying to upload a file of 11.3 MB. The UI states a maximum file size of 14 MB.


Produces "implicit vim-scripts' expansion is deprecated" error when using env. variables with Plug` command

Because of this line,
Plug $FZF_HOME | Plug 'junegunn/fzf.vim'

vim produces this error when starting it.
$ sudo vim /etc/hosts
[vim-plug] Invalid argument:  (implicit `vim-scripts' expansion is deprecated)
Press ENTER or type command to continue

$FZF_HOME is a valid environment variable and its value is /usr/local/opt/fzf for that machine.
Note that fzf plugin works as intended and there is an empty space after "Invalid argument:" string.
Stack trace for you:

https://github.com/junegunn/vim-plug/blob/96375cb7d30b7caf2a9417799ff509b59b43a627/plug.vim#L586
https://github.com/junegunn/vim-plug/blob/96375cb7d30b7caf2a9417799ff509b59b43a627/plug.vim#L550
https://github.com/junegunn/vim-plug/blob/96375cb7d30b7caf2a9417799ff509b59b43a627/plug.vim#L547
https://github.com/junegunn/vim-plug/blob/96375cb7d30b7caf2a9417799ff509b59b43a627/plug.vim#L304

NVIM v0.2.2
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -DNVI
M_UNIBI_HAS_VAR_FROM -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wv
la -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -I/tmp/neovim-20171118-53412-9ielcr/neovim-0.2.2/build/config -I/
tmp/neovim-20171118-53412-9ielcr/neovim-0.2.2/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/incl
ude -I/usr/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/tmp/neovim-20171118-53412-9ielcr/neovim-0.2.2/build/src/nvim/auto -I/tmp/ne
ovim-20171118-53412-9ielcr/neovim-0.2.2/build/include
Compiled by<EMAIL_ADDRESS>
Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.2.2/share/nvim"

Run :checkhealth for more info

Type:

[x] Bug
[ ] Enhancement
[ ] Feature Request
[ ] Question

OS:

[ ] All/Other
[x] Linux
[x] OS X
[ ] Windows (I don't know, but probably yes.)

Vim:

[x] Terminal Vim
[x] GVim
[x] Neovim

sudo does not preserve environment variables by default. Try with sudo -E.

Duh! Didn't even think that. Thanks!


Version 4.51 just doesn't work for me

Describe the bug
Clicking the icon in the Systray doesn't bring the capture window as it should
Where is the bug
Right-clicking the icon in the Systray shows all the options but only close or settings works and when I click on settings  it freezes
To Reproduce
Steps to reproduce the behavior:
Download the latest Text-Grab-Self-Contained-4.5.1-2024-08-25 as I did with the previous versions and unzipped in the previous folder
Expected behavior
Clicking the icon in the Systray doesn't bring the capture window as it should
Screenshots
If applicable, add screenshots to help explain your problem.
Where did you get Text Grab?

GitHub releases

Exe
Self-contained

Desktop (please complete the following information):

OS: Windows 11
Version [e.g. 2024, 23H2]
Text Grab Version [e.g. 4.5.1]

Additional context
Rolled back to the previous version, and it's working as usual

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

I report the same problem.
I have been using the app for some time in the “Self-Contained” version in Windows 11 23H2.
Yesterday, as I have done other times in the past, I closed the program (I was on 4.4.2), overwritten the files in the folder with the new ones (4.5.1), and restarted the program.
Apparently the software is running, but by clicking on the icon in the systray the top bar appears, but without the ability to select the language.
If I select an area for text recognition, the notification appears with the text actually recognized (and copied to the clipboard), but clicking on the notification does not bring up the editing window as usual.
Clicking on Settings (in the top bar, or from systray) opens the window, but it remains blank and the program crashes.
Can this be a problem in the update? How do I delete the configuration files for a clean installation? It seems to me that they are not in the folder that contains the program.
Thank you for your attention.

Same. It doesn't open the windows or prompt anything after I deleted the previous version and using the latest version.

Test this build from the GitHub Action and see if it works:
https://github.com/TheJoeFin/Text-Grab/actions/runs/10550900309

Test this build from the GitHub Action and see if it works: https://github.com/TheJoeFin/Text-Grab/actions/runs/10550900309

I only did a short test, but it seems to me that this version is okay.

Test this build from the GitHub Action and see if it works: https://github.com/TheJoeFin/Text-Grab/actions/runs/10550900309

Thanks Joe,
That version works fine

@Galthariel the version is in the Settings:

@mauriva @yuukiAme @Galthariel I updated the builds in the release, could you please test and see if the issue is resolved

@TheJoeFin Yes, it works now. I extracted and open .exe and the program opens with no issues.

Great! Thanks for testing!

I can confirm that the latest version in release works as expected.
Thank you!


[v4] Added ScriptFilter to dynamically validate or modify script content

Same pr as #49 for v4 branch to support the latest driver version.

Many thanks for porting this to version 4 as well. I will merge it once the other features are ported as I don't want to have same versions with different feature sets in both branches.  I started to work on this so it should not take too long.

Thank you @patka take your time, no rush.

Sorry it took me so long. To be honest I forgot about it. Stress at work. If you ever make a pull request again and and it takes me this long, please ping me and remind me :)


Add an ExtensionEvaluator for evaluating extensions in a package graph

Add a first version of an ExtensionEvaluator that allows all use of extensions in targets to be evaluated and that returns the commands to run and other information.  Some TODOs and FIXMEs in the code for things left to be filled in, such as product dependencies and separate extension usage arrays.  This will be added in follow-on PRs.
Motivation:
This abstracts out the logic around invoking extensions and passing them inputs and receiving outputs, while leaving the details of how that is done (e.g. compiling and then running in a sandbox, or some other way) to concrete implementations.  This also allows the facility to be at a lower level than the logic providing the extension runner.
There is no caching yet and but that will be added in future PRs (although most is likely to live in the concrete implementations of ExtensionRunner).
There is some similarity here with the manifest loader, and the intent is to evolve both so that there can be a shared implementation.
Modifications:
Add an ExtensionEvaluator plus an ExtensionRunner protocol.
Define a ExtensionEvaluationResult struct for capturing distilled results of invoking extensions.  This includes diagnostics and plain-text output from running the extension (suitable for debugging of the extension, as with the manifest).
Define the three types of generated commands that are planned for the initial implementation: prebuild, built-tool, and postbuild.
This builds on https://github.com/apple/swift-package-manager/pull/3285 and it is best to review that PR first and then just the diff 37b2915ee53c4408c99d87211187425353eaae88 of this PR.

@swift-ci please smoke test

The test failure is:
11:59:31     dyld: Library not loaded: @rpath/XCTest.framework/Versions/A/XCTest
11:59:31       Referenced from: /Users/buildnode/jenkins/workspace/swift-package-manager-with-xcode-self-hosted-PR-osx/branch-main/usr/libexec/swift/pm/swiftpm-xctest-helper
11:59:31       Reason: image not found

which is a toolchain problem.

@swift-ci please smoke test

@swift-ci please smoke test

Not sure what's going on here:
12:52:05
/home/buildnode/jenkins/workspace/swift-package-manager-self-hosted-Linux-smoke-test/branch-main/swiftpm/Tests/SourceControlTests/RepositoryManagerTests.swift:249: error: RepositoryManagerTests.testBasics : Asynchronous wait failed - Exceeded timeout of 1.0 seconds, with unfulfilled expectations: Repository lookup expectation

@swift-ci please self test linux

@swift-ci please smoke test linux

This Linux smoke test seems to be a failure while building libClang...

@swift-ci please self test linux

@swift-ci please smoke test linux

17:38:43
/home/buildnode/jenkins/workspace/swift-package-manager-Linux-smoke-test/branch-main/swiftpm/Sources/PackageLoading/PackageDescription4Loader.swift:16:8: error: no such module 'SourceControl'
17:38:43 import SourceControl
17:38:43        ^
17:38:43 [10/22][ 45%][5.014s] Linking Swift shared library lib/libSourceControl.so

???

Looking into the failure.

@swift-ci please smoke test linux

Looking into the failure.

should be fixed with #3288


Hotfix 2.0.12 Release Branch Merge to Master (#947)

Running formatter

Extra null check for error, sub_error before calling equals()

Use the yoda conditions we will

Rev version number for MSAL hotfix

Update changelog for 2.0.12 deployment

Rev version to 2.0.12

Closing, needs an intermediate branch


grammar in "Easy to learn and use" section

The sentence

Expressing most mathematical and arithmetic operations over large arrays is as simple as you'd write them as equations on a whiteboard.

should be

Expressing most mathematical and arithmetic operations over large arrays is as simple as writing them as equations on a whiteboard.

since "expressing" and "writing" match but "expressing" and "you'd write" do not.

Good catch, will be an easy fix, thanks.


Dokku production issue

When trying to push to my dokku server I get this error:
remote: App container failed to start!!
=====> strainguide web container output:
npm ERR! Linux 3.13.0-85-generic
npm ERR! argv "/app/.heroku/node/bin/node" "/app/.heroku/node/bin/npm" "start"
npm ERR! node v5.10.0
npm ERR! npm  v3.5.0
npm ERR! missing script: start
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR!     /app/npm-debug.log
=====> end strainguide web container output

@dillonraphael I don't think is an issue with react_on_rails. Please feel to provide more details on why it is and I'll reopen this. We're available for paid consulting if you're interested: http://www.shakacode.com/work/. You could post to Stack Overflow, but you'd need many more details for somebody to be helpful. If you're in a time crunch, please do get in touch.


Support for PHP 8.2 & Added PHPStan for PS 8.0

Questions
Answers

Description?
Support for PHP 8.2 & Added PHPStan for PS 8.0

Type?
new feature

BC breaks?
no

Deprecations?
no

Fixed ticket?
Relative to PrestaShop/Prestashop#29116

How to test?
Ci is :green_circle:

Thank you @Progi1984 !


fully qualified test names

fully qualify test names to allow precise filtering.

Hmm, if I understand it correctly, it produces the full module path, so the test name would be something like integration_tests::rust_tests::bad_filter::test; would it be possible to skip everything up to the rust_tests part, without getting too deep in some macro wizardry? Or do you think that the full name is ok?

uhm... I don't think so. This is also how the rust test harness would name them btw


ISPN-9637 Cleanup dependency injection in Ickle filters and their indexing providers

…iders
https://issues.jboss.org/browse/ISPN-9636
https://issues.jboss.org/browse/ISPN-9637

Should this remove anything other than @SuppressWarnings annotations?

Yes, @danberindei . cleanup is not just about removing stuff :)

Rebased. I've also created jiras for these refactorings and updated commit comments.

Integrated, thanks Adrian!


Missing creds from vSphere admin account

I just tested the permissions roster listed in the docs file perm-by-perm for making an administrative user in vCenter and found there are eight missing permissions required when building PCF v1.8 with vSphere 6.0.
Those are:
Virtual Machine: Inventory: Register
Virtual Machine: Inventory: Unregister
Virtual Machine: Interact: Console Interaction
Virtual Machine: Interact: Guest Control with VIX
Virtual Machine: Interact: Defragment All Disks
Virtual Machine: Guest Operations: Query
Virtual Machine: Guest Operations: Modify
Virtual Machine: Guest Operations: Execute

@forddonald Thanks, this is good stuff. Did you see errors from the CPI during a BOSH deployment (debug output) or was the error from the OpsMgr UI (pop-up dialogue)? That will guide us whether we need to update our (CPI's) docs or work with the commercial team to update the commercial docs. That doc is the set of required permissions for a pure BOSH deployment while some additional permissions may or may not be required for commercial installations.

The error reported during the Ops Mgr Apply Changes validation stage. Here's a screenshot of what I saw.

@forddonald OpsMgr tries to perform some validation to fail quickly, but in this case I think it's checking for permissions that aren't actually required. Could you add a +1 on this story for OpsMgr: https://www.pivotaltracker.com/story/show/129641855? I'm going to close this out as it's an issue with a commercial offering rather than this open source project, but ping me on that Tracker story if you'd like more info.


Add support for block statements

I hacked in a quick change to support block statements. Lemme know if I should add tests!
TS:
{
  const a = 1 + 2
  do_something(a)
}

Lua:
do
  local a = 1 + 2
  do_something(a)
end

@lolleko Awesome, thanks for the quick turnaround! I'll take a look at refactoring & adding tests later this week – currently focused on building out this game. :)

No longer needed after #199


Link from Deployment Dashboard to agent should go directly to the agent page, not the view agents page.

This will probably need a custom return field in the get asset status endpoint.

Closing as stale, please reopen as needed.


storeInstallation not triggered and therefore fetchInstallation fails - ExpressReceiver

Description
Hi there,
I have built a slack bolt bot that worked end to end hosted on firebase on my workspace. I want to open up my app for distribution and thus am implementing the installationStore on the ExpressReceiver for oauth.
The issue I am facing is that upon installation of the app in a new workspace, the ExpressReceiver seems to run fine for fetchInstallation but the storeInstallation is never called and a new entry is not made in my database. Therefore any further slack calls that are made, fetchInstallation is called (im guessing in order to get the bot token for the workspace) but since an entry was never made in the DB it fails.
Here is the initialization code:
const { App, ExpressReceiver, LogLevel } = require("@slack/bolt");
var constants = require('./constants')
// Initializes slack bolt
const expressReceiver = new ExpressReceiver({
    signingSecret: SLACK_SIGNING_SECRET,
    endpoints: '/events',
    processBeforeResponse: true,
    clientId: SLACK_CLIENT_ID,
    clientSecret: SLACK_CLIENT_SECRET,
    stateSecret: 'my-state-secret',
    scopes: ['identity.basic', 'identity.email', 'channels:history', 'channels:join', 'channels:manage', 'channels:read', 'chat:write', 'files:read', 'groups:read', 'im:history', 'im:read', 'im:write', 'pins:write', 'users:read', ' team:read'],
    installationStore: {
        storeInstallation: async (installation) => {
            functions.logger.log("in store installataion TOP")
            // change the lines below so they save to your database
            if (installation.isEnterpriseInstall && installation.enterprise !== undefined) {
                // support for org-wide app installation
                var companyRef = firestore.doc(`testInstall/${installation.enterprise.id}`);
                functions.logger.log("in store installataion", installation)
                return await companyRef.set(installation);
            }
            if (installation.team !== undefined) {
                // single team app installation
                companyRef = firestore.doc(`testInstall/${installation.team.id}`);
                functions.logger.log("in store installataion", installation)
                return await companyRef.set(installation);
            }
            throw new Error('Failed saving installation data to installationStore');
        },
        fetchInstallation: async (installQuery) => {
            functions.logger.log("in fetch installataion TOP")
            // change the lines below so they fetch from your database
            if (installQuery.isEnterpriseInstall && installQuery.enterpriseId !== undefined) {
                // org wide app installation lookup
                var companyRef = firestore.doc(`testInstall/${installQuery.enterpriseId}`);
                functions.logger.log("in fetch installataion", installQuery)
                var companyDoc = await companyRef.get()
                return companyDoc.data();
            }
            if (installQuery.teamId !== undefined) {
                // single team app installation lookup
                companyRef = firestore.doc(`testInstall/${installQuery.teamId}`);
                functions.logger.log("in fetch installataion", installQuery)
                companyDoc = await companyRef.get()
                return companyDoc.data();
            }
            throw new Error('Failed fetching installation');
        },
        deleteInstallation: async (installQuery) => {
            // change the lines below so they delete from your database
            if (installQuery.isEnterpriseInstall && installQuery.enterpriseId !== undefined) {
                // org wide app installation deletion
                // return await database.delete(installQuery.enterpriseId);
                return
            }
            if (installQuery.teamId !== undefined) {
                // single team app installation deletion
                // return await database.delete(installQuery.teamId);
                return
            }
            throw new Error('Failed to delete installation');
        },
    }
});
const app = new App({
    receiver: expressReceiver,
    // token: SLACK_TOKEN,
    logLevel: LogLevel.DEBUG,
    signingSecret: SLACK_SIGNING_SECRET,
    clientId: SLACK_CLIENT_ID,
    clientSecret: SLACK_CLIENT_SECRET,
    stateSecret: 'my-state-secret'
});

Exporting the function:
exports.slack = functions.runWith({
    // Keep 1 instances warm for this latency-critical function
    minInstances: 1,
}).https.onRequest(expressReceiver.app);

I am using Firebase for the node server and cloud functions.
What type of issue is this? (place an x in one of the [ ])

[ ] bug
[ ] enhancement (feature request)
[x] question
[x] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 3.5.0
node version: v14.17.0
OS version(s):
Steps to reproduce:

Expected result:
What you expected to happen
storeInstallation to fire and set something in the DB
Actual result:
What actually happened
storeInstallation never stores anything, the function is not hit and then fetchInstallation errors out as there is no entry in the DB
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.

Hi @kashrocks 👋🏻
Thanks for the details and code samples.
Your code sample looks correct to me, although I haven't run it locally yet.
I was curious what install URL you're using to install the app to a workspace? You'll need to use either the built-in /slack/install path provided by Bolt or the receiver.installer.generateInstallUrl() for dynamic URLs. I'm sure you've already see it, but here is a link to the Bolt docs that go into the different install URLs. Unfortunately, the install link provided by api.slack.com when you turn on Distribution may not work for your needs.
If your install URL is correct, then I'll try to recreate your scenario locally!

@mwbrooks could you please check my url and help me get it dynamically if wrong?
Appreciate your time!

Doing so also works! but it seems that you already have an Express based Bolt app. You can deploy it to Google Cloud in their recommended way.

@kashrocks It seems that the App initialization is incomplete. You can pass the installation store to the app as well.
const app = new App({
    receiver: expressReceiver,
    // token: SLACK_TOKEN,
    logLevel: LogLevel.DEBUG,
    signingSecret: SLACK_SIGNING_SECRET,
    installationStore: iStore, // This one is added!!!
});

I hope this helps!

@kashrocks How about having more detailed logs in the fetchInstallation method for debugging? Also, I would recommend checking if there is a record for the team_id in the Firestore for sure.

@kashrocks

userScopes: ['identity.basic', 'identity.email'],

Sorry, I overlooked this part. Unfortunately, the OAuth package does not support "Sign in with Slack" scopes as of today. For the Sign in with Slack use cases, we recommend directly using WebClient to perform oauth.v2.access API method for it. Refer to this example app for more details.

I see ok thankyou!


Implement a deprecation widget which also hides nodes from the search box

Implements a new ADEWARN widget which displays red warning text on a node. Nodes which have an ADEWARN widget are hidden from the searchbox.
The method for hiding nodes from the search box is a bit heavier than I would like, but the implementation allows for you to add warnings and hide nodes without touching JS.
EDIT: Also hides from "Add Node" Menu. Currently investigating if only search box can be filtered for experimental nodes
EDIT2: Also fails to reassign filter after the "Refresh" button is clicked, which results in all non clientside nodes being hidden until a proper refresh

Nice, massive thank you and I'm sorry for the delay in my response.
I think the only things that would be good to add here is a way to maybe decide what color the text should be displayed in. For example, experimental nodes could be added with a green text instead of red, if I were to decide to have different types of experimental (like a beta version of a node).
This feature would also be nice to have a way to determine if they should be hidden, maybe adding a menu item into the ComfyUI settings like what is done for VHS's advanced previews. This would mean users could explicitly determine if they could see experimental or deprecated nodes in the menu/search bar.
Having a way to distinguish an experimental vs deprecated node would be good too, and maybe then there could be two toggles in the ComfyUI menu - one for toggling experimental nodes, and one for deprecated nodes.
Another use case I'd love to have is a way to hide a node, but to have no extra text displayed. For example, I actually have two Context Options - Looped Uniform nodes, one of which removes an unnecessary parameter from the middle. They function identically, but I hid the old version from the menu. I'd like to be able to hide the old one from the search bar too, but to not display any text that might alert the user into thinking the node is deprecated. The old and new version of the node have the same title, and while the new version wouldn't have the warning, users might just see the same name without trying to place it and will assume that one too is deprecated.
I apologize for the list of stuff, I figured I should get all my thoughts out at once. This hiding-from-search-bar feature would be very helpful, so we might as well take it to its natural conclusion.
Another note, to also have this for Advanced-ControlNet, would the JavaScript added here automatically make ADEWARN work for nodes outside of AnimateDiff-Evolved (if it parses all nodes)? We wouldn't need to add any extra toggles in the submenu and just make the ones in AnimateDiff-Evolved control those for the other nodes too if so.

No rush, I knew you were particularly busy and the further testing was needed to find the 'refresh button' bug anyways.
I'll add an option to set color by python code and implement the 'no text option' by making the widget have 0 height when no text is provided. Adding multiple toggle settings is also doable but changing the setting may require a reload to take effect.
I can confirm that it would be usable from ACN. The functionality of hiding nodes would be dependent upon the user having ADE installed, but I'm reasonably confident the warning will just be hidden with no adverse functionality if it isn't. Will still leave it namespaced to ADE, though.

Requests have been implemented

Awesome! Tested locally on my machine, appears to work as intended. Only feedback I would have is that one of the settings options does not have a capitalized "show", but that is incredibly minor so I can quickly fix it after merging.


Seemingly impossible panic: tomb.Go called after all goroutines terminated

Firstly: thanks for the awesome package.
Secondly, I must be missing something obvious here, but the following call stack would seem, from the panic, to be impossible:
panic: tomb.Go called after all goroutines terminated [recovered]
        panic: tomb.Go called after all goroutines terminated

goroutine 937 [running]:
github.com/govim/govim.(*govimImpl).DoProto.func1(0xc000171d40, 0xc00044fdf8)
        /home/myitcv/gostuff/src/github.com/myitcv/govim/channel_cmds.go:127 +0x1b6
panic(0x674360, 0x738b40)
        /home/myitcv/gos/src/runtime/panic.go:961 +0x15d
gopkg.in/tomb%2ev2.(*Tomb).Go(0xc000171de8, 0xc0004fcac0)
        /home/myitcv/gostuff/pkg/mod/gopkg.in/tomb.v2@v2.0.0-20161208151619-d5d1b5820637/tomb.go:155 +0x106
github.com/govim/govim.(*govimImpl).run(0xc000171d40, 0xc0004d2360, 0xc0004cad80)
        /home/myitcv/gostuff/src/github.com/myitcv/govim/govim.go:472 +0x1c78
github.com/govim/govim.(*govimImpl).Run.func1(0x4d95e3, 0xc000218d70)
        /home/myitcv/gostuff/src/github.com/myitcv/govim/govim.go:404 +0x2a
github.com/govim/govim.(*govimImpl).DoProto(0xc000171d40, 0xc0003b0e20, 0x0, 0x0)
        /home/myitcv/gostuff/src/github.com/myitcv/govim/channel_cmds.go:131 +0x6a
github.com/govim/govim.(*govimImpl).Run(0xc000171d40, 0x6f89e0, 0xc0003b0f20)
        /home/myitcv/gostuff/src/github.com/myitcv/govim/govim.go:403 +0x52
github.com/govim/govim/testdriver.(*TestDriver).runGovim(0xc0001717a0, 0x0, 0x0)
        /home/myitcv/gostuff/src/github.com/myitcv/govim/testdriver/testdriver.go:383 +0x73
github.com/govim/govim/testdriver.(*TestDriver).tombgo.func1(0x0, 0x0)
        /home/myitcv/gostuff/src/github.com/myitcv/govim/testdriver/testdriver.go:326 +0x41
gopkg.in/tomb%2ev2.(*Tomb).run(0xc000171868, 0xc0005fc0a0)
        /home/myitcv/gostuff/pkg/mod/gopkg.in/tomb.v2@v2.0.0-20161208151619-d5d1b5820637/tomb.go:163 +0x38
created by gopkg.in/tomb%2ev2.(*Tomb).Go
        /home/myitcv/gostuff/pkg/mod/gopkg.in/tomb.v2@v2.0.0-20161208151619-d5d1b5820637/tomb.go:159 +0xba

Because the very fact the call stack is as shown surely indicates there is at least one go routine that has not terminated, i.e. the one that is attempting to call tomb.Go?

On further investigation, it seems the panic is somewhat misleading. Because in this case at least the tomb is already dying when we attempt to call tomb.Go. The reason the tomb is dying in my case is clear, but I'll leave this issue open as a placeholder for perhaps tidying up the panic message in this case at least.


Fix: ChaincodeStub.getMspID should be in lowerCamelCASE

Just a suggestion, it's a bit confusing between (ClientIdentity.)getMSPID and (ChaincodeStub.)getMspID, could we unify their cases for consistency?

It would definitely be nice to be consistent but need to make sure a change to ClientIdentity doesn't break anyone

IMHO, we can support both of them for a period of time, and show a warning message when the deprecated one is called.

@winderica that sounds sensible to me. Please could you create an issue on the chaincode node Jira project for that https://jira.hyperledger.org/projects/FABCN/issues/FABCN-125?filter=allopenissues

Done. 😊


Wrong Bootstrap class name

Challenge http://beta.freecodecamp.com/challenges/waypoint-use-responsive-design-with-bootstrap-fluid-containers has an issue.
There is a mistake in the instruction, it says:
Wrong: "To get started, we should nest all of our HTML in a div element with the class "fluid-container"."
It should say:
Right: "To get started, we should nest all of our HTML in a div element with the class "container-fluid".

just check, issue resolved.


add backup label to WriteStorage secrets

https://github.com/stolostron/backlog/issues/21438
Signed-off-by: marcolan018<EMAIL_ADDRESS>

/retest

/retest


Some symbols dont work. Get warning 'Unsupported alternate value.'

The following symbols don't work to toggle.
let g:at_custom_alternates = {
    \'+': '-',
    \'<': '>',
    \'==': '!=',
\}

If I try I get the message Unsupported alternate value.

Hey @astier so I just tested these custom alts and it works fine.
What didn't work is if I had these symbols inside a string.
The plugin works with a simple text object manipulation ciw, where w is a word.
If you try toggling on == alone or any of the other symbols it works fine, but if you try it on '--' it won't, because the word includes the quotes.
Here's the result of viw on a quoted value to better exemplify what I'm saying.

I made the mistake to try to toggle the symbols inside the quote. Indeed without the quotes it works. Thanks.


[BUG] Flake on Darwin TestReliableMessageProtocol

Reproduction steps
Please see https://csamembers.slack.com/archives/G014G30SVV0/p1699029897819219. The flake rate of this test seems to be on the rise. Given that this is related to reliable messaging, there is some concern that this might be related to the ICD work and might be a canary indicating a timing bug of some type.
Bug prevalence
Unsure - regular, but I can't wager a guess as to prevalence
GitHub hash of the SDK that was being used
b82bea21749dfbf6c837c668bc2d1bac2df9da94
Platform
darwin
Platform Version(s)
No response
Anything else?
No response

Just filed this dupe before being pointed to this issue: https://github.com/project-chip/connectedhomeip/issues/30395
There are a couple of CI runs referenced there in case that helps. Will close the dupe.

maybe flaking again? https://github.com/project-chip/connectedhomeip/actions/runs/11636681494/job/32408518189?pr=36343


Build error in Xcode 7.3

Hi, I just updated Xcode to version 7.3 and SwiftAddressBook stop building.
I'm getting two errors when trying to build version 0.6.1 in Xcode 7.3:
SwiftAddressBookWrapper.swift:105:7:` Closure cannot have keyword arguments

SwiftAddressBookWrapper.swift:118:10: Closure cannot have keyword arguments

Is master or any other branch currently working with Xcode 7.3?

Associated PR https://github.com/SocialbitGmbH/SwiftAddressBook/pull/84

+1

+1

+1

+1

yesyesyes :D Sorry for needing another day to find time to fix this issue. That issue will be definitely solved today. Cheers

There is a new version now. Please check out the newest version and close if it fixes your issue. Thank you!

Fixed it for me. Thanks @TAKeanice :)


arch: isr_wrapper: Place _isr_wrapper closer to _IntExit

Put _isr_wrapper and _IntExit in the same file to ensure that they are
placed close together. When they are placed too far away from each
other the 'b' instruction in _isr_wrapper will not reach _IntExit on
Cortex-M0 platforms.
See https://github.com/zephyrproject-rtos/zephyr/issues/11167 for
details.
Fixes #11167
Signed-off-by: Sebastian Bøe<EMAIL_ADDRESS>

Codecov Report

Merging #11184 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #11184   +/-   ##
=======================================
  Coverage   53.11%   53.11%
=======================================
  Files         218      218
  Lines       26871    26871
  Branches     5952     5952
=======================================
  Hits        14273    14273
  Misses      10163    10163
  Partials     2435     2435

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 39c3c4e...f91cf84. Read the comment docs.

It might be possible to use BX, which would be a cleaner solution ...


Appveyor node x64 3.1.0 build broken

The x86 build is working on appveyor for 3.1.0 but not x64:
downloading/installing node
node 3.1.0 X64 package not found
At C:\Program Files\AppVeyor\BuildAgent\Modules\avvm\avvm.psm1:94 char:17
+                 throw "$product $version $platform package not found"
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (node 3.1.0 X64 package not fo
   und:String) [], RuntimeException
    + FullyQualifiedErrorId : node 3.1.0 X64 package not found

https://ci.appveyor.com/project/Mapbox/node-sqlite3/build/1.0.379/job/pd67xpjqqk337q8g#L26
@FeodorFitsner - this is using powershell Install-Product. Is it possible you are missing this node version/arch?

Will take a look. Is it 3.1.0 only?

Feodor

On Wed, Sep 9, 2015 at 3:41 PM, Dane Springmeyer<EMAIL_ADDRESS>wrote:

The x86 build is working on appveyor for 3.1.0 but not x64:
downloading/installing node
node 3.1.0 X64 package not found
At C:\Program Files\AppVeyor\BuildAgent\Modules\avvm\avvm.psm1:94 char:17
+                 throw "$product $version $platform package not found"
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (node 3.1.0 X64 package not fo
   und:String) [], RuntimeException
    + FullyQualifiedErrorId : node 3.1.0 X64 package not found

https://ci.appveyor.com/project/Mapbox/node-sqlite3/build/1.0.379/job/pd67xpjqqk337q8g#L26
@FeodorFitsner - this is using powershell Install-Product. Is it possible you are missing this node version/arch?
Reply to this email directly or view it on GitHub:
https://github.com/mapbox/node-sqlite3/issues/506

@FeodorFitsner - same error also happened with 3.3.0: https://ci.appveyor.com/project/Mapbox/node-sqlite3/build/1.0.384

I've just checked both 3.1.0 and 3.3.0 and they both worked:
https://ci.appveyor.com/project/FeodorFitsner/simple-console/build/1.0.821
https://ci.appveyor.com/project/FeodorFitsner/simple-console/build/1.0.820

Feodor

On Wed, Sep 9, 2015 at 4:41 PM, Dane Springmeyer<EMAIL_ADDRESS>wrote:

@FeodorFitsner - same error also happened with 3.3.0: https://ci.appveyor.com/project/Mapbox/node-sqlite3/build/1.0.384
Reply to this email directly or view it on GitHub:
https://github.com/mapbox/node-sqlite3/issues/506#issuecomment-139073588

Thanks for helping test. So something is specific to node-sqlite3 appveyor.yml then. Really odd all other builds work except for just this one...

I've noticed there is capital X64. Looks like that parameter is case-sensitive. I tried that and it failed: https://ci.appveyor.com/project/FeodorFitsner/simple-console/build/1.0.822
Should be lower-case x64.

Thank you @FeodorFitsner - you nailed it! It is fixed now https://ci.appveyor.com/project/Mapbox/node-sqlite3/build/1.0.388


fix: update go to 1.14 for psirt

https://github.ibm.com/IBMPrivateCloud/roadmap/issues/40261

waiting for fix https://github.com/IBM/test-infra/pull/219

@lauriet-ibm ready for merge

/retest

will add to new pr to refresh build


Go to definition not working with packages

Go to definition is not working for me when using packages.
I have attached a small example where if inside function test() I try to go to util.sum definition it does nothing.
With Matlab editor this works fine.

EDIT:
Upon restarting vscode it works fine some times but other times it does not work.
I have not found a reason for this or a way to reproduce it every time.

This might be a repeat of #5
Is this package in your MATLAB pathdef? as mentioned in #5 I don't have any problem with packages that are permanently on my path via savepath, but packages not on my default path don't seem to get picked up.

I agree with Sam, I think this is a duplicate of #5.
I am closing this as a duplicate. Please feel free to comment if you believe this is a separate issue.


"The service worker navigation preload request was cancelled before 'preloadResponse' settled. If you intend to use 'preloadResponse', use waitUntil() or respondWith() to wait for the promise to settle."

Can anyone explain me how can I avoid this error on the console ? I am able to view videos and everything looks good.

Sorry, I don't think this has anything to do with ReactPlayer.
Possibly helpful: https://github.com/GoogleChrome/workbox/issues/2178


🚀 - Default settings

Discussed in https://github.com/riccardoperra/codeimage/discussions/466

Originally posted by riccardoperra February 16, 2023
Related to #451
cc @hackpirodev
Description
Settings default is a new feature of CodeImage that allows users to save their snippet configuration remotely. This issue can be related also to previous idea of #57, closed during the hackathon due to lack of time and no way to store remotely the data, since CodeImage had not backend at that time.
In the last minor update CodeImage also added the randomize feature which allows you to randomly select a configuration, but then it is difficult to save that configuration and reuse for other snippets.
With Default settings feature, the idea is to have it in the UI, or in the actions of the actionbar a way to save your own themes and select from saved ones.
CodeImage currently could be used from both guest and logged-in users.
In case you are a guest, all of these informations could be saved through indexedDB locally. In the end if you always use the same chrome and pc the settings should not be cleared.
In case the user is logged-in, we could opt for a new "metadata" table for users, to save all the additional information. A drawback of this could be the db usage. The more extensive use of the database costs money, but we don't expect to have that much data. Currently with 700 users, 1000+ projects and so one everything is ok.
Since we are using Auth0, we can try to check if it makes sense to save something at the user metadata level, even if I have read that it is not very recommended. Not having a service like supabase we are a bit limited from the auth side.
So, if we go for the db/api custom way, here's what we may have to do something like this:

Create a new field "presets" for users. There will be a one-to-many with a new Presets table which will contains an id, the name and the configuration saved as JSON type.

Create new api's for CRUD:

Create preset
Delete preset
Update preset
Search for presets

@riccardoperra I'm putting here some points as discussed in telegram:

[X] add configurable presets limit #498  @riccardoperra
[x] to handle presets even in offline mode, if we are not logged we should persist data on indexedDB. If we are logged we should handle using optimistic ui
[x] fix labels of the dialogue / refactor it creating a separate component @hackpirodev
[x] to do a "fallback" content like the one already done on the dashboard page for empty items @hackpirodev
[x] to handle state using StateBuilder, in this case, we lost the possibility of using Suspense with the createResource. Maybe it could be useful to find a way to merge this stuff
[x] update the already existing preset https://github.com/riccardoperra/codeimage/pull/502

@riccardoperra I updated the discussion here to have a shared todo. If you want to add something only edit it, I tag myself at the point where I'm working on

I'd say also that we have to add this:

[ ] add preset data field constraint in backend with typebox
[ ] add client side preset limit

@hackpirodev the last remaining ticket is add client side preset limit
In the backend side we already added a PRESETS_LIMIT config in the .env file on the api module.
We should add a validation also on the frontend side in order to limit the amount of presets for guest users.
Then we have to add two new properties:

PRESET_GUEST_LIMIT: number | undefined
PRESET_LIMIT: number | undefined

We should use the right environment value for guest and logged in users. If the users is exceeding the maximum number of presets, the button "Add new" and "Sync" (for logged in users) should be disabled.

To be deployed in 1.4.0


Add a ZLS command for installing a specific labelled version

As @leecannon said in https://github.com/zigtools/zls/issues/1020#issuecomment-1443435663, this is required for ZLS' new backwards compatibility model.
In essence, we would add a new "Install versioned release of ZLS" command which would allow someone to select a version from our releases page.

Once https://github.com/ziglang/zig/issues/14475 is supported, this step could also be fully automated.

Installed a tagged version of zig, then zls, only to be nagged by the notification mentioned in the linked issue.
This is really sorely needed, automated or not

At some point in time, I started getting this message.
What am I supposed to do? At the very least there should be some documentation about how to use the extension. The average user (me) has no clue what's the "intended" way to use the extension. I suspect that the extension has automatically updated ZLS at some point? Most of us just use the latest stable release of Zig and we end up getting this version mismatch error.

I ended up downloading ZLS 0.11. The VS code extension has an option to set a path to a custom ZLS executable.


Add CVE data for terraform, consul and k8ssandra-operator

@luhring I've verified the changes using git and scanning them with govulncheck, and removed calico from my initial commit as I didn't check it yet. Instead I added docker which I've verified. We are good to merge this PR in my opinion.


Copy drafts sync into main branch

This merges the change from #201 into main, so that it's triggered automatically going forward. Before merging this, I have one final manual sync that we should merge first (#214). Then once this PR is merged, it should sync automatically going forward (unless there is a merge conflict).

Closing since we will remove the drafts branch after the pending PRs are merged


[BUG] No rancher v2.8.6 container

title says it all dockerhub is missing rancher's v2.8.6 release
https://hub.docker.com/r/rancher/rancher/tags?page=&page_size=&ordering=&name=2.8

2.8.6 Prime version release (i.e. Paid)

@jcox10 is correct - that 2.8.6 (and subsequent 2.8.x releases) are Prime only builds. New community builds a found via the 2.9.x release line now after the recent release of 2.9.0.


Release a new version

Hi,
The current version in pypi (0.4) is 3 years old.  The issue is that is does not work with Python3, and some of the documented options (such as -l to select a language) are not present in this version.
Is it possible to release a new version?  Thanks!

I want this too.

I apologize for the very late reply.  The bug-fix in #43 should help with the Python 3 issues.  As for releasing a new version though, I am sorry to say that is unlikely to happen.  I have around two to two-and-a-half years before I die from illness, assuming there is no drastically beneficiary development in the meantime. Therefore, I need to invest some time into finding a willing contributor to maintain this project in my absence.  I will try to do that soon.  Again, sorry about the long delays.


Add canonical URLs to the HTTP headers for pages where we have a canonical URL

We currently only add it to the page's head tag.
See https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls#rel-canonical-header-method

Also, add nofollow to the non-canonical links in the header bar drop down to other documentation versions

cerrar proyecto ahora


Clicking on container name in details sidecar should add -c to logs command

Describe the bug
Clicking on the container name in the details sidecar for a pod runs the logs command agaist the pod and container name but does not include the -c flag in front of the container name.  This can fail if the pod contains more than one container.  In the case of one container, this is tolerated by kubectl even though kubectl logs --help calls out use of -c, but if using the Red Hat OpenShift Container Platform equivalent CLI oc it will always fail because oc enforces the syntax of putting -c before the container name.
Steps to reproduce the behavior

Run kubectl get pods -n <someNamespace>
Click on a pod in the table
Go to the Containers tab in the pod details sidecar
Click on the container name
Observe that the resulting command executed is kubectl logs <podName> <containerName> -n <someNamespace> (no -c in front of <containerName>)

Expected behavior
The command should always work and will always work if the -c flag is always included before the container name as specified in the help documentation.
System

Kui version: 6.0.21 and plugin-kubeui 1.0.16 (but may also still exist in 8.x)
Operating system: Red Hat UBI8 container (effectively RHEL 8)

New information....  oc v4.4 behaves the same as kubectl and does not require the -c flag in front of the container name if there is only one container, but it still makes sense to include it on any logs command for the container as including -c always works in all cases.


fix the divide and subtract transform

Still getting the concurrent modification exception, I guess we should always let the user specify the specific keys for feature transform
@hectorgon

:+1:


remove last comma in object

Should we add an eslint rule to enforce this?

[Current coverage][cc-pull] is 100%

Merging [#778][cc-pull] into [master][cc-base-branch] will not change coverage

@@           master   #778   diff @@
====================================
  Files           4      4
  Lines         413    413
  Methods        81     81
  Messages        0      0
  Branches      101    101
====================================
  Hits          413    413
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last updated by [0590430...008f3ba][cc-compare]
[cc-base-branch]: https://codecov.io/gh/koajs/koa/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/koajs/koa/compare/0590430d7b59c4e7ffdc6df49a6ee1314b0d71ac...008f3ba242f4c48cc62795cc652a51c5976916bc?src=pr
[cc-pull]: https://codecov.io/gh/koajs/koa/pull/778?src=pr

eslint +1

yeah, style changes are pointless w/o rules to enforce it

Oh, master doesn't have an eslintrc? I thought it did. This is already fixed in v2.x BTW.


feat: Adding disabled attribute to Button and ButtonInline elements

Issue #85

@etonomick tanks for the PR!
@christopherkindl @severinlandolt would you add additional styling to disabled buttons?

Maybe opacity-50?


Flops

Why is it that the model I got after changing [1,3,32,32] to [1,3,320,180] on the original code is much more computationally intensive than in the paper?

For Large-Image SR, the FLOPs are calculated as ClassSR. For lightweight SR,  we use fvcore to directly compute the MAdds with
from fvcore.nn import FlopCountAnalysis, flop_count_table


fix: save sso login status in cookie

这个 PR 实现什么功能/修复什么问题:
改进：在yunionauth cookie中保存是否sso登录的状态

是否需要 backport 到之前的 release 分支:
None

/cc @zexi
/area apigateway

/hold

Codecov Report

Merging #8654 into master will increase coverage by 11.89%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master    #8654       +/-   ##
===========================================
+ Coverage    5.95%   17.84%   +11.89%
===========================================
  Files         816       88      -728
  Lines      126386     8846   -117540
===========================================
- Hits         7529     1579     -5950
+ Misses     118184     7094   -111090
+ Partials      673      173      -500

Flag
Coverage Δ

aFlag
17.84% <0.00%> (+11.89%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/tablespec.go

pkg/lbagent/models/reflect.go

pkg/compute/models/cloudsync.go

pkg/compute/models/snapshotpolicy.go

pkg/keystone/models/regions.go

pkg/compute/guestdrivers/ctyun.go

pkg/keystone/models/expandidps.go

pkg/appsrv/stats.go

pkg/compute/models/dbinstance_secgroups.go

... and 718 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 45d8281...ae32702. Read the comment docs.

/hold cancel


MP4Box keywords and numbers

To make the settings appear correctly in the web browser
the line in /etc/raspimjpeg
#MP4Box false=leave as raw h264, background=box in background
needs changing to
#MP4Box Off=leave as raw h264, Background=box in background
or
#MP4Box 0=leave as raw h264, 1=box in background

Updated. Thanks


stopping and starting docker-compose api service empties the database

To reproduce:
follow the instructions - how to run it
docker-compose stop api
docker-compose up api

If the database is not empty/broken now, run the above (stop api && up api) again. For me, this consistently causes the database to become empty.

@m59peacemaker did I just hit your issue? I see you already have a pull up. haven't tried it yet but this looks like like it's probably the root cause of what I'm seeing in https://github.com/mirumee/saleor-platform/issues/69

Yep. Sounds like the same issue. That simple change in the PR should fix it.

Curious as to why this issue exists in the first place I wonder if the compose downgrade 7 months ago could be the root cause of the issue. Strange I've never seen anyone downgrade a compose file before...


CFA failure with fallthrough cases in switch statements

TypeScript Version:  master

Search Terms:
Code
declare const o: { c?: 1; };
switch (0) {
  case 0:
    break;
  case o.c && o.c.valueOf():
  case o.c && o.c.valueOf():
    break;
}

Expected behavior:
pass
Actual behavior:
$ node built/local/tsc.js index.ts --strictNullChecks
index.ts:5:15 - error TS2532: Object is possibly 'undefined'.

5   case o.c && o.c.valueOf():
                ~~~

Playground Link:
Related Issues:

Also reproduces with declare const c?: number; and removing o. everywhere


ROLE command with JSON output has extra quote

Describe the bug
When issuing the ROLE command when OUTPUT is set to JSON you get.
{"ok":true,"role":{""role":"master","offset":3700273127,"slaves":[]},"elapsed":"6.362µs"}

There is an extra quote in {""role.

Thanks for the PR. Just pushed a new release.


Fix/issue24 alt

Description
maybe?
Limitations & risks
Are there any trade-off or new vulnarbility surface based on theses changes?
Check-list

[ ] Tests are covering the new feature
[ ] Code is natspec'd
[ ] Code is linted and formatted
[ ] I have run the test locally (and they pass)
[ ] I have rebased to the latest main commit (and tests still pass)

Interactions
These changes will impact the following contracts:

Directly:

Indirectly:

favoring https://github.com/Bananapus/nana-suckers/pull/67


Support for LNURL Fallback Scheme

Fixes issue #323 and adds support for Bitcoin Beach Wallet's new static Paycode QR

Let's merge this after PR #327


If resolutions is set on view, resolution is ignored

Describe the bug
If a map is created with resolutions, the value of resolution is ignored. Instead resolution is set to the lowest value of resolutions. If resolution is not set, the map is not rendered.
To Reproduce
See console output of https://codesandbox.io/s/simple-forked-mhm4e?file=/main.js
Expected behavior
I would expect that the view would initialize with the set resolution.

I did not realize that the resolutions have to be in descending order. I will add some documentation about it.


Questadmin reload generates internal error

Quests: 2.60 (latest for 1.9, right?)
Consol screenshot: (this is all it ever spits out all the time) https://gyazo.com/e26ec4d355d50faadf68fa361779d3df
How it happened: Was working earlier today, then I tried to make a quest with an item reward, the fist option was "(&7) - null", ignoring this I made the quest and did /questadmin reload, then the internal error pops up. Reloaded server, quest was deleted. Now, any attempts at /questadmin reload fails, and also making new quests outright fails as well
Please help!
-James

I'm having a similar issue is this normal????

Well, that actually looks like something is wrong with your config, you might have to delete it and let it reload if you can't find the error, this means losing your quests/events.
OR it might be that you have the wrong version. If your playing 1.9 for example, 2.60 is the version compatible. You can look back on the quests bukkit page for earlier versions on the left tab.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Still need help with my problem please! It's a big issue for my server!

Unfortunately if that's all it spits out then that error isn't very helpful for narrowing down the issue. Are you sure there isn't more to it?

@FlyingPikachu Thank you for the reply!
I am serious, that is all it ever spits out except when it starts up, I will get a screenshot of startup this afternoon.
-James

@FlyingPikachu
This is the only quest info it displays:
https://gyazo.com/947455debb41d0c152f13f0e95f7f799
However, theirs also an extension plugin to quests which fails to load:
https://gyazo.com/c224a54d160955959d0b04bbec5f2708
Will try running without that other plugin
Thanks, James

Also try fixing that NPC id error. The Citizens NPC id number for the "testing" quest in your config is invalid.

I've got a very similar issue as well. (Quests 2.6.0 - Citizens 2.0.17-SNAPSHOT)
Updated the default Catch Fish quest to start at NPC #8 Merchant.
Error on reload, and quest is now not available.
Here's the error log that is recorded.
01.05 18:51:35 [Server] INFO ... 15 more
01.05 18:51:35 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at me.blackvein.quests.Quests.onCommand(Quests.java:788) ~[?:?]
01.05 18:51:35 [Server] INFO at me.blackvein.quests.Quests.questAdminCommandHandler(Quests.java:807) ~[?:?]
01.05 18:51:35 [Server] INFO at me.blackvein.quests.Quests.adminReload(Quests.java:884) ~[?:?]
01.05 18:51:35 [Server] INFO at me.blackvein.quests.Quests.reloadQuests(Quests.java:2661) ~[?:?]
01.05 18:51:35 [Server] INFO at me.blackvein.quests.Quests.loadQuests(Quests.java:2901) ~[?:?]
01.05 18:51:35 [Server] INFO at me.blackvein.quests.Quests.loadRewards(Quests.java:2935) ~[?:?]
01.05 18:51:35 [Server] INFO at me.blackvein.quests.Quests.checkList(Quests.java:4992) ~[?:?]
01.05 18:51:35 [Server] INFO Caused by: java.lang.NullPointerException
01.05 18:51:35 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_72]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_72]
01.05 18:51:35 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_72]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1185) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.PlayerConnection.handleCommand(PlayerConnection.java:1350) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'questadmin' in plugin Quests v2.6.0-b99
01.05 18:51:35 [Server] ERROR null
And then the logs continues to error with:
01.05 18:51:35 [Server] INFO ... 15 more
01.05 18:51:35 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at me.blackvein.quests.Quests.onCommand(Quests.java:788) ~[?:?]
01.05 18:51:35 [Server] INFO at me.blackvein.quests.Quests.questAdminCommandHandler(Quests.java:807) ~[?:?]
01.05 18:51:35 [Server] INFO at me.blackvein.quests.Quests.adminReload(Quests.java:884) ~[?:?]
01.05 18:51:35 [Server] INFO at me.blackvein.quests.Quests.reloadQuests(Quests.java:2661) ~[?:?]
01.05 18:51:35 [Server] INFO at me.blackvein.quests.Quests.loadQuests(Quests.java:2901) ~[?:?]
01.05 18:51:35 [Server] INFO at me.blackvein.quests.Quests.loadRewards(Quests.java:2935) ~[?:?]
01.05 18:51:35 [Server] INFO at me.blackvein.quests.Quests.checkList(Quests.java:4992) ~[?:?]
01.05 18:51:35 [Server] INFO Caused by: java.lang.NullPointerException
01.05 18:51:35 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_72]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_72]
01.05 18:51:35 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_72]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1185) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at net.minecraft.server.v1_9_R1.PlayerConnection.handleCommand(PlayerConnection.java:1350) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:51:35 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'questadmin' in plugin Quests v2.6.0-b99
01.05 18:51:35 [Server] ERROR null
01.05 18:49:52 [Multicraft] lscapa ran command Message of the Day
01.05 18:49:52 [Connect] User lscapa, IP <IP_ADDRESS>
01.05 18:49:52 [Server] INFO UUID of player lscapa is 91b8a5a7-fa59-4963-b277-f8f249f890b2
01.05 18:48:40 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_72]
01.05 18:48:40 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:48:40 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:48:40 [Server] INFO at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:48:40 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:729) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:48:40 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:48:40 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[Spigot192.jar:git-Spigot-e6f93f4-935f18b]
01.05 18:48:40 [Server] INFO at me.blackvein.quests.Quests$1.run(Quests.java:220) ~[?:?]
01.05 18:48:40 [Server] INFO at me.blackvein.quests.Quests.loadQuests(Quests.java:2901) ~[?:?]
01.05 18:48:40 [Server] INFO at me.blackvein.quests.Quests.loadRewards(Quests.java:2935) ~[?:?]
01.05 18:48:40 [Server] INFO at me.blackvein.quests.Quests.checkList(Quests.java:4992) ~[?:?]
01.05 18:48:40 [Server] INFO java.lang.NullPointerException
01.05 18:48:40 [Server] WARN Task #15 for Quests v2.6.0-b99 generated an exception

@FlyingPikachu
I found a fix, I just when in the config, found the "&7-null" under item rewards, deleted it, reloaded and it fixed.
I also realized the extension plugin needed to be in modules folder, opes! xD
=-=-==-=-=-=-=-=-=
As for the rest of you, good luck. I'll leave this open for you. Again, it looks like a config error and the only fix I know of it to delete your config, thus losing all of your quests/events. BUT, @lscapa maybe just try deleting "Catch Fish" in the config? Make a backup first!

Thanks anyways FlyingPikachu,
Big fan of you plugin! ^_^
James


License

Hi John,
I've just discovered this repository and it's exactly what I'm looking for. Is there a specific license covering the work here?
Thanks
Dave

Hi Dave,
I'm glad you found the project useful.  My intent is for anyone to use it, free of charge, in any way they like.  To this end, I've added the permissive MIT License to the project.  Enjoy!
John

That's brilliant, thanks!


x and y are inverted

I would expect while placing a label on a map to have the first number being the X-axis and the second one being the Y-axis. But it seems to be swapped.

Closing this as this is an open issue for damonsk/onlinewardleymaps#82


"lbrynet: cannot execute binary file" on Debian 10 x86-64

Bug
lbry and lbrynet binaries not executable on Debian
To Reproduce
I installed LBRY_0.49.3.deb on my x86-64 Debian 10 box using dpkg -i, then ran sudo apt-get install -f. If I type lbry start on the command line it returns a Segmentation fault. If I go directly to /opt/LBRY/ and execute it with . lbry start it says LBRY/lbry: cannot execute binary file.
Same thing happens if I try to execute the daemon in resources/static/daemon
just tried downloading lbrynet 0.48.zip, but same error "cannot execute binary file"
System Configuration

LBRY App version: 0.48.2, 0.49.3, 0.49.4
LBRY Installation ID:
Operating system:
Operating System: Debian GNU/Linux 10 (buster)
Kernel: Linux 4.19.0-10-amd64
Architecture: x86-64

Additional context
Add any other context about the problem here.

Sorry to hear about the trouble. Can you try the app image from lbry.com/get also? Never heard about this before....sounds like something that could happen on a 32 bit system, but you mentioned yours is 64bit?

Sorry to hear about the trouble. Can you try the app image from lbry.com/get also? Never heard about this before....sounds like something that could happen on a 32 bit system, but you mentioned yours is 64bit?

My goal is just to run the daemon to assist the network, so I'm doing all this from the command line, and as such I don't think the AppImage will work, although correct me if I'm wrong. I even tried downloading the lbrynet executable in a zip from the lbry-sdk GitHub and had the same error.

My goal is just to run the daemon to assist the network, so I'm doing all this from the command line, and as such I don't think the AppImage will work, although correct me if I'm wrong. I even tried downloading the lbrynet executable in a zip from the lbry-sdk GitHub and had the same error.

I presume the .deb installed the symlink /usr/bin/lbry to /opt/LBRY/lbry. If I run the XFCE GUI on the Debian box and run lbry via a console the GUI launches. If I go to /opt/LBRY and attempt to execute the lbry binary directly using . lbry I get the above mentioned error. If I try to run the daemon directly from the console in XFCE I also get the same error.
Is there no way to run LBRY as a daemon without a GUI? Most linux apps allow some sort of console-only option or at least give sane errors when run on the console, so this behavior was confusing

I presume the .deb installed the symlink /usr/bin/lbry to /opt/LBRY/lbry. If I run the XFCE GUI on the Debian box and run lbry via a console the GUI launches. If I go to /opt/LBRY and attempt to execute the lbry binary directly using . lbry I get the above mentioned error. If I try to run the daemon directly from the console in XFCE I also get the same error.
Is there no way to run LBRY as a daemon without a GUI? Most linux apps allow some sort of console-only option or at least give sane errors when run on the console, so this behavior was confusing

Whoops, it was a user error on my side. I was running it using . lbry and . lbrynet and should instead have been using ./lbryor./lbrynet`

Whoops, it was a user error on my side. I was running it using . lbry and . lbrynet and should instead have been using ./lbryor./lbrynet`

Wow, I totally missed that too! Glad you got it figured out :)

Wow, I totally missed that too! Glad you got it figured out :)


Bjorncs/reindexing cluster controller in config model

Let's consider using a new Reindexing() { } in place of null, and always sending the timestamps for each document type, since the enabled bool guards the actual reindexing anyway.

@jonmv PTAL


Unable to completely turn of the LED

Hello!
I am unable to turn of the LED completely. When sending
my_tube.set_led(0, 0, 0);
I still get a weak white glow from the LED.
I get the same weak white glow from the LED when I first power a fresh board without connecting it to an arduino.
Is there anyway to fix this besides desoldering R14, R15 & R16.

This is a minor quirk that actually turned out to be slightly useful. It allows me to tell if a board is programmed or not during assembly, and it also shows if the board is powered on and working.
The dim glow won't be visible once the tube is installed, so I wouldn't worry too much about it.


CircleCI Optimization: skip costly nodes

The two main bottlenecks on the CI workflow causing a slow development iteration are:

Caching docker images (where there's little to do)
Long-running nodes (mainly based on antsRegistration).

The idea of this request is to implement some mechanism that allows injecting pre-calculated transforms to antsRegistration-based nodes. We could maybe trigger the mechanism after the _run_interface has been called (to exercise all the inputs checking, etc.), then patch in the results and finally let the _run_interface run as if it had run the code.
That would shave off a great deal of the runtime.
EDIT: if this worked for sMRIPrep, it would be reasonable to upstream it to Nipype and downstream it to fmriprep.

@satra can you drop some of your wisdom?

i would use datalad/or some such to pre-populate the working directory and make sure to use content hash. if the working directory structure changes this wouldn't work.
almost seems like this is a test utility we could introduce in nipype.

Re: content caching - it is on.

almost seems like this is a test utility we could introduce in nipype.

Yep. I thought sMRIPrep is a great testing ground before we upstream it to nipype.


Cannot build with Carthage

Cannot build with Carthage
# Branch Metrics
github "BranchMetrics/iOS-Deferred-Deep-Linking-SDK"

carthage update --no-use-binaries
A shell task (/usr/bin/xcrun xcodebuild -project /../Carthage/Checkouts/iOS-Deferred-Deep-Linking-SDK/Branch-TestBed/Branch-TestBed-Xcode7.xcodeproj -scheme Branch -configuration Release CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean -showBuildSettings) failed with exit code 66:
xcodebuild: error: Scheme Branch is not currently configured for the clean action.

I think the solution is:

Choose Product > Scheme > Manage Schemes.
Select the Shared option for the scheme to share, and click OK.

on the branch that is broken

Fixed in Carthage 0.19.1