Suggest using allocation size of 64k

Changing allocation size from 16 to 32 or 64 made Luma3DS boot on 2.1.0, but 16 didn't. A suggestion would be to tell users to format their SD to FAT32(32k/64k) with something like GUI Format before doing this guide. I encountered the issue and others in the Discord chat have as well.

This is on the home page.

32k preferably, as people have repeatably reported issues of VC titles being affected by having the SD card formatted with 64k clusters


PR: Avoid crashes at startup due to faulty/outdated external plugins

Description of Changes

Before we were loading external plugins in a try/except that caught only a handful of errors.
Now we catch any exception, which is more robust.

Issue(s) Resolved
I think this is important after seeing what was reported on issue #22419.
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @ccordoba12

@meeseeksdev please backport to 6.x


add --nogen option to run tests on pregenerated code

This adds a --nogen option to the pytest command that lets you run tests on the pregenerated model code.  So you can:

run python -m ome_autogen to generate the model
muck about manually with the generated model at src/ome_types/model
run pytest with pytest --nogen to test against your manually edited code.

... use pytest --nogen --runxfail to see errors on skipped files
... use (e.g.)  pytest --nogen --runxfail -k spim to test a single xml

Codecov Report

Merging #14 into master will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
+ Coverage   95.20%   95.22%   +0.02%
==========================================
  Files           1        1
  Lines         396      398       +2
==========================================
+ Hits          377      379       +2
  Misses         19       19

Impacted Files
Coverage Δ

src/ome_autogen.py
95.22% <100.00%> (+0.02%)
:arrow_up:

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 8916752...d75f338. Read the comment docs.


no libuWS.so file found after sudo make install

So, the topic is my problem itself. After "building" the latest release of the library (from master), there was no libuWS.so file (or another file I'm able to use for dynamical linking) anywhere. I didn't found any instructions to compile this lib into a .so file. According to your Makefile, to install the library I only need to copy .h files to the uWebSocket directory in /usr/local/include. However, when I try to compile my project:
g++ main.cpp -o main -std=c++17 -lz -lssl -luv -lcrypto

I have a lot of error messges like:
/usr/bin/ld: main.cpp:(.text._ZN3uWS9WebSocketILb0ELb1E8UserDataE3endEiSt17basic_string_viewIcSt11char_traitsIcEE[_ZN3uWS9WebSocketILb0ELb1E8UserDataE3endEiSt17basic_string_viewIcSt11char_traitsIcEE]+0x18f): undefined reference to `us_socket_context_ext'

To my mind, that means I do need the dynamical linking files to make it works.
If this information will help, I use Manjaro Linux x86_64 and I tried to run the code example from the main page.

libuWS hasn't been built since v0.14 some three years ago.
You need to link to uSockets.a

Oh, thank you very much! That is the solution of my problem! But may you provide some info about building and linking the project in your main page, or somewhere else? It's not obvious, to my mind.

The readmore page says this https://github.com/uNetworking/uWebSockets/blob/master/misc/READMORE.md#compiling

Then, I've read this inattentive! Thank you very much for you response!


Lost my shulker box containing all my poke balls

IGN: Zack_Powers_07 Server: Titan
I used the /back command when I was inside a gym but it put me back at my spawn bed but my friend TheAzureKnight saw my shulker box on the ground where I was last standing before I tped to gym but when he picked it up, it disappeared and now I lost all of my pokeballs. Unfortunately, Me nor my friend did not have medal on so I do not have any video proof to show but I'm hoping there is some kind of log or way to check my inventory in the past. If this is not refundable/restorable I understand since I did not have any clipping application on so there is no way to prove this event ever happened. If there is more info that I need to share the fastest way to get my attention is to ping/dm my Zack Powers 07#7312

Resolved.


Issues with guzzle when tmp size is limited

Q
A

Bug?
yes

New Feature?
no

Version
6.x

Actual Behavior
We had a system with a limited size of tmp (was limited to several megabytes actually)
When requests via guzzle were performed and response body size was bigger then that limit, issue occurred.
If StreamHandler was used then response was just cut with no exception or error indication.
If CurlHandler was used then we received cUrl error 23: Failed writing body (x != y).
Since we didn't know that we had a limited size of tmp it actually took several hours to debug it.
The issue is caused by CURLOPT_HEADERFUNCTION that handles the response. One thing that is also confusing, that I haven't found any documentation of how guzzle works with CURLOPT_HEADERFUNCTION, I had to debug guzzle code to figure that out. Another confusing thing was that simple curl_exec worked fine with the same conditions, since it did not use CURLOPT_HEADERFUNCTION and php://temp to capture the response.
Expected Behavior
In case if StreamHandler is used, exception should be raised.
In case if CurlHandler is used then maybe it's better raise more informative exceptions, rather then the standard one that we get from curl.
Steps to Reproduce
Well, basically problem is described above, I guess it could be reproduced with creation of small-sized tmp partion or something like that, can't say for sure how to reproduce it on a typical system. Unfortunately I can't reproduce it at the moment by myself, since the issue was observed on a remote server with a complex configuration and I don't currently have access to that server.
Possible Solutions
What I'd like to see as a solution is more verbose exceptions (especially for the StreamHandler case where were no exception at all) and more detailed documentation on how guzzle request handling is different from curl_exec.
I understand that this issue is a pretty rare thing, so if it's not worth fixing then at least I hope that this bug report will help someone who eventually face the same issue, so please at least do not remove it.

Thanks for reporting the issue. We already had some issues reported related to tmp where Guzzle writes it's streams to.
I will try to review this part of the code, and see if we have any other options when such limitation is applied to temp, but can't guarantee it's priority right now.

Agreed that the error messaging could be improved here.
To help with your immediate problem, an alternative to using temp streams is to use a memory stream (by setting the sink of the request).

Could this be related to #1871?


[CARBONDATA-1330] Not able to drop temporary table but if carbon session is not enabled it is success

[CARBONDATA-1330] Not able to drop temporary table but if carbon session is not enabled it is success
Module Name : ACL
Modification reason: Not able to drop temporary table but if carbon session is not enabled it is success
Test cases are added for all DDL scenarios.

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

SDV Build Failed with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/318/

SDV Build Failed with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/320/

SDV Build Success with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/324/

retest this please

SDV Build Success with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/329/

retest this please

SDV Build Success with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/341/

SDV Build Success with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/345/

SDV Build Failed with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/350/

SDV Build Success with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/353/

retest this please

SDV Build Success with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/359/

retest this please

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/497/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/500/

retest this please

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/506/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/520/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/524/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/525/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/526/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/558/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/19/

@PannerselvamVelmyl Please rebase the code

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1202/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/571/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4320/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3998/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5208/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7144/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5920/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/71/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/8820/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/575/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/2023/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2200/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/10275/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/96/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/95/

Build Failed  with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/93/

Can one of the admins verify this patch?


Google Actions missed query, sync or exec intermittently

We encountered Google Actions missed intermittently and the situation is getting worse.
Google cloud logging tell us it was "OPEN_OAUTH_FAILURE" problem, but we checked fulfillment API server log, event we captured web-server access log, there was no request from google actions.
{
insertId:  "102wppjfn4cd2p"
logName:  "projects/airstream-smart-home/logs/actions.googleapis.com%2Factions"
receiveTimestamp:  "2019-05-09T08:26:51.467748381Z"
resource: {
labels: {
action_id:  "SMART_HOME_QUERY"
project_id:  "airstream-smart-home"
version_id:  ""
}
type:  "assistant_action"
}
severity:  "ERROR"
textPayload:  "requestId<PHONE_NUMBER>9289603846 failed with code: OPEN_AUTH_FAILURE"
timestamp:  "2019-05-09T08:26:51.438635267Z"
}
Since sometimes we can get the request, sometimes we can't. We suspect that was something like routing or DNS problem to our fulfillment URL, but we don't have any evidence. @Fleker Nick, would you help us to check the internal log please?  Thanks.

BTW, our fulfillment of report state to Google Home Graph is working fine.


Introduce --spec argument for Jenkins source

This change instroduces the --spec argument for the Jenkins source,
which will print the full Openstack specification for a job. It
also adds support for filtering using the --container, --packages
and --services arguments. With this change, informations about
containers, packages and services will only be queries if the respective
arguments are used, givent that it takes significantly longer that other
deployment details.

I agree with points 1 and 3, we should get to that in the future. About 2, that is a bug in the orchestrator that I found last week I already have a ticket opened and plan to get to it today. Thanks for bringing it up.


Pod installation issue

I'm facing this issue when I try to update or install pod
**[!] CocoaPods could not find compatible versions for pod "SKActivityIndicatorView":
In Podfile:
SKActivityIndicatorView (~> 1.0.0)
None of your spec sources contain a spec satisfying the dependency: SKActivityIndicatorView (~> 1.0.0).
You have either:

out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
mistyped the name or version.
not added the source repo that hosts the Podspec to your Podfile.**

@aliwaseem72 first you have to do pod repo update which will update pod spec references in your ~/.cocoapods/repos folder.
then try again install pod.

I tried it but issue is still same. I update the class of SKActivityIndicator manually.

Can you please send me your pod file ?

**# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'iQSRDigital' do
Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
Pods for iQSRDigital
pod 'Alamofire', '~> 4.7'
pod 'SKActivityIndicatorView', '~> 1.0.0'
pod 'IQKeyboardManagerSwift'
pod 'SkyFloatingLabelTextField', '~> 3.0'
end**
This the code of my whole pod file. Anything required.
I had been update it manually, to add your code. But need to fix it via pod.

Can U suggest that how I can resolve it?

Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Users/usmanshafi/Documents/Projects/RedittApp/Pods/SKActivityIndicatorView/SKActivityIndicatorView/Classes/SKActivityIndicatorView.swift, line 145
this issue appeared at
if activityIndicatorView?.superview == nil && userInteractionStatus == false {
backgroundView = UIView(frame: window!.frame)
backgroundView!.backgroundColor = backgroundViewColor

Could you please send more details:
The version of Xcode you're using.
The version of iOS you're targeting.
The full output of any stack trace or compiler error.
A code snippet that reproduces the described behavior, if possible.

Xcode version 11.3.1
iOS targeted version 13.0
this is the error on run time
2020-05-09 15:54:21.695135+0500 RedittApp[1466:68416] Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Users/usmanshafi/Documents/Projects/RedittApp/Pods/SKActivityIndicatorView/SKActivityIndicatorView/Classes/SKActivityIndicatorView.swift, line 128
Screenshot is attached now.
In my old project I use the ** var window: UIWindow?** in app delegate its work, but now in new project its not working. Now I install this version pod 'SKActivityIndicatorView', '~> 1.0.0' but in previous I was using pod 'SKActivityIndicatorView', '~> 0.1.0'

I tried with the same information you have provided above, here its working fine. I'm not able to reproduce the error. it would be helpful if you can send me a code demo that can produce the same error.

Please share your email I'll send you the demo project.

RedittApp.zip
Please use it, I'm using your library in Api Manager class. you can trace it from ViewController. I call the getAuthToken() in viewController, you can trace through it.

Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Users/usmanshafi/Documents/Projects/RedittApp/Pods/SKActivityIndicatorView/SKActivityIndicatorView/Classes/SKActivityIndicatorView.swift, line 145
this issue appeared at
if activityIndicatorView?.superview == nil && userInteractionStatus == false {
backgroundView = UIView(frame: window!.frame)
backgroundView!.backgroundColor = backgroundViewColor

Same issue here.
So to get around this for now, I've limited pod to older working commit:
pod 'SKActivityIndicatorView' , :git => 'https://github.com/SachK13/SKActivityIndicatorView.git', :commit => 'd0357c8'

same error aliwaseem,
Xcode 11.1
target 13.0
how to solve??

same error aliwaseem,
Xcode 11.1
target 13.0
how to solve??
can u send SKActivityIndicator.swift
and SKActivityIndicatorStyle.swift
both pod files.

Still I'm suffering with this issue. Here I upload a demo project. You can replace the class in which you're getting error with the code committed on git. I try it in another project, but its target was iOS 12. But in iOS 13 issue is still here.
SachK13 please can you check this issue in my demo project???

Please update the code like below
SKActivityIndicatorView.swift
if activityIndicatorView?.superview == nil && userInteractionStatus == false {
    if window != nil {
        backgroundView = UIView(frame: window!.frame)
        backgroundView!.backgroundColor = backgroundViewColor
        window!.addSubview(backgroundView!)
        backgroundView?.addSubview(activityIndicatorView!)
    }
} else {
    window?.addSubview(activityIndicatorView!)
}


Removing or rewording of the important note around node usage

I would like to have a conversation around the "Important Note" that can be seen on the "Using Node.js at GDS" page.
We currently don't have a Deputy Director Technology Operations at GDS to consult around this issue, and if we did would this person be the correct person to consult with and make this decision? Should this paragraph be reworded so that a decision is made from a key group of individuals using the new GDS Way Forum strategy that has recently been proposed? Or should the paragraph now be removed completely?
Node is already being used internally, and it is a language area that has a huge supporter base that has matured greatly in the past few years. I'm concerned that this paragraph will immediately halt any consideration for using Node in projects, even when it could be the perfect technology to use.

I think the appropriate group to make a decision on this will be the proposed (today) "Programme technical leads" group.  I'm working today and tomorrow on getting the initial set up and membership of that group defined, at which point we should discuss changing the GDS Way definition accordingly.
I'm personally keen that we review our strategy around Node.js soon.

Some more context -
https://gds-way.cloudapps.digital/standards/programming-languages.html#languages-in-use-in-specific-contexts
“No new projects should use Node.js without prior consultation ”
“Node.js can be used to render a web interface for your service but should not be used to implement any significant ‘application logic’”
“Node.js is now frequently used in the wider software development ecosystem for building web application frontends.”
😖

Moved to Trello, closing.


Default Cluster Dashboard for Backstage Integration

Motivation
In backstage we want to link from the list of clusters to the interesting observability insights of that cluster - for this it's worth to think about what dashboard we want to link to from the cluster overview in backstage to land on a meaningful place in Grafana.
Todo

[x] Investigate which dashboards we already have in Grafana for cluster overviews
[ ] Investigate what a good dashboard for a cluster overview would be

[ ] Ask the internet
[ ] Ask KaaS

[ ] Create a dashboard if needed with the required info
[ ] Plan with Honeybadger how to link to that dashboard from backstage

selecting the cluster via URI parameter from cluster variable maybe?

Outcome

We have a nice integration from the cluster overview in the portal to the observability platform

Here's a list of nice dashboards and metrics we already have around the cluster overview:
From our already existing Dashboards:

https://grafana.grizzly.gaws.gigantic.io/d/sB2wuKu4z/capi-overview?orgId=1&from=now-3h&to=now&var-datasource=default&var-cluster_name=$__all

Amount of Clusters and Cluster where state not ready
Number of Nodes

https://grafana.grizzly.gaws.gigantic.io/d/k8s-apiserver/kubernetes-api-server?orgId=1&from=now-1h&to=now&timezone=UTC&var-datasource=default&var-cluster=grizzly&var-instance=$__all&refresh=1m

API Server Availability SLO

https://grafana.grizzly.gaws.gigantic.io/d/qMN01qkWz/nodes-overview?orgId=1&from=now-15m&to=now&timezone=UTC&var-datasource=default&var-organization=giantswarm&var-cluster=grizzly&refresh=1m

Amount of Nodes and more details around nodes

https://grafana.grizzly.gaws.gigantic.io/d/efa86fd1d0c121a26444b636a3f509a8/kubernetes-compute-resources-cluster?orgId=1&from=now-1h&to=now&timezone=UTC&var-datasource=default&var-cluster=grizzly&refresh=1m

Compute Resource usage in cluster (with nice headlines)

https://grafana.grizzly.gaws.gigantic.io/d/ff635a025bcfea7bc3dd4f508990a3e9/kubernetes-networking-cluster?var-resolution=5m&var-interval=4h&orgId=1&from=now-1h&to=now&timezone=UTC&var-datasource=default&var-cluster=grizzly&refresh=1m

Network information about Cluster

https://grafana.grizzly.gaws.gigantic.io/d/HuYOZ89mk/management-cluster-overview?orgId=1&from=now-6h&to=now&timezone=UTC&var-datasource=default&var-Applications=label_app|!%3D|vault-exporter&var-Applications=label_app|!%3D|node-exporter&var-Applications=label_app|!%3D|kube-state-metrics

Number of applications
Pods deployed per app
CPU and Memory Requested, Limits and Allocatable
Memory Utilisation per app
Throttled CPU per container


DROOLS-858 NoSuchMethodError on JIT Compilation of non-primitive comparison

DROOLS-858 NoSuchMethodError on JIT Compilation of non-primitive

Testcase & Fix

Can one of the admins verify this patch?

There was still a bug in the fix implementation, new pull request will come shortly.


H7: support LSE, LSI, LSEBYP, and RTCCLKSEL

I've currently only implemented the changes for the STM32H7, though other series certainly support some of these.

bender run

So, looking way too closely at the LSEDRV register differences (based on the stm32-data repo, I'm not searching 1000 RMs and Errata) we have:
C0, G0, G4, L0, L4

Low=0
MediumLow=1
MediumHigh=2
High=3

F0, F3v2, F3, F7

Low=0
MediumLow=2
MediumHigh=1
High=3

H5, H7, H7AB, H50

Lowest=0
MediumLow=1
MediumHigh=2
Highest=3

H7_RM0433

Lowest=0
MediumLow=2
MediumHigh=1
Highest=3

L5

Lower=0
MediumLow=1
MediumHigh=2
Higher=3

U5, WBA

LOW=0
MEDIUM_LOW=1
MEDIUM_HIGH=2
HIGH=3

So there are a few families which have the swapped mediums thing, but otherwise the name differences are just cosmetic.

Draft: waiting on https://github.com/embassy-rs/stm32-data/pull/272

bender run

can you update the metapac version in the two locations in cargo.toml and get the ci to pass? you don't need to use bender run, I just used it because the ci had an issue for some reason. you can amend commits to re-run the ci (but if you had a failure, you should address the issues first).

Thanks for the PR. Looks great.
Could you enable the RTC test for H7? Add chrono here, then check it builds and passes.

@Dirbaio I don't have my nucleo board with me, but I can probably run it next week.

Thanks for the review @xoviat, the end result is much better because of it!


Governance and code of conduct docs as markdown docs

What type of PR is this?
/kind cleanup
/kind documentation
What this PR does / why we need it:
For bettering rendering of the documents by the GitHub UI.
Which issue(s) this PR fixes:
NONE
Special notes for your reviewer:
This PR also introduces little improvements.
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 27bdaf316f1a2cf483319e3656b7b53d6fc6cd4d


Make Error.Error() return the post-arg-substitution Message

Missed this during the removal of the args property
ping @stevvooe
Signed-off-by: Doug Davis<EMAIL_ADDRESS>

LGTM

@duglin Rebase this to master to get the CI fix.

ok rebased and added a test for this case.

@stevvooe ok CI is happy


Extracting CFG for the whole program

I'd like to extract the Control Flow Graph for the entire program and store the nodes, edges and related assembly code for each node in a file. Which parts of the API are relevant for this task?

I'm not a Ghidra developer or affiliated with the NSA, but I've written some code to generate control flow graphs as part of my program analysis library. I haven't pushed the latest code to the repo yet; I plan on publishing it in the very near future (ideally by the end of the week).
In the meantime, check out the documentation for the following:

Instruction.getFlowType()
Instruction.getFlows()
FlowType.isConditional()
FlowType.isUnConditional()
FlowType.isComputed()
FlowType.hasFallthrough()
Instruction.getFallThrough()

The comments in #289 may be of use, as well.  TLDR:  there's a script in the main repo called GraphAST that gives you a per-function CFG and some scripts in https://github.com/d-millar/ghidra_pcode_scripts for dumping other pcode data that should help with stitching functions together.  Not a canned solution admittedly, but...

You can also use the block models, specifically the SimpleBlockModel.
SimpleBlockModel model = new SimpleBlockModel(program)

Then iterate over all the blocks using
model.getBlocks(monitor)

or using the blocks and their destination references.
You can then extract the instructions from the blocks using:
program.getListing().getInstructions(block,true)

It all depends on what type of information (you mention instructions) you want in your CFG, and if you want the CFG in pcode form and simplified by the decompiler as in the method suggested by @d-millar.


Feature Request: Expose test case timeout on TestCase object during discovery

Description
When discovering test cases we would like to have access to any [Timeout(..)] attribute information specified by the test case author. If none is specified we would like to have the default timeout which the vstest.console.exe will use when it runs. Without this information we do not know how long our test harness should wait between messages from the test console.
Steps to reproduce
Discover test cases, examine discoveredTestCases in
public void HandleDiscoveredTests(IEnumerable<TestCase> discoveredTestCases)
or
public void HandleDiscoveryComplete(long totalTests, IEnumerable<TestCase> lastChunk, bool isAborted)
Desired behavior
TimeSpan timeout is included in TestCase properties
Actual behavior
This data is returned:
object LocalExtensionData
Guid Id
string FullyQualifiedName
string DisplayName
Uri ExecutorUri
string Source
string CodeFilePath
int LineNumber
IEnumerable<TestProperty> Properties

Environment
using Microsoft.TestPlatform.15.8.0

Ping on this? This is something that's been impacting us for years and would be a great enhancement ;)

This is a new feature and won't be implemented, we are focusing on adding new features to Testing.Platform instead. https://aka.ms/testingplatform


Create cluster installer script

A Python script that requests Perspective version, desired clouds and then generates docker-compose.yml file according to this information.

See http://github.com/meridor/perspective-installer.

Fixed in https://github.com/meridor/perspective-installer/releases/tag/perspective-installer-1.0.0.


Small fix: Improve error message when not providing provider key through x-embedding-api-key

What this PR does:
Small fix: Improve error message when not providing provider key through x-embedding-api-key
Which issue(s) this PR fixes:
Fixes #1250
Checklist

[ ] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated
[ ] CLA Signed: DataStax CLA

As long as Optional apiKeyOverride is really always needed, makes sense.
But confused about "override" part of the name -- if that's really just the key that is needed, fine, otherwise override would be optional I think.
Also come to think of that... if it's required, why would we use Optional<> at all?
Shouldn't be non-null value?

The name "override" is a legacy term. I've updated it accordingly.
I think changing Optional<String> to String might be too aggressive. All apiKey values come from getEmbeddingApiKey() in DataApiRequestInfo (https://github.com/stargate/data-api/blob/a9cb4360f78a83521d3c02714f9c268cac2a3fec/src/main/java/io/stargate/sgv2/jsonapi/api/request/DataApiRequestInfo.java#L54). Instead of adding a checker in each embedding provider class, we could modify getEmbeddingApiKey() as follows:
  public String getEmbeddingApiKey() {
    if (embeddingApiKey.isEmpty()) {
      throw EMBEDDING_PROVIDER_API_KEY_MISSING.toApiException(
              "header value `%s` is missing in the request.",
              EMBEDDING_AUTHENTICATION_TOKEN_HEADER_NAME);
    }
    return embeddingApiKey.get();
  }

However, I think this change would limit the flexibility of the getEmbeddingApiKey() function, even though it is only used to pass the header value to each embedding provider class.
@tatu-at-datastax WDYT? Adding checker in each class or changing getEmbeddingApiKey()

The name "override" is a legacy term. I've updated it accordingly.
I think changing Optional<String> to String might be too aggressive. All apiKey values come from getEmbeddingApiKey() in DataApiRequestInfo (
https://github.com/stargate/data-api/blob/a9cb4360f78a83521d3c02714f9c268cac2a3fec/src/main/java/io/stargate/sgv2/jsonapi/api/request/DataApiRequestInfo.java#L54
). Instead of adding a checker in each embedding provider class, we could modify getEmbeddingApiKey() as follows:
  public String getEmbeddingApiKey() {
    if (embeddingApiKey.isEmpty()) {
      throw EMBEDDING_PROVIDER_API_KEY_MISSING.toApiException(
              "header value `%s` is missing in the request.",
              EMBEDDING_AUTHENTICATION_TOKEN_HEADER_NAME);
    }
    return embeddingApiKey.get();
  }

However, I think this change would limit the flexibility of the getEmbeddingApiKey() function, even though it is only used to pass the header value to each embedding provider class.
@tatu-at-datastax WDYT? Adding checker in each class or changing getEmbeddingApiKey()

I like centralized validation: but you can split this in 2 -- "plain" getter that simply returns value (letting caller validate), then "getAndValidateEmbeddingApiKey()" that validates and gives error? Second method calls first to get value, then checks validity.


false type-error for a custom type definition

the type definition:
getproto: (f: Function | number | ProtoProxy, index: number?, activated: boolean?) -> { [number]: (() -> any) } | (() -> any) | ProtoProxy,

the type error:

the type error prevention:

is this supposed to be that way?

it looks like a valid error to me, if getproto returns the function (() -> any), it cannot be indexed?

it looks like a valid error to me, if getproto returns the function (() -> any), it cannot be indexed?

getproto either returns a function (() -> any), a table containing functions { [number]: (() -> any) } or a ProtoProxy (which is a custom class, wont go into detail since it has nothing to do with the issue)

Yeah, the point is that it could return either of those 3 things, but Luau doesn't know which one gets returned. If it returned any of the other parts of the union type, then it would lead to a runtime error. So you get a type error here.

it should return a table when Argument 3 is set to true

Luau doesn't know that, you haven't encoded it in your type.
You could use a function overload that checks if the 3rd argument is true and then only return the table type:
type GetProto = ((f: Function | number | ProtoProxy, index: number?, activated: true) -> { [number]: (() -> any) })
    & ((f: Function | number | ProtoProxy, index: number?, activated: boolean?) -> { [number]: (() -> any) } | (() -> any) | ProtoProxy)

In any case, this is not a Luau LSP issue. It is a valid type error. If you have incorrect type errors, I would recommend reporting them to Luau directly - this repository is only a language server implementation.


Fix bug in NucleiDetection.py

This PR fixes a bug related to the use of histomicstk.filters.shape.clog in the NucleiDetection CLI.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #300   +/-   ##
=======================================
  Coverage   44.26%   44.26%
=======================================
  Files           2        2
  Lines          61       61
=======================================
  Hits           27       27
  Misses         34       34

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 1dc72f1...c025d45. Read the comment docs.


Unhandled promise rejection on Windows 10

[Hot Module Replacement] Server listening on /hot
React packager ready.
[10/31/2016, 11:59:32 AM]  Requesting bundle: {"url":"/index.android.bundle?platform=android&dev=true&hot=false&minify=false"}
(node:3864) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Watcher took too long to load (NodeWatcher)

cc @rozele

Haven't seen this one in a while, there used to be a two minute time out for the node watcher to do its work, but I thought that was removed well before node-haste was copied into react-native.

I hadn't updated React in a while, worked after I updated react.


Discrepancy between adata.X and data.exp_matrix when reading loom files using scanpy

I have encountered an issue when converting GEF files to loom files using the generate_loom function. Afterward, when I try to read the loom file into an adata object using scanpy, I noticed a discrepancy between the adata.X attribute and the data.exp_matrix matrix. However, the matrix within the 'matrix' layers of the adata object remains consistent with the original data.

from stereo.tools import generate_loom
bgef_file = '/data/user/mowp/data/stereo-seq/Demo_MouseBrain/SS200000135TL_D1.tissue.gef'
gtf_file = '/data/user/mowp/data/stereo-seq/Demo_RNAVelocity/genes.gtf'
out_dir = '/home/mowp/test/SS200000135TL_D1_bgef/'
# generate loom file
loom_data = generate_loom(
                gef_path=bgef_file,
                gtf_path=gtf_file,
                bin_type='bins',
                bin_size=100,
                out_dir=out_dir
                )

adata_loom = sc.read_loom(loom_data)
data = st.io.read_gef(file_path=bgef_file, bin_size=100)

Comparing the matrix:
(data.exp_matrix == adata_loom.X).A.all()

False
(data.exp_matrix == adata_loom.layers['matrix']).A.all()

True

Sorry for taking so long to reply. It is recommended to use np.array_equal to compare whether the two are consistent.
import numpy as np np.array_equal(data.exp_matrix.todense(), adata_loom.layers['matrix'].todense())

Sorry for replying so late,. It is recommended to use np.array_equal to compare whether the two are consistent.
import numpy as np np.array_equal(data.exp_matrix.todense(), adata_loom.layers['matrix'].todense())

Hi @Zhenbin24 , thanks for your reply.
I found out what the problem is. adata_loom.X is not equal to adata_loom.layers['matrix']. I'm wondering what is the difference between these two layers when generate_loom generates the loom file?


BlurPostprocessor doesn't work on Android SDK 16

Hi,
BlurPostprocessor doesn't work on Android SDK 16. Do you have any ideas? Image doesn't show at all and what is the minimum SDK version?

@quangtrung89
Hi.
retry it :)

Hi, I retried, but not help :(.
These following logs:

RequestLoggingListener: time 79409064: onProducerFinishWithFailure: {requestId: 29, stage: PostprocessorProducer, elapsedTime: -1 ms, extraMap: null, throwable: android.support.v8.renderscript.RSRuntimeException: Error loading libRSSupport library}
RequestLoggingListener: time 79409064: onRequestFailure: {requestId: 29, elapsedTime: -1 ms, throwable: android.support.v8.renderscript.RSRuntimeException: Error loading libRSSupport library}

Do you add the following?
android {
    ...
    defaultConfig {
        ...
        renderscriptTargetApi 23
        renderscriptSupportModeEnabled true
    }
}

Yes, I got it already (screenshot).

Any ideas yet?


Is a Windows Virtual Desktop required for Remote App?

Hello,
I'm curious if in order to publish a remoteapp, must a WVD exist first?  Can I create the default app group, which according to the documentation also publishes the full desktop, and then simply publish my remote app and delete the desktop?

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

ID: c05d017a-8ce4-d3c2-333c-9f1decbc8e6c
Version Independent ID: 7f2287e0-71d2-05ef-335b-45bb4cd6cfe3
Content: Manage app groups for Windows Virtual Desktop (preview)  - Azure
Content Source: articles/virtual-desktop/manage-app-groups.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@jasonkatz424 Thank you for your feedback . We will investigate and update further.

@Heidilohr Could you please look into this thread ?

@jasonkatz424 There isn't a default app group for RemoteApps only. If the apps are published before the Windows Virtual Desktop is created, then the app group's feed icon won't work.

Thank you. And in order to publish apps, is it required that you first deploy the server image (versus the Windows 10 image).  I sincerely appreciate the help.

^^ i like to know this to

#please-close