mpv: patch shebang for macOS

Motivation for this change
mpv is broken as of: https://github.com/NixOS/nixpkgs/pull/43977
not sure if this works, let's wait for ofBorg....
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build mpv

Failure on x86_64-darwin (full log)
Attempted: mpv
Partial log (click to expand)
[1/1] Compiling version.sh
[  2/418] Processing osdep/macOS_swift.o osdep/macOS_swift.h osdep/macOS_swift.swiftmodule: osdep/macOS_mpv_helper.swift video/out/cocoa-cb/events_view.swift video/out/cocoa-cb/video_layer.swift video/out/cocoa-cb/window.swift video/out/cocoa_cb_common.swift -> build/osdep/macOS_swift.o build/osdep/macOS_swift.h build/osdep/macOS_swift.swiftmodule
[  3/418] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
/bin/sh: []: command not found

Waf: Leaving directory `/private/tmp/nix-build-mpv-0.29.0.drv-0/source/build'
Build failed
 -> task in 'osdep/macOS_swift.o osdep/macOS_swift.h osdep/macOS_swift.swiftmodule' failed with exit status 127 (run with -v to display more information)
builder for '/nix/store/d0xjwjqyxibzvnni9k0pic76zgsqadkd-mpv-0.29.0.drv' failed with exit code 1
error: build of '/nix/store/d0xjwjqyxibzvnni9k0pic76zgsqadkd-mpv-0.29.0.drv' failed

apparently not.

Success on x86_64-linux (full log)
Attempted: mpv
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/4s39d04yfzir66bq253kxqsmdbgd1cj1-mpv-0.29.0
shrinking /nix/store/4s39d04yfzir66bq253kxqsmdbgd1cj1-mpv-0.29.0/lib/libmpv.so.1.101.0
shrinking /nix/store/4s39d04yfzir66bq253kxqsmdbgd1cj1-mpv-0.29.0/bin/.mpv-wrapped
gzipping man pages under /nix/store/4s39d04yfzir66bq253kxqsmdbgd1cj1-mpv-0.29.0/share/man/
strip is /nix/store/a3nk8z2i7m7wa3jdckgv710n7j3yx4b5-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/4s39d04yfzir66bq253kxqsmdbgd1cj1-mpv-0.29.0/lib  /nix/store/4s39d04yfzir66bq253kxqsmdbgd1cj1-mpv-0.29.0/bin
patching script interpreter paths in /nix/store/4s39d04yfzir66bq253kxqsmdbgd1cj1-mpv-0.29.0
checking for references to /build in /nix/store/4s39d04yfzir66bq253kxqsmdbgd1cj1-mpv-0.29.0...
/nix/store/4s39d04yfzir66bq253kxqsmdbgd1cj1-mpv-0.29.0

Success on aarch64-linux (full log)
Attempted: mpv
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/g2fmm2gn0vydb6bsid31vkwcqccqxinv-mpv-0.29.0
shrinking /nix/store/g2fmm2gn0vydb6bsid31vkwcqccqxinv-mpv-0.29.0/lib/libmpv.so.1.101.0
shrinking /nix/store/g2fmm2gn0vydb6bsid31vkwcqccqxinv-mpv-0.29.0/bin/.mpv-wrapped
gzipping man pages under /nix/store/g2fmm2gn0vydb6bsid31vkwcqccqxinv-mpv-0.29.0/share/man/
strip is /nix/store/a245zacjzf3qw0davhvlfarihcy2yyrc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/g2fmm2gn0vydb6bsid31vkwcqccqxinv-mpv-0.29.0/lib  /nix/store/g2fmm2gn0vydb6bsid31vkwcqccqxinv-mpv-0.29.0/bin
patching script interpreter paths in /nix/store/g2fmm2gn0vydb6bsid31vkwcqccqxinv-mpv-0.29.0
checking for references to /build in /nix/store/g2fmm2gn0vydb6bsid31vkwcqccqxinv-mpv-0.29.0...
/nix/store/g2fmm2gn0vydb6bsid31vkwcqccqxinv-mpv-0.29.0

@GrahamcOfBorg build mpv

Failure on x86_64-darwin (full log)
Attempted: mpv
Partial log (click to expand)
[1/1] Compiling version.sh
[  2/418] Processing osdep/macOS_swift.o osdep/macOS_swift.h osdep/macOS_swift.swiftmodule: osdep/macOS_mpv_helper.swift video/out/cocoa-cb/events_view.swift video/out/cocoa-cb/video_layer.swift video/out/cocoa-cb/window.swift video/out/cocoa_cb_common.swift -> build/osdep/macOS_swift.o build/osdep/macOS_swift.h build/osdep/macOS_swift.swiftmodule
[  3/418] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
/bin/sh: []: command not found

Waf: Leaving directory `/private/tmp/nix-build-mpv-0.29.0.drv-0/source/build'
Build failed
 -> task in 'osdep/macOS_swift.o osdep/macOS_swift.h osdep/macOS_swift.swiftmodule' failed with exit status 127 (run with -v to display more information)
builder for '/nix/store/j3d4zf5q71hk5jjg49mnj4a9zi2alacd-mpv-0.29.0.drv' failed with exit code 1
error: build of '/nix/store/j3d4zf5q71hk5jjg49mnj4a9zi2alacd-mpv-0.29.0.drv' failed

Success on x86_64-linux (full log)
Attempted: mpv
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/a1dcgnlsh0al708nv742mkh94rcfyr0b-mpv-0.29.0
shrinking /nix/store/a1dcgnlsh0al708nv742mkh94rcfyr0b-mpv-0.29.0/bin/.mpv-wrapped
shrinking /nix/store/a1dcgnlsh0al708nv742mkh94rcfyr0b-mpv-0.29.0/lib/libmpv.so.1.101.0
gzipping man pages under /nix/store/a1dcgnlsh0al708nv742mkh94rcfyr0b-mpv-0.29.0/share/man/
strip is /nix/store/a3nk8z2i7m7wa3jdckgv710n7j3yx4b5-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/a1dcgnlsh0al708nv742mkh94rcfyr0b-mpv-0.29.0/lib  /nix/store/a1dcgnlsh0al708nv742mkh94rcfyr0b-mpv-0.29.0/bin
patching script interpreter paths in /nix/store/a1dcgnlsh0al708nv742mkh94rcfyr0b-mpv-0.29.0
checking for references to /build in /nix/store/a1dcgnlsh0al708nv742mkh94rcfyr0b-mpv-0.29.0...
/nix/store/a1dcgnlsh0al708nv742mkh94rcfyr0b-mpv-0.29.0

Success on aarch64-linux (full log)
Attempted: mpv
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xs1yllzzvqhsv9g3w7jgb6wx7jiqvk64-mpv-0.29.0
shrinking /nix/store/xs1yllzzvqhsv9g3w7jgb6wx7jiqvk64-mpv-0.29.0/lib/libmpv.so.1.101.0
shrinking /nix/store/xs1yllzzvqhsv9g3w7jgb6wx7jiqvk64-mpv-0.29.0/bin/.mpv-wrapped
gzipping man pages under /nix/store/xs1yllzzvqhsv9g3w7jgb6wx7jiqvk64-mpv-0.29.0/share/man/
strip is /nix/store/a245zacjzf3qw0davhvlfarihcy2yyrc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xs1yllzzvqhsv9g3w7jgb6wx7jiqvk64-mpv-0.29.0/lib  /nix/store/xs1yllzzvqhsv9g3w7jgb6wx7jiqvk64-mpv-0.29.0/bin
patching script interpreter paths in /nix/store/xs1yllzzvqhsv9g3w7jgb6wx7jiqvk64-mpv-0.29.0
checking for references to /build in /nix/store/xs1yllzzvqhsv9g3w7jgb6wx7jiqvk64-mpv-0.29.0...
/nix/store/xs1yllzzvqhsv9g3w7jgb6wx7jiqvk64-mpv-0.29.0

Sorry, I cannot debug this further without macOS. The script that is used to build this does not open a shell so the error message does not make sense to me: https://github.com/mpv-player/mpv/blob/master/wscript_build.py#L55
https://github.com/mpv-player/mpv/blob/master/TOOLS/file2string.py

Success on aarch64-linux (full log)
Attempted: mpv
Partial log (click to expand)
/nix/store/xs1yllzzvqhsv9g3w7jgb6wx7jiqvk64-mpv-0.29.0

Failure on x86_64-darwin (full log)
Attempted: mpv
Partial log (click to expand)
[1/1] Compiling version.sh
[  2/418] Processing osdep/macOS_swift.o osdep/macOS_swift.h osdep/macOS_swift.swiftmodule: osdep/macOS_mpv_helper.swift video/out/cocoa-cb/events_view.swift video/out/cocoa-cb/video_layer.swift video/out/cocoa-cb/window.swift video/out/cocoa_cb_common.swift -> build/osdep/macOS_swift.o build/osdep/macOS_swift.h build/osdep/macOS_swift.swiftmodule
[  3/418] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
/bin/sh: []: command not found

Waf: Leaving directory `/private/tmp/nix-build-mpv-0.29.0.drv-0/source/build'
Build failed
 -> task in 'osdep/macOS_swift.o osdep/macOS_swift.h osdep/macOS_swift.swiftmodule' failed with exit status 127 (run with -v to display more information)
builder for '/nix/store/j3d4zf5q71hk5jjg49mnj4a9zi2alacd-mpv-0.29.0.drv' failed with exit code 1
error: build of '/nix/store/j3d4zf5q71hk5jjg49mnj4a9zi2alacd-mpv-0.29.0.drv' failed

The issue doesn't have to do with version.sh, it has to do with getting the swift compiler name from the environment variable which returns [] as there is no Swift in the build environment currently.
You can check this by running waf -v build.

@Enzime if you add swift to buildInputs does it then compile for you?

@Mic92 Swift inside nixpkgs only supports Linux for now, I'll try and test later to see if I can get Swift to compile on macOS.


Add pubsub trigger queue writer

Codecov Report

Merging #26 into master will decrease coverage by 1.90%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
- Coverage   43.18%   41.28%   -1.91%
==========================================
  Files          17       18       +1
  Lines         477      499      +22
==========================================
  Hits          206      206
- Misses        271      293      +22

Impacted Files
Coverage Δ

trigger-svc/src/main.rs
0.00% <0.00%> (ø)

trigger-system/src/iface_impl/trigger_writer.rs
0.00% <0.00%> (ø)

gcloud/src/pub_sub.rs
0.00% <0.00%> (ø)

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 8e6e79a...b92cbc0. Read the comment docs.


Create AWS CloudFormation Template to Deploy Prefect Agent on EKS

Upvote this, need for POP (POC-lite) process. @gabcoyne Tentative due date: Aug 29


Make Documentation & Cleanup Readme

We need to make some documentation and cleanup the readme of this repo before v.8-beta and this issue is to track that work

added detailed comments and jsdocs to most files probably can be better but this is a great start

this is done


Sub buttons and sub button configuration options not visible/available on Desktop Chrome

Description:
The option to create and configure sub buttons is not available in desktop Chrome version 126.0.6478.62. Sub buttons configured through the mobile app or in a different browser (Firefox) are not visible in desktop Chrome.
To Reproduce
Steps to reproduce the behavior:

Configure a sub button
View dashboard with sub button in Chrome browser

Expected behavior
Sub buttons are visible and can be configured.
Screenshots
Chrome:

Firefox:

(Mobile app also works.)
Missing config options in Chrome:

Available in Firefox:

Information:

OS: Windows 10
Browser Chrome v126.0.6478.62
Bubble Card version v2.0.3
Home Assistant version 2024.6.1

Didn't notice that two different versions are showing based on what browser I am using. I suppose that would be the actual issue.

That was a cache issue, it happens sometimes with HACS.


i18n support

Feature request
What problem does this feature solve?
support i18n
What does the proposed API look like?
just like default theme
How should this be implemented in your opinion?
Are you willing to work on this yourself?

或抽象 i18n 和 l10n 成为 VuePress 的一部分？我认为它应该与主题脱钩。

Maybe this can help you: https://vuepress.vuejs.org/guide/i18n.html


Seed withoud save

I have some models in my project that will be populated by a Api. These models don't have a save function. For that reason i use the 'instance' method to generate a model. But there is no method to seed with te instance function.

How does https://github.com/thephpleague/factory-muffin/pull/437 look?

Great! This works for me.

Is there another method like new for just building a new model without persisting it?


Fix non-boolean checked value passed to Edit Engagement checkbox fields

When creating the initial values for this form, we add engagement.lukePartnership.value engagement.firstScripture.value, even though those values might be null, and the checkbox field is expecting a boolean.

Add double-! to value in initialValues object for lukePartnership and firstScripture fields to ensure that null values get passed to the form field as booleans

I think changing https://github.com/SeedCompany/cord-field/blob/4325f2c401a88751f022c7818f9cfbba9851f757/src/components/form/CheckboxField.tsx#L65
to
checked={input.value ?? defaultValue}

should do the trick

checked={input.value ?? defaultValue}

had to use || because input.value defaults to "", but yup!

What if defaultValue is true and the current value is false?

What if defaultValue is true and the current value is false?

Aw, nerds, wasn't thinking

@CarsonF Fixed again


Design a Layout for New Hierarchy Creation

Description
Enhance the UI of the React-based Track Your Regions application to include a new feature for creating and managing custom region hierarchies. The layout should be intuitive, engaging, and align with modern UI/UX design principles, ensuring a seamless user experience.
Requirements

[ ] Design a React component-based UI layout, including a header with navigation for easy access to different parts of the app.
[ ] Implement a main workspace in React, divided into two primary sections: a Left Panel for displaying existing regions in a list or tree view, and a Right Panel for constructing and viewing custom hierarchies.
[ ] Develop a React form component at the top or side of the Right Panel for hierarchy creation, with fields for hierarchy name and description, complete with client-side validation.
[ ] Create an interactive drag-and-drop interface using React components, allowing users to select regions from the Left Panel and assign them to their custom hierarchy in the Right Panel.
[ ] Utilize state management (e.g., React Context or Redux) to manage the state of the custom hierarchies and region selections.
[ ] Ensure responsive feedback in the UI for user actions (e.g., success messages, error notifications) using React components and state.
[ ] Apply a consistent and modern color scheme, typography, and iconography that aligns with the existing React app's design.
[ ] Ensure the new UI components are responsive and adapt to various screen sizes and devices.
[ ] Test the new UI components thoroughly using React testing tools like Jest and React Testing Library.

Additional Information

Use Material-UI
Explore React DnD or similar libraries for implementing the drag-and-drop functionality.

Layout Overview
Main Workspace:
Divide the workspace into two main sections:

Left Panel: A list or tree view of existing regions.
Right Panel: An area for constructing and viewing the custom hierarchy.

Hierarchy Creation Form:
Position a form at the top or side of the right panel for entering the name and description of the new hierarchy.
Include clear labels, placeholders, and potentially tool-tips for each input field.
Interactive Region Selection:
In the left panel, display regions in a format that supports drag-and-drop (like a list or grid).
Highlight regions on hover and provide visual feedback when they are selected or dragged.
In the right panel, create a drop zone where users can place the regions. This area should visually indicate that it's ready to receive regions (e.g., change color on hover).
Hierarchy Visualization:
Once regions are added to the hierarchy, display them in a structured, hierarchical format in the right panel.
Allow for rearranging within this hierarchy using drag-and-drop.
Action Buttons:
Include action buttons like 'Save', 'Cancel', or 'Edit' in intuitive locations, like at the bottom of the form or next to the hierarchy title.
Make sure these buttons are easily recognizable and accessible.
Responsive Feedback:
Provide immediate feedback on actions (like a confirmation message on saving the hierarchy).
Implement error messages or alerts for invalid actions in a non-intrusive but noticeable manner.


[AH-37] Consider React-Query usage if needed

Description
React-Query provides conviniant way to work with API having some vital benefits as e.g. request status/progress check.
Notes
Link(s):
https://react-query.tanstack.com/

Not needed.


C# protoc plugin: deprecated option in proto definitions should add Obsolete attribute to generated c# code

Is your feature request related to a problem? Please describe.
Adding the Obsolete attribute to an rpc method that is overriden warns that the base method is non-obselete:
Obsolete member 'SomeService.SomeMethod(SomeRequest, ServerCallContext)' overrides non-obsolete member 'SomeService.SomeServiceBase.SomeMethod(SomeRequest, ServerCallContext)' [SomeService]csharp(CS0809)
The proto definitions look like this:
service SomeService {
  rpc SomeMethod (SomeRequest) returns (SomeReply) {
    option deprecated = true;
  }

This is ignored in the generated code.
      [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
      public virtual global::System.Threading.Tasks.Task<global::GrpcSomeService.SomeReply> SomeMethod(global::GrpcSomeService.SomeRequest request, grpc::ServerCallContext context)

It also does not work on the enum level:
enum SomeEnum {
  option deprecated = true;
  A = 0 [deprecated = true];
}

No attribute is added:
#region Enums
  public enum SomeEnum {
    [pbr::OriginalName("A")] A = 0,
}

It works on the message level:
message SomeRequest {
  option deprecated = true;
  SomeEnum somefield = 1;
}

Which adds the Obsolete attribute:
  [global::System.ObsoleteAttribute]
  public sealed partial class SomeRequest : pb::IMessage<SomeRequest>

Describe the solution you'd like
Add the Obsolete attribute on the generated code when the deprecated option is set in the proto definition.
Describe alternatives you've considered
ignore warnings and use additional documentation and communication.

Since the issue description mentions deprecated option for Enum values, see also https://github.com/protocolbuffers/protobuf/issues/10513

For info: I've looked at the different places that the deprecated option can be used in proto files and compared the code generated by C# and Java. In all cases Java generates code with the correct @Deprecated attribute but the C# generator only currently supports a few cases:

file level - not supported
message - supported - [global::System.ObsoleteAttribute] added to the class
field - supported - [global::System.ObsoleteAttribute] added to the class that wraps access to the field
enum - not supported - but support added by https://github.com/protocolbuffers/protobuf/pull/10520 but that version is not in the gRPC github repo
enum value - not supported - but support added by https://github.com/protocolbuffers/protobuf/pull/10520 but that version is not in the gRPC github repo
service - not supported - would need to be done in gRPC plugin
method - not supported - would need to be done in gRPC plugin

@jskeet Can you think of any downside or gotchas if we add deprecated option support everywhere for C#? Anything we would break?

Not sure what the file level would look like - on the reflection class, maybe?
Other than that, as you say I think it's only a matter of adding it to service and method, then updating the version of protoc in the gRPC github repo.

FYI: the support for deprecating enums and enum values is not yet released - it is in Protocol Buffers v22.0-rc1. The gRPC currently has 21.12 as the protocol buffers submodule.

@jskeet Propagating the deprecated ([Obsolete])  attribute up to the service method if any of the messages are deprecated is possible. However this does push the warnings elsewhere in the generated code - to within the  BindService methods.
Do we want to marked then bind methods as deprecated too? Or just disable obsolete warnings for those methods? Or we could just disable obsolete warnings for all the generated code (like you are doing by inserting the pragma yourself)?
Is there any advantage in not disabling obsolete warnings for all the generated code since the user will find out the deprecated methods and messages themselves in their own code?

Is there any advantage in not disabling obsolete warnings for all the generated code since the user will find out the deprecated methods and messages themselves in their own code?

Personally I think this is the simplest approach. You could even do it unconditionally, whether there's anything obsolete or not - with the downside that it would introduce a change to generated code which is unnecessary for most users.

fixed by https://github.com/grpc/grpc/pull/32414


error.source.context is often too big to be helpful

I'm finding myself in a few cases where error.source.context is a pretty large object.  Printing this out (with a logger that includes the source text of functions) results in over 15,000 lines of debugging, which is way too much.  Node's built-in console.log() is still several hundred lines.
I can see how this is helpful when working on bugs and features in YAML itself, but it's pretty excessive otherwise.  Perhaps it could be omitted when cwd is not the YAML project?

Sorry for having left this issue unanswered before now. The error source is in fact the corresponding CST node, and its context is required by some parsing stages, which will continue even after the point at which the error has occurred. So it's a bit difficult to modify, especially as it's required by the internals of the getRangeAsLinePos getter.
What might work is an optional post-processing of the errors and warnings, which would fetch the errors' line positions and drop most of the CST source node data. Optional, so as not to necessitate a major version bump.

An optional error/warning cleanup step would probably solve this, yes.

Added the prettyErrors option (default false), which drops source and adds nodeType, range and linePos to errors.


Reading maf for each individual samples jointly

Hello
I have downloaded maf.txt for each individual sample from broad institute maf dashboard. I want to have an union maf for all in a way sample names are in sample barcode column as usual
I have tried
> getwd()
[1] "/Users/mi1d17/Downloads/gdac.broadinstitute.org_ESCA.Mutation_Packager_Oncotated_Calls.Level_3.2016012800.0.0"
>

> read.maf(list.files())
-Reading
Error in data.table::fread(file = maf, sep = "\t", stringsAsFactors = FALSE,  :
  Internal error: freadR input not a single character string: a filename or the data itself. Should have been caught at R level.
In addition: Warning messages:
1: In if (is.na(file_info$size)) stop("File '", file, "' does not exist or is non-readable. getwd()=='",  :
  the condition has length > 1 and only the first element will be used
2: In if (!file_info$size) { :
  the condition has length > 1 and only the first element will be used

Is there any function in maftools to perform this?
Thank you so much

Use a for loop to creat a maf list and then merge them？

You should use merge_mafs.

sorry @PoisonAlien can you help me in knowing from where I can find gistic files needed for Maftools? I have been lucky to find maf files of my cancer of interest in broad institute dashboard but I have no clue where I can find gistic files for this toga samples.
excuse me if this question is irrelevant with the main post

You can find them on TCGA firehose for all cohorts.
Click on analysis for your interested cohort -> Copy number analysis -> copy number gistic 2 -> Download results

Sorry @PoisonAlien
Thank you for helping me
I have a list of samples from TCGA which clinical data says they have not received chemotherapy
Is there anyway to get gistic information from a list of samples from Copy number analysis -> copy number gistic 2 ?
Because in gistic results does not have tumour barcode or at least I can not see tumour barcode to subset the data
I have tried to use segmentation and marker file from firehose to be able to run gistic only on my list of samples but likely marker file is not comparable with marker file and says
[fi1d18@cyan01 man]$ ./run_gistic_test
--- creating output directory ---
--- running GISTIC ---
Setting Matlab MCR root to /temp/hgig/fi1d18/man/MATLAB_Compiler_Runtime
GISTIC version 2.0.23

GISTIC 2.0 input error detected:
80177 segment start or end positions in '/temp/hgig/fi1d18/man/seg/seg.txt' do not match any markers in '/temp/hgig/fi1d18/man/seg/marker.txt'.
First bad position is 6:170903919 at line 21.

You dont need to run GISTIC. They are already results from GISTIC. Go here for example and click on Download results - > analysis results. You can directly read thm with maftools.

Thank you
In the link we are seeing three files, one is likely amplification, one deletion and the other one seems to be gistic score
So for reading those by your software via this code
all.lesions <- system.file("extdata", "all_lesions.conf_99.txt", package = "maftools")
amp.genes <- system.file("extdata", "amp_genes.conf_99.txt", package = "maftools")
del.genes <- system.file("extdata", "del_genes.conf_99.txt", package = "maftools")
scores.gis <- system.file("extdata", "scores.gistic", package = "maftools")

laml.gistic = readGistic(gisticAllLesionsFile = all.lesions, gisticAmpGenesFile = amp.genes, gisticDelGenesFile = del.genes, gisticScoresFile = scores.gis, isTCGA = TRUE)

I am not sure which file is all.lesions and which file is scores.gis

Sorry you are right I found that

Is there any way to extract my list of samples from the made laml.gistic?
I have tried to subset my samples but gives error
> subsetMaf(laml.gistic,tsb = c("TCGA-2H-A9GF","TCGA-2H-A9GF"),mafObj = FALSE)
Error in subsetMaf(laml.gistic, tsb = c("TCGA-2H-A9GF", "TCGA-2H-A9GF"),  :
  no slot of name "maf.silent" for this object of class "GISTIC"
>

Unfortunately its not possible to subset gistic object.


readme: add link to more examples

This needs to be rebased on latest master.

This needs to be rebased on latest master.

Not sure if you receive notification on my pushes?
Done.

I sometimes get notifications when someone pushes to a branch, but I don't check the PR when that happens, since a push doesn't necessarily mean the PR is ready for review.

Looks good to me!

Looks good to me!

Damn somehow broken :D

Whoops, that's my fault. Fixed in #2203.


Support for globbing?

Just tried this out with npm install -g cash on my Ubuntu box with node 5.3. It seems pretty cool! I couldn't get any support for globbing, however. Not sure if this is a bug, or if it hasn't been implemented yet. I saw that you're using the glob module in package.json, but I was surprised that the CLI didn't offer support for it.

Can you give me a usage example? Individual commands support it well.

Here's what I tried
bash $ cash
cash $ ls
node_modules  package.json
cash $ ls *.json
cash $

As you can see, there is no output after I run ls *.json, whereas the standard bash utility would output package.json.
Also, as a side note, are you adding support for comments? I tried annotating my example with ls *.json # this has no output, but when I actually typed that, I realized that it I get even weirder behavior:
cash $ ls *.json # no ouptut
*.json:

#:

no:

ouptut:

Thanks. Looks like I didn't implement globbing for ls. It's easy to add, so will do soon!
It's by command - try grep a *.json and that will work, for example.

I've got a bit to do on bash implementation, but will definitely be implementing comments and all the rest.

Have you thought about globbing at the shell level, instead of in individual commands? ShellJS was previously doing it for each command, but I felt like that was always fighting with bash compatibility. In traditional shells, all globbing happens in the shell itself (so ls never sees *.json, it actually sees package.json).

You have me thinking about it now :smile:
That's a good idea. Will do.

Here's the start of the pre-parser, btw. So far %ENV_VARIABLE% translation goes in by default for Windows users.
https://github.com/dthree/cash/blob/master/src/preparser.js

Glob is now working for ls in the latest release.

I didn't add it to the preparser yet, as I would like to discuss this with you. Not all commands should accept globs, and if a different type of parameter than files are expected, this could cause some weird behavior.
Perhaps we could pass in a parameter to the preparser like glob: true, and then normalize all input parsing for those commands.

Glob is now working for ls in the latest release.

:+1:
We recently adjusted this at ShellJS. In 0.6, only certain commands accept globs (ex. rm(), ls(), etc.). I modified this so that globbing (performed by common.expand()) happens inside common.wrap() (see here). common.wrap() is our approximation of the "shell," in a sense.
In a true shell, all the globbing happens by default. So you can do weird things, such as:
$ touch mkdir # create some file named, which has the same name as a unix command
$ which mk* # let's assume that `mkdir` is our only file
/bin/mkdir
$ echo *ir
mkdir

These are two examples of commands you wouldn't normally want to glob. To be consistent with bash, however, you would need to support globbing for them. In ShellJS, we disable globbing (for performance reasons/it isn't a very useful feature).

Huh. Interesting.
Alright, will keep this in mind as Cash matures, and we'll see!

Sounds good


Update machine-controller to v1.24.3

What this PR does / why we need it:
Finally enable containerd support in machine-controller
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1223
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Update machine-controller to v1.24.3 with -node-controller-runtime

/retest

/retest

/test pull-kubeone-e2e-aws-conformance-1.19

/test pull-kubeone-e2e-aws-conformance-1.19

/retest

/retest

/retest

/retest

/retest

/retest

/assign @xmudrii

/assign @xmudrii

Hey @xmudrii  @kron4eg  small question: This is AWS only right now, right?

Hey @xmudrii  @kron4eg  small question: This is AWS only right now, right?

@shibumi AFAIK, it should work with all providers, however, we have only tested it with AWS. @kron4eg Please correct me if I'm wrong.

@shibumi AFAIK, it should work with all providers, however, we have only tested it with AWS. @kron4eg Please correct me if I'm wrong.

yeah, @shibumi it's for whatever provider is supported by the machine-controller.

yeah, @shibumi it's for whatever provider is supported by the machine-controller.

Including hetzner of course, if that's what you wanted to ask for real ;)

Including hetzner of course, if that's what you wanted to ask for real ;)

@kron4eg Not only Hetzner. Static Workers + Flatcar Linux, too. But I see that this change is in the machine-controller.. so it shouldn't apply to bootstrapping clusters on flatcar with static workers, right? I think you mentioned that we still need to wait for containerd support for flatcar

@kron4eg Not only Hetzner. Static Workers + Flatcar Linux, too. But I see that this change is in the machine-controller.. so it shouldn't apply to bootstrapping clusters on flatcar with static workers, right? I think you mentioned that we still need to wait for containerd support for flatcar

Yeah, flatcar is different story since it's at the moment has docker hardcoded.

Yeah, flatcar is different story since it's at the moment has docker hardcoded.


Copy files recursively

pachctl copy-file doesn't  seem to have a recursive flag. It seems it should. (is it possible to use pachctl put-file -r with a source dir in PFS? If that's the case, is there any difference between that and copy-file?)

copy-file is recursive by default, if src is a directory, and errors if dst is already a regular file. Semantics are inspired by ln, and internal implementation is most similar to ln, despite the fact that the name suggests it would be most similar to cp.

To clarify: is that in contrast to put-file? Meaning put-file still actually moves data even when going to/from locations within the same pach cluster?

put-file can't copy data within the same cluster, unless you use pfs://localhost/... as the -f parameter, in which case it's hopefully clear that data is being copied over localhost. That's not something you really ever want to do though, if you're copying within the same cluster you should use copy-file put-file from pfs:// is meant for importing files from other clusters.


Feature request - set up goss in server-mode

It would be really useful if the provisioner had a mode whereby it set up goss to run in server mode to be used as a health-check.
Parameters that I think would be necessary:

output format (default to JSON?)
path (built-in default is /healthz)
the usual networking bits like port and bind address

This would be a bit more involved, since it would probably also need to create a service definition file, which on modern ubuntu would be a systemd unit file, on macOS a LaunchAgent, and so on.
Is that something you'd be interested in a PR for?

Let me think about this a little, it might be out of scope for this tool and better suited for some form of configuration management/scripting... although presumably you have the test suite already there....  What's the use case you're hoping to address?

So, I'm building buildkite agents via packer, bash and ansible.
For local iteration, I'm using the https://github.com/indusbox/goss-ansible role to download and install goss to the system (/usr/local/bin).
During packer builds, I'm using your module to run my tests (so I get 2 test runs, since I haven't bothered making the ansible goss run conditional on "is-packer").
We've had a myriad of problems with people remoting onto build agents in the past to debug builds, then not cleaning up after themselves. Shifting to buildkite is new for us, and so we're going to be treating the infrastructure much more like cattle.
The idea of setting up goss as a health check, then having a load-balancer continuously ping it, and trigger the node to be burned if it fails too many health checks in a row is a really compelling idea.
I think, that said, it's a problem better solved by config management.
That said, since I'm installing goss via config management, it would be convenient to be able to tell the plugin to use the goss that I install, rather than going out to fetch it. I had a look and didn't see that that was currently possible; is it?

closing old issues, reopen if still interested 👍


fix: ensure ExecutableRunner stderr goes somewhere by default

This doesn't fully solve:

https://github.com/fulcrumgenomics/prymer/issues/41

But it should solve the issue where the stderr PIPE's buffer may become full and deadlock the process.

No longer needed due to merging:

https://github.com/fulcrumgenomics/prymer/pull/74


libkb: raise timeout on UPAK loads from 10minutes to 1 hour

this should have a big impact on server load
this should have a small impact on mobile performance, but a positive one
it's slightly worse for security, since it'll take longer to realize that a key has been revoked (up to an hour)

@mmaxim you expressed second-thoughts to me in chat. should we kill this PR?

Yeah maybe not necessary given how I think we will end up dealing with this in chat.

OK, not going to do this.


removed retired resourcetype Microsoft.Resources/tagnamespaces/

The Microsoft.Resources/tagnamespaces/ resource type has been removed from the namespace.

@rolyon - can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hi @george-markou
Thanks for taking the time to provide a contribution to the docs. We'll work on getting your changes merged.
thanks!

#sign-off


countdownRef.current.stop() stopped working after yesterday.

countdownRef.current.stop() stopped working after yesterday.

hi @hfshan247 ,
I can't reproduce this issue.

On Mon, Apr 25, 2022 at 6:33 PM Hoà Phan @.***> wrote:

hi @hfshan247 https://github.com/hfshan247 ,
I can't reproduce this issue.
—
Reply to this email directly, view it on GitHub
https://github.com/hoaphantn7604/react-native-element-timer/issues/5#issuecomment-1108581489,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AENJB274WZ26FSRQVGFTVZLVG2NLZANCNFSM5UIJMQ5A
.
You are receiving this because you were mentioned.Message ID:
@.***>

When I press a button to stop the time, the callback onEnd() gets triggered
but the timer value doesn’t get stopped & it keeps on increasing.


Prevent output files written on dev/build

Currently, running dev/build using the CLI SAPI, results in errors like this:
ERROR [Warning]: file_put_contents(/tmp/glitch.out): failed to open stream: Permission denied

These files should not be written to the filesystem until they;re needed, by which time the webserver user is running the PHP runtime, not the CLI.

Closing as not seen this for a whie.


refactor: update navigation bar display

Download Artifacts :

win-ia32
win-x64
linux-x64

Download Artifacts :

win-ia32
win-x64
linux-x64


How to reslove:  TRACE Prover solution was below the necessary proof target (1 < 47421)

🐛 Bug Report
Prover not work well.

Steps to Reproduce
PROVER_PRIVATE_KEY=A***  ./run-prover.sh > /opt/snarkos/miner.log 2>&1 &

Expected Behavior
Prover works well

Your Environment
latest
cargo 1.65.0 (4bc8f24d3 2022-10-20)
Ubuntu

Same question

Could you share the details about the hardware you're running provers on?

I'm afraid that there is no bug here, just your hardware might not be strong enough to produce a competitive solutions

I'm afraid that there is no bug here, just your hardware might not be strong enough to produce a competitive solutions

You are right. Thanks!


Release iOS build: VM snapshot must be valid

Our iOS application starts with a white screen on initial launch and is stuck in that state until you kill and relaunch the application, After that the application runs normally. There are many other report on this that have been closed so I wanted to include foolproof steps to reproduce this from a blank template application. This issue is not related to any specific package but manifests itself when installing any new package and build in release mode.
Steps to Reproduce
1: $>flutter create flutter_vm_crash
2: $>cd flutter_vm_crash
3: $>open ios/Runner.xcworkspace/
4: in Xcode > Set Bundle Identifier and Signing Team
5: plug in iPhone
6: flutter run --release; app starts up normally
7: in Xcode > clean project > run app from xcode; app still runs normally
8: $>open pubspec.yaml > add an additional dependency, I added device_info package
dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^0.1.2

  device_info: ^0.3.0`

9: $>flutter packages get
10: $>flutter run --release; app starts up normally
11: in Xcode > clean project > run app from xcode
12: White screen appears with VM snapshot must be valid. log
13: in Xcode > Re run the application, app starts up normally
14: repeat step 11: > clean project > run app from xcode and white screen appears again
Logs
Runner[39545:15296040] [VERBOSE-2:dart_vm.cc(259)] VM snapshot must be valid.
Runner[39545:15296040] [VERBOSE-3:shell.cc(212)] Check failed: vm. Must be able to initialize the VM.

flutter analyze
Analyzing flutter_vm_crash...
No issues found! (ran in 4.7s)

flutter doctor -v
[✓] Flutter (Channel beta, v0.11.8, on Mac OS X 10.13.6 17G65, locale en-US)
    • Flutter version 0.11.8 at /Users/martin/Documents/Repos/flutter
    • Framework revision f5b02e3c05 (34 hours ago), 2018-11-20 07:49:29 -0800
    • Engine revision 1baf081343
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/martin/Library/Android/sdk
    • Android NDK at /Users/martin/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 25.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] VS Code (version 1.28.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.20.0

[✓] Connected device (1 available)
    • mydevice • number • ios • iOS 11.3

• No issues found!

Same issue

I have the same problem, why is this problem so hard to solve?

@tvolkert @gspencergoog

The issue is that Xcode is trying to run a debug build, but there are leftover artifacts from the CLI release build (even when you clean, since Xcode doesn't clean CLI's build directory).
You can get around this in Xcode by changing to the "Release" Build Configuration.  In Xcode, go to Product > Scheme > Edit Scheme, then edit the "Run" scheme -- change the "Build Configuration" to "Release".  Then when you run in Xcode, you'll be running in Flutter's release mode, and your build artifacts will play nicely with one another.

Thanks Todd, I was able to verify that your fix worked for the steps I provided. We are still seeing the behavior in release build but it may be another issue. The app hangs on first install then works if killed and relaunched. The only thing I get in terms of logs from the release build is
default	13:31:21.300529 -0800	Runner	TIC Enabling TLS [3:0x1c41747c0]
default	13:31:21.301211 -0800	Runner	TIC TCP Conn Start [3:0x1c41747c0]
default	13:31:21.302102 -0800	Runner	Task .<1> setting up Connection 3
default	13:31:21.302833 -0800	Runner	[4  ] start
default	13:31:21.329423 -0800	Runner	TIC TLS Event [3:0x1c41747c0]: 1, Pending(0)
default	13:31:21.357804 -0800	Runner	TIC TLS Event [3:0x1c41747c0]: 2, Pending(0)
default	13:31:21.359310 -0800	Runner	TIC TLS Event [3:0x1c41747c0]: 11, Pending(0)
default	13:31:21.360843 -0800	Runner	TIC TLS Event [3:0x1c41747c0]: 12, Pending(0)
default	13:31:21.361445 -0800	Runner	TIC TLS Event [3:0x1c41747c0]: 14, Pending(0)
default	13:31:21.369854 -0800	Runner	System Trust Evaluation yielded status(0)
default	13:31:21.377815 -0800	Runner	TIC TLS Trust Result [3:0x1c41747c0]: 0
default	13:31:21.397235 -0800	Runner	TIC TLS Event [3:0x1c41747c0]: 20, Pending(0)
default	13:31:21.397810 -0800	Runner	TIC TCP Conn Connected [3:0x1c41747c0]: Err(16)
default	13:31:21.398798 -0800	Runner	TIC TCP Conn Event [3:0x1c41747c0]: 1
default	13:31:21.399362 -0800	Runner	TIC TCP Conn Event [3:0x1c41747c0]: 8
default	13:31:21.399937 -0800	Runner	TIC TLS Handshake Complete [3:0x1c41747c0]
default	13:31:21.401160 -0800	Runner	Task .<1> now using Connection 3
default	13:31:21.401816 -0800	Runner	Task .<1> sent request, body S
default	13:31:21.717838 -0800	CommCenter	QMI: Svc=0x03(NAS) Ind MsgId=0x0051 Bin=['01 1F 00 80 03 02 04 AB 0F 51 00 13 00 14 06 00 B4 F2 98 FF 00 00 A2 01 00 32 A4 03 00 01 64 00']
default	13:31:21.740921 -0800	Runner	Task .<1> received response, status 200 content K
default	13:31:21.742924 -0800	Runner	Task .<1> response ended
default	13:31:21.763619 -0800	securityd	inserted <genp,rowid=42143,cdat=2018-11-30 21:31:21 +0000,mdat=2018-11-30 21:31:21 +0000,desc=null,icmt=null,crtr=null,type=null,scrp=null,labl=null,alis=null,invi=null,nega=null,cusi=null,prot=null,acct=io.afero.Tokui.dev,svce=689246215206:*,gena=com.google.iid-tokens,data=0a7e:070000000A8C0A0A...|ccde0e4c27f519ad,agrp=YVKN778Q2B.io.afero.Tokui.dev,pdmn=dku,sync=0,tomb=0,sha1=5173180304A9F340D5B542410E826704365C68B8,vwht=null,tkid=null,v_Data=<?>,v_pk=978C4BB76584653212C82AE3301FB57A621EC8E7,accc=null,u_Tomb=null,musr=,UUID=8D6E173C-3B6A-4E76-99E1-0E013528573E,sysb=null,pcss=null,pcsk=null,pcsi=null,persistref=>
default	13:31:21.764867 -0800	securityd	TWHsSlhR5gt2wnqGEEYEnm4gGe: will-commit api 1 changes, txn=, 0x1014b8430
default	13:31:22.019299 -0800	lockdownd	handle_get_value:
default	13:31:22.021024 -0800	lockdownd	handle_get_value:
default	13:31:22.041183 -0800	lockdownd	handle_get_value:
default	13:31:22.042944 -0800	lockdownd	handle_get_value:
default	13:31:22.595793 -0800	nsurlsessiond	Triggering periodic update to powerlog for client
default	13:31:23.395094 -0800	Runner	XPC connection invalidated (daemon unloaded or disabled)
default	13:31:23.428400 -0800	Runner	client.trigger:#N CCFG for cid 0x35 has # of profiles: 2
default	13:31:23.431471 -0800	Runner	client.trigger:#N Random sample for 0x350002 is skip
default	13:31:23.434719 -0800	Runner	client.trigger:#N Random sample for 0x350002 is skip
Then nothing else from the runner.
I can not parse this so it is difficult to debug. I suspect it might have something to do with firebase messaging

@marnberg yeah that looks like a different issue

@collinjackson or @dnfield, I'm not familiar with Cocoapods.  Do you know where/how the install_framework lines are getting expanded in https://github.com/flutter/flutter/issues/24641#issuecomment-443344852?

What's driving this for Cocoapods is FLUTTER_FRAMEWORK_DIR in Generated.xcconfig.
Ideally, we'd take this out of Cocoapods' hands entirely. Also ideally, we'd stop using FLUTTER_FRAMEWORK_DIR in any meaningful way in Generated.xcconfig.  I tried to remove it because of these kinds of issues, but it seemed to break something legacy wise.  I hoped (incorrectly) that the other changes I made to xcode_backend would resove it.
I'm pretty sure something like the following would fix this:

Add logic to https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/ios/xcodeproj.dart#L62 to write out the paths for FLUTTER_FRAMEWORK_DIR_DEBUG, FLUTTER_FRAMEWORK_DIR_PROFILE, and FLUTTER_FRAMEWORK_DIR_RELEASE, which would probably look like this:

localsBuffer.writeln('FLUTTER_FRAMEWORK_DIR_DEBUG=${flutterFrameworkDir(BuildMode.debug)}');
localsBuffer.writeln('FLUTTER_FRAMEWORK_DIR_PROFILE=${flutterFrameworkDir(BuildMode.profile)}');
localsBuffer.writeln('FLUTTER_FRAMEWORK_DIR_RELEASE=${flutterFrameworkDir(BuildMode.release)}');

Update the Podfile template(s):
https://github.com/flutter/flutter/blob/master/packages/flutter_tools/templates/cocoapods/Podfile-objc#L47-L51 should become

    if p[:name] == 'FLUTTER_FRAMEWORK_DIR_DEBUG'
      symlink = File.join('.symlinks', 'flutter')
      File.symlink(File.dirname(p[:path]), symlink)
      pod 'Flutter', :path => File.join(symlink, File.basename(p[:path])), :configuration => ['Debug']
    else if p[:name] == 'FLUTTER_FRAMEWORK_DIR_PROFILE'
      symlink = File.join('.symlinks', 'flutter')
      File.symlink(File.dirname(p[:path]), symlink)
      pod 'Flutter', :path => File.join(symlink, File.basename(p[:path])), :configuration => ['Profile']
    else if p[:name] == 'FLUTTER_FRAMEWORK_DIR_RELEASE'
      symlink = File.join('.symlinks', 'flutter')
      File.symlink(File.dirname(p[:path]), symlink)
      pod 'Flutter', :path => File.join(symlink, File.basename(p[:path])), :configuration => ['Release']
    end

and do the same for https://github.com/flutter/flutter/blob/master/packages/flutter_tools/templates/cocoapods/Podfile-swift#L49-L53.  This should cause Cocoapods to correctly associate the right Flutter.framework with the right build configuraiton.
3. Add tests.
None of this should impact module projects, since they have other logic to copy the right Flutter.framework locally instead of pulling it from the SDK root.
/cc @cbracken  - we've discussed issues around this recently.

I take it back - that won't work, Cocoapods won't let you have multiple pods like that.
We really should look to see if we can just eliminate FLUTTER_FRAMEWORK_DIR logic, or make sure we update it (perhaps via xcode_backend.sh.
For now, the work around is that if you want to run from Xcode and you're using plugins, you have to go into Generated.xcconfig and set FLUTTER_FRAMEWORK_DIR to the correct Flutter.framework path for your target, re-run pod install in the ios folder, and then do your run from Xcode.  Alternatively, you could run flutter build ios --debug (or --profile or --release), which would take care of that for you.

Was getting this issue while trying to run from Xcode using the Release Scheme. Fix was same as @dnfield mentioned: I ran flutter run --release from the CLI.

I take it back - that won't work, Cocoapods won't let you have multiple pods like that.
We really should look to see if we can just eliminate FLUTTER_FRAMEWORK_DIR logic, or make sure we update it (perhaps via xcode_backend.sh.
For now, the work around is that if you want to run from Xcode and you're using plugins, you have to go into Generated.xcconfig and set FLUTTER_FRAMEWORK_DIR to the correct Flutter.framework path for your target, re-run pod install in the ios folder, and then do your run from Xcode. Alternatively, you could run flutter build ios --debug (or --profile or --release), which would take care of that for you.

谢谢您帮我解决了这个问题! 操作如下:

Flutter build ios
打开 Xcode -> Edit Scheme 选择Release .Run
Crash 消失了
附上问题描述:
(
2018-12-28 16:01:44.976805+0800 Runner[2723:866883] [VERBOSE-2:dart_vm.cc(259)] VM snapshot must be valid.
2018-12-28 16:01:44.976852+0800 Runner[2723:866883] [VERBOSE-3:shell.cc(212)] Check failed: vm. Must be able to initialize the VM.
)

The underlying issue is that when you run flutter run --(debug|release) at the command-line, the Flutter tool edits some Xcode project properties to match your desired build, but it unintelligently edits all configurations to match.
For example, if you run flutter run --release, then inspect the Pods-Runner-frameworks.sh script, you'll see that all configurations are set to use Flutter's prebuilt release binary:
if [[ "$CONFIGURATION" == "Debug" ]]; then
  install_framework "${PODS_ROOT}/../.symlinks/flutter/ios-release/Flutter.framework"
fi
if [[ "$CONFIGURATION" == "Release" ]]; then
  install_framework "${PODS_ROOT}/../.symlinks/flutter/ios-release/Flutter.framework"
fi
if [[ "$CONFIGURATION" == "Profile" ]]; then
  install_framework "${PODS_ROOT}/../.symlinks/flutter/ios-release/Flutter.framework"
fi

Meanwhile, Flutter's xcode_backend.sh is smart enough to [correctly] respect the build mode via the $CONFIGURATION environment variable (set by Xcode when it invokes the script). So when running in the debug configuration (default) after having run flutter run --release, apps get built in a hybrid state, which causes the error.
The fix should be that Flutter sets up the different Xcode build configurations correctly.
In the meantime, a workaround for this issue is to ensure that when running via Xcode, you always use the run configuration that matches your last CLI invocation.

谢谢您帮我解决了这个问题! 操作如下:

Flutter build ios
打开 Xcode -> Edit Scheme 选择Release .Run
Crash 消失了
附上问题描述:
(
2018-12-28 16:01:44.976805+0800 Runner[2723:866883] [VERBOSE-2:dart_vm.cc(259)] VM snapshot must be valid.
2018-12-28 16:01:44.976852+0800 Runner[2723:866883] [VERBOSE-3:shell.cc(212)] Check failed: vm. Must be able to initialize the VM.
)

The issue is that Xcode is trying to run a debug build, but there are leftover artifacts from the CLI release build (even when you clean, since Xcode doesn't clean CLI's build directory).
You can get around this in Xcode by changing to the "Release" Build Configuration. In Xcode, go to Product > Scheme > Edit Scheme, then edit the "Run" scheme -- change the "Build Configuration" to "Release". Then when you run in Xcode, you'll be running in Flutter's release mode, and your build artifacts will play nicely with one another.

谢谢您帮我解决了这个问题! 操作如下:

Flutter build ios
打开 Xcode -> Edit Scheme 选择Release .Run
Crash 消失了
附上问题描述:
(
2018-12-28 16:01:44.976805+0800 Runner[2723:866883] [VERBOSE-2:dart_vm.cc(259)] VM snapshot must be valid.
2018-12-28 16:01:44.976852+0800 Runner[2723:866883] [VERBOSE-3:shell.cc(212)] Check failed: vm. Must be able to initialize the VM.
)

This because Xcode is confusing with release and debug build types, default Xcode run in debug mood and only It change release for when you are an archiving, so follow below steps for fix this,
[1] Goto edit scheme

[2] Select left menu run item, and choose build configuration as release

Had this happen on an iOS app update I released to the app store. :(  Rebuilding it fixed the problem, but I hate that I shipped out a broken app to our users.

Had this happen on an iOS app update I released to the app store. :( Rebuilding it fixed the problem, but I hate that I shipped out a broken app to our users.

Same issue too! It's ont until  I uploading to Appstore then user sayas it has a demon white scree :(

FYI @jmagman @xster

New prompt from flutter:
Warning: Podfile is out of date
  This can cause a mismatched version of Flutter to be embedded in your app, which may result in App Store submission rejection or crashes.
  If you have local Podfile edits you would like to keep, see https://github.com/flutter/flutter/issues/24641 for instructions.
To regenerate the Podfile, run:
  rm ios/Podfile

If you have custom Podfile edits you would like to keep, the easiest thing to do is to re-create your changes on top of the new generated one.  If you are unable to do that, here is the generated Podfile that copies the correct version of the Flutter engine to the expected locations.
You can interleave that Ruby code into yours as needed:
Objective-C app:
https://github.com/flutter/flutter/blob/master/packages/flutter_tools/templates/cocoapods/Podfile-ios-objc
Swift:
https://github.com/flutter/flutter/blob/master/packages/flutter_tools/templates/cocoapods/Podfile-ios-swift

Just started seeing this on the new stable release.
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.1 19B88, locale en-CA)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
[✓] Android Studio (version 3.5)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.40.2)
[✓] Connected device (1 available)

@MisterJimson
Did you regenerate your Podfile?
https://github.com/flutter/flutter/issues/24641#issuecomment-544675972

Please follow the instructions in the error message and run rm ios/Podfile before commenting in this issue.
https://github.com/flutter/flutter/issues/24641#issuecomment-544675972

I'm locking this thread down since the error message specifically points out the resolution steps


RAG API Documentation Update: added explanation for RAG_USE_FULL_CONTEXT variable

Currently, there isn't documentation that highlights the ability to use full context of the documents uploaded for RAG. This causes new users like myself to run into subpar RAG results in certain scenarios. Adding documentation for the RAG_USE_FULL_CONTEXT parameter/variable to raise awareness of this feature.
Related discussion: https://github.com/danny-avila/LibreChat/discussions/4066

Thanks!


update: ack operators

fix: script
add: lambda, route53
cleanup: annotations

Merge conflict resolved. :)


Add isEnabled option to modifier

Closes #33.
cc/ @miguelcobain

Ping.

Thank you @josemarluedke !
Apologies for the delay.

Released as 1.1.0.


Tutor translation for both zh_CN, zh_TW and zh

When having both zh_CN and zh_TW translations does it make sense to also have zh translation (without county code)?
runtime/tutor/:
tutor.zh.big5
tutor.zh.euc
tutor.zh.utf-8
tutor.zh_cn.utf-8
tutor.zh_tw.utf-8

Is this an actual bug you are reporting here?

Unlike en_US and en_GB, zh_CN and zh_TW use different characters.
Having tutor.zh might not be so useful. (tutor.zh.utf-8 is a copy of tutor.zh_tw.utf-8, though.)

Shouldn't there be also a zh_HK version? Or is that the same as one of the other two specific regions? Or maybe that is what plain zh is meant to be? Of course, as long as there isn't some native user of Hong Kong Chinese (some form of Cantonese, IIUC?) willing to translate into it, and maintain that translation, there's nothing much we Europeans can do…

Hong Kong Chinese should be OK with zh_TW, although some wording may be different. Cantonese is yue or yue_HK, not zh_HK. Basically Hong Kong people speak Cantonese but write in Traditional Chinese formally.
I don't think the zh ones are very useful though. I'm not sure what zh should be used for because there are two kinds of Chinese characters. Vim can provide zh_CN as fallback for zh_SG and zh_TW for zh_HK.

Fortunately, they seem to be satisfied with the status quo for now. Then, why do we ask them for the change?

Agree. Closing.


[Feature] Synchronize storage from kafka to Oracle This pr extends self-integrated library synchronization code

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

整体思想参考:
https://github.com/SophiaData/Bigdata_Code_Tutorial/blob/master/Flink-demo/src/main/java/io/sophiadata/flink/cdc2/FlinkSqlWDS.java

The overall code concept has been implemented


Sending envitation via SMTP doesn't work

Issue Summary
I have simple mail config:
        mail: {
            transport: 'SMTP',
            options: {
                port: 25,
                host: 'smtp.lab.example.org',
                secure: false,
                from<EMAIL_ADDRESS>            }
        },

I checked that the config is correct with a test script using nodemailer directly:
var nodemailer = require('nodemailer');
var transport = {
                port: 25,
                host: 'smtp.lab.example.org',
                secure: false,
                from<EMAIL_ADDRESS>            };
var transporter = nodemailer.createTransport("SMTP", transport);
function sendMail() {
	var mailOptions = {
	    from<EMAIL_ADDRESS>	// sender address
	    to<EMAIL_ADDRESS>	// list of receivers
	    subject: 'test',		// Subject line
	    text: 'Hello world', 	// plaintext body
	    html: '<b>Hello world</b>' // html body
	};
	transporter.sendMail(mailOptions, function(error, info){
	    if(error){
        	return console.log(error);
	    }
	    console.log('Message sent: ' + info.response);
	});
}
sendMail();

This script sends me a mail.
So the config is correct.
But Ghost is not sending anything. It reports no errors, saying "Invitation sent" but nothing happens.
Steps to Reproduce

Just send an invitation

Technical details:

Ghost Version: 0.11.2
Node Version: 6.9.1
Browser/OS: Windows 2008 R2 Std SP1

Node is running via iisnode under IIS. IIS AppPool is running under NetworkService account.
Is it expected to work? For some reason the doc doesn't contain info on direct SMTP usage.
If it should how can I debug what is going on?

Hi @evil-shrike, yes this is expected to work and was working when I tested just now which suggests it's possibly a configuration or setup issue - the best place to get help with those type of things is on our Slack channel as we don't provide support through Github issues.
If after working through the problem there it's found that a bug exists then we can re-open. Thanks!

@kevinansfield could you take a look at my finding (as it looks like a bug)?

This is not a bug, but a configuration issue: http://support.ghost.org/mail/#from-address

Moving from from mail.options up to under mail solved my issue, thank you!
It's a bit confused to see from under mail as nodemailer has that same option and it's ignored/overwritten in Ghost.


Implement harbor oidc admin awareness

Coming in the harbor 2.2.0 release: option to configure oidc group that will become superadmin. Please also rewrite harbor task to configure that.

#109 looks like duplicate

@j-zimnowoda can you move it to tasks repo rhen and update info?

I can't find it, what's the source for this? I looked at https://github.com/goharbor/harbor/issues?page=2&q=is%3Aissue+is%3Aopen+label%3Atarget%2F2.2.0.

https://app.zenhub.com/workspaces/dev-5e7e84dddc966f05a627a19b/issues/redkubes/otomi-api/109 looks like duplicate

True. Closing in favor of the previous one. It has the link to the issue and announcement to publish the feature in 2.2.0


Basic re-rendering doesn't work since v0.12

I'm finally getting around to upgrading my big app from the pre-refactor version of Backbone-Forms to the latest.
There's a common pattern that I used everywhere which apparently stopped working in v0.12... which is the ability to re-render a form and have it use the latest model data.
This test passes on v0.11 and fails on v0.12 through master.
test('re-render', function() {
  var model = new Backbone.Model({ name: 'Foo' });
  var form = new Form({
    schema: { name: 'Text', },
    model: model
  });
  var $el;

  $el = form.render().$el;
  equal($el.find('input[name=name]').val(), 'Foo'); // passes

  model.set('name', 'Bar');

  $el = form.render().$el;
  equal($el.find('input[name=name]').val(), 'Bar'); // fails on v0.12+
});

Thoughts? Seems like a simple enough case.

Are there any news on re-rendering not working? Here, re-rendering simply does nothing.


Applications vs. Bookmarks

Besides having a bigger icon/text, what is the intended difference between an Application and a Bookmark?

Apps section is intended for local/self-hosted applications and services, while Bookmarks are for external links like social media, news, blogs etc. Of course, nothing stops you from adding an application as a bookmark and vice versa but that was the original idea to have them separated.
Also, Flame was created as an interactive version of SUI so main layout was inherited from there.

Yes, that's what I figured as well. I've also checked SUI and was wondering why the URL of the application is displayed? What exra info does it contain?
I'm not sure if you know Heimdall, their bookmarks are able to get extra info out from the linked apps (e.g.: Portainer: running containers). That could make the applications more special.

Here it is: https://github.com/linuxserver/Heimdall

This is my custom CSS workaround to remove the URL:
.AppCard_AppCardDetails__tbAhY span {
    font-size: 0px !important;
    visibility: hidden;
}


Using a keybinding as an alias

Checklist

[x] Have you read through :h nvim-surround to see if there might be any relevant information there?

Is your feature request related to a problem? Please describe.
I want to add a new alias that is not just one character, but instead a keybinding (in my case <A-.>. I tried the following setup (lazy), but it doesn't work:
return {
    "kylechui/nvim-surround",
    version = "*", -- Use for stability; omit to use `main` branch for the latest features
    event = "VeryLazy",
    config = function()
        require("nvim-surround").setup({
            aliases = {
                ["<A-.>"] = ")"
            }
        })
    end
}

When I replace the keybinding with a single character (e.g. d), it works fine. But I would like this as a keybinding, as I mapped that to ")" everywhere else.
Describe the solution you'd like
Being able to not only map single characters for an alias, but instead keybindings (if that is possible).
Additional context
None

I also tried mapping <A-.> to ) in every vim mode there is, but this doesn't work.

Sorry for the (really) late response, fixed in the latest commit/version.

Thanks a lot! :)


make install failed

os: Centos 7.9
run command
# LAVA_BINARY=lavap make install
Makefile:277: *** missing separator.  Stop.

how can fix it

Hey,
As a workaround, try running LAVA_BINARY=all make install and extract only the lavap binary


Add overlay expr

Fixes: #593
This pr adds support for the overlay syntax See https://www.postgresql.org/docs/current/functions-string.html.

[X] Add high level overlay expr
[X] Add parsing logic for overlay
[X] Add tests

The pr also adds a few tests cases for is not true/false and is [not] unknown added in #582

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

58 of 66 (87.88%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.07%) to 85.537%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tests/sqlparser_common.rs
31
34
91.18%

src/ast/mod.rs
10
15
66.67%

Files with Coverage Reduction
New Missed Lines
%

tests/sqlparser_common.rs
1
96.93%

Totals

Change from base Build<PHONE_NUMBER>:
0.07%

Covered Lines:
9670

Relevant Lines:
11305

💛  - Coveralls


signup user not working

Branch: develop
When I click the "Signup User" button, it takes me back to the Login screen.
I set the client_id and client_secret in both config.ini and security_config.php.
Further attempts to sign in send me back to request.php?doAction=signUp.

this seems to be due to authenticate.php requiring an active session, which, at least on first sign up, does not exist. I've commented these requires out, but I'm nervous about the security implications of that.

@lastlegion @birm any ETA on a fix(es) for this issue?

The recent push to develop fixes the core issue, but I'm still concerned about any implications of removing authenticate.php.

What steps are you taking to address your concern?

After testing, it seems as though the authentication on the camicsignup folder works as intended.
All this change means is that you don't need to be signed into the application to do admin changes (instead only the admin password is required).

Tested on 177.
Error screen from camicSignup registerNew:


Moving Pane While Poster is Selected

If you select a forum poster and populate the forum posts with just that posters data and then move the timeline pane only that posters data will appear in the forum posts.

If you un-select the poster after moving the pane the forum posts no longer populate. That mean that the data being passed to it has been removed and another call out to ES needs to happen.


docs updated

Coverage remained the same at 97.571% when pulling 1689818b1a1d32d17c437e0b89cd99aa093b2e82 on development into e09a45974e5964146c6901d86bcf76394c5b0e6e on master.


Add color palette options to Raster detail view

Our tile endpoint currently supports the following parameters to control colormapping: min, max, and palette when combined with a band choice.
We should add an interface that lets user select a color palette from a drop-down list and set the min/max using sliders
This would appear if selecting any band other than "default" in the band selection dropdown.

Example:

tileLayer.url(`${host}/api/image_process/imagery/${image_id}/tiles/{z}/{x}/{y}.png?projection=EPSG:3857&band=${band}&palette=matplotlib.Plasma_6&min=0`)
tileLayer.url(`${host}/api/image_process/imagery/${image_id}/tiles/{z}/{x}/{y}.png?projection=EPSG:3857&band=${band}`)

Available palettes come from palettable: https://jiffyclub.github.io/palettable/
Examples:

mycarta.CubeYF_19
scientific.sequential.Batlow_20
matplotlib.Inferno_20

Please also see https://github.com/girder/large_image/pull/714 for matplotlib colormaps

Done in #661


Randomization Request

Hello Seena, thank you for this awesome tool. One request I have is for a way to randomize the results of a search. I often will view my gallery for inspiration and I find that continually seeing the images in the same order is less inspiring. Perhaps using a key command would keep the UI clean. Thank you for your consideration.

Hey @flysteps, thanks for the suggestion! The way I implemented this lets you toggle a random a random ordering on and off, but just, purely as an implementation detail, does not work with search results. Do you want to use it to randomize search results too?


PR template message in "Complete pull request" dialog

When you complete a pull request, a dialog appears with fields prepopulated with PR description and details. The details field is filled with the contents of the PR template. Is there a way to prevent the PR template from being populated in that field?
Example screen to demonstrate what I mean:

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

ID: a297d54f-48b3-1b68-e828-15d1559d9b2d
Version Independent ID: fd9dcb35-72f9-f5a9-e0c0-75c3e59ba8d9
Content: Improve your pull request descriptions using pull request templates - Azure Repos
Content Source: docs/repos/git/pull-request-templates.md
Product: devops
GitHub Login: @steved0x
Microsoft Alias: sdanie

@noogn I am checking but I don't think so - the contents of the pull request template are saved into the description of the PR when you create it, and then when you complete the PR, the PR description (that now contains the contents of the PR template) is used to pre-populate that box.
You have a couple of options:

Edit the PR description as you are creating the PR and move the PR template down, or edit/delete all or part of it.
After you create the PR, move the PR template contents from the PR description and move them into a comment.
Before completing the PR, edit the description to remove the parts you don't want
As you are completing the PR, edit the contents of the description box and remove the parts you don't want before completing the PR.

Would any of those work for you? Since the PR template contents become part of the PR description, I don't know if there is an automatic way to have it not appear in the description box when you complete the PR,

Shame there isn't automated way to clean up that description box. I'll be going with one of the workarounds you suggested.
Thanks for the detailed response.


🐍 Let serde be an optional dependency

This PR marks serde as an option dependency and only derives the various Serialize and Deserialize traits when this feature is enabled.
Regardless of not forcing the user to have the serde dependency, having the serde feature of egui (optionally) enabled is a requirement for #12.

Turns out the CI compiles with --no-default-features. However the examples do some save and load the previous app state, which requires the serde feature. As I see it we have two options here:

Add the serde dependency for the examples.
Add some #[cfg(feature = "serde")] and #[allow(clippy::unused_mut)] statements.

I am not sure what the preferred route is here, if option 1 is the desired solution, I am not sure how to do such change.

Just rebased on latest main and I think no additional changes were needed.


Missing .fifo suffix for FIFO queues

Fixes #394.
According to the documentation (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html), all FIFO queues should end up with .fifo suffix.
Besides that, documentation mentions about 80 character queue name cap which also has been implemented as part of the #394 fix.

👍 Looks good, just a couple usually minor comments

No more comments now except a test failing on 2.13 :)

Please ignore this comment, I just want google to index it for people who had the same issue as me.
If you suddenly started getting AWS.SimpleQueueService.NonExistentQueue out of the blue and you are using fifo queues, make sure that the elasticmq endpoint/queueUrl you are passing to the aws client contains the .fifo suffix.

Please ignore this comment, I just want google to index it for people who had the same issue as me.
If you suddenly started getting AWS.SimpleQueueService.NonExistentQueue out of the blue and you are using fifo queues, make sure that the elasticmq endpoint/queueUrl you are passing to the aws client contains the .fifo suffix.


404 not found error

I am using OpenRefine 2.7-rc.2 (1) on a Macbook running OSX Sierra 10.12.4. Both the .jar and file that I reconcile against are in the same directory. My reconciliation is running properly, generating appropriate matches. Unfortunately, cell.recon.match.id only generates nulls. I get a 404 not found error, when I click on one of the matches or click on “choose new match.”
The reconcile-csv java script appears to be running properly in the terminal window. It did generate the following when it started, so I don't see anything that's obviously wrong.
2017-04-26 08:15:08.499:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT
2017-04-26 08:15:08.540:INFO:oejs.AbstractConnector:Started SelectChannelConnector@<IP_ADDRESS>:8000
In case it’s important, this is the command I used to start the java program:
java -Xmx2g -jar reconcile-csv-0.1.2.jar
Any thoughts??
Thanks,
Drew

I realize this thread is super old, but I had the same issue and after troubleshooting figured out it was an encoding issue with the CSV. My CSV was encoded in UTF-8 with BOM, which the jar can't read apparently. Using Notepad++ to re-encode the CSV in UTF-8 (without BOM) fixed the issue.
Hopefully this helps someone else!


[CI] fix broken handling of release candidates in wheel_prune_and_sync.py script

It seems like the "Prune-Nightly" job broke yesterday: https://github.com/tlc-pack/tlcpack/actions/runs/3327332266/jobs/5502020456
Traceback (most recent call last):
  File "/home/runner/work/tlcpack/tlcpack/wheel/wheel_prune_and_sync.py", line 172, in <module>
    main()
  File "/home/runner/work/tlcpack/tlcpack/wheel/wheel_prune_and_sync.py", line 163, in main
    group_map = group_wheels(wheels)
  File "/home/runner/work/tlcpack/tlcpack/wheel/wheel_prune_and_sync.py", line 63, in group_wheels
    gkey, order = extract_group_key_order(asset.name)
  File "/home/runner/work/tlcpack/tlcpack/wheel/wheel_prune_and_sync.py", line 50, in extract_group_key_order
    pub_ver = [int(x) for x in ver[:dev_pos].split(".")]
  File "/home/runner/work/tlcpack/tlcpack/wheel/wheel_prune_and_sync.py", line 50, in <listcomp>
    pub_ver = [int(x) for x in ver[:dev_pos].split(".")]
ValueError: invalid literal for int() with base 10: '0rc0'

See:
This should allow the script to deal with rcs in the version numbers.
@driazati

Thanks @PhilippvK . One thing to note as well is that ideally we should not release rc as part of the wheels in this case and use the tags that are validated

@PhilippvK agree, so i think it is helpful to include the change

@tqchen

Please define "use the tags that are validated": Should we publish everything which does not include "rc"?
If I filter those release candidates out, should I only do the for the wheel hosted on GitHub or also on PyPI & Conda?
I am a bit confused about the naming of the packages: shouldn't there only be tlcpack_nightly (latest dev build) and apache-tvm (only official releases)?

Going to merge this in for now given that it is still good to recognize rc.
Once we have stable build updated, we can them update the logic, e.g. making sure stable build being able to take precedence of rc and filter them out


Accept true as value of hyper.isPrimaryKey

It amazes me how fast am I compared to you, baby robot. Humans will take the world!


Generating CSI data into graphs

Hi everyone
Now i have a CSI data so i need to plot those data into graphs how can i do that anybody can suggest me how can i do that..??
And how can differentiate imaginary and real data ..??

Please refer here

Please refer here

Thanks for the reply :-)

Please refer here

Already i have csi_data in csv file which i did from other source(repo) and now i need to plot waveform(analyze) for those data how can i do that any suggestions ...??
And i went through your suggestions but i didn't get anything there,means if i run the commands which are present that link it is shown error as bash:  ./analysis_csi_data.py : no such file or directory

Each channel frequency response of sub-carrier is recorded by two bytes of signed characters. The first one is imaginary part and the second one is real part.
refer to: https://github.com/espressif/esp-csi/issues/24

Hello, @kallu1294
Closing this issue, feel free to reopen with more updates. Thanks.


Add Support for HeroLab Statblocks

Gargoyle test CR 4.txt
HeroLab_PC.txt

I've got a variety of HL statblocks on hand if you want more of these to use for testing, all of varying levels with PC, NPC, and monster details (often including mythic) - let me know if you'd like any!

My observartion with Herolab (classic) stat blocks, is that it's the "line of dashes" after "Special Abilities"... that seems to prevent import.
This was obserrved/validated on 0.8.6, with the latest version of SBC on June 5th.

The other things I do to Herolab (Classic) stat blocks includes

remove the "creature description", if it is present
remove the line of dashes before the creature's name
remove the "line of dashes" after Special Abilities
remove the herolab Trademarks lines (last 2 at the bottom)

When i do this, I get enough of the stat block imported that I can at least work with it in Foundry

In addition to the above changes, I also have to delete line breaks in the attacks.  For example
Melee +1 heavy shield bash +23 (1d8+7) or
+2 khopesh +23/+18/+13 (1d8+15/17-20) or
slam +15 (1d8+4)

will not work, but
Melee +1 heavy shield bash +23 (1d8+7) or   +2 khopesh +23/+18/+13 (1d8+15/17-20) or   slam +15 (1d8+4)

will.

I'm so glad to see others using Hero Lab stat blocks.  This is the best way to use this module because it's the only way to get consistent stat blocks in a predictable format.
I helped test Hero Lab stat blocks 2 years ago.  With all the changes to FVTT and the PF1e game system, there's new breakages.

I can't use FVTT without an importer for NPCs -- too much work.  Hopefully, these issues will eventually be addressed, but until then MapTool offers a good alternative (or you could try another FVTT game system).
I'm currently using MapTool with a framework (game system) I created for PF1e.  Currently, it works best with MapTool 1.10.4 due to issues in subsequent MapTool releases (hopefully to be fixed soon in 1.12.0).
You can my framework at:
https://github.com/adventuremagic123/PF1e-And-3.5-Framework-For-MapTool
I've used it with Hero Lab to build up my private library of thousands of NPCs and it's stable -- meaning it works with all my subsequent framework releases because I use the command software design pattern.
You can get MapTool from:
https://github.com/RPTools/maptool/releases/tag/1.10.4
Click "Assets" and download MapTool 1.10.4 from there.
I strongly recommend the Elevation Library because it will allow you to do your maps in 3D on MapTool, but it's an advanced topic where you should read about token libraries first:
https://github.com/melek/lib_elevation
FVTT is a really great virtual tabletop but it is still changing rapidly and it's hard (at least for me) to keep everything working because they apparently can't use S.O.L.I.D. techniques and I don't fault them for that.  Probably would be too heavy weight for FVTT to make progress.

@adventuremagic123
I'll definitely have to check out the process and tools you're using. But I do have to say that migrating away from MT to FVTT made the whole experience of running PFRPG 1E simpler for me, and far less frustrating for my players.
The compatibility and performance issues I experienced with MT made it difficult to keep up with the release cadence (v0.6 through v0.8x)
FVTT is still changing quickly, but the community is keeping up well.
@Lavaeolous I'm about to prep another Pathfinder AP (jade Regent book 2l,  so I'll make a point to document which challenges I have with importing statblocks.
I have found that using the community built stat block libraries are super helpful for the paizo APs, but I still struggle with non-paizo imports.

No, I agree.  The community is doing a great job with keeping up with the changes.  Some modules, such as this one, are far more challenging to develop.


Enable linux-yocto-6.10 support

cc @ricardosalveti @quic-vkraleti

Closing, we should be switching to 6.12 instead. 6.10 is gone from OE-Core


refactor: phase out ether genesis in primitives

Fixes #2293

@mattsse We can't remove ethers-core::utils::Genesis from the codebase entirely because there are some places where ethers-core::utils is being used, which internally uses ethers-core::utils::Genesis, so for that, I have implemented the From trait for reth_primitives::Genesis for conversions.

Thanks for picking this up!
I think what we want here is the reduce reliance on ethers_core::utils::Genesis across the codebase, ideally so we can use types from primitives to deserialize a geth genesis.json for example. So creating some tests showing we can still deserialize a geth-formatted genesis.json would be ideal. ethers should have some example genesis.jsons in tests if there aren't already test vectors in primitives!

@i-m-aditya any update on this?
I really don't to try to get this over the line, this has been open for a while now

@Rjected what's missing here?

@Rjected what's missing here?

We should move the ser/deser tests from the ethers Genesis here, since we need to be compatible with the geth genesis.json, and it is surprisingly hard to hit all of the cases:
https://github.com/gakonst/ethers-rs/blob/97f891fc321e68164a4bd0a6c422be33c3482864/ethers-core/src/utils/genesis.rs#L353-L361
Other than that, this does reduce reliance on the ethers Genesis type, although we still borrow the ethers ChainConfig / GenesisAccount (this is probably fine).

@Rjected this has been open for a while now,
should we close?
I'm not exactly sure what changes this still requires.

this has been open for way too long...
I finally completed this, ptal @Rjected


Branch-2.0 Add tvf regression tests

Proposed changes
Issue Number: close #xxx
master pr:  #26322 and #26455

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run p0


APEXCORE-518 - Update codestyle-config project pom.xml

@tweise Please pull in after #367

@tweise Thomas, what do you think about tagging this commit with codestyle-config-1.1.0 tag?


more fast src\shared\utils.js "isPrimitive(value)"

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[x] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

We need a benchmark to show the change brings actual benefits.

Quick jsperf benchmark shows that this new version is actually 10 times slower 😕
https://jsperf.com/compare-isprimitive-performance/1

No way creating an object, looking up a value within that object, and then discarding that object is better than the current implementation after JIT compilation.

Thanks for your contribution but I’m closing this PR. See the comments from @sylvainpolletvillard and @sirlancelot.


allow to specify llm config like max output token limit and temperature via main.py cli

each 3P vendor has different model parameters. their corresponding default value is model specific.
we want to be able to pass temperature and max temperature via cli so that we can write an optimizer to pick the best set of parameters

You can set llm parameters, including temperature and max_output_tokens, in config.toml. Something like this works:
...
[gpt-name-it-as-you-like]
model="GPT-4o"
api_key=...
temperature=0
max_output_tokens=4096
...
[claude]
model="Claude-opus..."
api_key=...
temperature=0
max_output_tokens=2048
...

The section names here are user-defined. Then when running main.py, use the respective section name with -l or --llm-config, e.g. main.py --llm-config=claude ...
Note that all attributes of LLMConfig class from opendevin.core.config.py can be set in custom llm configs this way, but the agents are able to override them. Currently most agents don't override anything as far as I know, except CodeAct and CodeActSWE on temperature: they always call the API with temperature=0.

your suggestion means extra step of creating a config file
On Wednesday, June 19, 2024 at 04:42:25 PM PDT, Engel Nyst @.***> wrote:
You can set llm parameters, including temperature and max_output_tokens, in config.toml. Something like this works:
...
[gpt-name-it-as-you-like]
model="GPT-4o"
api_key=...
temperature=0
max_output_tokens=4096
...
[claude]
model="Claude-opus..."
api_key=...
temperature=0
max_output_tokens=2048
...
The section names here are user-defined. Then when running main.py, use the respective section name with -l or --llm-config, e.g. main.py --llm-config=claude ...
Note that all attributes of LLMConfig class from opendevin.core.config.py can be set in custom llm configs this way, but the agents are able to override them. Currently most agents don't override anything as far as I know, except CodeAct and CodeActSWE on temperature: they always call the API with temperature=0.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

each 3P vendor has different model parameters. their corresponding default value is model specific.
we want to be able to pass temperature and max temperature via cli so that we can write an optimizer to pick the best set of parameters

I think the litellm documentation for Docker can help your requirements with some examples how to pass environment variables with the docker command line into the sandbox via the "-e" option:
https://litellm.vercel.app/docs/proxy/deploy
https://litellm.vercel.app/docs/proxy/cli

Alternatively, you can use the env vars version of the config.toml variables. The env vars are uppercase, and if they're part of LLM config, then they have the prefix LLM_. So LLM_TEMPERATURE, LLM_MAX_OUTPUT_TOKENS, etc.

Looks like this can be closed as you can pass in these configs already, correct @enyst?

Yes, I think we can pass these already, either in env or config file. @josephykwang please feel free to re-open if it still doesn't address your intended use.


Tree prunning end... messages in Python Windows

I don't know if it is a Python or Windows wrapper only thing, but here is my problem:
Every boosting round, I get a message like: tree prunning end, 1 roots, 6 extra nodes, 0 pruned nodes ,max_depth=2 These messages clutter up my terminal and run wild through my evaluation metric printouts. (It also bugs me that the , before max_depth is in the wrong place ;)
I know where it comes from. When using xgb.train(), every boosting round the train function calls bst.update(dtrain, i, obj) and the update function calls _check_call(_LIB.XGBoosterUpdateOneIter(self.handle, iteration, dtrain.handle)) which generates these nice messages.
The message is created in src/tree/updater_prune-inl.hpp if silent == 0, but I have no idea how to set silent from Python / Windows. Anyone any idea?

Specifying silent=1 via params should work.
params={'objective': 'multi:softprob', 'silent': 1}
bst = xgb.train(params, dm)

@sinhrks Thanks man! Sorry for that.


Cleanup output

Downgraded several info messages to debug to remove spam.
Added timings for each type of check
Added a summary line printed at the end (except if the log level is Off) to show the success or failure of each check that was Requesting
Added a -s|--show-stats flag to the check subcommand that will display the number of errors, warnings, and info/notes/debug helps for each check. Printed regardless of the log-level.

Resolves: https://github.com/EmbarkStudios/cargo-deny-action/issues/17

Brief:

Detailed:


Content and form page style refactor with utrecht components

Covered items in two pages: Content and Formulieren.
The styles have been split out into mixins.

Added breadcrumb component to this PR. Probably should have been separate PR.


whitelistgenerator-maven-plugin needs to be updated to look at the correct xpath for the banned dependency includes

The allowlist report has been broken since mid-April and it initially thought that the pom restructuring was the cause but that's not the case. The original PR for the maven-enforcer-plugin had everything overriding the execution that was defined in pom.client.xml which required every pom file to have duplicate configuration. This was refactored as part of this PR and this is when the allowlist report was actually broken.
The whitelistgenerator-maven-plugin is only searching for banned dependencies with a particular xpath which is defined as
/project/build/plugins/plugin/executions/execution/configuration/rules/bannedDependencies/includes/include
When the refactoring was done this changed the xpath to the bannedDependencies to
/project/build/plugins/plugin/configuration/rules/bannedDependencies/includes/include
This should probably be fixed at the same time the plugin is renamed.
Also, on the same note the client parent pom's configuration for the plugin should probably be changing baseDir configuration entry from
<baseDir>.</baseDir>
to
<baseDir>${project.basedir}</baseDir>

I've fixed the XPath expression and renamed the output from whitelist to allowList. At this stage I'm not going to rename the library itself so I'm marking this as resolved. Upgrading to 1.0.2 of the library, and updating the report html to use 'fullAllowList' and 'allowList' instead of the existing code should get this working again.

@JonathanGiles, are you planning on updating the external dependency so the build system picks up this new version?


Release Google.Cloud.Tools.DocUploader version 0.2.1

(No code changes; just a release build fix.)

Created release for Google.Cloud.Tools.DocUploader-0.2.1


[R-243] docs: Add documentation on the best approach to define custom metrics.

[X] I checked the documentation and related resources and couldn't find an answer to my question.
I was exploring the possibility to create custom metrics.
It seems that it is possible, by subclassing either Metric, MetricWithLLM or MetricWithEmbeddings.
For example I created a dummy example computing the answer length:
Note that I don't need this specific metric, I used it to have a simple example.
import typing as t
from datasets import Dataset
from ragas import evaluate
from ragas.metrics.base import Metric, EvaluationMode
from langchain_core.callbacks import Callbacks
from ragas.run_config import RunConfig

class AnswerLength(Metric):
    """Simple example of a custom metric. Returning the answer length."""
    name: str = "answer_length"
    evaluation_mode: EvaluationMode = EvaluationMode.qa

    async def _ascore(
        self: t.Self, row: t.Dict, callbacks: Callbacks, is_async: bool
    ) -> float:
        return len(row["answer"])
    def init(self, run_config: RunConfig):
        """do nothing"""

answer_length = AnswerLength()

data_samples = {
    'question': ['When was the first super bowl?', 'Who won the most super bowls?'],
    'answer': ['The first superbowl was held on Jan 15, 1967', 'The most super bowls have been won by The New England Patriots'],
}

dataset = Dataset.from_dict(data_samples)
score = evaluate(dataset, metrics=[answer_length])
score.to_pandas()

My questions are:

Do you recommend creating custom metrics with ragas? Or is it preferable to exclusively rely on the pre-existing metrics offered by Ragas?
If yes, is the approach described above correct?

I am not sure if the possibility of creating custom metrics is an intended feature or not. I want to make sure that my custom metric implementations do not break when ragas evolves. I am interested in knowing the vision about supporting and documenting the possibility of having custom metrics in the future.
R-243

hey @ouphi thanks for brining this up.
you current take is correct, we'll be adding more documentation for making this easier too down the line but gist is
implement _ascore and init and rest should be fine.
Out of curiosity, what were the models you were planning to add?

How can I add a custom prompt and then evaluate ?

you could try out Aspect Critique | Ragas
the prompts there are very extendable


Way to `teach' NSGA-II with previous data?

inspyred version: 1.0
Python version: 3.7.3
Operating System: MAC OS

Description
I am using Inspyred to run NSGA-II to do multiobjective optimization on a very computationally heavy problem. While running, my cluster crashed and I lost that run. I have 40 populations (samples and results), but it seems like I have to start all over again. Is there a way to 'feed' previously generated data into NSGA-II so that it starts off with that knowledge?
Thanks for the great tool!

Yes. You can pass a list of candidates as seeds into the evolve method. For
instance, suppose you had two candidates that you wanted to start from: [0,
8, 6, 7] and [5, 3, 0, 9].
Then you could make a call like this to evolve:
myec.evolve(generator=mygen, evaluator=myeval, pop_size=100, seeds=[[0, 8,
6, 7], [5, 3, 0, 9]])
Obviously, if you have lots of stuff, you'd prefer to read them from a file
and build that list programmatically. Also, make sure your pop_size is at
least as large as your number of seed candidates.
--
Aaron Garrett
On Mon, Aug 12, 2019 at 1:50 PM Jin Whan Bae<EMAIL_ADDRESS>wrote:

inspyred version: 1.0
Python version: 3.7.3
Operating System: MAC OS

Description
I am using Inspyred to run NSGA-II to do multiobjective optimization on a
very computationally heavy problem. While running, my cluster crashed and I
lost that run. I have 40 populations (samples and results), but it seems
like I have to start all over again. Is there a way to 'feed' previously
generated data into NSGA-II so that it starts off with that knowledge?
Thanks for the great tool!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aarongarrett/inspyred/issues/18?email_source=notifications&email_token=AALRPXMO6QGWMJG3OZJPAADQEGPGJA5CNFSM4ILDRKJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HEYXJLA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALRPXL7XNMS7PA2FROSUU3QEGPGJANCNFSM4ILDRKJQ
.

thanks for the very quick reply. Is it possible to maybe give them the 'solutions' as well?
For example, if I am optimizing a multiobjective function with 4 inputs and 2 outputs, can I input 10 sets of 4 inputs and 2 outputs so that the NSGA-II starts with those datasets 'in mind'?

So you also want to give it the fitness values? That's not as simple to do.
We'd have to write some custom code for that. Or maybe you could load a
memoized wrapper with the fitness values for your seed candidates so that
the evaluator wouldn't really have to run on those...
--
Aaron Garrett
On Mon, Aug 12, 2019 at 2:41 PM Jin Whan Bae<EMAIL_ADDRESS>wrote:

thanks for the very quick reply. Is it possible to maybe give them the
'solutions' as well?
For example, if I am optimizing a multiobjective function with 4 inputs
and 2 outputs, can I input 10 sets of 4 inputs and 2 outputs so that the
NSGA-II starts with those datasets 'in mind'?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aarongarrett/inspyred/issues/18?email_source=notifications&email_token=AALRPXMR5IAMMYHGDQAFDHDQEGVEDA5CNFSM4ILDRKJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DOOFY#issuecomment-520546071,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALRPXPTO72MUIVTHAWFWALQEGVEDANCNFSM4ILDRKJQ
.

I see, so the best way would be to give them my best candidates for the first generation?

Well, we could figure out a way to get the fitness values loaded, but it
would take some coding. I guess it depends on how long your evaluations
take. If they only take 30 minutes total to re-evaluate, then that would be
far faster than working out a programmatic solution to your problem.
--
Aaron Garrett
On Mon, Aug 12, 2019 at 2:45 PM Jin Whan Bae<EMAIL_ADDRESS>wrote:

I see, so the best way would be to give them my best candidates for the
first generation?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aarongarrett/inspyred/issues/18?email_source=notifications&email_token=AALRPXO3W7OAH7SOTKHE5I3QEGVTBA5CNFSM4ILDRKJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DOY7Q#issuecomment-520547454,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALRPXNURRYGQVALDGQLEDLQEGVTBANCNFSM4ILDRKJQ
.

My evaluations take a couple of hours per single evaluation. But I wouldn't want to trouble you with coming up with a new developments.. I bet my use case is quite rare..?

 If so, send it to
<EMAIL_ADDRESS>--
Aaron Garrett
On Mon, Aug 12, 2019 at 2:53 PM Jin Whan Bae<EMAIL_ADDRESS>wrote:

My evaluations take a couple of hours per single evaluation. But I
wouldn't want to trouble you with coming up with a new developments.. I bet
my use case is quite rare..?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aarongarrett/inspyred/issues/18?email_source=notifications&email_token=AALRPXLY743GXQHOCB76XJ3QEGWUBA5CNFSM4ILDRKJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DPSOQ#issuecomment-520550714,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALRPXMIJMHZEC537ID6UGTQEGWUBANCNFSM4ILDRKJQ
.

I'm afraid not, it's not quite for public release. I'm sorry

Also, can you tell me what's the best way to cite your software? thanks

Sure. This is what others have done:
https://groups.google.com/d/msg/inspyred/K43UQsCLitM/7ltTXyDbAQAJ
--
Aaron Garrett
On Mon, Aug 12, 2019 at 3:05 PM Jin Whan Bae<EMAIL_ADDRESS>wrote:

Also, can you tell me what's the best way to cite your software? thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aarongarrett/inspyred/issues/18?email_source=notifications&email_token=AALRPXM63AUTJAJRGT2SIW3QEGX7TA5CNFSM4ILDRKJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DQSQI#issuecomment-520554817,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALRPXKRLYI6NLFYCWLSLJLQEGX7TANCNFSM4ILDRKJQ
.