QhullError on inverse transform on high dimensional data

I fit a UMAP model with ~100k exemplars of ~15k dimensions into a 128D UMAP space. Then tried to do an inverse_transform on some of the data. I got this error:
 QhullError: QH6235 qhull error (qh_memalloc): negative request size (-1228186072).  Did int overflow due to high-D?

While executing:  | qhull d QJ
Options selected for Qhull 2019.1.r 2019/06/21:
  run-id 489887325  delaunay  Qbbound-last-qj  Q3-no-merge-vertices-dim-high
  Pgood  _run 1  QJoggle 2.4e-08  _joggle-seed 16807  _max-width 19
  Error-roundoff 7e-13  Visible-distance 7e-13  U-max-coplanar 7e-13
  Width-outside 1.4e-12  _wide-facet 4.2e-12  _narrow-hull 2.2e-13
  _maxoutside 4.7e-11
Last point added to hull was p16502.

At error exit:

Delaunay triangulation by the convex hull of 91648 points in 33-d:

  Number of input sites: 43
  Total number of nearly incident points: 91605
  Number of Delaunay regions: 6794096

Statistics for:  | qhull d QJ

  Number of points processed: 42
  Number of hyperplanes created: 3787007
  Number of facets in hull: 7722418
  Number of distance tests for qhull: 5081722
  Input joggled by: 2.4e-08

precision problems (corrected unless 'Q0' or an error)
      2 nearly singular or axis-parallel hyperplanes

I do not get this error for a 2D transformation of the same data.

The inverse transform is not really robust enough to handle high embedding dimensions. Realistically you can manage something in the 2-10 dimensions range but beyond that it is going to get messy fast. I'm afraid this just isn't going to work. I'll try to add a more informative warning message however.

Thanks for letting me know @lmcinnes! I was actually generating the high dimensional example as a comparison to an autoencoder.


541 some files weren't committed on the PR

Closes #541

@deemp Thank you for your contribution! Your effort is appreciated, but there's room for improvement. You've earned 4 points: +4 base, -16 for no code review, -16 for no reviewer comments, -8 for only 6 hits-of-code, and +40 adjusted to meet the minimum. To maximize your bonus next time, aim for more hits-of-code, ensure code reviews, and encourage reviewer comments. Remember, quality and speed are both crucial. Keep the contributions coming! 💻


Call @dppy.kernel from @dppy.kernel, @njit, @vectorize

[ ] Analyze the possibility and meaning of being able to call @dppy.kernel decorated functions from other @dppy.kernel, @njit, @vectorize decorated functions.

[ ] https://github.com/IntelPython/numba-dppy/issues/205
[ ] https://github.com/IntelPython/numba-dppy/issues/193

For writing device functions we provide decorator @dppy.func. We should be able to call a @dppy.func:

[ ] @dppy.func
[x] @dppy.kernel
[ ] @vectorize


[BUG]TC-CGEN-2.4 PASESession timed out at step 3

Reproduction steps

Tested on TE1.1 commit
At step 3 - error recieved : PASESession timed out while waiting for a response from the peer
Logs
- DUT: esp32.txt
- TH: th.txt

Bug prevalence
EveryTime
GitHub hash of the SDK that was being used
7e69c66bb44c91fe0b9bed7c7b8d272d3208c8dd
Platform
esp32
Platform Version(s)
No response
Anything else?
No response

I'm also seeing this on qpg platform

Also on k32w0.

I am still facing this issue on updated TH version

This is not an sdk issue, This is an issue with test harness, as the test passes with chip-tool
I have raised an issue on TH repo here: https://github.com/CHIP-Specifications/chip-certification-tool/issues/883
So closing this issue


[Event Request] Codeunit 5932 Service-Get Shipment - CreateInvLines - OnAfterTransferLine

Hi.
We would like to extend Codeunit Service-Get Shipment CreateInvLines procedure like this:

[IntegrationEvent(false, false)]
    local procedure OnAfterTransferLine(var ServiceShptLine: Record "Service Shipment Line"; var ServiceShptLine2: Record "Service Shipment Line"; var ServiceShptHeader: Record "Service Shipment Header"; var ServiceLine: Record "Service Line"; var ServiceHeader: Record "Service Header")
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Replace anaconda-notebook with anaconda-nb-extensions

Failing test are because missing dependencies in win and linux-32, merging...


Update README.md

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

Project coverage is 90.54%. Comparing base (bd12370) to head (c6bb136).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #79   +/-   ##
=======================================
  Coverage   90.54%   90.54%
=======================================
  Files           3        3
  Lines         222      222
=======================================
  Hits          201      201
  Misses         21       21

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


[Collections] Missing Content-Length header

Motivation:
It seems like sending request header Accept-Encoding: * would cause some servers to do gzip compression (Content-Encoding: gzip) and chunked transfer (Transfer-Encoding: chunked), and would lead to missing Content-Length header in the response.
Modification:
Explicitly disallow gzip encoding.

@swift-ci please smoke test

good catch!

macOS build broken due to swift-driver cc @artemcm

@swift-ci please smoke test macOS

@swift-ci please smoke test macOS

@swift-ci please smoke test macOS


AppVeyor suddenly not running concurrently on Python 2.x

Possibly a GIT issue not fixed by multiprocessing in Python2. Spinning off handlePeerRequest() into two methods, one for exchange, one for not, would be a good test.

This likely started in 3caea0c6b3114ebe89c5f0eb404c5ef61f67c3b1.
Probable solution: Switch test to main.py with an flag to mark debug mode.

This does not work. Or, if it does work, it only work temporarily.

Now running concurrently, but printing stupidly. Fix also means that listener must run in a daemon process on Win32Py2.


Replace yelp_review_full data url

I replaced the Google Drive URL of the Yelp review dataset by the FastAI one, since we've had some issues with Google Drive.
Close https://github.com/huggingface/datasets/issues/4005
Related to https://github.com/huggingface/datasets/issues/3809

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Fix typo in common private links definition for actionsRequired

Changelog:

Fixed typo actionRequired --> actionsRequired in common privatelinks.json
Restore storage.json to use seperate privatelinks.json as it is hard to fix in server side
Background:

Requested by StorageSync team.
Currently only Storage and StorageSync team is referring to this common definition

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.

adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

Add @priyaananthasankar for awareness,

Many example files needs to be updated to fix validation errors.

No need, as storage will keep actionRequired by using seperating privatelinks.json. @allenjzhang

Do we really want to fork a privateLink file into Storage again?

Yes. refer to mail, that is a choose from Priyaranjan as it is hard to change in server  code. @priyapansrp to confirm


Add Docker image deployment

The proxy should be continuously deployed as a docker image pushed to a container registry on tagged releases. We will then be able to pull the image from a Kubernetes environment.

Needs #5 first.


Check if the function is declared before declaring it.

In case you use pthreads or something else related to threading you might encounter this issue. It happens only with functions and is fixable only by adding these checks. Another way to avoid this is to wrap functions as static into classes.

Sounds like you're inheriting class and function definitions with pthreads, then including the Composer autoloader again. If this is the case, that's the real problem to be fixed.
If there is some other scenario that can lead to this problem, please describe it.

Well, yes I need to include autoloader again. Without it I get undefined error. 🙃
Will be checking few probably causes tomorrow.

I recommend using PTHREADS_INHERIT_INI only and then including the Composer autoloader in the thread.

I'm using none currently, but lez see...

@trowski Confirmed same issue.

@trowski Check the gist. https://gist.github.com/Niko9911/12fb01b6becba817e4a42bd1ab3f5dae

@WyriHaximus Thank you!
I will make requested changes after I finish some critical work.

@Niko9911 There's something else going wrong. We use pthreads in amphp/parallel and have no issues with functions being redeclared, and we have no conditionals around function declarations.
Here is our definition of Thread::run() and where we call Thread::start().

Maybe because itäs used by pool?

@WyriHaximus Requested changes are made.

Sure!

Done, ty.

Status? @clue

Cheers, will tag this shortly 👍

THANK YOU EVERYBODY!

Ok v1.5.1 has been released


Mesh structure, transforms and metrics

Implementation of TriMesh (Triangle Mesh) and relevant function

[x] TriMesh representation
[x] Functions for TriMesh (get_normals, laplacian_smoothing, save_trimesh, load_trimesh, sampling, etc)
[x] Metrics for mesh (laplacian_loss, chamfer_dis, edge_length)
[x] visualize function for mesh
[x] Transforms for TriMesh (normalize, scale, translate, sample_random_points, rotate)
[x] Add batched format
[x] Add relevant test
[x] Add GPU support using CuArrays

@nirmal-suthar lets rebase. That should trigger the GPU CI

@nirmal-suthar lets rebase. That should trigger the GPU CI

I tried rebasing earlier, but end up with complex merge conflicts.

Before that, I would suggest completely removing the Manifest.toml file (add it to gitignore). Apart from that the conflicts seem to be only a couple of lines.

Before that, I would suggest completely removing the Manifest.toml file (add it to gitignore). Apart from that the conflicts seem to be only a couple of lines.

Ohh, saw your message now my bad. Anyways merge conflicts is fixed.

I will start working on benchmarks here. This will be divided into two part, kaolin for transforms and pytorch3d for metrics and rep.

I feel this PR is getting too big and is becoming difficult to review as a whole. I would recommend rebasing, fix the conflicts, get the CI to pass and then go ahead and merge.
Then we can work on the benchmarks in a separate PR. Any performance regressions that are needed can be coupled with that PR itself.


Gitlab ci job with Gitleaks "failed" randomly--> [object not found], but succeeded with --no-git flag

Describe the bug
When I try to run a simple job via Gitlab ci, I'm getting an error: object not found, but if I added --no-git flag, it works. I'm suspecting GitLab CI, so I ran it locally with different containers, and it worked like a charm.
I tried many times on Gitlab CI, but I don't know what the problem is.
Update 11.04.21:
It happens randomly when i edit the .yml file, I don't understand why is happening and how can I fix it.
To Reproduce
Steps to reproduce the behavior:
.gitlab-ci.yml:
stages:
  - secrets-detection

gitleaks:
  stage: secrets-detection
  image:
    name: "zricethezav/gitleaks"
    entrypoint: [""]
  script:
    - gitleaks -v --path=$PWD

Running locally:
$ docker run -it --rm -v "$(pwd):/$(pwd)" zricethezav/gitleaks -v --path=$PWD --config-path=$PWD/gitleaks.toml
Screenshots

Basic Info (please complete the following information):

Docker contanier: zricethezav/gitleaks
Gitleaks Version: 7.3.0

I tried all the versions from 6.0.0 to 7.4.0

cc @zricethezav

@reuvenel the gitleaks action job depends on checkout. See https://github.com/zricethezav/gitleaks-action#sample-workflow

I faced same issue (suddenly).
It worked fine, but start to came with an error 'object not found'.

@reuvenel, use these params (it works fine for me).:
GIT_STRATEGY: clone   GIT_DEPTH: 100
Read more about GitLab Runner pre-clone scripts.

closing this issue. object not found is not an error that will be encountered in v8 since gitleaks does not use go-git anymore.


Pls uptdate 1m16

What is your question?
I like to pvp with your mod, but there is a minor problem. In 1.16 snapshot there is no "swing" mode, and it kinda sad, cuz it is pretty cool. It would be nice if u update 1.16.5 to add this options, because i can't use versions higher. Ty

It might be a bit tedious to backport those changes - are you still interested in this change? I could have a look at trying to implement it and get back to you if this is still something you'd like.

Closing due to this issue being stale and requiring a bit too much effort for me to do unnecessarily


Fix Typ

Fixed pnp typo to pnpm

Sorry , let the checks get complete, by mistake is raised PR from the same branch , I will revert the branch


Lumo got stuck with high CPU usage after some hours

This bot works pretty good, but I've faced an issue:
I'm calling it every 5 mins via a cron job. That works well for a few hours, then my monitoring sends me an alarm about high CPU usage of the VM.
When I check I see Lumo permanently using 100% on each vCPU of the VM. I need to kill the process and then it's working the next couple of hours until it happens again.
Any ideas what can be the issue?

Hmm, looks like the process might be sticking around for some reason. Maybe it get stuck on reading some URLs. As a work around, could you try using timeout in the shell, e.g:
timeout 360 ./mastodon-bot.cljs

That should force the process to exit.

Is this issue still valid?
We don not use lumo any more ..

yeah I think we can close this one since we just compile to a npm module now


No score updates

Thanks for this project!
According to the readme, score updates are supposed to be sent at out but they don't appear to be being sent out for me - so far since I installed it earlier this week, it has only posted add/drop and trade messages
Is this because the score update jobs are commented? https://github.com/landonp1203/yahoo-fantasy-bot/blob/master/bot/src/main/kotlin/bot/utils/Arbiter.kt#L113

Was it commented because it was too noisy? If so that's cool with me

12c52ab should fix this


The Dialog box is blank it is not showing any data.

When the user visits/reloaded the page, the Dialog box is coming blank with no data inside it in light mode.
Issue screen shot

@devjainofficial  please assign this issue to me under the hacktofrebest label.

Hello @PankajR007, Already created the issue for the same. #50

Thankyou for your interest, You can contribute on other issues


Use .jsonc instead of .json in .vscode

When we create launch settings, vscode automatically create a file launch.json with... comment inside the file.

In my opinon it would be better to use launch.jsonc and task.jsonc (use of the .jsonc extension).
First, vscode interpret, specially, these files as JSON with comment, but the file extension is still .json, it's a little confusing because as far as i know the JSON spec doesn't allow comment in it, so it could mislead some people thinking that you can put comment in JSON file.
Second, it will make the file extension more popular due of the popularity of vscode, so more people will know about this extension.
For example i created an issue in the aspnetcore project for using appsettings.jsonc instead of appsetting.json when scaffolding a project. One of the reason for not using it was because the file extension was not popular enough, but we go in circles... if nobody use it, nobody will know about it, and if no one know about it, nobody will use it.
https://github.com/dotnet/aspnetcore/issues/13070#issuecomment-520619971
https://github.com/microsoft/vscode/issues/79744

I agree we should have done that, but it's too late now. A migration of the existing configuration file is painful and IMO not worth it.
But yes, we should remember to use the jsonc extension for all new files.


Certificate Authority is not used

In SwishAgent.initializeAgent the certificate authority (_ca) is never used. This is obviously not right according to the Swish documentation

Important to note is that everything still works in the testing environment.

See #43


Trending & most popular not working

Hello,
Is there a way to fix 👍
Trending,Most popular,Most watched etc.
They don’t work anymore. I think they are connected to Trakt.

hello I just fixed it just following this guy!


Unable to include sass files '.scss' in project . build is failing

errors coming like this:
media query expression must begin with '('
failed to locate @import file new.scss.styl

Make sure you are appropriately handling the scss files in the styles hook in jumpsuit.config.js.  There is also an example here: https://github.com/jumpsuit/jumpsuit#sass on how to easily integrate sass into your build.


Don't reload as well as stream changes to watched Sass in the ZURB template

How to reproduce this bug:

Create a new Foundation for Sites project with the ZURB template
npm start
Change a watched stylesheet

What should happen:
Changes should be streamed to the browser without a full reload
What happened instead:
The browser fully reloads the page
Pull request:
I've created a PR for the ZURB template that fixes this.

Thanks @snoopdouglas! Just merged that updated.


Several Minor Updates on Examples

Added a button to errors_axum example to generate a 500 error with a <Form>
Correct README.md on errors_axum example
Ran clippy on errors_axum and todo_app_sqlite_axum examples

cargo clippy --no-deps --features="csr"
cargo clippy --no-deps --features="ssr"
cargo clippy --no-deps --features="hydrate"

Changed a few cfg_if blocks to help rust_analyzer code completion
Added "http://" to log so the page can be directly opened from the terminal when server starts

The CI runs cargo fmt --check before running tests, and it failed — could you cargo fmt and push the changes?

@requaos This has happened occasionally in the past; I'm surprised it's started occurring again. I generally finish running the CI on my computer, which is not ideal but is fine. I had changed a GitHub setting immediately before this happened and have reverted it... It may have been related.


saturating-float-casts test from rustc test suite is panicking

thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `170141183460469231731687303715884105727`,
 right: `0`: run-time f32 -> i128', example/saturating-float-casts.rs:95:9
stack backtrace:
   0: backtrace::backtrace::libunwind::trace
             at /home/bjorn/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.38/src/backtrace/libunwind.rs:88
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
./test.sh: regel 59: 17537 Afgebroken              ./target/out/saturating_float_casts

cc #381

170141183460469231731687303715884105727 == 0x7fffffffffffffffffffffffffffffff

Reduced to:
// cranelift doesn't inline
fn black_box<T>(a: T) -> T {
    a
}

pub fn main() {
    assert_eq!(black_box(std::f32::NAN) as i128, 0);
}

Opened https://github.com/rust-lang/rust/issues/65245

Implementing something like:
https://github.com/rust-lang/rust/blob/625451e376bb2e5283fc4741caa0a3e8a2ca4d54/src/librustc_codegen_ssa/mir/rvalue.rs#L774-L901
should fix this.


Package bitsdojo_window conflicts with window_manager

Events do not work
onWindowRestore()
onWindowMinimize()
onWindowEnterFullScreen()
onWindowLeaveFullScreen()

How to solve this problem?
Thanks

Please do not use both packages at the same time


remove_dead_code: get_used_vars

Any difference between get_used_vars and a function which extracts variables from an expression?

@DadaIsCrazy confirms: this is exactly that. Move to the AST, as part of generic operations on terms and variables.


IndentLinesDisable not work in defx

https://github.com/Shougo/defx.nvim/issues/154
Setting the g:indentLine_fileTypeExclude like following or IndentLinesDisable are not work in defx. The conceallevel and concealcursor  are not reseted properly.
let g:indentLine_fileTypeExclude = ['defx']

Have you tried
https://github.com/Yggdroot/indentLine/blob/47648734706fb2cd0e4d4350f12157d1e5f4c465/doc/indentLine.txt#L108-L121 ?

I try this, but it isn't work too.
    let g:indentLine_fileTypeExclude = ['defx'] " defx filetype is defx
    let g:indentLine_bufTypeExclude = ['nofile']  " defx buftype is nofile
    let g:indentLine_bufNameExclude = ["\[defx\]*"]  " my defx bufname is [defx] -0

Please remove indentLine and have a try, the issue still exists. I think this issue is not related to indentLine.

I'm ran into this issue with indentLine + defx setup and g:indentLine_fileTypeExclude.
Basically, the first time my defx buffer showed up, indentLine'd do this:

Subsequent times everyting was fine:

I explored the plugin's code a little and found the issue:
If condition @ function Filter() currently looks like this:
if s:Filter() && g:indentLine_enabled || exists("b:indentLine_enabled") && b:indentLine_enabled

The problem with defx is that BufWinEnter event is not called when opening a Defx buffer, thus Disable() never gets called, which causes b:indentLine_enabled to be 1.
Re-ordering the if conditions solves the issue. I'll open a PR with the change

let g:indentLine_fileType = ['typescript', 'javascript', 'javascript.jsx', 'typescript.tsx']

setting filetype you want to use indentLine

I have the same issue here, it doesn't work with any of the exclude options.


Create MOM-2023-11-17.md

What type of PR is this?

documentation
subproject management

What this PR does / why we need it:
Adding minutes of the meeting on Friday, Nov 17th.
Which issue(s) this PR fixes:
NA
Special notes for reviewers:
Please review especially the action items (for @jlurien, @rartych and the code owners @eric-murray @RandyLevensalor @hdamker).
The list of attendees might be not complete (I've copied the participants list to early in the call).

@RandyLevensalor I have corrected the attendee list ... can you please approve again and if you like also merge? Thanks.


Fix going up from network root path

Resolved / Related Issues
Items resolved / related issues by this PR.

Closes #6200

Details of Changes
Add details of changes here.

Clicking up from network root will now navigate to Home

Validation
How did you test these changes?

[x] Built and ran the app

Thank you!


The default Threlte example won't work

https://threlte.xyz/docs/examples/shaders/interactive-shader doesn't work because the Canvas has the error
Object literal may only specify known properties, and 'children' does not exist in type '{ colorManagementEnabled?: boolean | undefined; colorSpace?: ColorSpace | undefined; dpr?: number | undefined; renderMode?: "manual" | "always" | "on-demand" | undefined; ... 6 more ...; ctx?: ThrelteContext | undefined; }'.ts(2353)

literally for no reason other than existing after much testing I found

Could you please add some context. I just navigated to the same link on an android mobile and it works just fine

I am experiencing this, too.
Even the most starter-app example: https://threlte.xyz/docs/learn/getting-started/your-first-scene
The rectangle is rendered, yes – if you place it into some div. But it throws a type error.

"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"svelte": "4.2.12",
"@threlte/core": "7.1.0",
"@types/three": "0.161.2",
"three": "0.161.0"

The scene is:
<T.Mesh>
  <T.BoxGeometry />
  <T.MeshBasicMaterial />
</T.Mesh>

Hey thanks for posting the report.
It sounds like a weird error, like something react would do. Svelte doesn't have a notion of children atm but if you were using react then it'd probably try looking for 'children'

I am not using react. I'm using Svelte.
You can see my entire lock file of all packages installed searching react, there's no a single mention of react:

It seems after restarting VSCode, it now properly reads those types. Solved for me.

good to hear! thank you for posting a possible fix for folks 😄

The Svelte language server hangs up from time to time, so you can just restart from the command palette of VS Code 👍


[VS] Completion list is closed when another participant types

Product and Version [VS/VSCode]: VS 15.7.5
OS Version [macOS/Windows]: Windows 10.0.17134.191
Live Share Extension Version:  0.3.472.26271
Target Platform or Language [e.g. Node.js]: F#
Steps to Reproduce / Scenario:

Invite someone to join your session.
Type something to make intellisense list available, and let the one you invited type something.
You will find that the intellisense list is closed.

@hez2010 Thanks for reporting this issue. This is an interesting artifact of the way co-editing works. Normally, if one pastes in some text to the editor, that dismisses the completion list. The remote edit that is applied to the buffer is treated that way currently and that causes the completion list to disappear. We will look into what we can do to fix this.

Same here, this is incredibly frustrating. If you can't work on the same file then it kinda makes the live share plugin pointless for collaboration in my view.

Closing as a duplicate of #192.


Fix typos in comments

I just started reading the source code of the main module and noticed a few
typos.
Thanks for the effort done in documenting the main module.

This is amazing, thanks so much for taking the time to fix this @milmazz 💟


Question: Installing in El Captain

Hi. I Have a mac with OS el captain and it does not seen to be possible installing flamerobin.
I tried with the dmg file (0.9.2) in the download section on the web-site
I need to do something do make it work?

You have to compile your own version of Flamerobin.
Steps below should help you :-)
How to compile Flamerobin on Mac OS X 10.11
// Before we can get into compiling

Download Mac OS X SDK's (https://github.com/phracker/MacOSX-SDKs), after download move that SDK into /Developer or your prefered folder
Compiled wxWidgets version 3.0.2 installed with -prefix=/opt/wxconfig (optional)
Need to install Homebrew (http://brew.sh/)
After downloading and installing Homebrew run following commands:

brew install boost
brew install autoconf

// Configuration command

need to add additional flag for compiler which is   -stdlib=libstdc++   Older version of Mac OS X were using libstdc++ for compiling, but from version MAC OS X 10.9(June 10, 2013) this default settings has been changed to libc++

// Final configuration
../configure --disable-debug --disable-dependency-tracking CFLAGS="-stdlib=libstdc++ -mmacosx-version-min=10.11 -isysroot /Developer/SDKs/MacOSX10.11.sdk" LDFLAGS="-stdlib=libstdc++ -Wl,-syslibroot,/Developer/SDKs/MacOSX10.11.sdk -Wl,-macosx_version_min -Wl,10.11" CXXFLAGS="-stdlib=libstdc++ -mmacosx-version-min=10.11 -isysroot /Developer/SDKs/MacOSX10.11.sdk" --with-wx-config=/opt/wxwidget3/bin/wx-config
// After configuration
make
Tested on MAC OS X 10.11

Updated instructions to build here https://github.com/mariuz/flamerobin/blob/master/BUILD.txt#L182


HSEARCH-4002 + HSEARCH-4003 + HSEARCH-4004 MappingAnnotatedElement improvements

HSEARCH-4003: Automatically expand repeatable annotations in MappingAnnotatedElement
HSEARCH-4002: Expose the type of a property for a given ContainerExtractorPath in MappingAnnotatedProperty
HSEARCH-4004: Expose an eventContext from MappingAnnotationProcessorContext

Necessary for the Search 5 compatibility layer.

Jenkins, retest this please

Thanks. Addresssed your comments and force-pushed.

Merged, thanks


Add the compiler to the regular IDE package.

This will enable nightly VSIX packages to ship with compiler changes as well as F5.  Below is a screenshot of the F5 scenario showing that for both legacy and SDK projects the compiler used came from the VSIX instead of Program Files.

@dotnet-bot test Windows_NT Release_ci_part2 Build
@dotnet-bot test Windows_NT Release_ci_part3 Build

This is absolutely fantastic.

Wait - doesn't this mean that all builds in VS will use this compiler, even in shipped products?  Is that what we want?  Do customer environment variables or other properties override this or vice versa.
This seems like a pretty significant change to take without verifying some more scenarios for it first.

@brettfo Can you also check that the F# Interactive (fsi.exe, fsiAnyCpu.exe) that run in Visual Studio are the ones from the VSIX?  thanks

@brettfo is this true?

doesn't this mean that all builds in VS will use this compiler, even in shipped products?

I would argue that we don't want this for shipping, as we want to be deliberate about compiler changes for shipped products.
Getting these out in nightlies is fantastic since it'll have more people banging on changes before they make it out, but we shouldn't be delivering compiler changes unless we rev versions of the compiler (and do so deliberately).

I'm still :-1: on this change.  There are too many risks for users who set those variables themselves.  I do not think this should be in the shipping code.

Another angle here is that we've received a lot of feedback over time that nightlies contain latest compiler bits. People who wanted to test out new features earlier on didn't have a way to do that unless they built this repo themselves.
It sounds like this will not work in conjunction with the FSharp.Compiler.Tools package, which some people use. However, we don't officially support this scenario beyond obvious issues (e.g., #3222 where this exposed the fact that the legacy project system wasn't kicking off design-time builds properly).
We'll also incur a "you moved my cheese" issue when we move away from an MSI for the compiler as well (unless we also deploy the compiler to Program Files).

@dsyme fsi.exe and fsiAnyCpu.exe both run from the VSIX/F5 location.

@Pilchie What danger do see?  The properties set in this PR happen at project creation so anything the developer sets in a .props/.targets/.fsproj will override what I set giving them their expected behavior.

@Pilchie your issue is this?
        [ "FSharpPropsShim", "Microsoft.FSharp.NetSdk.props"
          "FSharpTargetsShim", "Microsoft.FSharp.NetSdk.targets"
          "FSharpOverridesTargetsShim", "Microsoft.FSharp.Overrides.NetSdk.targets" ]

I think this is fine, because it is the initial state of these values prior to the project being run.  If the developer adds a target to his project that forces these values to a different location then nothing is altered by us having precomputed the value.
We actually do this in our tests to pick a specific compiler implementation:  https://github.com/Microsoft/visualfsharp/blob/master/FSharpTests.Directory.Build.props#L23
Because we want it to use a versy specific compiler it isn't guarded by a conditions, and so behaves as the tests would expect.  It will pick a different compiler.
.

What if the user sets it via env var?

@KevinRansom and I have been digging into it and there is an issue in that the property we're setting can't be overwritten.  I'm working on a change now to use the Roslyn approach of setting FSharpCompilerLocation (or whatever) and keying off of that in our shim targets.  The upside is that if a user builds with /p:FSharpTargetsPath=... or via an environment variable, everything will work as expected.  The downside is that consuming the VSIX compiler won't work until we've shipped the shims at least once, e.g., 15.8 RTM.

From a user standpoint, we've often been hit by either of these scenarios:

Downloading a Preview VS IDE, with bugs, only to find out that if you switch back to and RTM VS IDE, the new bugs are there too
Trying out changes from a PR or in the nightlies: if you don't have a VM, it is pretty tough to find out how to do that without breaking any of your current installations (and even if you're convinced you do it right, any bug you'll find since, you'll be wondering whether you broke something by mixing installations on one system).

It is my main concern whenever I report a bug, or when others cannot repro it. Having the compiler, or essentially everything from the F# tooling in a VSIX and being able to install / use it with a specific VS instance would be a dream come true.
Just saying: please don't let us wait until 15.8. Being able to get involved in the open source effort more easily and with less worries would mean the world to many people.


Verifying Component and Connector Models against Crosscutting Structural Views

Paper Link http://dl.acm.org/ft_gateway.cfm?id=2568237&ftid=1467885&dwn=1&CFID=609849406&CFTOKEN=18730546

1. Data source
Verifying Component and Connector Models against Crosscutting Structural Views
2. Link to the material associated with the dataset (if available)
Broader View: http://www.se-rwth.de/materials/cncviews/
User Raw Data (This might be more useful) : Response, Exercise
3. Attribution list for the material
Maoz, Shahar and Ringert, Jan Oliver and Rumpe, Bernhard
Contact:
Dr. Shahar Maoz
E-Mail<EMAIL_ADDRESS>4. BibTeX reference
@inproceedings{maoz2014verifying,
title={Verifying component and connector models against crosscutting structural views},
author={Maoz, Shahar and Ringert, Jan Oliver and Rumpe, Bernhard},
booktitle={Proceedings of the 36th International Conference on Software Engineering},
pages={95--105},
year={2014},
organization={ACM}
}
5. Link to the datasets
There is a lot of data provided by the authors of the data.
Verification algorithm report, includes the verification algorithm, correctness and completeness proofs, and witness generation algorithms.
C&C views verification plug-in readme, includes screen captures and installation instructions for the plug-in.
Evaluation project, includes C&C views and C&C views specifications, for use after the plug-in is installed.
C&C views exercise (pdf) of a user study and the raw data of 22 entries.
6. PROMISE repo category (effort, requirements, model, defect, etc.)
Other: This is data is user responses.
7. General overview of the data
We conducted a small user study to examine two high level
research questions: [RC1] is C&C verification difficult
to do manually, and [RC2] are witnesses for satisfaction/non-satisfaction
helpful. The study included a two-pages introduction
on C&C views to read, 3 verification questions (each
presenting one C&C view), and 3 questions about the usefulness
of a set of witnesses that was presented to the user,
all referring to a common C&C model. Two of the views
in the first 3 questions had 2 non-satisfaction reasons each.
The questions of each group were presented to the users in
a random order to avoid a bias due to learning effect.
The study subjects were all CS graduate students or professional
software engineers, all with some modeling background
but no specific previous knowledge on our work on
C&C views. No grades or other reward was involved. The
study was anonymous and conducted online. We obtained
complete set of answers from 17 subjects.
8. Attribute info
For the user response:

id

completed

last page

start language

data started

date last action

Component and connector (C&C) models are used in many application domains of software engineering. C&C views can be used to specify structural properties of C&C models, e.g., which component should be inside which component, which component should be connected to which component, in an expressive and intuitive way. An introduction to C&C models and C&C views is given in this PDF. All the tasks in the exercise are based on the same C&C model of a pump station (download the PDF here). Are you ready to start the exercise-

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[Yes, the C&C model satisfies the view.]

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[No, there is a Hierarchy Mismatch]

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[No, there is a Missing Component]

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[No, there is a Interface Mismatch]

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[No, there is a Missing Connector]

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[Yes, the C&C model satisfies the view.]

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[No, there is a Hierarchy Mismatch]

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[No, there is a Missing Component]

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[No, there is a Interface Mismatch]

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[No, there is a Missing Connector]

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[Yes, the C&C model satisfies the view.]

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[No, there is a Hierarchy Mismatch]

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[No, there is a Missing Component]

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[No, there is a Interface Mismatch]

Does the C&C model of the pump station (same as before) satisfy this view-,Check either "Yes, ..." or check "No, ..." for ALL reasons for non-satisfaction you find.,[No, there is a Missing Connector]

Please rate your confidence that you correctly identified whether the C&C views were satisfied by the C&C model. Rate your confidence regardless of the reasons you identified.

Please rate your confidence in finding all reasons for non-satisfaction.

Consider the C&C model of the pump station (same as before) and the C&C view below:,The C&C model does not satisfy this C&C view. Here are two witnesses that demonstrate separate reasons for non-satisfaction:,First witness for non-satisfaction:,Second witness for non-satisfaction:,Do you find these witnesses helpful in understanding the verification result (non-satisfaction)-

Consider the C&C model of the pump station (same as before) and the C&C view below:,The C&C model satisfies this C&C view. Here is a witnesses for satisfaction:,Do you find this witnesses helpful in understanding the verification result (satisfaction)-

Consider the C&C model of the pump station (same as before) and the C&C view below:,The C&C model does not satisfy this C&C view. Here are four witnesses that demonstrate separate reasons for non-satisfaction.,First witness for non-satisfaction:,Second witness for non-satisfaction:,Third witness for non-satisfaction:,Fourth witness for non-satisfaction:,Do you find these witnesses helpful in understanding the verification result (non-satisfaction)-

Please note any comments you may have about C&C models, C&C views, and C&C witnesses.

Total time

Group time: Intro

Question time: Intro

Group time: C&C Views Verification

Question time: SAT1

Question time: SAT2

Question time: SAT3

Question time: Correctness

Question time: Completeness

Group time: Helpful Witnesses

Question time: Witness1

Question time: Witness2

Question time: Witness3

Group time: Remarks

9. Paper abstract (if appropriate)
The structure of component and connector (C&C) models,
which are used in many application domains of software engineering,
consists of components at different containment
levels, their typed input and output ports, and the connectors
between them. C&C views, presented in [24], can be
used to specify structural properties of C&C models in an
expressive and intuitive way.
In this work we address the verification of a C&C model
against a C&C view and present efficient (polynomial) algorithms
to decide satisfaction. A unique feature of our
work, not present in existing approaches to checking structural
properties of C&C models, is the generation of witnesses
for satisfaction/non-satisfaction and of short naturallanguage
texts, which serve to explain and formally justify
the verification results and point the engineer to its causes.
A prototype tool and an evaluation over four example
systems with multiple views, performance and scalability
experiments, as well as a user study of the usefulness of
the witnesses for engineers, demonstrate the contribution of
our work to the state-of-the-art in component and connector
modeling and analysis.
10. Is this dataset part of a larger series or collection?
No

Added as candc.


Title: Adding mail contact option in footer

Is your feature request related to a problem? Please describe.
When people need contact support but can't find the email address easily on the website, it will be frustrating. This makes it difficult to get timely assistance and affects user experience.
Describe the solution you'd like.
I would like a mail contact option to be added to the website footer. This should include a visible email address or a "Contact Us" link that opens the user's default email client with a pre-filled support email address. This makes it easy for users to reach out for help anytime.
Describe alternatives you've considered.
An alternative solution is to have a contact form on the website. However, a single click to send an email directly is more convenient than filling out a form, providing a quicker and more user-friendly way to get support.
Add any other context or screenshots about the feature request here.
No response

@Kushal997-das , please assign this to me under GSSoC'24

Hello, @Ayesha-Siddiqua88. While adding an email can help users reach out to us, I believe integrating a dynamic and flexible contact form would be more effective. It should also be visually appealing. If you agree with this approach, feel free to contact me on LinkedIn for a quicker response.


create CONTRIBUTING.md file aligned with FINOS project blueprint

Hi @chuckdoerr,
I'm doing some FINOS admin and would like to get this PR merged if possible. Please let me and @aitana16 know so we can update our records.
Many thanks,
James.


Divine Rune Pouch Bug

Doesn't seem to show number of casts left when using a divine rune pouch.
e.g.

Thanks for reporting this! This is actually a bug caused by combo runes not being detected in rune pouches. Now fixed in adaba94f6fe6155998489ed36c946c8ef7cb9e4c. I've submitted a new PR so hopefully the update will be available soon.

Ah alright thanks man! Love the plugin

This has now been fixed. Thanks, appreciate it!


[main/FATAL] [mixin]: Mixin apply failed

Version Information
Minecraft version:  1.12.2
Forge version:  <IP_ADDRESS>59
Other mods (if applicable):  N/A
Steps to reproduce:

Download the latest -all.jar from this website https://jenkins.daporkchop.net/job/OpenCubicChunks/job/CubicChunks/job/MC_1.12/lastSuccessfulBuild/ , as indicated in FarPlaneTwo's wiki: https://github.com/PorkStudios/FarPlaneTwo/wiki/FAQ
Launch the game
The newest release in CurseForge ( https://www.curseforge.com/minecraft/mc-mods/opencubicchunks ) works. However, I wish to use FarPlaneTwo, so that CC release is too old.

Link to crash log (if applicable - use a site such as hastebin: https://f.perl.bot/raw/p74m3h

Update from the Discord guild: The temporary solution is to use an older build which does not have mixin errors. The latest version not crashing the game is CC1233, available here: https://cdn.discordapp.com/attachments/576216724257374208/936229769635307570/CubicChunks-1.12.2-0.0.1233.0-SNAPSHOT-all.jar

Seems rather permanent to me.

Update from the Discord guild: The temporary solution is to use an older build which does not have mixin errors. The latest version not crashing the game is CC1233, available here: https://cdn.discordapp.com/attachments/576216724257374208/936229769635307570/CubicChunks-1.12.2-0.0.1233.0-SNAPSHOT-all.jar

"This content is no longer available."
Mixin author said that at the last CubicWorldGen it was fixed, but this version, but this version is not posted anywhere. Can I find it somewhere?


fix: add menu divider

This PR...
Changes

Fixes

How to test it

Screenshots

Checklist

[x] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

i find the "New File" and "New Folder" options on a file confusing - seems to me these should only exist on folder item popups? @julioramosest ?

@olensmar I agree. New folder and New file should appear only as folder options.

thanks @julioramosest - I'll create an issue..


Implement a workaround for the LDC segfault bug

There seems to be an issue with tracking module-scoped variables when compiling with LDC.
It's possibly a DRuntime bug.
Re-enabled Travis LDC testing.

@Geod24 I'm really starting to believe in your mantra of "module constructors are bad and should be avoided".

@Geod24 LDC stable no longer fails. ldc-latest-ci still fails, but it might be unrelated to this.


Feature Request: API to reset the ECID

Expected Behaviour
May I ask WebSDK to provide a possibility to renew/reset the ECID?
Rationale
In my scenario multiple end users use the same browser to logon to a site. E.g. with a shared device at home.
If a user logs out and the next user logs in, AEP will stitch both profiles as they share the same ECID and the login/email/customernumber/etc is used as an identity.
In MobileSDK there is a feature already which seem to do the job.
Actual Behaviour
No such option currently. No documented workaround.

Hey @mdonke , thank you for opening the issue.
We don't support resetting the ECID on the web because on some browser, this ECID is based on a 3rd party cookie which means it'll result in generating the same ECID anyway.
I think your use case is supported though by passing those logged in IDs along with the ECID and use the correct profile merge rules. You might need to reach out to your consultant or Product from Identity Service to go over these options.
Thanks.
Joe


Lazy loading crashes Flatpickr

I have found a bug that crashes the application if you move from a page with Flatpickr to any lazy-loaded page.
Uncaught TypeError: Cannot read properties of null (reading 'destroy')
    at DateTimePicker2.destroyFlatpickrInstance (index.js:112:23)
    at DateTimePicker2.componentWillUnmount (index.js:168:12)
    at callComponentWillUnmountWithTimer (react-dom.development.js:22683:16)

    this.flatpickr.destroy(); // <- This line cause the issue
    this.flatpickr = null;

It just cannot destroy a Flatpickr instance.
An example of a regular SPA using React Router Dom:
const PageTwo = lazy(() => import('../modules/wizards/WizardsPage'))
...

<Routes>
    <Route
          path='app/one'
          element={<PageOne />} // Renders Flatpickr
        />
      <Route
          path='app/two'
          element={<PageTwo />} //Lazy loading
        />
</Routes>

//PageOne
<div>
        <Flatpickr placeholder='Click to select' />
        <Link to='/app/two'>Move to Page Two</Link> // <- Crashes application
<div>

Regular import or just a prior visit to a lazy-loaded page solves the issue, but it's not ideal.

I think this is the same issue as https://github.com/haoxins/react-flatpickr/issues/83


When the imported image is large, the software will get stuck

When the imported image is large, the software will get stuck.This situation basically occurs frequently

Too poor quality to work with.


Allow  to take  lines="none"

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[X] feature request
[ ] support request

Current behavior
There is no way to set lines="none" on the form field wrapper ion-item. This makes it ridiculously hard to style inputs with custom css because of Ionic 4 shadow DOM. I'm forced to use the awful default ionic styles.
Expected behavior
A simple template option such as "itemLines" would be perfect.

added in v5.5.0, through itemLines option:
{
  key: 'name',
  type: 'input',
  templateOptions: {
    itemLines: 'none',
  },
},


Add typeDisplayName to 2021-09-30-preview and 2022-02-31-preview

ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[X] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[X] I commit to follow the Breaking Change Policy of "no breaking changes"
[X] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

This PR is not possible to review:

Please fetch main from upstream and rebase your changes on it instead of merging or whatever happened. With only 1 commit, though, it seems maybe you squash-merged which will making merging your original changes much more difficult. From the title, this sounds like a fairly small change? Perhaps fetch main and create a new topic branch to start over on a new PR?

Thank you! Created a new PR


Airflow MWAA not able to install Spark Adapter

Hi @tomasfarias and thanks for the awesome lib!
I am having some trouble using airflow-dbt-python in a project which uses a spark adapter to connect to an AWS EMR instance. Its mostly related to the inability to install the dbt-spark[PyHive] in MWAA (Airflow version 2.0.2).  airflow-dbt-python was installed without version specification in requirements.
I tried installing it through the airflow-dbt-python[snowflake,postgres,redshift,bigquery, spark] semantic at the requirements file, and also
airflow-dbt-python[all] which actually threw an error saying there was no "'all' option for extras". Aside from that, it works as intended with other backend adapters. Is there any way to use it with Spark adapter?
Thanks for the attention!

Adding some context, below there is the Airflow MWAA Scheduler requirements.install log, filtered for "dbt":

Hey @peixotoandrei, thanks for checking out airflow-dbt-python and opening an issue.
The spark extra is indeed not included in airflow-dbt-python, you can actually check out which extras we include in the project's pyproject.toml. We provide extras for the adapters just as a convenience, and I originally added just four as those are the ones I was using at the time. There should be no compatibility issues with dbt-spark, it was just omitted as an extra as I was not using at the time.
For this reason, you can just install the adapter separately, for example, your requirements.txt could look like:
dbt-spark[PyHive]==1.1.0
airflow-dbt-python[redshift]==0.14

And the adapter should be available for airflow-dbt-python and dbt to use.
All this being said though, I'm not against adding dbt-spark as an additional extra, so I can get that going in a new patch. However, I can't provide different versions of dbt-spark as different extras, so it's likely that the patch will only add plain dbt-spark and any extras (PyHive, ODBC, session) will still need to be installed separately. Of course, we could replicate the extras from dbt-spark but I am not a fan of the additional maintenance burden of having to keep up with any extras updates in dbt-spark.
At least having dbt-spark as a dependency should ensure no dependency conflicts.

I've closed this issue as stated in my previous comment. dbt-spark is now offered as an extra via airflow-dbt-python[spark]. However, if requiring any of dbt-spark's extra I would still recommend to install both separately.
If you have any more issues, feel free to open a new issue, or comment here and I can consider re-opening.


DeviceStatusInfoSearch filter not applied

When searching using DeviceStatusInfoSearch.deviceSearch() the filter is not applied, the search results include all vehicles.
              String vin = "1xxxxxxxxxxxxxxxx";
              request = AuthenticatedRequest.authRequestBuilder()
                  .method("Get")
                  .params(SearchParameters.searchParamsBuilder()
                    .credentials(loginResult.getCredentials())
                    .typeName("DeviceStatusInfo")
                    .search(
                      DeviceStatusInfoSearch.builder()
                      .deviceSearch(DeviceSearch.builder().vehicleIdentificationNumber(vin).build())
                      .build()
                    )
                    .build())
                  .build();
              Optional<List<DeviceStatusInfo>> deviceStatusListResponse = api.call(request, DeviceStatusInfoListResponse.class);

Hi @xocliwtb, this is expected. In the API reference under DeviceStatusInfoSearch it notes device search supports searching by Id and Groups in this context. All search objects that have a nested search object should show which properties are supported.


Evaluating Timescale 2.0 And Clickhouse

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

Sorry, opened the PR against upstream by mistake.


Fix the way to retrieve the parameter in the function

Before this PR, it was assuming that the recursive node was the firstChild. But as you can put a comment literally anywhere you would like, then the first child can be a comment.
So instead we just have to search where is the recursive node in the child (using the method walkThrough because that's the easiest way for the moment. It should be deeply reviewed when using the new lezer version (v0.12.0))
fix #78
Note: I guess this problem should appear in the Binary operation as well and more generally everywhere the code is assuming that a node is at the first place in the child.

:+1: Thanks!


Add presto-ml doc

Purpose
Presto has been providing machine learning functionality. Although its capability is limited and no active development happens in this module, partially that might result from the lack of official documentation. Without any clear description of the feature, we cannot expect even any feedback from the community.
This change is for adding the new page in the documentation describing the available functionality in presto-ml module. The page would be helpful for the community to keep in touch with the ML module and collecting some interests or feedback for it.

Fixes: https://github.com/prestosql/presto/issues/662
Overview

Add a new page describing the available functionality of presto-ml in the official documentation.

We might have to squash on merge or otherwise maybe @Lewuathe could squash beforehand.

@mosabua I rebased the PR on the master accordingly.

Merged, thanks!


Review k8s pod-security-standards to match library

Took an initial look at the list https://kubernetes.io/docs/concepts/security/pod-security-standards/ and in general it looks very good.
I think we have missed to configure anything around restricting seccompProfile, seLinux and sysctls options.

Error creating: pods "wait-for-crds-chg4r" is forbidden: violates PodSecurity "restricted:v1.24": allowPrivilegeEscalation != false (container "wait-for-crds" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "wait-for-crds" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "wait-for-crds" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "wait-for-crds" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")

Related error when deploying this chart version v0.23.1 against EKS 1.26.

@NissesSenap you can find a related PR here:
https://github.com/sighupio/gatekeeper-policy-manager/pull/545
The issue here is that this chart's Job/wait-for-crds will fail if there is a Restricted PSS and there is no way to configure it otherwise using values.yaml.

Yeah i used it on a new cluster a few days ago and got the same issue. I don't work at Xenit any more but I'm sure they would be very happy to get a PR @brsolomon-deloitte if you have the possibility

We are always happy to receive PRs! 😊🖖
Otherwise we'll take it as it comes up for ourselves in the process of validating the new versions. 👍


Common config with fragments

AivenCommonConfig

Has common Configuration in S3SinkBaseConfig and S3SourceBaseConfig

Includes some config loader methods that are common to both for AWS STS and S3 Retry Policies

Updates the S3 Sink Connector to use the s3-common lib

Added deprecated config & a separate method to load into config so S3 Sink can decide when to remove deprecated config

Config Fragments introduced to help split code between Sink and Source while reducing duplication.

Addition of a new module/project to allow the sharing of common code between S3 Sink and Source

Handles Creation of S3 Aws client

Refactors commons AivenCommonConfig and splits into a common config and a Sink and Source config, deprecating the

This was built on top of this smaller branch aindriu-aiven/split-common-s3-config

LGTM -- sorry it took so long, this was a tricky PR to verify manually because of how code was reorganised! It seems like the right thing to do moving forward.

No thank you I know it was a big one, but I think it sets us up for the future


Errors during rendering should be forwarded to the client, not logged (in dev)

In development mode, errors that occur during rendering should be forwarded to the client instead of logged. Currently both happens.
Note that this feature isn't about live-reload.

In production mode they should be logged in the console, but done-serve should be the one that does this, not done-ssr.

Need to do https://github.com/stealjs/steal/issues/1348 first.

Need https://github.com/stealjs/steal/issues/1350

Bad UX.

Here's the explanation of the plan: https://github.com/donejs/done-serve/issues/100#issuecomment-371480830

Thanks. Why would having it both places be bad UX?
Sent from my iPhone

On Mar 8, 2018, at 7:05 AM, Matthew Phillips<EMAIL_ADDRESS>wrote:
Here's the explanation of the plan: donejs/done-serve#100 (comment)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

The way we are logging in the console currently is bad UX because there is no way to distinguish one error message from another, they all become cluttered together. It will still be possible for console.log() to work in the server, nothing will stop that. The link above explains my current plan, which is still to log these errors to the console, but to format them in such a way as to clearly distinguish them from the console.log/warn/error noise that occurs (by clearly the console before showing the new error message).

I read the link above.  As far as I could tell, it only explained the plan, not the reasoning.
I think having an error occur in a place where it is not reported feels odd.  If an problem happened on the server, I feel like it should be reported there.
Regarding the cluttering, this is a long-standing problem with logging tools, one that I'm guessing can be solved from the outside by 3rd party tools.  Perhaps someone can pass a function to call if there is an error?
Is the only reason we aren't logging on the server because of clutter?

We are logging in the server. We are just suppressing the normal console.log() dump that happens and instead presenting it in a formatted manner (and the console cleared before hand to give it focus). react's dev tool does the same, here's what theirs looks like:

Oh, that's great, I'm confused by what the following means:

In development mode, errors that occur during rendering should be forwarded to the client instead of logged. Currently both happens.

Lets say I put the following in my app view-model:
.extend({
  init: function(){
    functionThatDoesntExist();
  },
  ...
})

Ideally, I think this would:

__server with live reload __ - report to the terminal somehow
server on "start" - report to the terminal somehow
client with live reload - report to the console or in the page somehow
client on "start" - see a 500 error page

Definitions:

__server with live reload __ - the SSR service is running, the user entered the breaking code while it's running.
server on "start" - The user killed the process and restarted the server.  If it requires a page visit to kick off SSR loading the client app and seeing this error, then when the first page request comes in.
client with live reload - the client is connected via live-reload and getting pushed code changes.  The user entered the breaking code while connected to the live-reload server.
client on "start" - This is can be the same as server on "start".  But also if SSR was running, but the browser closed, the error entered, and the user opened a new window to the server.

That's more or less what happens. With live-reload the client will have the page refreshed and then they'll see the formatted error message (in console and in the browser).
The example you gave will just log to the console right now. Run-time errors don't actually prevent rendering. The types of errors I'm working on are mostly load-time errors; the app can't even load in order to render.  done-autorender could elevate errors that occur during render() though.

You might want to look at https://github.com/donejs/donejs/issues/1073#issuecomment-370536711

Actually errors that occur during render() that are not caught should be caught in done-ssr and forwarded through like load errors.


Partial Access to Package Submodules After Installation

Environment

OS: [e.g. Ubuntu 20.04]
Python version: [e.g. 3.8.5]
Package version: [e.g. 0.1.0]

Expected Behavior
After installing the package with all dependencies, I should be able to import all submodules as described in the documentation.
Current Behavior
Despite a successful installation of the 'begin' package, I can only access the 'begin.scenarios.nodes' submodule. Attempts to import from 'begin.algorithms' result in a ModuleNotFoundError.
Steps to Reproduce

Install the package via !pip install git+https://github.com/ShinhwanKang/BeGin.git (after installing prerequisites)
Attempt to import the submodule: from begin.algorithms.piggyback.nodes import *
Observe the ModuleNotFoundError

Possible Solution?
Is there a specific post-installation step required to access all submodules? Or could this be an issue with the package structure on PyPI?
Additional context
Below is the traceback for the error encountered:

Traceback (most recent call last):
File "", line 3, in
from begin.algorithms.piggyback.nodes import *
ModuleNotFoundError: No module named 'begin.algorithms'

Hi, @HakimHafidi , sorry for late replying.
I appreciate your interest in our project BeGin.

the screenshot you show looks like .ipynb file. Can you show your ipynb file path? (compared to BeGin folder) (which is folder path of your executing file?) I think that the ipynb(executing) file must exist in the same path with 'begin' folder.

And, you said that you now installed BeGin 0.1.0. The latest version is 0.2.0! Can you update it?

Thank you.

We think the issue has been resolved, so we'll close the issue.

It seems the issue has been resolved, so we will close it.


Report transform progress events and dependencies to TAPI progress listeners

This PR introduces a new TAPI OperationType.TRANSFORM and corresponding progress events. The TransformOperationDescriptor provides access to the display names of transformer and subject as well as the transform operation's dependencies. Only scheduled transformation steps (which are part of the ExecutionPlan) are reported. In addition, TaskOperationDescriptor.getDependencies() now also includes transform dependencies in addition to tasks.
In order to expose the dependencies I had to drill a few holes into ExecutionPlan, introduce a new TransformationNodeIdentifier interface and give TransformNode a unique id.
@lptr Please have a look and let me know if you're ok with the general direction, naming etc. of those parts.

@lptr PTAL! 🙂

@lptr PTAL! 🙂

I rebased this commit onto release which contained a new Node subclass: ActionNode. They are assigned a counter-based identity similar to TransformationIdentity now. We should think about instead assigning a NodeIdentity to all Nodes when they are added to the execution plan but that's beyond the scope of this PR.


[Bug] Staff member details won't report the correct API key

Describe the bug
When you try to view a staff member's details and you check the API key tab, it will report your (or whoever is logged in at the moment) own API key instead of the selected staff member's.
To Reproduce
Steps to reproduce the behavior:

Go to Configuration -> Settings -> Staff
Click on the name of a staff member other than you
Click the API key tab, generate a key if there isn't any
Now go back click on the name of your own account
Click the API key tab and notice it's the same. This key is yours and not that other staff member's

Expected behavior
It should report the key of whichever staff account you've selected. I don't even know why if any administrator should be able to access the other administrator's API key, but currently there is such functionality but it's broken.
Screenshots

Desktop (please complete the following information):

OS: Fedora Linux
Browser Mozilla Firefox
Version 105.0.1

IIRC, there's also some funky stuff going on in the database around this bug. Can't check it atm though


Error when trying to embed links into a spoiler

When I try to share a spoiler containing an url, like "@ispoilerbot https://google.com" I get an error message, and I'm unable to share it. I tried different clients, URLs and accounts, so its probably a problem on the bots or its dependencies side.

Thanks for the heads up, @hartmannaf... I already saw it this, it is my "tiny-shortener" package -- I did an update to it that broke the bot --; but I'm already on it, just arrived at home and I will fix it soon.

@hartmannaf, just fixed :)

It works, thx :)


Support for Slim 3.1

Is it support for Slim 3.1?
I was tried to install using composer with Slim 3.1, and got error:
Problem 1
- Can only install one of: slim/slim[3.0.0, 3.1.0].
- Can only install one of: slim/slim[3.1.0, 3.0.0].
- Can only install one of: slim/slim[3.0.0, 3.1.0].
- juliangut/slim-doctrine 0.6 requires slim/slim 3.0 -> satisfiable by slim/slim[3.0.0].
- Installation request for juliangut/slim-doctrine ^0.6.0 -> satisfiable by juliangut/slim-doctrine[0.6].
- Installation request for slim/slim == <IP_ADDRESS> -> satisfiable by slim/slim[3.1.0].

Hello masrodjie
I've released a new version with slim/slim:^3.0 as dependency, you should not get that error anymore

Previously i am using composer.json "juliangut/slim-doctrine": "^0.6.0"
And i changed it to ^0.7.0 and it's works.
Thanks


"How to install" section in README for beginners

As the title suggests, it would be good if there was a "Installation" section included in the README for beginners (like myself).

It's detailed in the landing page of the documentation.


Allow easier use of the library in servers

I also exposed the modifier information on metadata calls

Thank you.


Nicer error messages when (miss)using combine

If you forget to use combine on either a relation or mapper rom blows up with an unreadable Transport error.
rom.relation(:users).as(:some_mapper_with_combine_block)

rom.relation(:users).combine(tasks.for_users).as(:some_mapper_without_combine_block)

In general I expect some kind of ROM::MappingError instead of the Transproc errors leaking out.

Any ideas how to display the error so that it's relatively easy to figure out what went wrong?

This issue was moved to rom-rb/rom-mapper#17


[Bug] Version 18.3 not compatible with Angular 19

Is this a regression?
No (i mean, it's not a new bug in ng-doc, it's a breaking change in Angular 😄)
Description
Angular 19 (Released today) made some breaking changes in the way they treat the this keyword within templates. It now prefers class member over template variables which leads to a crash while initializing the ng-doc sidebar.
From the current Angular release:

this.foo property reads no longer refer to template context variables. If you intended to read the template variable, do not use this..

Breaking part here:
https://github.com/ng-doc/ng-doc/blob/main/libs/app/components/sidebar/sidebar.component.html#L4
Please provide the exception or error you saw
No response
OS
Unix (Linux, macOS, etc.)
Browser
Chrome
Node version
20
Anything else?
No response

Yeap this is expected, I'll release a version 19 when nx adds support for Angular 19

@skorapadas
I also use NX and upgrading manually was relatively painless. The main thing is to make sure you've been explicitly about standalone components.  A few lint issues after that that are easy to fix.

@DaveMBush I guess you used --force or --legacyPeerDeps flag to install dependencies. I just don't use it to make sure all deps are fine and NX has a lock for the Angular version, this is why I'm waiting for the new NX version

I think I'll add the same lock starting from the next major version since every major Angular version breaks compatibility

@skoropadas I don't use either of those flags.  I use pnpm and it warns me of mismatched dependencies but I'm not having any issues between NX 20 and Angular 19. In the case of NgDocs I think my main issue I can't get around is with regard to SSR.

@skoropadas nx is already on 19 https://github.com/nrwl/nx/releases/tag/19.8.13! any plans to release ng-doc 19 soon?

https://github.com/nrwl/nx/releases/tag/20.2.0 is released, i'm having same issue unable to run ng-doc with Angular 19.0.3 and NX 20.2.0

https://github.com/nrwl/nx/releases/tag/20.2.0 is released, i'm having same issue unable to run ng-doc with Angular 19.0.3 and NX 20.2.0

I'll try to check it today, thanks!

:tada: This issue has been resolved in version 18.4.0 :tada:
The release is available on:

v18.4.0
GitHub release

Your semantic-release bot :package::rocket:


Update notification icon persists after update in latest version of Insiders (1.45.0 4c5185373d5f209cd6c0b5d29a216fb801da34e)

Version: 1.45.0-insider (user setup)
Commit: 44c5185373d5f209cd6c0b5d29a216fb801da34e
Date: 2020-04-10T18:12:33.780Z
Electron: 7.2.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

Steps to Reproduce:

Update to latest version of Code Insiders
Observe that after the update the 1 from the Update notification icon does not go away. Clicking 'Check Updates' again confirms that there is no new update.

Does this issue occur when all extensions are disabled?: Yes

/duplicate of #94822
This one is not from update, but from sync feature.


Tag Import / Export Degree Character

Need to research / understand character sets from MySQL to csv file.

Seems to be an issue with encoding. Adding the following:
encoding = "latin-1"
to the with open() fixes this issue from the RPi. However, this isn't an issue from Windows which is using MySQL vs. MariaDB.

Since MariaDB's default encoding latin1, we'll stick with this. Added encoding = "latin-1" to csv imports and exports.


Programming languages reviewers on repo

We are looking an open source reviewer for this repo, if you have passion on it, please let me know if you want help us and write on below.
Rule for be a reviewer for this repo

You are passion on coding
You have knowledge or experience on some programming language, example: C#, Javascript...
You have contributed on this repo, so that you could understand the review process.

You will not be paid, so you should have passion working on it.

Questions & Answer

After you joined to be a reviewer, but after that you don't want to be any more, what should you do?
Just let me know and I will remove you as reviewer.

We need a file that contains programming languages reviewers, now I only know @TawfikYasser and @Arsenic-ATG.

I wanted to be reviewer of c,c++ programming language
Please let me to do
Thanks

Hi,
I can review python and java. Working on these two languages intensively these days. You can check my Data Structure Repo https://github.com/sridhar-5/Data-Structures-and-Algorithms/tree/main/Practice%20.
So make me a reviewer
Thanks in Advance.

I will created the reviewer markdown file

I can review go, cpp and python.

I will created the reviewer markdown file

Also can you please tell me how to be a member of this organization please? and if you can make me a member please.

I will created the reviewer markdown file

Also can you please tell me how to be a member of this organization please? and if you can make me a member please.
Thanks in Advance.

You could just contribute to our project, then you will be invited

Hi @sridhar-5,
The invitation link

Thanks man. :)

@ming-tsai Hi! I'm a computer science student currently working on data structures and algorithms, and I can review code in C++, python as well as Java.
Here are some repositories with code for all three languages that I have worked on in the past:
https://github.com/cyberwizard1001/oop-java-programming
https://github.com/cyberwizard1001/java-dbms-project
https://github.com/cyberwizard1001/advanced_programming
And this is my data structures repo:
https://github.com/cyberwizard1001/Sem-4-code
I'd love to be a member and contribute to the repository :)

Hi guys,
Here is the list

Hi @cyberwizard1001,
Please accepted your invitation

Congrats, and Welcome aboard @cyberwizard1001.

You can make me reviewer for Go

I might be reviewer for c# code if you need it. Planning also to make a contribution sooner

I might be reviewer for c# code if you need it. Planning also to make a contribution sooner

Yes!!!, I have invited you as reviewer

Hey there, I some knowledge about Java and C++ and I would like to be a reviewer for them. Please Let me do it.
Thankyou

Hey there, I some knowledge about Java and C++ and I would like to be a reviewer for them. Please Let me do it.
Thankyou

Hi @HimanshuMahto,
I will invited you but before you being reviewer, could you please open an contribution to this repo?
So, you could understand the workflow of this repo.
Thanks.

Hi... I have good knowledge about C++ and JavaScript . I have passion for coding. I would like to review the code.....

hi , I would love to review for C++ and JavaScript.


Unable to download the pre-trained models

I am unable to download trained models using download.sh. I am getting following error
`Resolving s3.us-east-2.amazonaws.com (s3.us-east-2.amazonaws.com)... <IP_ADDRESS>
Connecting to s3.us-east-2.amazonaws.com (s3.us-east-2.amazonaws.com)|<IP_ADDRESS>|:443... connected.
WARNING: cannot verify s3.us-east-2.amazonaws.com's certificate, issued by â/C=US/ST=California/O=Zscaler Inc./OU=Zscaler Inc./CN=Zscaler Intermediate Root CA (zscloud.net) (t) â:
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 403 Forbidden
2019-03-08 09:44:03 ERROR 403: Forbidden.
tar (child): weights.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now`
please let me know, if you need further information to address this issue

I get the same error:
~/flownet2-tf/checkpoints$ . download.sh
--2019-03-14 14:33:33--  https://s3.us-east-2.amazonaws.com/flownetdata/weights.tar.gz
Resolving s3.us-east-2.amazonaws.com (s3.us-east-2.amazonaws.com)... <IP_ADDRESS>
Connecting to s3.us-east-2.amazonaws.com (s3.us-east-2.amazonaws.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2019-03-14 14:33:33 ERROR 403: Forbidden.

tar (child): weights.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

@t-naveenkumar @PiaCuk
https://github.com/sampepose/flownet2-tf/issues/62

Thank you for the quick response!

@PiaCuk  I have the same question ,have you solve it?

Look at @Iamanorange 's answer, there is a backup for downloading the weights.

i got the same erro please tell me how to download the fiels?

https://github.com/sampepose/flownet2-tf/issues/62

I am unable to download trained models using download.sh. I am getting following error
`Resolving s3.us-east-2.amazonaws.com (s3.us-east-2.amazonaws.com)... <IP_ADDRESS>
Connecting to s3.us-east-2.amazonaws.com (s3.us-east-2.amazonaws.com)|<IP_ADDRESS>|:443... connected.
WARNING: cannot verify s3.us-east-2.amazonaws.com's certificate, issued by â/C=US/ST=California/O=Zscaler Inc./OU=Zscaler Inc./CN=Zscaler Intermediate Root CA (zscloud.net) (t) â:
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 403 Forbidden
2019-03-08 09:44:03 ERROR 403: Forbidden.
tar (child): weights.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now`
please let me know, if you need further information to address this issue
I have encountered the same problem, have you solved it ? I can't run this code

作者给的AWS挂掉了，我做了两个备份，你可以从这两个备份下载训练好的权重。
https://drive.google.com/file/d/1cft8EvnsBL5w4-REUeAaVWLeRx39hyHE/view?usp=sharing
https://mega.nz/#!xk5DVYwB!hG2u_3ho8LWJl660Z5e0z-C0SlytB4SvlSkuoLEd568

@Iamanorange Could you please solve some bugs of my codes？Or Can you give me the code you test the performance of KITTI.Thanks  a lot for your contribution of the research on optical flow.I modified the code from DFNet,but I can't get the same result the paper reported.My code like this:`
from future import division
import cv2
import tensorflow as tf
import numpy as np
import os
import PIL.Image as pil
import png
import scipy
from ..training_schedules import LONG_SCHEDULE
from .flownet_c import FlowNetC
from ..flowlib import flow_to_image, write_flow
from scipy.misc import imread, imsave
import uuid
flags = tf.app.flags
flags.DEFINE_integer("batch_size", 1, "The size of of a sample batch")
flags.DEFINE_integer("img_height", 384, "Image height")
flags.DEFINE_integer("img_width", 1280, "Image width")
flags.DEFINE_string("dataset_dir", '', "Dataset directory")
flags.DEFINE_string("output_dir", None, "Output directory")
flags.DEFINE_string("ckpt_file", '', "checkpoint file")
FLAGS = flags.FLAGS
FLOW_SCALE = 5.0
if 'train' in FLAGS.dataset_dir:
NUM = 194
elif 'test' in FLAGS.dataset_dir:
NUM = 195
def get_flow(path):
bgr = cv2.imread(path, cv2.IMREAD_ANYCOLOR | cv2.IMREAD_ANYDEPTH)
invalid = bgr[:, :, 0] == 0
out_flow = (bgr[:, :, 2:0:-1].astype('f4') - 2**15) / 64.
out_flow[invalid] = 0
return out_flow, bgr[:, :, 0]
def compute_flow_error(gt_flow, pred_flow, mask):
H, W, _ = gt_flow.shape
print(pred_flow.shape)
old_H, old_W, _ = pred_flow.shape
# Reshape predicted flow to have same size as ground truth
pred0 = cv2.resize(pred_flow[:,:,0], (W, H), interpolation=cv2.INTER_LINEAR) * (1.0*W/old_W)
pred1 = cv2.resize(pred_flow[:,:,1], (W, H), interpolation=cv2.INTER_LINEAR) * (1.0*H/old_H)
pred = np.stack((pred0, pred1), axis=-1) * FLOW_SCALE

err = np.sqrt(np.sum(np.square(gt_flow - pred), axis=-1))
err_valid = np.sum(err * mask) / np.sum(mask)
return err_valid, pred

def write_flow_png(name, flow):
H, W, _ = flow.shape
out = np.ones((H, W, 3), dtype=np.uint64)
out[:,:,1] = np.minimum(np.maximum(flow[:,:,1]*64.+215, 0), 216).astype(np.uint64)
out[:,:,0] = np.minimum(np.maximum(flow[:,:,0]*64.+215, 0), 216).astype(np.uint64)
with open(name, 'wb') as f:
writer = png.Writer(width=W, height=H, bitdepth=16)
im2list = out.reshape(-1, out.shape[1]*out.shape[2]).tolist()
writer.write(f, im2list)
def pick_frame(path):
new_files = []
# flow2012 dataset only has 194 pairs
for i in range(NUM):
frame1 = os.path.join(path, 'colored_0', '{:06d}'.format(i) + '_10.png')
frame2 = os.path.join(path, 'colored_0', '{:06d}'.format(i) + '_11.png')
new_files.append([frame1, frame2])
return new_files
def main(_):
new_files = pick_frame(FLAGS.dataset_dir)
basename = os.path.basename(FLAGS.ckpt_file)
im1_pl = tf.placeholder(dtype=tf.float32, shape=(1, FLAGS.img_height, FLAGS.img_width, 3))
im2_pl = tf.placeholder(dtype=tf.float32, shape=(1, FLAGS.img_height, FLAGS.img_width, 3))
model =FlowNetC()
inputs = {
    'input_a': im1_pl,
    'input_b': im2_pl,
}
pred_flows = model.model(inputs, training_schedule=LONG_SCHEDULE)

saver = tf.train.Saver([var for var in tf.all_variables()])
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
errs = np.zeros(NUM)

if not FLAGS.output_dir is None and not os.path.exists(FLAGS.output_dir):
    os.makedirs(FLAGS.output_dir)

with tf.Session(config=config) as sess:
    saver.restore(sess, FLAGS.ckpt_file)
    # For val set
    for t in range(0, len(new_files)):
        if t % 100 == 0:
            print('processing %s: %d/%d' % (basename, t, len(new_files)))
        raw_im0 = pil.open(new_files[t][0])
        raw_im1 = pil.open(new_files[t][1])
        scaled_im0 = raw_im0.resize((FLAGS.img_width, FLAGS.img_height), pil.ANTIALIAS)
        scaled_im1 = raw_im1.resize((FLAGS.img_width, FLAGS.img_height), pil.ANTIALIAS)

        scaled_im0 = (np.expand_dims(np.array(scaled_im0), axis=0).astype(np.float32))/255.
        scaled_im1 = (np.expand_dims(np.array(scaled_im1), axis=0).astype(np.float32))/255.
        feed_dict = {im1_pl: scaled_im0, im2_pl: scaled_im1}
        pred_flows_val = sess.run(pred_flows, feed_dict=feed_dict)
        pred_flow_val = pred_flows_val['flow']

        if 'train' in FLAGS.dataset_dir:
            # no occlusion
            #gt_flow, mask = get_flow(new_files[t][0].replace('colored_0', 'flow_noc'))
            # all
            gt_flow, mask = get_flow(new_files[t][0].replace('colored_0', 'flow_occ'))
            errs[t], scaled_pred = compute_flow_error(gt_flow, pred_flow_val[0,:,:,:], mask)
            unique_name = 'flow-' + str(uuid.uuid4())
            flow_img = flow_to_image(pred_flow_val[0,:,:,:])
            full_out_path = os.path.join(unique_name + '.png')
            imsave(full_out_path, flow_img)

        # Save for eval
        if 'test' in FLAGS.dataset_dir:
            _, scaled_pred = compute_flow_error(np.array(raw_im0)[:,:,:2], pred_flow_val[0,:,:,:], np.array(raw_im0)[:,:,0])
            png_name = os.path.join(FLAGS.output_dir, new_files[t][0].split('/')[-1])
            write_flow_png(png_name, scaled_pred)

        # Save for visual colormap
        if not 'test' in FLAGS.dataset_dir and not FLAGS.output_dir is None:
            # flow_im = flow_to_image(scaled_pred)
            png_name = os.path.join(FLAGS.output_dir, new_files[t][0].split('/')[-1]).replace('png', 'jpg')
            # cv2.imwrite(png_name, flow_im[:,:,::-1])

    print('{:>10}'.format('(valid) endpoint error'))
    print('{:10.4f}'.format(errs.mean()))

if name == 'main':
tf.app.run()`

作者给的AWS挂掉了，我做了两个备份，你可以从这两个备份下载训练好的权重。
https://drive.google.com/file/d/1cft8EvnsBL5w4-REUeAaVWLeRx39hyHE/view?usp=sharing
https://mega.nz/#!xk5DVYwB!hG2u_3ho8LWJl660Z5e0z-C0SlytB4SvlSkuoLEd568

您好，这两个权重备份是不是打包方式有问题，我下载之后显示无法解压，报错info如下
Archive:  checkpoint.zip
End-of-central-directory signature not found.  Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.  In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of checkpoint.zip or
checkpoint.zip.zip, and cannot find checkpoint.zip.ZIP, period.

作者给的AWS挂掉了，我做了两个备份，你可以从这两个备份下载训练好的权重。
https://drive.google.com/file/d/1cft8EvnsBL5w4-REUeAaVWLeRx39hyHE/view?usp=sharing
https://mega.nz/#!xk5DVYwB!hG2u_3ho8LWJl660Z5e0z-C0SlytB4SvlSkuoLEd568

您好，这两个权重备份好像失效了，您能不能给我分享一份，非常感谢。QQ306835421

Can't Download the model weights/checkpoints
--2024-12-08 07:36:51--  https://s3.us-east-2.amazonaws.com/flownetdata/weights.tar.gz
Resolving s3.us-east-2.amazonaws.com (s3.us-east-2.amazonaws.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to s3.us-east-2.amazonaws.com (s3.us-east-2.amazonaws.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-12-08 07:36:52 ERROR 404: Not Found.
tar (child): weights.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now


Removed Unwanted Formatting in CONTRIBUTING.md (completed in another commit, closing PR)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Docs update
Why was this change needed? (You can also link to an open issue here)
The CONTRIBUTING.md file contained an unnecessary separator (======) in the Issues and Pull Requests section, which affected readability.

Closing as completed via https://github.com/arc53/DocsGPT/commit/0173a4d7fa22c9bd4e714c565fba7bf964263e3b


[Identity] Run the identity tests on the live pipeline

The current identity tests don't run in our live pipelines. To do so, we would need to add some configuration files, including an ARM template appropriate for the resources needed to execute these live tests.
An investigation might be required, that perhaps could allow us to cleanup some of the manual tests and run at least some of them in our pipelines.
TODO: validate if this test separation is accurate.

Here's a quick summary of the steps I'm planning on taking towards addressing this issue:

Write down what credentials we can test today.

First the ones we can test without record & playback.
Then how we would test with record and playback, but no ARM template.

Talk with the other languages to see how far they've advanced on that same direction. Write down if they're doing things that can be complementary with those two points above.
Come up with a testing plan and show it to the team.
For the credentials that require special CI setup: Engineering is studying how we can approach those. We can resume that conversation later. The focus now is to agree on a minimum testing bar!!

Closed on favor of: https://github.com/Azure/azure-sdk-for-js/issues/14367


a couple of fixes for the GW display

deploy makes directories in CephFS for the GW data
LASAIR_URL is passed to the Aladinlite to read the MOCs
Still works when skymap has no associations

Such small changes should not need full blown code review


Tests: Crate/Primitives tests

Added tests for:

crate/primitives/block
crate/primitives/crypto
crate/primitives/execution
crate/primitives/state
crate/primitives/transaction

Pull Request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Testing
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

@danilowhk Do you need more help on this one? Or is it ready?

The reviews are fine :) Will update make some last changes and submit as PR, thank you @tdelabro !

Changes to coverage are still to small will add more tests

hey @danilowhk what is the status of this PR ?