New-NSSystemFile filename is recalcuated

When uploading files to the appliance the specified filename is overwritten - defaulting to the source filename.
Current Behavior
When uploading a file, i.e. C:\MyPath\SourceFilename.txt, and specifying a target filename of DestinationFilename.txt the file gets saved as SourceFilename.txt on the appliance.
Expected Behavior
I would expect the resulting file to have the filename specified, i.e. DestinantionFilename.txt.
Possible Solution
Change https://github.com/devblackops/NetScaler/blob/master/NetScaler/Public/Add-NSSystemFile.ps1#L71 to use the specified filename parameter instead of the source filename, e.g. $fileName = Split-Path -Path $fileName -Leaf.
Your Environment

Module version used: 1.3.0
Operating System and PowerShell version: Server 2012 R2 and 5.0.10586.117

I'm happy to submit a PR for this if you want me to?


Fixes/split 32blit code in firmware

Here is a first stab at separating some code out of the 32blit.cpp file in the firmware. This PR goes for I2C and battery management, which are now located in their own files. Battery state is also wrapped into a class, that serves enum values to the other parts of the firmware, instead of mystical bitfields.

@Daft-Freak haha, cleaning it up is good... someone else cleaning it up is better, right? :laughing: (god knows I despair every time I look at the STM32 guts of this thing, and I still somehow understand most of it)
Doing the lord's good work here @lenardg, thank you!

I changed the battery class to be a namespace.
I did not remove the battery name from the functions, because when it is not a class, I fear it would be all too easy to use the namespace and then have cryptic function calls.

That's true of most namespaces though... and you're less likely to want to use using if the names are shorter :smile:

This is true- don't be afraid to drop "Battery" and "battery_" from the front of function names or classes, since right now you can forego "using" and just use Battery::battery_charge_status and that's weird in its own way.

There you go :-) Removed the battery word from the function names.

Tiny nitpick: .hpp for the new headers. (Okay, most of the files in 32blit-stl32 are .h, but most of those are used for pure C HAL stuff...)

Fixed the .hpp file thing now.
Ok, Mr Nitpicker (@Daft-Freak), any more comments? :-P

Boof! Merged. Thank you all!


[ORC] Add support for DATE type

Support DATE in ORC using existing IntegerDirectColumnReader.

@usurai Can you rebase your change on master and see if the CircleCI jobs pass?


Timeout for resource template

Summary
need a way to be able to timeout the resource operation if it's taking too much time
Use Cases
We have some custom resources which take a lot of time for many reasons and workflow gets stuck on that step and we want to be able to timeout the step

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

A solution to this could be setting ActiveDeadlineSeconds for the pod/main container in workflowSpec.PodSpecPatch and then setting your resource's owner reference to that particular step so that the CR would not continue running forever.


Update MD file on new branch 2017-11-08_16-23-24

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/content1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix h5py version in dockerfile

Future version deprecated h5py.special_dtype which makes the docker container incompatible

Closing for now, we can revisit this as part of #80


oneAPI for FPGA kernels may not be executing concurrently

Summary
Producer and Consumer kernels in the oneAPI pipe examples may not be executing concurrently. The reported start and end times for the kernels do not suggest concurrent execution. Is there a more appropriate way to collect overall FPGA profiling information than using the sycl::info commands inside of each kernel definition?
Version
OneAPI Beta 10 (latest on Intel DevCloud)
Environment
Intel DevCloud default
Steps to reproduce
Followed steps listed at https://github.com/oneapi-src/oneAPI-samples/tree/master/DirectProgramming/DPC%2B%2BFPGA/Tutorials/Features/pipes using source code there.
Observed behavior
Kernels are not executing concurrently. When adding profiling to the kernels, the first kernel (Producer) reports it start and end time, and the subsequent kernel's (Consumer) start time is after the first kernel's end time.
Profiling commands after q is submitted in the kernel definitions:
k_start = q.get_profiling_infosycl::info::event_profiling::command_start();
k_end = q.get_profiling_infosycl::info::event_profiling::command_end();
Expected behavior
Consumer kernel's start time should be before Producer kernel's end time.

Do you see this in emulation or in FPGA hardware?
If it's in FPGA emulation, this behavior is completely expected. The FPGA emulator is nothing more than a CPU device that can handle FPGA extensions. It in no way reflects the performance (or concurrency) characteristics of the FPGA hardware. If it's in FPGA HW, that could only be an artifact of measurement or too-short kernel times.
Either way, we'll look into it. Your confusion is legitimate and the tutorial ought to print this start/stop info and explain the results.

As Audrey said, I will be changing the tutorial to print this information and provide more details in the README. I would like to gently push about this point though:

Consumer kernel's start time should be before Producer kernel's end time.

This is not always true. If the pipe depth is sufficiently high relative to the total amount of data, then the consumer kernel could start after the producer has finished. This tutorial sets a pipe depth of 4 and input size is 1024, so this shouldn't be the case in HW (if it is, it is likely a small granularity measurement issue). However, the emulator may use fixed size circular buffers that are larger than the requested depth to implement pipes (essentially ignoring the actual depth) and therefore you could be seeing the behaviour I just described in emulation.

Opened PR https://github.com/oneapi-src/oneAPI-samples/pull/380 to improve the pipes tutorial -- the improvements should prevent anyone else from being similarly mislead about the tool's behavior.

Dropping in just for clarification.
The kernel performance profiled came from HW generated and executed designs. I assumed that the issue may have been an artifact of measurement as I wondered what is the best method for profiling in this situation.
In any case, I appreciate the help and see the updated source.

@kljucaric  - Thanks for the follow-up and clarification. Interesting to know that you actually saw this in FPGA HW.
SYCL event profiling is the way to measure kernel start/stop times. (There's a neat system profiling visualization tool you can use, but it uses the same mechanism under the hood.) While I'm not familiar with the details of exactly how the DPC++ runtime implements profiling under the hood, some measurement artifacts are to be expected.
The problem with the (original) pipes tutorial was that the kernel run time was tiny with only 1024 values transacted. The actual duration of kernel execution was swamped by the runtime overhead, so the measurement artifacts swamped the signal. With 1,000,000 transactions, the results look as expected.
The updated tutorial allows you to control the input buffer size to get a feel for this.


Input Object Type Support for Dictionary as Native Type

If there is no native type defined for an input type we should fall back to Dictionary<string, object>. This is convenient when used with code first and no type was defined for an input object type.

This one should already work. So we just need a test for this.


K-67: Validate if train/serve file is executable

Description
Closes issue 67
Checklist

[x] An issue was first created before opening this pull request
[x] The new code follows the kaos contribution guidelines
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests to ensure that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@ms-shankar, @ImScientist, how can I test the PR changes locally?

Hi @aalhour,
These changes can be tested by following the quickstart documentation to

setup workspace
loading mnist template
After loading the template, modify /templates/mnist/model-train/mnist/model/train in order to remove the shebang line at the top and change it from being an executable
Run the train command, and the train command should fail throwing appropriate errors.
Repeat the same change in the /templates/mnist/model-serve/mnist/model/serve and run the serve command to check appropriate validation errors are encountered.


Fixed typo in DNS hunting

Description
This fixes a crash due to a typo in Kube-DNS hunting when using the network timeout option.
Contribution checklist

[x] I have read the Contributing Guidelines.
[ ] The commits refer to an active issue in the repository.
[ ] I have added automated testing to cover this case.

Notes
Please mention if you have not checked any of the above boxes.

wow...this is why I prefer compiled languages like Go!
Haha


[Feature] fancy logs

Is your feature request related to a problem? Please describe.
When people encounter issues with Brickrail, it will be really helpful to have some information of what was going on internally in brickrail. Currently, only the BLEserver stdout is accessible to the user.
Describe the solution you'd like
Add automatic log files. We already have the logger singleton but let's investigate other solutions as well.

We do have basic logs now, using automatic logging feature of godot and new logging plugin. Keeping this open because of the "topics" feature, making the Logger Singleton custom

also we could have a log-dispatcher class, where each object creates a new instance and stores the constants like which topic, which logging module in this instance and each logging call goes through that instance


Does not work inside RichTextEditor if validation of another property failed

If you use a property with the RichTextEditor, you cannot set a link because the link editor modal is behind the Rich Text Editor.
How to test

Configure a RTE property:

    foo:
      type: string
      ui:
        label: 'Foo'
        reloadIfChanged: true
        inspector:
          group: foo
          editor: 'Neos.Neos/Inspector/Editors/RichTextEditor'
          editorOptions:
            linking:
              'Sitegeist.Archaeopteryx':
                linkTypes:
                  'Sitegeist.Archaeopteryx:Node':
                    allowedNodeTypes: ['My.Site:Document.Mixin.LinkablePage']

Open the RTE
Try adding a link

I just realized that this only fails under one condition: A validation of another property failed in the inspector.
So, normally it works. But if validation of another property failed and you open the RichTextEditor and then you want to add a link, the Link Editor is behind the RichTextEditor:

I'm mentioning @mhsdesign here because he once mentioned issues with automatically triggered validation.

Thanks this is interesting. It seems also the pending change overlay was triggered. So a few things seem of here ^^


Amazon digital music links break the site

When adding a link from amazon.com for digital music, the app either fails to find the product and add the name/picture/price, or it completely fails to reload the page, reporting "Bad gateway."  Example: https://www.amazon.com/dp/B0CJH7JZV8/ref=sr_1_2?crid=232NDHHA7SO1X&keywords=taylor+swift+1989+taylors+version&qid=1699494823&sprefix=taylor+swift+1989+%2Caps%2C163&sr=8-2
It's possible the bad gateway issue has something to do with my reverse proxy, but the failing to grab info is a problem even when directly accessing the local resource.

I'd be happy to merge a PR with a fix for this + a test case!


linux: version bumps (5.6.9 & 5.4.37)

Motivation for this change
linux: 5.6.8 -> 5.6.9
linux: 5.4.36 -> 5.4.37
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Got bumped directly to  5.6.10 and 5.4.38. Closing.


Password reset email - How do I specify return URL?

Using MembershipReboot, I was able to get a password reset email sent with a link to reset my password. What I'm trying to figure out is how do I include a returnUrl parameter in the link? Without a returnUrl, a user that successfully resets his password will be "stuck" in IdentityServer. One idea is to store a "VerificationReturnUrl" on the UserAccounts table. Not sure if this is a bad idea. Thanks.

I realized I wasn't very clear in my initial post. It's easy to append any returnUrl to the link in the password reset email. But what I need to append is the URL that the user came from initially when attempting to login. This returnUrl is in IdSrv's signin message. But I don't think I can use the GetSignInMessage method from the EmailMessageFormatter.GetBody method which I'm overriding.

I decided to use a new VerificationReturnUrl column on the UserAccounts table. Thanks.


Disable alt-text-required for markdown files

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
[x] Documentation content changes
[ ] Other (please describe):

What is the current behavior?
Markdown linting underlines images without alt text (ie. ![](path/to/file.png).
What is the new behavior?
Rule is disabled so markdown linting does not show this as an error.
Other information
Time spent on this PR:  0.01 day

How come we can have images without alt text :

that aren't spotted in the IDE (with red underline)
and then fails CI?

Well, depending on your IDE settings they’re underlined or not…
markown linting is furthermore  not checked in CI


Add SetFit classifier to assess preference based on Title-Abstract pairs

Should be done after https://github.com/davidberenstein1957/paper-prowler/issues/1


BUTTON mode sometimes is not working on InteractiveMarker

I have the following Python code, which is adapted from the tutorials:
#!/usr/bin/env python
import roslib; roslib.load_manifest("interactive_markers")
import rospy
import copy

from interactive_markers.interactive_marker_server import *
from visualization_msgs.msg import *
from geometry_msgs.msg import *

pub = rospy.Publisher('pose_out', PoseStamped, queue_size=10)

def processFeedback(feedback):
    if feedback.event_type == InteractiveMarkerFeedback.BUTTON_CLICK:
        pose = PoseStamped()
        pose.header.stamp = rospy.get_rostime()
        pose.header.frame_id = "world"
        pose.pose = feedback.pose
        pub.publish(pose)

def makeMarker():
    marker = Marker()
    marker.type = Marker.SPHERE
    marker.scale.x = 0.3
    marker.scale.y = 0.3
    marker.scale.z = 0.3
    marker.color.g = 1.0
    marker.color.a = 1.0
    return marker

if __name__=="__main__":
    rospy.init_node("pose_marker_server")

    # create an interactive marker server on the topic namespace goal_marker
    server = InteractiveMarkerServer("int_marker")

    # create an interactive marker for our server
    int_marker = InteractiveMarker()
    int_marker.header.frame_id = "world"
    int_marker.name = "int_marker"
    int_marker.description = "int_marker"
    int_marker.scale = 0.7

    # create marker and a non-interactive control containing the marker
    control = InteractiveMarkerControl()
    control.always_visible = True
    control.markers.append(makeMarker())

    # add control to interactive marker
    int_marker.controls.append(control)

    # add control for position (as it has no marker, RViz decides which one to use).
    control = InteractiveMarkerControl()
    control.orientation.w = 1
    control.orientation.x = 0
    control.orientation.y = 1
    control.orientation.z = 0
    control.interaction_mode = InteractiveMarkerControl.MOVE_PLANE
    int_marker.controls.append(copy.deepcopy(control))

    # add control for the height (as it has no marker, RViz decides which one to use).
    control.interaction_mode = InteractiveMarkerControl.MOVE_AXIS
    int_marker.controls.append(copy.deepcopy(control))

    # add control for pose publishing.
    control.interaction_mode = InteractiveMarkerControl.BUTTON
    control.markers.append(makeMarker()) # This is required, it will not work otherwise.
    int_marker.controls.append(control)

    # add the interactive marker to our collection &
    # tell the server to call processFeedback() when feedback arrives for it
    server.insert(int_marker, processFeedback)

    # 'commit' changes and send to all clients
    server.applyChanges()

    rospy.spin()

The BUTTON property does not work always. Sometimes, I run the node and it does not work. However, by enabling and disabling from RViz displays it ends up working at some point. Analogously, when it is working, it happens that after disabling and enabling, it stops working and I cannot click on it.
Note: I'm not 100% sure my code is correct.

Issue solved, it was a problem of my code. See the Note in previous post for further info.

How did you solve that?


Compute sirna-treated cell genotype probabilities

In this pr, the nf1 model is used to compute genotype probabilities of siRNA-treated cells from plate 4 morphology features. Please let me know if you have any suggestions.

Submitting a new pr with an updated model


Update 3 PR

The intent of this PR is to meet the Update 3 deliverables outlined below. Thanks for your help and review as always!

Deployed subgraph here.

Update 3 - Totals and counts:

Obtain NFT collection totals
Fix small code change requests specified from last PR for this PR

Small notes to consider:
As discussed, this PR functions and could arguably be cleaned up in terms of better code practices. For now, the intent is to make it function and clean it up afterwards. Please let me know what you think!
Comparison w/ this frontend

Merge count differs, not sure why yet.
Total Owners: I found a bug in my code that I fixed this morning. Need to wait for the subgraph to fully sync to see where it lines up now.

Comparison w/ this frontend

Their blue count seems wrong.

Comparison w/ etherscan

Total Owners: see comment before about this
Total supply lines up! Seems like they update it as burns happen.

Comparison w/ Nifty Gateway

Looks like they differ from all other sources in terms of their total Owners count (their total is just too high, off by about 500 or so)
They do not seem to show other info other than, I find it odd that they have more listings then there are merge NFTs in existence though (according to all other sources aforementioned).

Remaining to do for project:
To-Dos in next Updates:

Update 4:

Historic data (Who owned what NFT, and when? --> put it in an array and push elements to it where each element is a previous owner of that NFT.
Taking care of previous alphaTokens

Update 5:

Sales details

Changes made in Update 4 PR since it is based off of the last commit of this Update 3 PR as discussed. Please approve this PR, I will then merge this PR and then continue with Update 4 PR and resolve any outstanding change requests from this PR review as well there. Thanks!


Please invite me to the Recode-Hive GitHub Community Organization

Name
AnleaMJ
Discord Username (if applicable)
Ann_06
Additional Context
No response

Invitation sent to join the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see. You can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/recodehive/people


Implements getting Market Hours DB from repository

Description

Implements getting the MHDB directly from the repository.
Related Issue

Closes #2914
Motivation and Context

The latest version and where al bug is fixed first is the MHDB from the repository. With this new feature, we can assure we get the latest version always.
Requires Documentation Change

No.-
How Has This Been Tested?

Added new test case.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description or feature-<issue#>-<description>

Introduces indeterminate behavior.  Also will be rate limited. Needs to
work stand alone
On Fri, Feb 15, 2019, 5:45 AM Jay-Jay-D<EMAIL_ADDRESS>wrote:

Description
Implements getting the MHDB directly from the repository.
Related Issue
Closes #2914 https://github.com/QuantConnect/Lean/issues/2914
Motivation and Context
The latest version and where al bug is fixed first is the MHDB from the
repository. With this new feature, we can assure we get the latest version
always.
Requires Documentation Change
No.-
How Has This Been Tested?
Added new test case.
Types of changes

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing
functionality to change)
Non-functional change (xml comments/documentation/etc)

Checklist:

My code follows the code style of this project.
I have read the CONTRIBUTING document
https://github.com/QuantConnect/Lean/blob/master/CONTRIBUTING.md.
I have added tests to cover my changes.
All new and existing tests passed.
My branch follows the naming convention bug-<issue#>-<description or
feature-<issue#>-

You can view, comment on, or merge this pull request online at:
https://github.com/QuantConnect/Lean/pull/2915
Commit Summary

Implements get MHDB from repository

File Changes

M Common/Securities/MarketHoursDatabase.cs
https://github.com/QuantConnect/Lean/pull/2915/files#diff-0 (17)
M Tests/Common/Securities/MarketHoursDatabaseTests.cs
https://github.com/QuantConnect/Lean/pull/2915/files#diff-1 (7)

Patch Links:

https://github.com/QuantConnect/Lean/pull/2915.patch
https://github.com/QuantConnect/Lean/pull/2915.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/QuantConnect/Lean/pull/2915, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACI6mVLzH3_m6-akCxAJakE6bdp3aQObks5vNroJgaJpZM4a9rwM
.


Update App.js

changing button name

Hi, Ferreira Walter, please try to make worthy contribution, changing texts doesn't work.


Discuss new design for billing alerts in factories

Following up on #1628 where @gustavovalverde raised the issue of billing alerts missing from the new project factory.
We recently created a new billing account module and moved billing alerts functionality inside it, so we are now ready to look at how to reimplement that functionality in factories.
My preference would be to add billing alert factory support to the billing account module, so alerts can be specified via a dedicated set of yaml files, and then either referencing existing alerts from the project factory, or combining it so the project data source can feed and populate the billling alerts data source.

A billing alert factory was added to the billing module a few days ago. We are planning an overhaul of factories across the whole repo, closing this for now since billing is done.


Misc fix for pinot spi

Remove the dependency version in pinot-spi pom file
Fix the wrong record reader folder names

Codecov Report

Merging #4932 into master will increase coverage by 20.47%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #4932       +/-   ##
=============================================
+ Coverage     36.14%   56.61%   +20.47%
- Complexity        0       53       +53
=============================================
  Files          1177     1177
  Lines         62857    62857
  Branches       9222     9222
=============================================
+ Hits          22718    35586    +12868
+ Misses        38120    24623    -13497
- Partials       2019     2648      +629

Impacted Files
Coverage Δ
Complexity Δ

...ache/pinot/json/data/readers/JSONRecordReader.java
90% <ø> (ø)
12 <0> (?)

.../thrift/data/readers/ThriftRecordReaderConfig.java
80% <ø> (ø)
3 <0> (?)

.../pinot/csv/data/readers/CSVRecordReaderConfig.java
56.25% <ø> (ø)
6 <0> (?)

...apache/pinot/csv/data/readers/CSVRecordReader.java
74.07% <ø> (ø)
15 <0> (?)

.../pinot/thrift/data/readers/ThriftRecordReader.java
81.48% <ø> (ø)
13 <0> (?)

...ller/validation/OfflineSegmentIntervalChecker.java
57.69% <0%> (-21.8%)
0% <0%> (ø)

...he/pinot/controller/util/SegmentIntervalUtils.java
0% <0%> (-8.34%)
0% <0%> (ø)

.../impl/dictionary/LongOffHeapMutableDictionary.java
58.06% <0%> (-7.53%)
0% <0%> (ø)

...ng/builder/DefaultRealtimeRoutingTableBuilder.java
61.9% <0%> (-4.77%)
0% <0%> (ø)

...r/validation/RealtimeSegmentValidationManager.java
81.96% <0%> (ø)
0% <0%> (ø)
:arrow_down:

... and 584 more

Continue to review full report at Codecov.

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


Fix(Type): Tidy up text mixin

Tidy up typography LESS and mixins:

Build a factory to prepare font size classes in better DRY practice 🤞
Replace sk- prefixed variables with their sa- counterparts.

Closed as seems eslint cannot recognize LESS CSS array as valid


Allow all examples to run in f32/f64 depending on feature flags

Removes the separation of cubes_f64 and the rest of the examples where it should just work to compile with the corresponding feature flag.

Thanks! I think the actual code looks good. Adding bevy_editor_pls here seems a bit random though, so I'm wondering if it's unintenional or for debug purposes? If we want to add it to some examples, another PR might be better.
Also, I'm just wondering if we actually want to keep f32 and f64 separate, since it was originally kind of a deliberate choice. In most applications, people would just use either f32 or f64, so supporting both in the examples doesn't reflect common usage quite as well. I'm worried people will look at the examples and see custom stuff like Scalar, Quaternion and .as_f32(), and assume that they have to be used instead of just f32 and Quat. For new people it might make the API seem more cumbersome than it is.
I'm not sure if this is an actual problem though, and I guess I could just add some kind of "Running the examples" section in the README.md and explain that the examples support both precisions, which is why special types are used.
Let me know if you have any thoughts on this, I haven't decided anything yet

Thanks! I think the actual code looks good. Adding bevy_editor_pls here seems a bit random though, so I'm wondering if it's unintenional or for debug purposes? If we want to add it to some examples, another PR might be better.
Also, I'm just wondering if we actually want to keep f32 and f64 separate, since it was originally kind of a deliberate choice. In most applications, people would just use either f32 or f64, so supporting both in the examples doesn't reflect common usage quite as well. I'm worried people will look at the examples and see custom stuff like Scalar, Quaternion and .as_f32(), and assume that they have to be used instead of just f32 and Quat. For new people it might make the API seem more cumbersome than it is.
I'm not sure if this is an actual problem though, and I guess I could just add some kind of "Running the examples" section in the README.md and explain that the examples support both precisions, which is why special types are used.
Let me know if you have any thoughts on this, I haven't decided anything yet

The bevy_editor_pls stuff was just for debugging the changes a bit better and trying to figure out the instability issues, will remove it.
I'd say just explaining that examples support both precisions would be useful for less maintenance. I was mostly thinking it'd be nice to be able to switch between f32/f64 with just the feature flag, but I realize now that wouldn't really be the case...

I think we can support both precisions in the examples and just mention it in the README.md. It's probably the easiest and most sensible way for now. If people find it confusing, we can always just revert to using one precision.
The constructor generics method won't work anymore since I removed the bundles in favor of a simpler and more ergonomic API (see #37), but I guess we could implement From<Vec3> and From<DVec3> etc. for the components so you could do e.g. Pos::from(Vec3::X) in both precisions. This might be more confusing though so I think it's fine to use the generic types like Vector in the examples as long as it's explained.
Would it be fine if I made another PR for this in a couple of days? I'm probably going to update some of the examples to be simper and cleaner before release, so it's probably not worth fixing all of the merge conflicts that are on this branch. I like the AdjustPrecision and AsF32 traits though so I'll add you as a co-author for that

Ya thats fine! :)

Added AdjustPrecision and AsF32 in fbcea35, closing this PR in favor of #48.


Semi-circle pie/ doughnut chart configuration?

Is there a way currently to create a pie or doughnut chart that is a semi circle (half pie chart)?

Yeap, i would ask the same question..
I guess logically that could be like, adding start and end point and converting percentages to work in that range...


Detecting if a Model property is required via FluentValidation rules rather than RequiredAttribute

Just wondering if there has been any thought on supporting detection of required Model properties when FluentValidation has been utilized and the use of AbstractValidators on Models? Maybe looking for NotNull rules?
-- simple validator
using FluentValidation;
public class PersonModelValidator : AbstractValidator
{
public PersonModelValidator()
{
this.RuleFor(contract => contract.FirstName).NotNull();
}
}
-- simple model
[Validator(typeof(PersonModelValidator))]
public class PersonModel : Person
{
public string FirstName { get; set; }
}

Actually, I don't think this would even be possible. Looking at your example, the rules are specified at run time (inside the validator constructor) and so there would be no simple way for Swashbuckle to determine this information statically.

Hmm. I think it might be possible... if a little complicated.
You should be able to ask for a validator for the type under inspection (PersonModel in this example) - that is ask for an IValidator from your DI container. Alternatively, you could reflect over the PersonModel class, look for the ValidatorAttribute, and instantiate the applicable validator class.
Once you have a validator object in hand, you should be able to examine the rules one by one, and programmatically work out whether the property is required...
Hmm, it is a fair amount of faffing around. But, I can certainly see the value of having a FluentValidation "plug in" for Swashbuckle/Swagger. I wonder if a) I have the time to do this, and b) can be bothered, and not just about flinging the [Required] attribute everywhere (which is a horrible bastardisation of using DataAnnotations as well as FluentValidation, ugh!)

I've created nuget package based on Mujahid Daud Khan answer on StackOwerflow.
See: https://www.nuget.org/packages/MicroElements.Swashbuckle.FluentValidation


More graceful error handling when loading samples from storage

I guess this just means popping a modal with a list of every sample that failed to load from storage, the same as we do at the end of the bulk import.


how to install mxnet on CentOS 6.5 ?

i want install mxnet on centos6.5,but have some error:
[root@mgmt ~]# yum update
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink                                                                  | 5.3 kB     00:00

epel: mirrors.hustunique.com
epel                                                                           | 4.3 kB     00:00
epel/primary_db                                                                | 5.7 MB     00:24
310 packages excluded due to repository priority protections
Setting up Update Process
No Packages marked for Update

[root@mgmt ~]# sudo yum install -y build-essential git libatlas-base-dev libopencv-dev
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile

epel: mirrors.hustunique.com
310 packages excluded due to repository priority protections
Setting up Install Process
No package build-essential available.
Package git-1.7.1-3.el6_4.1.x86_64 already installed and latest version
No package libatlas-base-dev available.
No package libopencv-dev available.
Nothing to do

[root@mgmt ~]# git clone --recursive https://github.com/dmlc/mxnet
fatal: destination path 'mxnet' already exists and is not an empty directory.
[root@mgmt mxnet]# cd mxnet;make -j4
g++ -std=c++0x -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -MM -MT build/resource.o src/resource.cc >build/resource.d
g++ -std=c++0x -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -MM -MT build/c_api/c_api.o src/c_api/c_api.cc >build/c_api/c_api.d
g++ -std=c++0x -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -MM -MT build/c_api/c_predict_api.o src/c_api/c_predict_api.cc >build/c_api/c_predict_api.d
g++ -std=c++0x -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -MM -MT build/common/mxrtc.o src/common/mxrtc.cc >build/common/mxrtc.d
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing opencv.pc' to the PKG_CONFIG_PATH environment variable No package 'opencv' found Package opencv was not found in the pkg-config search path. Perhaps you should add the directory containingopencv.pc'
to the PKG_CONFIG_PATH environment variable
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing opencv.pc' to the PKG_CONFIG_PATH environment variable Package opencv was not found in the pkg-config search path. Perhaps you should add the directory containingopencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
No package 'opencv' found
No package 'opencv' found
g++ -std=c++0x -c -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -c src/common/mxrtc.cc -o build/common/mxrtc.o
g++ -std=c++0x -c -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -c src/c_api/c_predict_api.cc -o build/c_api/c_predict_api.o
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing opencv.pc' to the PKG_CONFIG_PATH environment variable No package 'opencv' found Package opencv was not found in the pkg-config search path. Perhaps you should add the directory containingopencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
g++ -std=c++0x -c -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -c src/resource.cc -o build/resource.o
g++ -std=c++0x -c -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -c src/c_api/c_api.cc -o build/c_api/c_api.o
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing opencv.pc' to the PKG_CONFIG_PATH environment variable No package 'opencv' found Package opencv was not found in the pkg-config search path. Perhaps you should add the directory containingopencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
In file included from ./mshadow/mshadow/tensor.h:16:0,
from include/mxnet/base.h:13,
from src/resource.cc:8:
./mshadow/mshadow/./base.h:135:23: fatal error: cblas.h: No such file or directory
#include <cblas.h>
^
compilation terminated.
In file included from ./mshadow/mshadow/tensor.h:16:0,
from include/mxnet/./base.h:13,
from include/mxnet/mxrtc.h:9,
from src/common/mxrtc.cc:7:
./mshadow/mshadow/./base.h:135:23: fatal error: cblas.h: No such file or directory
#include <cblas.h>
^
compilation terminated.
make: *** [build/resource.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ./mshadow/mshadow/tensor.h:16:0,
from include/mxnet/base.h:13,
from src/c_api/c_api.cc:11:
./mshadow/mshadow/./base.h:135:23: fatal error: cblas.h: No such file or directory
#include <cblas.h>
^
compilation terminated.
make: *** [build/common/mxrtc.o] Error 1
make: *** [build/c_api/c_api.o] Error 1
In file included from ./mshadow/mshadow/tensor.h:16:0,
from include/mxnet/./base.h:13,
from include/mxnet/symbolic.h:17,
from src/c_api/c_predict_api.cc:9:
./mshadow/mshadow/./base.h:135:23: fatal error: cblas.h: No such file or directory
#include <cblas.h>
^
compilation terminated.
make: *** [build/c_api/c_predict_api.o] Error 1

this is my stup steps about  install mxnet in centos 5.8,may can help you~, however, you should read code cafefully  before you install.
#!/usr/bin/env bash
pre env
cd /home
mxnet_path='install_mxnet'
if [  -x "$mxnet_path" ]; then
rm -rf "$mxnet_path"
fi
mkdir "$mxnet_path"
cd install_mxnet
yum -y install git
if [ "$?" == "0"]; then
echo "git install fail"
exit 0
fi
######update gcc to 4.8.2
new_gcc='/opt/rh/devtoolset-2/root/usr/bin/gcc'
cd /etc/yum.repos.d
wget http://people.centos.org/tru/devtools-2/devtools-2.repo
yum -y install devtoolset-2-gcc devtoolset-2-binutils devtoolset-2-gcc-c++
if [ ! -f "$new_gcc" ]; then
echo "gcc install fail"
exit 0
fi
mv -f /usr/bin/gcc /usr/bin/gcc.bak4.1.2
mv -f /usr/bin/c++ /usr/bin/c++.bak4.1.2
mv -f /usr/bin/g++ /usr/bin/g++.bak4.1.2
ln -s /opt/rh/devtoolset-2/root/usr/bin/gcc /usr/bin/gcc
ln -s /opt/rh/devtoolset-2/root/usr/bin/c++ /usr/bin/c++
ln -s /opt/rh/devtoolset-2/root/usr/bin/g++ /usr/bin/g++
cd -
######install atlas
libcblas='/usr/lib64/atlas/libcblas.so'
rpm -ivh http://mirrors.yun-idc.com/epel/5Server/x86_64/epel-release-5-4.noarch.rpm
yum -y install atlas-devel
if [ ! -f "$libcblas" ]; then
echo "atlas install fail"
exit 0
fi
ln -sf /usr/lib64/atlas/libcblas.so /usr/bin/libcblas.so
######upgrade python
new_python='/usr/local/bin/python2.7'
wget https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz
tar -xzf Python-2.7.9.tgz
cd Python-2.7.9
./configure
make
make install
if [ ! -f "$new_python" ]; then
echo "python update fail"
exit 0
fi
mv /usr/bin/python /usr/bin/python2.4.3
ln -s /usr/local/bin/python2.7 /usr/bin/python
sed -i 's/#!/usr/bin/python/#!/usr/bin/python2.4.3/g'  /usr/bin/yum
yum -y groupinstall 'Development Tools'
yum -y install openssl-devel* ncurses-devel* zlib*.x86_64
yum -y install bzip2 bzip2-devel bzip2-libs
cd -
######install numpy
wget http://sourceforge.net/projects/numpy/files/NumPy/1.10.2/numpy-1.10.2.tar.gz
if [ "$?" == "0" ];then
echo "numpy download fail"
exit 0
fi
tar -xzf numpy-1.10.2.tar.gz
cd numpy-1.10.2
python setup.py build
python setup.py install
cd -
######install mxnet
git clone --recursive https://github.com/dmlc/mxnet
if [ "$?" == "0" ]; then
echo "mxnet download fail"
exit 0
fi
cd mxnet
cp make/config.mk .
sed -i 's/USE_OPENCV = 1/USE_OPENCV = 0/g' config.mk
sed -i 's/USE_DIST_KVSTORE = 0/USE_DIST_KVSTORE = 1/g' config.mk
sed -i 's/wget/wget\ --no-check-certificate/g' ps-lite/make/deps.mk
make -j4

em, the installation document needs some special section about CentOS installation since many packages have different names, so it is not a simple replacement of 'apt-get' and 'yum', just like in your log:
mirrors.hustunique.com 310 packages excluded due to repository priority protections Setting up Install Process No package build-essential available. Package git-1.7.1-3.el6_4.1.x86_64 already installed and latest version No package libatlas-base-dev available. No package libopencv-dev available. Nothing to do

In short, your log shows that, neither atlas/openblas nor opencv was installed. Please double check with google search for how to install these two packages in CentOS.

you need
sudo yum install atlas-devel opencv

and possible gcc gcc-gfortran gcc-c++ if not yet installed. CentOS 7 is recommended.

thank you for reply,now i have the problem is like this:
[root@mgmt mxnet]# yum install atlas-devel
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile

epel: ftp.cuhk.edu.hk
310 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package atlas-devel.x86_64 0:3.8.4-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved
======================================================================================================
Package                  Arch                Version                     Repository             Size
Installing:
atlas-devel              x86_64              3.8.4-2.el6                 c6-media              4.2 M
Transaction Summary
Install       1 Package(s)
Total download size: 4.2 M
Installed size: 22 M
Is this ok [y/N]: y
Downloading Packages:
Error Downloading Packages:
atlas-devel-3.8.4-2.el6.x86_64: failure: Packages/atlas-devel-3.8.4-2.el6.x86_64.rpm from c6-media: [Errno 256] No more mirrors to try.
[root@mgmt mxnet]# sudo yum install opencv-devel
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile

epel: ftp.cuhk.edu.hk
310 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package opencv-devel.x86_64 0:2.0.0-12.el6 will be installed
--> Processing Dependency: opencv = 2.0.0-12.el6 for package: opencv-devel-2.0.0-12.el6.x86_64
--> Processing Dependency: libml.so.2.0()(64bit) for package: opencv-devel-2.0.0-12.el6.x86_64
--> Processing Dependency: libhighgui.so.2.0()(64bit) for package: opencv-devel-2.0.0-12.el6.x86_64
--> Processing Dependency: libcxcore.so.2.0()(64bit) for package: opencv-devel-2.0.0-12.el6.x86_64
--> Processing Dependency: libcvaux.so.2.0()(64bit) for package: opencv-devel-2.0.0-12.el6.x86_64
--> Processing Dependency: libcv.so.2.0()(64bit) for package: opencv-devel-2.0.0-12.el6.x86_64
--> Running transaction check
---> Package opencv.x86_64 0:2.0.0-12.el6 will be installed
--> Processing Dependency: libunicap.so.2()(64bit) for package: opencv-2.0.0-12.el6.x86_64
--> Processing Dependency: libucil.so.2()(64bit) for package: opencv-2.0.0-12.el6.x86_64
--> Running transaction check
---> Package unicap.x86_64 0:0.9.5-7.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved
======================================================================================================
Package                   Arch                Version                    Repository             Size
Installing:
opencv-devel              x86_64              2.0.0-12.el6               c6-media              179 k
Installing for dependencies:
opencv                    x86_64              2.0.0-12.el6               c6-media              4.6 M
unicap                    x86_64              0.9.5-7.el6                c6-media              153 k
Transaction Summary
Install       3 Package(s)
Total download size: 4.9 M
Installed size: 27 M
Is this ok [y/N]: y
Downloading Packages:
Error Downloading Packages:
opencv-devel-2.0.0-12.el6.x86_64: failure: Packages/opencv-devel-2.0.0-12.el6.x86_64.rpm from c6-media: [Errno 256] No more mirrors to try.

thank you for reply,now i have the problem is like this:
[root@mgmt mxnet]# yum install atlas-devel
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile

epel: ftp.cuhk.edu.hk
310 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package atlas-devel.x86_64 0:3.8.4-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved
======================================================================================================
Package                  Arch                Version                     Repository             Size
Installing:
atlas-devel              x86_64              3.8.4-2.el6                 c6-media              4.2 M
Transaction Summary
Install       1 Package(s)
Total download size: 4.2 M
Installed size: 22 M
Is this ok [y/N]: y
Downloading Packages:
Error Downloading Packages:
atlas-devel-3.8.4-2.el6.x86_64: failure: Packages/atlas-devel-3.8.4-2.el6.x86_64.rpm from c6-media: [Errno 256] No more mirrors to try.
[root@mgmt mxnet]# sudo yum install opencv-devel
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile

epel: ftp.cuhk.edu.hk
310 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package opencv-devel.x86_64 0:2.0.0-12.el6 will be installed
--> Processing Dependency: opencv = 2.0.0-12.el6 for package: opencv-devel-2.0.0-12.el6.x86_64
--> Processing Dependency: libml.so.2.0()(64bit) for package: opencv-devel-2.0.0-12.el6.x86_64
--> Processing Dependency: libhighgui.so.2.0()(64bit) for package: opencv-devel-2.0.0-12.el6.x86_64
--> Processing Dependency: libcxcore.so.2.0()(64bit) for package: opencv-devel-2.0.0-12.el6.x86_64
--> Processing Dependency: libcvaux.so.2.0()(64bit) for package: opencv-devel-2.0.0-12.el6.x86_64
--> Processing Dependency: libcv.so.2.0()(64bit) for package: opencv-devel-2.0.0-12.el6.x86_64
--> Running transaction check
---> Package opencv.x86_64 0:2.0.0-12.el6 will be installed
--> Processing Dependency: libunicap.so.2()(64bit) for package: opencv-2.0.0-12.el6.x86_64
--> Processing Dependency: libucil.so.2()(64bit) for package: opencv-2.0.0-12.el6.x86_64
--> Running transaction check
---> Package unicap.x86_64 0:0.9.5-7.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved
======================================================================================================
Package                   Arch                Version                    Repository             Size
Installing:
opencv-devel              x86_64              2.0.0-12.el6               c6-media              179 k
Installing for dependencies:
opencv                    x86_64              2.0.0-12.el6               c6-media              4.6 M
unicap                    x86_64              0.9.5-7.el6                c6-media              153 k
Transaction Summary
Install       3 Package(s)
Total download size: 4.9 M
Installed size: 27 M
Is this ok [y/N]: y
Downloading Packages:
Error Downloading Packages:
opencv-devel-2.0.0-12.el6.x86_64: failure: Packages/opencv-devel-2.0.0-12.el6.x86_64.rpm from c6-media: [Errno 256] No more mirrors to try.

@biao187 the log shows your current mirror is not reachable, please change to a better mirror site according to the official CentOS guide, or ask your Ops for help. P.S. One can use Markdown format for formatting the long log files, e.g. triple-`
this is my log file
it looks better right now
right?

@phunterlau  thank you ,i have install ：
yum groupinstall "Development Tools"
sudo yum install atlas-devel
sudo yum install opencv-devel
but have the problem like this：
[root@mgmt mxnet-0]# make -j4
g++ -std=c++0x -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -MM -MT build/src/io/io.o src/io/io.cc >build/src/io/io.d
g++ -std=c++0x -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -MM -MT build/src/io/iter_csv.o src/io/iter_csv.cc >build/src/io/iter_csv.d
g++ -std=c++0x -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -MM -MT build/src/io/iter_image_recordio.o src/io/iter_image_recordio.cc >build/src/io/iter_image_recordio.d
g++ -std=c++0x -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -MM -MT build/src/io/iter_mnist.o src/io/iter_mnist.cc >build/src/io/iter_mnist.d
g++ -std=c++0x -c -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -c src/io/iter_csv.cc -o build/src/io/iter_csv.o
g++ -std=c++0x -c -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -c src/io/iter_mnist.cc -o build/src/io/iter_mnist.o
g++ -std=c++0x -c -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -c src/io/io.cc -o build/src/io/io.o
g++ -std=c++0x -c -DMSHADOW_FORCE_STREAM -Wall -O3 -I./mshadow/ -I./dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp  -DMXNET_USE_NVRTC=0 -c src/io/iter_image_recordio.cc -o build/src/io/iter_image_recordio.o
In file included from src/io/io.cc:5:0:
src/io/./image_augmenter.h:10:30: fatal error: opencv2/opencv.hpp: No such file or directory
#include <opencv2/opencv.hpp>
^
compilation terminated.
make: *** [build/src/io/io.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/io/iter_image_recordio.cc:19:0:
src/io/./image_augmenter.h:10:30: fatal error: opencv2/opencv.hpp: No such file or directory
#include <opencv2/opencv.hpp>
^
compilation terminated.
make: *** [build/src/io/iter_image_recordio.o] Error 1

Please add open cv header file path to the add_flgs variable

@phunterlau  thangyou for your reply,can you tell me the details step by step,thank you very much

Closing due to inactivity. Would the solution at the end of #1125 help?

I met the similar issue on Oracle Linux 6. The main problem I guess is that the version of opencv is too low. They does not even have the opencv2 directory...instead, all files are in dir called 'opencv'


Smoke tests should report if a dev feed's package version is more than 7 days behind

When resolving packages from the dev feed we should also verify that any date expressed in yyyymmdd in the package version (1.2.3-dev.yyyymmdd.z) is less than 7 days old.

@praveenkuttappan, @willmtemple, Do either of you have more details on this? I was under the assumption that smoke test was against packages published to npm. This seems to be for the dev feed.

Smoke test uses daily dev(alpha) versions in npm. I think issue is to ensure npm has recent dev versions and we are running smoke test against latest changes instead of getting false positive if smoke test is using old dev packages.

Smoke tests have been disabled globally for now, future work is tracked here: https://github.com/Azure/azure-sdk-for-js/issues/24440


no more stop in check_session()

Codecov Report

Merging #290 (3e7ee89) into main (3076c8e) will increase coverage by 0.21%.
The diff coverage is 72.72%.

@@            Coverage Diff             @@
##             main     #290      +/-   ##
==========================================
+ Coverage   46.14%   46.35%   +0.21%
==========================================
  Files          50       50
  Lines         752      755       +3
==========================================
+ Hits          347      350       +3
  Misses        405      405

Impacted Files
Coverage Δ

R/folder_create.R
0.00% <ø> (ø)

R/gql_helpers.R
0.00% <0.00%> (ø)

R/item_get.R
87.50% <ø> (ø)

R/query_sb_datatype.R
87.50% <ø> (ø)

R/query_sb_date.R
80.00% <ø> (ø)

R/query_sb_doi.R
100.00% <ø> (ø)

R/query_sb_text.R
100.00% <ø> (ø)

R/AAA.R
61.53% <50.00%> (-11.19%)
:arrow_down:

R/REST_helpers.R
85.52% <100.00%> (+0.59%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


OrAnGe

green

green is the only color

Brown

I love BLUE


Add asInt() to MatchPattern, GroupLimitPattern and Match

Add asInt() so that one can call

 pattern()->match()->asInt()->all();
 pattern()->match()->asInt()->first();
 pattern()->match()->asInt()->only();

asInt() should be identical to:pattern()->match()
  ->fluent()
  ->map(function (Match $match) {
    return $match->toInt();
  })
  ->*();

Also add for match()->group()

Not sure about Match details. Would 3 methods (isInt():bool, toInt():int,asInt():MatchLimit) be still readable and intuitive?


Create read only simulation state vector

This class provides a limited set of functionalities provided by simulation state vector classes and bypasses the numpy limit on the number of dimensions https://github.com/numpy/numpy/issues/5744 by not reshaping the array.
This class will be used as the return result for qsim simulator which will store the 1D numpy array representation of the simulation result without reshaping it. This is inorder to mitigate https://github.com/quantumlib/Cirq/issues/6031
The user of qsim simulator will choose through a parameter whether they want the current behaviour or to use the new one.
Users can convert objects of this class to the buffered version using to_mutable_state which will only succeed if the number of qubits is less than or equal to the dimension limit of numpy (currently 32)

closing in favour of https://github.com/quantumlib/qsim/pull/622


Fix picorv32.core to include firmware.hex location in target testbench_wb

The picorv32.core had a missing file in target testbench_wb, so command:
fusesoc run --target=test_wb picorv32
failed to run with the error:
ERROR: ../src/picorv32_0-r1/testbench_wb.v:145: $readmemh: Unable to open firmware/firmware.hex for reading.

This fixes that to include the location of the firmware.hex file

I would advice against this change. As you have noted, you need to compile firmware.hex yourself. Once that is done you can run fusesoc run --target=test_wb picorv32 --firmware=path/to/firmware.hex to load any firmware of your choice at runtime.
In general,  you can always run fusesoc run --target=<target> picorv32 --help to find out which target-specific parameters that are available

Oh... right. I keep forgetting about the command-line parameters. I will close the PR.
Thanks!
Lucas


Open Orders Support

Great project! Example code works great. Have you looked into how to implement retrieving account open orders?

I might be willing to do a PR to add open orders if you can just point me to the Schwab spec for API URLs, e.g. such that got you to https://client.schwab.com/api/PositionV2/PositionsDataV2.
Thanks!

Hi @kimardenmiller , I haven't personally looked into retrieving open account orders but I'd love to review and merge a PR for it.
Schwab doesn't have a spec for their API URLs. After logging in, I just looked at the network requests being made by the website and did some trial and error to identify the API that was generating the response I was looking for!

Thanks @itsjafer. Looks as if we can return return data from the open orders page at https://client.schwab.com/Trade/OrderStatus/ViewOrderStatus.aspx?ViewTypeFilter=Open.
But rather than the very nice XHR data on positions, all I'm seeing back with open orders data is the html document.
Any thoughts before I look into parsing that html, which might mean creating new, additional dependencies to parse efficiently.

Hi @kimardenmiller, I've updated this package to use the latest API that Schwab is using on their UI. I've added an orders_v2() function that should help you get the information you're looking for!

Thanks for that update, Jafer. I’ll have a look in a bit. :-)

On Dec 13, 2023, at 3:01 PM, Jafer Haider @.***> wrote:
Hi @kimardenmiller https://github.com/kimardenmiller, I've updated this package to use the latest API that Schwab is using on their UI. I've added an orders_v2() function that should help you get the information you're looking for!
—
Reply to this email directly, view it on GitHub https://github.com/itsjafer/schwab-api/issues/7#issuecomment-1854693800, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQQUWAL6ILKW4PH5FPY7DTYJIJRJAVCNFSM5MZWVQ42U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVGQ3DSMZYGAYA.
You are receiving this because you were mentioned.


Update json schemas

This pull-request introduces the following changes:

Add a processingType to all json schemas. As they are all uplink schemas, they all have a value of uplink_decoder. In the case of a downlink schema, the value would be downlink_encoder.
Change all validation keys in json schemas from min and max to the json schema standard of minimum and maximum, as introduced here: https://json-schema.org/draft/2020-12/json-schema-validation.html#name-validation-keywords-for-num
Change the ordering of the keys in all json schemas

It would be great if you could document the schema extension in the README


feat(shakespeare-example): Add shakespeare example as defined in Graph Experiment

This PR consists in:

Translate an example to populate ArangoDB, using the Shakespeare case in "Graph Database" book, page 42.
Understand how this can be reached using json files and javascript;
Populate nodes, edges, and graph;

The objective of PoC is to be isolated from the system, by the use of docker containers.

@veelo I don't know if you prefer to maintain this PR in the main branch or maintain it in a different branch. As I mentioned in the PR, this code is isolated in a different DB and by the docker container.

I think it is fine to have this in the main branch.
It took a while for me to figure out that a different set of credentials are needed for this DB. That should probably be documented in docker/README.md.
On a side note, I notice that the _keys are provided explicitly. There are situations in which this is what you want, but you'll have to guarantee uniqueness of keys within the collection. If that is not viable, keys can be generated by the DB, but then you'll need a different method for adding data. I also think that fragmenting the data into 25 different files is cumbersome, but if that is the way to do it, so be it.

It took a while for me to figure out that a different set of credentials are needed for this DB. That should probably be documented in docker/README.md.
I made some modifications regarding this, I added a readme close with this example, and now it is not necessary to populate this data when the ArandoDB is up.

On a side note, I notice that the _keys are provided explicitly. There are situations in which this is what you want, but you'll have to guarantee uniqueness of keys within the collection.
Yes, I completely agree with you, I only create these keys to create the connection with the nodes more easily. The learning is the main purpose of this use case.

If that is not viable, keys can be generated by the DB, but then you'll need a different method for adding data. I also think fragmenting the data into 25 different files is cumbersome, but if that is the way to do it, so be it.
I think about that and I made some modifications, now I think the files numbers is better ;-) Thanks for your suggestion :-)

Hi @veelo , now I think the PR is ready for your review.

Looks very good, thank you.


[new-parser] Add missing DRL soft keywords to the drlIdentfier rule

Fixes #5713.
Fixes a number of traits tests using rules that have trait in the package name.

Before PR in drools-model-codegen
[ERROR] Tests run: 2434, Failures: 97, Errors: 0, Skipped: 9

After PR in drools-model-codegen
[ERROR] Tests run: 2434, Failures: 93, Errors: 0, Skipped: 9

Before PR in drools-traits
[ERROR] Tests run: 363, Failures: 34, Errors: 54, Skipped: 6

After PR in drools-traits
[ERROR] Tests run: 363, Failures: 10, Errors: 32, Skipped: 6

How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.
build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:

for pull request and downstream checks

Push a new commit to the PR. An empty commit would be enough.

for a full downstream build

for github actions job: add the label run_fdb

for Jenkins PR check only

If you are an ASF committer for KIE podling, login to Jenkins (https://ci-builds.apache.org/job/KIE/job/drools/), go to the specific PR job, and click on Build Now button.

@mariofusco @tkobayas @gitgabrio please review.


Race condition between evaluation and viewer

Both train iteration and viewer render iteration are protected by the thread lock, but eval iteration is not. This may lead to unexpected crash because of race conditions.
For example, start training by:
ns-train nerfacto --vis viewer+tensorboard --pipeline.model.predict-normals True --data data/nerfstudio/poster

When entering the eval iteration (default per 500 steps), continuously changing the viewpoint in the viewer.
I have encountered two types of crash. One of them is:
Traceback (most recent call last):
  File "/home/sjj118/anaconda3/envs/nerfstudio/bin/ns-train", line 8, in <module>
Exception in thread Thread-6:
Traceback (most recent call last):
    sys.exit(entrypoint())
  File "/home/sjj118/fork-nerfstudio/nerfstudio/scripts/train.py", line 260, in entrypoint
  File "/home/sjj118/anaconda3/envs/nerfstudio/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    main(
  File "/home/sjj118/fork-nerfstudio/nerfstudio/scripts/train.py", line 246, in main
    self.run()
  File "/home/sjj118/fork-nerfstudio/nerfstudio/viewer/server/render_state_machine.py", line 206, in run
    launch(
  File "/home/sjj118/fork-nerfstudio/nerfstudio/scripts/train.py", line 185, in launch
    outputs = self._render_img(action.cam_msg)
    main_func(local_rank=0, world_size=world_size, config=config)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/scripts/train.py", line 100, in train_loop
  File "/home/sjj118/fork-nerfstudio/nerfstudio/viewer/server/render_state_machine.py", line 181, in _render_img
    trainer.train()
  File "/home/sjj118/fork-nerfstudio/nerfstudio/engine/trainer.py", line 277, in train
    outputs = self.viewer.get_model().get_outputs_for_camera_ray_bundle(camera_ray_bundle)
  File "/home/sjj118/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    self.eval_iteration(step)
    return func(*args, **kwargs)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/models/base_model.py", line 177, in get_outputs_for_camera_ray_bundle
  File "/home/sjj118/fork-nerfstudio/nerfstudio/utils/decorators.py", line 70, in wrapper
    outputs = self.forward(ray_bundle=ray_bundle)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/models/base_model.py", line 140, in forward
    ret = func(self, *args, **kwargs)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/utils/profiler.py", line 127, in inner
    return self.get_outputs(ray_bundle)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/models/nerfacto.py", line 274, in get_outputs
    out = func(*args, **kwargs)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/engine/trainer.py", line 490, in eval_iteration
    field_outputs = self.field.forward(ray_samples, compute_normals=self.config.predict_normals)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/fields/base_field.py", line 131, in forward
    metrics_dict, images_dict = self.pipeline.get_eval_image_metrics_and_images(step=step)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/utils/profiler.py", line 127, in inner
    normals = self.get_normals()
  File "/home/sjj118/fork-nerfstudio/nerfstudio/fields/base_field.py", line 88, in get_normals
    out = func(*args, **kwargs)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/pipelines/base_pipeline.py", line 328, in get_eval_image_metrics_and_images
    assert (
    outputs = self.model.get_outputs_for_camera_ray_bundle(camera_ray_bundle)
  File "/home/sjj118/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
AssertionError: Sample locations and density must have the same shape besides the last dimension.
    return func(*args, **kwargs)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/models/base_model.py", line 177, in get_outputs_for_camera_ray_bundle
    outputs = self.forward(ray_bundle=ray_bundle)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/models/base_model.py", line 140, in forward
    return self.get_outputs(ray_bundle)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/models/nerfacto.py", line 274, in get_outputs
    field_outputs = self.field.forward(ray_samples, compute_normals=self.config.predict_normals)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/fields/base_field.py", line 131, in forward
    normals = self.get_normals()
  File "/home/sjj118/fork-nerfstudio/nerfstudio/fields/base_field.py", line 88, in get_normals
    assert (
AssertionError: Sample locations and density must have the same shape besides the last dimension.

This may be due to _sample_locations and _density_before_activation are from different threads.
The other one is:
Traceback (most recent call last):
  File "/home/sjj118/anaconda3/envs/nerfstudio/bin/ns-train", line 8, in <module>
    sys.exit(entrypoint())
  File "/home/sjj118/fork-nerfstudio/nerfstudio/scripts/train.py", line 260, in entrypoint
    main(
  File "/home/sjj118/fork-nerfstudio/nerfstudio/scripts/train.py", line 246, in main
    launch(
  File "/home/sjj118/fork-nerfstudio/nerfstudio/scripts/train.py", line 185, in launch
    main_func(local_rank=0, world_size=world_size, config=config)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/scripts/train.py", line 100, in train_loop
    trainer.train()
  File "/home/sjj118/fork-nerfstudio/nerfstudio/engine/trainer.py", line 277, in train
    self.eval_iteration(step)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/utils/decorators.py", line 70, in wrapper
    ret = func(self, *args, **kwargs)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/utils/profiler.py", line 127, in inner
    out = func(*args, **kwargs)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/engine/trainer.py", line 481, in eval_iteration
    _, eval_loss_dict, eval_metrics_dict = self.pipeline.get_eval_loss_dict(step=step)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/utils/profiler.py", line 127, in inner
    out = func(*args, **kwargs)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/pipelines/base_pipeline.py", line 313, in get_eval_loss_dict
    metrics_dict = self.model.get_metrics_dict(model_outputs, batch)
  File "/home/sjj118/fork-nerfstudio/nerfstudio/models/nerfacto.py", line 323, in get_metrics_dict
    metrics_dict["distortion"] = distortion_loss(outputs["weights_list"], outputs["ray_samples_list"])
KeyError: 'weights_list'

This is caused by the model's train/eval state being changed by another thread.
If I simply add the lock for eval iteration, those bugs disappears:
https://github.com/nerfstudio-project/nerfstudio/blob/1e205c1b5bd244dcd0c2303e2bed42d1ffc17625/nerfstudio/engine/trainer.py#L276-L277
 if self.pipeline.datamanager.eval_dataset:
     with self.train_lock:
         self.eval_iteration(step)

But this will pause the viewer when evaluating all images which may takes a lot of time. So we may need to pass the train_lock to get_average_eval_image_metrics.

Voting up, I encountered KeyError: 'weights_list' with the same trace too

Has this been resolved in the meantime?


My account was hacked! My coins are gone!

Admin please fix my account.  My account was hacked...my 279 MYX coins are gone!
I never requested a withdrawal!
My username: 24kdreams
Email<EMAIL_ADDRESS>

@24kdreams we're actively investigating those issues and all missing coins will be refunded.


Ensure presence of font awesome buttons

Make sure that these buttons are showing up in the deployment server.


fix: show signal strength as signed integer

This commit fixes displaying of the received signal strength, as these are signed values (dBs).
This depends on https://github.com/esp-rs/embedded-svc/pull/28.

Thanks!


Invalid S3 bucket name in DebugStack

I'm running into an "Invalid S3 bucket name" error.
Tracked down that it is introduced since 0.60.9, 0.60.8 does not give this error.

I'm guessing it is caused by the trailing - in the generated name.

If we revert this locally it works again: https://github.com/serverless-stack/serverless-stack/commit/52982ff43d0c968d9abd5a4840e94641653f0ef3
I don't really get what it does but this is the place to look.

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


fix: Stop importing private exception from Pydantic

Closes #1225.

Could you bump the pydantic version in the CI too? Looks like it’s pinned and/or cached too:
 Installing pydantic (1.10.9): Skipped for the following reason: Already installed

Please release this a a quick fix for both 7.x an 8.x unless #1220 is release.

@henryiii, good catch. I'm personally not used to track lock files for libraries, even when they provide a CLI :smile: @sisp should I update the lock file in this PR or another?
@lhupfeldt yes, don't worry, we'll surely merge and release this. We can't go faster than what our free time allows. Waiting for either:

a second approval by @yajo
a fix in the merge permissions, so that @sisp's approval is enough and allows me to merge

@henryiii, good catch. I'm personally not used to track lock files for libraries, even when they provide a CLI 😄 @sisp should I update the lock file in this PR or another?
@lhupfeldt yes, don't worry, we'll surely merge and release this. We can't go faster than what our free time allows. Waiting for either:
* a second approval by @yajo

* a fix in the merge permissions, so that @sisp's approval is enough and allows me to merge

Thank you, I'm aware it is a volunteer effort and it is much appreciated.
Note that I'm really hoping for a backport of the fix to 7.x, because I now have two issues :)

Note that I'm really hoping for a backport of the fix to 7.x, because I now have two issues :)

The fix is simple, so I think that's reasonable :slightly_smiling_face:

We use copier as part of our CI pipeline. Implementing the suggested workarounds is not feasible for us.

@lhupfeldt Why not? You should be able to [cap Pydantic as a temporary workaround] (https://github.com/copier-org/copier/issues/1225#issuecomment-1616656418) on your end.

I'm personally not used to track lock files for libraries, even when they provide a CLI 😄

Slightly off-topic, but how do you ensure deterministic dev and test environments then? 🤔

@sisp should I update the lock file in this PR or another?

I think in this PR to check that the fix actually works for Pydantic v2, although this means we'll be developing against Pydantic v2 then since that'll be the installed version; meaning we can't test against v1 anymore, but the same is true vice versa. I assume Pydantic won't keep supporting v1 anyway. To test against both v1 and v2 we'd need something like Tox which doesn't work well with lock files though. 😵💫
I think @henryiii has been thinking about dependencies, constraints, upper bounds, etc. a lot (fantastic article by the way 👏). Any advice from your side?

Slightly off-topic, but how do you ensure deterministic dev and test environments then?

I don't. Each dev has their own lock file. I let things break as new versions of dependencies come out. It sometimes break my own CI (for PRs on my projects), but I'm fine with that as it warns me early that something is broken. Locally, I can update my lock file to test on latest dependencies versions, without worrying about reverting the lock file before commits.
Also, allowing each dev to have their own lock file integrates better with projects offering insiders versions (Material for MkDocs, my own projects :wink:), as these versions can be fetched from local, self-hosted PyPI servers. With a tracked lock file, devs using insiders versions have to re-lock, test/check then revert each time. It's also easier for devs that do not have access to the same index as the one that was used to lock (users whose government blocks pypi.org for example, and who have to use mirrors).

we'd need something like Tox

Not sure about Poetry, but PDM can be used with both Nox and Tox.

I'm fine with that as it warns me early that something is broken

Yes, it would have been nice for this breakage to have been caught here, rather than in all the downstream projects that weren't using lock files. Same reasoning, I'd much rather get early warning of a breakage than have stable CI that doesn't tell me that my users are currently broken. :) (For a library, not a deployment of something, obviously)
However, the caching is nice to have. I wonder if enabling dev versions would generally help? There were a lot of dev releases of Poetry. Not all packages do that, but locking + periodic automated updates + dev versions would be really a good way to go if packages did that often enough.
On important projects, I usually test against minimum supported versions too - I have a test/constraints.txt file with all my specified minimums, and have a job or two dedicated to testing that.

Not sure about Poetry, but PDM can be used with both Nox and Tox.

Huge fan of PDM. It supports all PEP 621 backends, so you can use hatchling, flit-core, setuptools, not just pdm-backend. And because you are using standards instead of custom Poetry config, Black and Ruff can pick up your minimum version of Python directly from your config, no need to set it for each tool! :)
Hatch is nice too, and has multiple environment support, but doesn't support locking yet, which is the main reason I would use a tool like that.

Yes, looks like someone has mentioned it at https://github.com/nix-community/poetry2nix/issues/1183. Not familiar at all with nix. The GitHub dependency graph supports PEP 621 now. Not sure about dependabot, but it's easy to write a job that runs pdm update (though making CI run on that job requires an extra step).

This is what Poetry's docs say about comitting a lock file for a library: https://python-poetry.org/docs/basic-usage/#committing-your-poetrylock-file-to-version-control

@lhupfeldt Why not? You should be able to [cap Pydantic as a temporary workaround] (#1225 (comment)) on your end.

Feasible was probably not the right word, just some pinning, committing, PR review, build, and then undoing it all which I would rather not have to do:) We are generally setup for CI. Pinning stuff that breaks should be easier than it is, but that is work in progress.

Yes, looks like someone has mentioned it at nix-community/poetry2nix#1183. Not familiar at all with nix. The GitHub dependency graph supports PEP 621 now. Not sure about dependabot, but it's easy to write a job that runs pdm update (though making CI run on that job requires an extra step).

👋
Have you guys seen rye ? it creates two lockfiles, one for running and another for dev'ing.
From there, the path to nix I think would be pip2nix.

PDM is also able to create/use multiple lockfiles with specific groups of dependencies :slightly_smiling_face:

Now that #1220 has been merged, it is probably not necessary to backport this fix to 7.x.

@pawamoy Could you update the locked Pydantic version to the latest v2, so that also CI can verify the correctness of the fix?
poetry update pydantic

Oh yes, thanks for the reminder! Done.

Oh, it seems there are more incompatibilities with Pydantic v2.

Done. Let me know if I should rework the history to keep the lock file commits apart from the fix. Otherwise feel free to squash them all.

Also I'll take a look at the other errors :slightly_smiling_face:

Ha, too bad, bump-pydantic didn't update anything :thinking:
I pushed other fixes, but it's not finished yet. I converted the PR back to draft.
Also, do we want to keep support Pydantic v1? I'm afraid I don't have enough time to work on this in a serious way...

Hi folks! Many things popped up here, sorry to be late to the party 😆
I see a bunch of off-topic discussions and I think they are interesting, but let me kindly suggest you to move them to the forum. Regarding the PR, I think the important part here is:

do we want to keep support for Pydantic v1?

IMHO no. They broke compatibility. We should just update the dependency and forget Pydantic v1.

@pawamoy Is it okay for you if I push commits to this PR? I have finished the Pydantic v2-only adaptations and would like to (a) retain your credit for your work on this and (b) avoid creating another PR.

Of course, no need to ask :)

I suspect that annotated-types needs to be added to https://github.com/nix-community/poetry2nix/blob/master/overrides/build-systems.json, but I'm not familiar enough with Nix and poetry2nix. Do.you know, @yajo?

Yes, that's it. I'll see if I can do that later, it's just a routine task.


fix: dataindex为数组时排序错误，数组列排到最后

General

✏ Mark the necessary items without changing the structure of the PR template.

[ ] Pull request template structure not broken

Type

ℹ What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[x ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

ℹ Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉 Put an x in the boxes that apply.

[ x] My code follows the style guidelines of this project
[x ] Is the code format correct
[ x] Is the git submission information standard?
[x ] My code follows the style guidelines of this project
[x ] I have performed a self-review of my own code
[x ] I have commented my code, particularly in hard-to-understand areas
[ x] I have made corresponding changes to the documentation
[ x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x ] New and existing unit tests pass locally with my changes
[ x] Any dependent changes have been merged and published in downstream modules

没明白此PR解决了什么问题，能不能说明下

没明白此PR解决了什么问题，能不能说明下

当table的dataIndex是数组时，之前的逻辑会判断 title,但是判断逻辑写的有问题，应该是typeof title.导致最后的columnOptions的value是空字符串。进而导致tableColumnsUpdate方法中const colIdx = columns.findIndex((o) => o.key === opt.value);colIdx找不到，所有dataindex为数组的列都会被插到最后，改变了原有配置的columns的顺序

这个代码错误好低级，在我使用这样的dataIndex的时候 排序功能就失效
   {
      title: '歌手',
      dataIndex: ['artist', 'name'],
      width: 200,
    },

经过我的排查 发现 src/components/Table/src/components/settings/ColumnSetting.vue:547行以及上面的542行的label 都有该错误
错误非常低级
options.push({
          label:
            typeof col.title === 'string'
              ? col.title
              : col.customTitle === 'string' // ？？？？ 只有当col.customTitle 的值为string的时候才去使用col.customTitle 吗 typeof呢 我请问
                ? col.customTitle
                : '',
          value:
            typeof col.dataIndex === 'string'
              ? col.dataIndex
              : col.title === 'string' // ？？？？ 只有当col.title的值为string的时候才去使用col.title吗 typeof呢 我请问
                ? col.title
                : '',
          column: {
            defaultHidden: col.defaultHidden,
          },
          fixed: col.fixed,
        });

I think we can close this PR? The was solved in 64a4992
This error pertains to the fix in the Ant Design Vue Table component, not the Vxe-Table component.

I think we can close this PR? The was solved in 64a4992

This error pertains to the fix in the Ant Design Vue Table component, not the Vxe-Table component.


[csi-manila] added csi-sanity tests

What this PR does / why we need it:
This is the 4th PR of #714 which concludes the integration of csi-sanity test suite into the CSI Manila driver.

github.com/kubernetes-csi/csi-test v2.1.0 has been added as a dependency
this required the CSI Cinder sanity tests to be updated as well: csi-sanity v2.1.0 handles the life-times of stage/target directories and will exit with an error if they're created beforehand. The respective Mkdir() calls had to be removed.
also addressed a comment https://github.com/kubernetes/cloud-provider-openstack/pull/730#discussion_r316503854 (refactoring)

Which issue this PR fixes: fixes #714
Release note:
NONE

/ok-to-test

@gman0 Please add document on how to run csi sanity test for manila csi
https://github.com/kubernetes/cloud-provider-openstack/blob/master/docs/developers-csi-manila.md

@adisky , the sanity test is now being run from the test-csi-sanity build target but it's actually not being launched because CSI Cinder is not passing (the same number of failed tests as it was before anyway)...is that ok or should I create a separate targets for csi cinder and manila (e.g. test-cinder-csi-sanity and test-manila-csi-sanity)?

@gman0 thanks. I'd say this looks OK. I can't decide the question in the comment above though...

@gman0 it is better to add separate targets

@adisky done in https://github.com/kubernetes/cloud-provider-openstack/pull/732/commits/dc70a751920e19c2c6f723a5a14da34cd68988fc

/test cloud-provider-openstack-acceptance-test-flexvolume-cinder

@gouthampacha updated in https://github.com/kubernetes/cloud-provider-openstack/pull/732/commits/705c484ebc884fc4267162477a2666de97b153e0

/test cloud-provider-openstack-acceptance-test-standalone-cinder

/lgtm

/approve


Refactor CSS configuration

Refactor CSS configuration:

Upgrade tailwind
Integrate extensive tailwind configuration
Small Design adaptions
Smaller Fonts on galleries

Superseeded by #234


Wrappers: update state with message v2

Signed-off-by: Miroslav Kovar<EMAIL_ADDRESS>

Codecov Report

Merging #489 (70cb105) into hotfix/codecov-build (45de4ee) will not change coverage.
The diff coverage is n/a.

@@                  Coverage Diff                  @@
##           hotfix/codecov-build     #489   +/-   ##
=====================================================
  Coverage                 55.15%   55.15%
=====================================================
  Files                       154      154
  Lines                     14612    14612
  Branches                   4080     4080
=====================================================
  Hits                       8059     8059
  Misses                     2316     2316
  Partials                   4237     4237

Flag
Coverage Δ

integration-aries-vcx
41.70% <ø> (ø)

unittests-agency-client
25.77% <ø> (ø)

unittests-aries-vcx
50.15% <ø> (ø)

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

Continue to review full report at Codecov.

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


Add Haptic Vibration

This obviously isn't supported by all joystick types but for those that do, integrate this with the existing implementation and allow it to be fed data from ForceFeedbackComponent (the UE built one).

This has been added and is working as intended.


File not move to Recycle Bin in Windows

I try to use send2trash('file_path') but file still not move to my Recycle Bin with no any error message.
It's look like the issue came from get_short_path_name()  because it return u''
But when I bypass get_short_path_name() method, send2trash() seem working for me.
def get_short_path_name(long_name):
    return long_name
    # if not long_name.startswith('\\\\?\\'):
    #     long_name = '\\\\?\\' + long_name
    # buf_size = GetShortPathNameW(long_name, None, 0)
    # output = create_unicode_buffer(buf_size)
    # GetShortPathNameW(long_name, output, buf_size)
    # return output.value[4:]  # Remove '\\?\' for SHFileOperationW

I'm using python 2.7.14 on Windows 10.0.16299 .

Could you provide a path that is problematic ?

Oh, Sorry.
my path is "C:/Users/user/WORK/project/textFile.txt"

Perhaps slashes are the problem. What about C:\\Users\\user\\WORK\\project\\textFile.txt?

Also, could you give us a real path with your username? There may be unicode things too.

It's working perfectly with double slash :smiley:
"C:\\Users\\nook\\WORK\\F18\\ZANDBOX\\SH0010\\LIGHTING\\backup.ma" (This is my real path)
And single slash should be support also.
Thank you.

You could use os.path.abspath(path) before sending to send2trash, it will normalize the slashes on the current OS.

I have this same problem. I am having to run path.replace('/', '\\') before using send2trash.
os.path.abspath(path) will not work in many cases as it merely puts the os.getcwd() in front of the filename.
It seems that most other python modules handle either slash style or mixed strings. So it is surprising that it isn't. I am going to open a separate issue that send2trash 1.50 is failing silently in windows


update ffmpeg binary used for testing travis

https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/master/tools/test-travis.sh#L14
last update seems to be july of last year:
http://ffmpeg.gusari.org/static/64bit/
modern builds can be found here:
http://johnvansickle.com/ffmpeg/
i would make a PR but i haven't figured out how to install it on travis' old linux servers

Is this related to why all the builds fail currently? The domain ffmpeg.gusari.org doesn't seem to resolve anymore.

yep. it's down a lot.
here's what i use to install ffmpeg now https://github.com/mgmtio/video-thumbnail-extractor/blob/master/.travis.yml#L9

Isn't that the same gusari url?

I'll have a look at that ASAP. Thanks for pointing that out.


[api-docs] Add warning about overlay platform support

A new commit was made into the api-docs repo. This issue was created automatically. Need to review if we made any change to the library for this commit.
https://github.com/discord/discord-api-docs/commit/9798a073bbf5bff626851b228849444c381f3e19

ncn


List Indexing Error

Hi,
I am getting list index out of range error during training after first epoch.

.

Hi @eshasadia,
I am facing the same error.
Have you found a solution?
@vqdang have you an idea of why we have this issue?
Thanks!

Hi @eshasadia, I have incurred in the same problem. This seems to be the cause.

Hi - can you please dump the entire error that you get in your terminal?

i met the same problem,have you solved it?


[BUG] XamlTypeInfo.g.cs generates invalid code for types with required properties

Describe the bug
If a type with required properties is used as a public property of a user control / page / dialog / etc (or an internal property that is actually used in XAML), the build fails with an error in XamlTypeInfo.g.cs because the generated code attempts to naively new it up for some reason.
Steps to reproduce the bug
public class User
{
    required public string UserName { get; set; }
}

public class UserInfoControl : UserControl
{
    public User? User { get; set; }
}

This is enough for the build to fail when the property is public, like above. If the property is internal then the control builds, but then compilation fails when the property is actually used from XAML, i.e:
<controls:UserInfoControl User="{x:Bind whatever}" />

In either case, you get:
ERROR: CS9035
Required member 'User.UserName' must be set in the object initializer or attribute constructor.
C:\[project path]\obj\x86\Debug\net7.0-windows10.0.19041.0\win10-x86\XamlTypeInfo.g.cs

Occurs on this line:
        private object Activate_8_User() { return new global::TestWinUIApp.User(); }

Expected behavior
Should just work the same as types that don't have parameterless constructors and not attempt to new it up in XamlTypeInfo.g.cs.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.4 Preview 1: 1.4.230628000-preview1
Windows version
No response
Additional context
No response

Note: also having a similar problem with { get; init; } properties where XamlTypeInfo.cs sometimes tries to set init-only props on view models.

Same problem. Does this mean we can't use types with requred keyword in WinUI?

Same problem. So we can't use types with the required keyword in WinUI?

FWIW I haven't found any workarounds that let me use it so I've had to jump some hoops to avoid using both required and init properties anywhere WinUI sees.

@karmeye What I've done in these situations is usually something like:
private MyClass? _viewModel = null;

public MyClass ViewModel
{
    get => ViewModelHelper.Get(_viewModel);
    set => ViewModelHelper.Set(ref _viewModel, value);
}

internal static class ViewModelHelper
{
    public static T Get<T>(T? field) where T : class
    {
        return field ?? throw new InvalidOperationException("View model was not initialized.");
    }

    public static void Set<T>([NotNull] ref T? field, T value) where T : class
    {
        ArgumentNullException.ThrowIfNull(value);

        if (field is not null)
            throw new InvalidOperationException("View model has already been set.");

        field = value;
    }
}

Is there any update on this issue? This is becoming a large problem for us. It affects our ability to use modern C# features on any shared code that is involved in bindings.


⚠ Processors has degraded performance

In 9c52c28, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 36 ms

Resolved: Processors performance has improved in dd4ffa2.


Spack build system is broken

Whenever I run a benchmark using Spack as build system, installation of  packages (if not already present in the environment) fails with
==> Error: Exception occurred in writer daemon!
Traceback (most recent call last):
  File "/home/mose/repo/spack/lib/spack/llnl/util/tty/log.py", line 756, in _writer_daemon
    with keyboard_input(stdin) as kb:
  File "/home/mose/repo/spack/lib/spack/llnl/util/tty/log.py", line 239, in __enter__
    if not self._is_background():
  File "/home/mose/repo/spack/lib/spack/llnl/util/tty/log.py", line 164, in _is_background
    return _is_background_tty(self.stream)
  File "/home/mose/repo/spack/lib/spack/llnl/util/tty/log.py", line 67, in _is_background_tty
    os.getpgrp() != os.tcgetpgrp(fd)
--- rfm_SombreroBenchmark_build.err ---
------------------------------------------------------------------------------

git bisect points to https://github.com/eth-cscs/reframe/commit/c466fef35019a18abf020856f31289a9b04fe619 from #2383, which looks relevant.

I've got a simple reproducer:
import reframe as rfm
import reframe.utility.sanity as sn

@rfm.simple_test
class LibtreeTest(rfm.RegressionTest):
    valid_systems = ['*']
    valid_prog_environs = ['*']
    build_system = 'Spack'
    executable = 'libtree'
    executable_opts = ['--version']

    @run_before('compile')
    def setup_build_system(self):
        self.build_system.specs =<EMAIL_ADDRESS>
    @run_before('sanity')
    def set_sanity_patterns(self):
        self.sanity_patterns = sn.assert_found(r'3.1.0', self.stdout)

I left some more comment in https://github.com/spack/spack/issues/17471#issuecomment-1064084256.  This may well be a bug in CPython (a function not documented to throw is erroring out), but it was lifted only recently in ReFrame by the commit mentioned above, so it'd be great if it was possible to keep Spack integration working on the ReFrame side :slightly_smiling_face:

Hi @giordano, thanks for the reproducer. I haven't had the time to look into the issue yet. What puzzles me is that this commit simply added support for piping stdin in the run_command() and this is only used by the LSF scheduler backend. I will have a deeper look and get back to you.


Add grunt watch and local server for easier upgrading of documentation

Since the documentation changed, it has been harder to find what I'm looking for in Ramda. I was thinking about updating the documentation, but noticed that the Gruntfile is missing watch and expess/connect. It's saves a lot of time to have the browser reloading automatically as changes are made to the html templates and js files.
'grunt serve' now builds the documentation (github pages), then watches for changes. If it sees changes, the server reloads the page automatically. Standard web-dev stuff. Hope it helps!

Looks like indentation comes through strange via github.

Too many weird problems. I'll just issue another PR later.


Fix typo

Secrity→Security

@eltociear : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Ma


Release V4

Thanks for making this great package, do you have any plans to release v4?

Yes, maybe closer to chokidar v4. Also need to test for all edge cases and ensure the v4 readdirp works correctly. Chokidar is the best test for it


First pass at styling the UserProfile and cards

Pulling apart the existing styles for the UserProfile and UserProfileCards (formerly UserGrid).
Making a bit of a mess before we put it all back together.

This is probably good enough to bring back into the epic branch. Still lots of cleanup to do but the majority of this is in so the product team can start taking a look.

Reviewed with @rynbyjn. :metal:


Fix Mac OS X h5py install instructions (h5py now provides wheels)

Minor documentation fix: h5py now provides wheels for MacOS X (and also for manylinux, btw)

Looks fine


record a meeting live

make sure to record a meeting while it is taking place especially for those meetings where you cannot start recording so that you can later watch it offline

That's out of Destreamer's scope, I'm sorry
And you could just use OBS


increase modal close hit area

This PR makes the hit area for the modal exit button 10 bigger.

Coool! Merge on green 🌮