Create polling example

Hey @cartermp. Thanks for opening this PR. We actually have a built-in Wait method that takes care of this for you, as well as a Run convenience method for running a model and waiting for its output. I just opened #45 with an example of how to use that.
There's a lot more we can do to document this library in the README and Go docs, and I'm excited to invest more in that.

Ah, I see, thanks! I think additional examples would help the most, since I immediately went with the readme, then looked at the REST docs and saw about a need to poll: https://replicate.com/docs/reference/http#predictions.create

To get the final result of the prediction you should either provide a webhook HTTPS URL for us to call when the results are ready, or poll the get a prediction endpoint until it has finished.


I Want to add New logo in My token

Token Address
https://scan.tomochain.com/address/0xf3Ae1DBeCb759Ce4E13aEe2390F86BdDA9076bDD
Token Symbol
BFT
Token Name
B FINANCE TOKEN
Token Logo

Token Description
A clear and concise description of the token.
Website
www.bfinancetoken.com
Social links

Tomo team is soo slow no reply

I have hold huge tomo if you not help me i am out from tomo project

hello sir
how much amount pay to you plz confirm


Lighting Controls: Set number of lights crash

To reproduce:

Spin up Vapor, load KatrinaMaster.nc
In the Navigation tab + Viewpoint tab, increase the number of lights to 3
Press enter, crash

Fix: Disable


Read parquet via row indexes to support chunking?

Hi there. Is there a way to selectively read a subset of a Parquet file by way of row (aka index) range? Not seeing it in pyarrow.parquet.read_table and there are questions about it:

https://stackoverflow.com/questions/64050609/pyarrow-read-parquet-via-column-index-or-order
https://stackoverflow.com/questions/62252259/pandas-read-write-parquet-data-using-column-index

Right now I just read the entire file into memory, which won't be feasible on larger datasets, and then drop the rows I don't need.
df = pd.read_parquet("my_file.pq")
df = df.iloc[samples_indices]

I feel like I could do this with Spark, but don't want to add that dependency.

Ideally it would look something like:
pq.parquet.read_parquet(index_start: 0, index_stop: 99, boundaries:"inclusive")
pq.parquet.read_parquet(index_start: 100, index_stop: 199, boundaries:"inclusive")
pq.parquet.read_parquet(index_start: 200, index_stop: 299, boundaries:"inclusive")

Or there would be a way to just read this as a generator:
pq.parquet.read_generator(chunk_size:100)

Hi @aiqc
As of pyarrow 3 reading as a generator should be possible
Also we try to use the appropriate mailing lists user@ and dev@ to answer questions instead of github issues.

You can also use pyarrow datasets to push some level of filtering down the stack.

@emkornfield thank you. The 'github issue template' was a bit ambiguous about where to ask.


Change Password

The user must be able to change the password when the previous one is expired. In order to be able to do that confluence :

[ ] authorize user and give him a token (as all user tokens are expired)  apiary
this service shouldn't check whether the password is expired
[ ] after the user was authorized and received a token change the old password to the new one apiary

[ ] change route name to https://dev.ehealth.world/oauth/tokens
[ ] services must check scope "user:change_password" and grant_type:  "change_password" and don't response with token in case those values were sent incorrectly. Response with mistakes: 403 "Incorrect scopes"/401 "Incorrect grant_type"
[ ] token with name 'change_password_token' shouldn't allow to access to any WS except updating password
[ ] current response

 "data": {
        "value": "WnpnVHAxcVc2WDFneUdRdEc5b0c4dz09",
        "user_id": "e903e65c-b3c1-4b3b-b45c-8150823127e2",
        "name": "access_token",
        "id": "31503b22-043c-4461-b32e-628be5fd9171",
        "expires_at":<PHONE_NUMBER>,
        "details": {
            "scope": "user:change_password",
            "redirect_uri": "http://localhost:8080/auth/redirect",
            "grant_type": "password",
            "client_id": "e2e1d2c8-9bac-43c6-adef-83239940b30a"
        }

must be changed to
"name': "change_password_token",
"grant_type": "change_password"


'Glimpse.Ado.AlternateType.GlimpseDbDataAdapter' does not contain a constructor that takes 0 arguments

The System.Data.Design.TypedDataSetGenerator generates code that assumes the Glimpse.Ado.AlternateType.GlimpseDbDataAdapter will have an empty contructor.
Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1729: 'Glimpse.Ado.AlternateType.GlimpseDbDataAdapter' does not contain a constructor that takes 0 arguments.

Source Error:

Line 10646:        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "<IP_ADDRESS>")]
Line 10647:        private void InitAdapter() {
Line 10648:            this._adapter = new global::Glimpse.Ado.AlternateType.GlimpseDbDataAdapter();
Line 10649:            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
Line 10650:            tableMapping.SourceTable = "Table";

Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\trade2_core\c84a2a26\5a02c929\App_Code.jpwfevlj.12.cs    Line: 10648

Show Detailed Compiler Output:

Show Complete Compilation Source:

Line 1:    #pragma checksum "C:\Development\TFS\Trade2\DEV\Trade2_Core\App_Code\ContractDatasets.xsd" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "D48A479A0CD6A96F374BEA7C9DCFC33FA8E7CAF9"

@Geekiac How and where are you getting this error... is it within VS designer or at runtime/compile time? What are you doing that causes TypedDataSetGenerator to come into play.


ERROR: could not open extension control file "/usr/share/postgresql/12/extension/timescale_prometheus_extra.control": No such file or directory

Hi,
I am looking for to use timescale-promethues with my existing postgres container. I have installed timescaleDB on my postgres container using the link and enabled timescaledb extension after that I am getting below error in timescale-prometheus container. Please let me know what I need to do to activate this extension,

db_1                              | 2020-06-23 14:49:00.717 UTC [56] ERROR:  could not open extension control file "/usr/share/postgresql/12/extension/timescale_prometheus_extra.control": No such file or directory
db_1                              | 2020-06-23 14:49:00.717 UTC [56] STATEMENT:  CREATE EXTENSION IF NOT EXISTS timescale_prometheus_extra WITH SCHEMA _prom_ext;

I have tried  CREATE EXTENSION IF NOT EXISTS timescale_prometheus_extra WITH SCHEMA _prom_ext; this command on postgres database but there I am getting below error,

postgres=# CREATE EXTENSION IF NOT EXISTS timescale_prometheus_extra WITH SCHEMA _prom_ext;
ERROR:  could not open extension control file "/usr/share/postgresql/12/extension/timescale_prometheus_extra.control": No such file or directory

You need to also install the extension here: https://github.com/timescale/timescale-prometheus/tree/master/extension. But this should be optional. The connector should work without the extension as well. This extension just adds some performance improvements


feat: add macro apply_cached_tag

This PR suggests a way to address the gap between the time a model run is complete and the dbt run is complete. by using the previous tag during this gap. This way, the tag's is always available.

Hey! Thanks for your work here. Are you considering merging this into the future release?

This seems like an interesting and worthwhile addition. One question about how to expose this, mostly so that I can understand the use case, would this macro and the apply_meta_as_tags macro both be run on your example project? Would a wrapper of some sort help simplify that for new adopters?
If the two macros are dependent on its more like a 1a and 1b, then including this in a more integrated type of macro could be valuable.
If I'm mistaking the use case, however, please let me know and I'd be happy to merge this as is to get a new release out.

Yes @JFrackson, the macros apply_meta_as_tags and apply_cached_tag go hand in hand. A user can use apply_meta_as_tags without using apply_cached_tag but not vice versa. Can you please elaborate about in a more integrated type of macro ?

Thanks for the updates 💪


animateToRegion function and polygon render

Is this a bug report?
(write your answer here)
Yes

Have you read the Installation Instructions?
(Write your answer here.)
Yes
Environment
react-native: 0.51.0
react-native-maps:0.21.0

Steps to Reproduce

(Write your steps here:)

Since the onRegionChangeComplete always fired multiple times, I tried to use the animateToRegion function instead of it.
Use the animateToRegion instead of the onRegionChangeComplete
Render the polygon things

Expected Behavior

(Write what you thought would happen.)
When I focus to the region with animateToRegion, it should render the polygons.
Actual Behavior

(Write what happened. Add screenshots!)
Polygon is not showing on the map.
Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)
animate(){
    let r = {
        latitude: 42.5,
        longitude: 15.2,
        latitudeDelta: 7.5,
        longitudeDelta: 7.5,
    };
    this.mapView.root.animateToRegion(r, 2000);
}

render(){
    return(
        <MapView
            ref = {(ref)=>this.mapView=ref}
            region={{
                latitude: 35.688442,
                longitude: 51.403753,
                latitudeDelta: 0.5,
                longitudeDelta: 0.5,
            }}
            onPress={()=>this.animate()}
        >

           {(this.state.geojsonData.map((data,index) => (
                        <MapView.Polygon
                            key={index}
                            coordinates={data.geometry.coordinates[0]}
                            strokeColor={'black'}
                            strokeWidth={1}
                            />)
                    ))}

        </MapView>
    );
}

By the way, I used the same polygon code without animateToRegion, it works. Just because if I use onRegionChangeComplete, my map is jumpy sometimes, I tried all the solutions but none of them could fix the android 8. That's why I try to use animateToRegion, thank you for any suggestions! I need your help!

Fixed. Closed.


fix: use correct title key for waypoint editor

Details

This PR updates the waypoint editor such that:

It shows a not found page if the index in the route is beyond the range of available waypoints.
Displays appropriate title on the way point editor.

Fixed Issues

$ https://github.com/Expensify/App/issues/25730
PROPOSAL: https://github.com/Expensify/App/issues/25730
Tests

Case 1

Click on the + button in the LHN and request money.
Select Distance tab and add a stop.
Press Start, Stop and Finish menu items and verify that the waypoint editor page has the correct title.

Case 2

Click on the + button in the LHN and request money.
Click on the Start menu item.
Change the waypoint index in the route from 0 to something like 10 or abcd.

Verify that a Not found page appears and there isn't any related console error.

[x] Verify that no errors appear in the JS console

Offline tests

N/A
QA Steps

Case 1

Click on the + button in the LHN and request money.
Select Distance tab and add a stop.
Press Start, Stop and Finish menu items and verify that the waypoint editor page has the correct title.

Case 2

Click on the + button in the LHN and request money.
Click on the Start menu item.
Change the waypoint index in the route from 0 to something like 10 or abcd.

Verify that a Not found page appears and there isn't any related console error.

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

https://github.com/Expensify/App/assets/30054992/a636a206-ccf5-4701-a3b2-194929b5d4d5

Mobile Web - Chrome

Mobile Web - Safari

https://github.com/Expensify/App/assets/30054992/08a98a94-0e41-48b0-b9d0-b181afb6852c

Desktop

https://github.com/Expensify/App/assets/30054992/9bdf3f7e-d752-402c-bc8b-19025440bf22

iOS

https://github.com/Expensify/App/assets/30054992/0998e85e-fe5b-4ede-bbf9-895136df9732

Android

https://github.com/Expensify/App/assets/30054992/6706d65f-b135-4b60-b013-358e1386102c

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/neil-marcellini in version: 1.3.59-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/neil-marcellini in version: 1.3.60-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/neil-marcellini in version: 1.3.60-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.59-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.60-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


ROCm support added.

It's tested on MI100 and MI200 cards but should support any  card that supports ROCm.

reopened the https://github.com/ApolloAuto/apollo/pull/14681 which has all the commits.


Firefox bug - can't click "President" while "Find a race" menu is open

Nevermind. I couldn't click president because I was already on the president page and NOT because I had the race menu open


[Mac Catalyst] Incorrect video rotation

Describe the bug
Video appears 90 degrees rotated incorrectly.
I think some logic in WebRTC's RTCCameraCapturer that determines rotation works differently somehow for catalyst, so I need to make a patch in WebRTC.
SDK Version
v2.0.4
iOS/macOS Version
Any supported version
Steps to Reproduce
Publish local track
Expected behavior
Correct rotation
Related: #340

Do you also see this with Mac Catalyst ?

Yeah, I see the rotation issue on Mac Catalyst. You can fix the rotation by using rotation override. However on the client, you have to then detect the rotation issue and fix it in there as well. In my case, the client is JS and I’m using css to transform the video element.

I think this will fix it:
https://github.com/webrtc-sdk/webrtc/pull/126

Merged in main and will be in next release


support for AWS_SESSION_TOKEN in development mode

@Schnitzel it seems it was already fixed in #378

@Kshatrix oh good find, documentation is missing though, will create a PR just with the doc entry :)


chore: reintroduce nonempty object validation

Because

We want to avoid empty objects in our definitions if possible.
New Connection section is empty for some connectors.

This commit

chore: reintroduce nonempty object validation
fix: remove connection section if empty

Hi @jvallesm
This PR has some problems when putting it in the pipeline backend. I'll add a commit to make it work.


speed. not good.

hi, because of a bug I recently had to switch back to the old virtualmin framed theme and, man, the speed difference!
with all the bling the authentic theme /feels/ speedy, but when you switch back, the speed difference is enormous. everything just loads instantly.
I think the team should take a step back and do an optimization round.
for the record:
server: ubuntu 14.04, 12 core, 12 GB RAM
client: windows 10, chrome, latest, i5, 16gb ram

We're working on the speed.
Authentic will never be the same in speed (as I see it), because it's 10 times heavier (has more dependencies).

..and we will try to improve..

Going to a single page app architecture will help; I spent a lot of time trying to solve that in my bootstrap theme, and was pretty close to solving the biggest problems, but Authentic is still framed, which leads to re-loading libraries on every new page. We can solve that, but it's a big project and requires a lot of code changes.
But, it will happen, eventually. We always welcome help!

Yes, eventually.

Yeaaah, frames are huuuuge mess :D :D :D

I will drop an iframe and will load pages using background requests to prevent menu reloads.

However it will not make things that much faster on high quality hardware.


overwrite mode

Are there any plans for adding an overwrite mode (toggled by the insert key).
Most editors do have them so I was quite surprised monaco (and thus VSCode) doesn't.

Must have. This is an absolutely common functionality of an editor.

I second this.
Thanks

+1 for this, please add it. It's a niche feature, but incredibly useful where it's used.

+1

+1
Niche feature?!?! Name one text editor that doesn't allow for insert overwriting. The lack of this common core functionality makes using VSCode extremely annoying.

I would like to see some consistency between Visual Studio (or other editors) and VSCode in this regard. Also, when editing Markdown tables (or .feature files), using the insert key how it should be used makes any programmer's life a lot easier.
It is for a reason that this key is available on any non-Mac keyboard (and we can't trust Apple, the company that claimed that we did not need copy-paste on a phone).


Cant access subfolders on phone.

We use the Set up school PCs without intunes and use Azure only to login to 365 accounts.
We set it up so we allow USB keys, and they seem to work perfectly, but if you insert a phone you wont be able to access subfolders on that phone, it will just say its blocked.
How can we remove that single block and allow it?
We have tested with both android and apple, and its the same on both, we need to allow students to access their camera folder so they can use images and movies captured so they can edit it on the computers.

Hello. Thank you for your question. Can you please provide more info as to what kind of external storage the devices are reporting themselves as?
You can use the RestrictLocalStorage policy in the SharedPC CSP (https://docs.microsoft.com/en-us/windows/client-management/mdm/sharedpc-csp) to unblock all storage options. This will unblock you right away. We'd like to investigate a bit further so if you can provide us with the type of storage that the devices are reporting themselves, we can investigate,
Thank you.

Hello. Please let us know if you have additional information so we can help with any issues. If we don't hear back by Dec 1st, we'll close the issue. Thank you.


How can I set it to be with one Thumb\Handle? (not lower and upper)

Try to set LowerValueLabelStyle
Set IsVisible to false.

I guess you cannot do it now with this control
Do you actually need it? You can use Xamarin.Forms Slider for achieving that

I guess you cannot do it now with this control
Do you actually need it? You can use Xamarin.Forms Slider for achieving that

I want your package because you have round corners and a border color to the handle.

Try the next approach
        <Style x:Key="CustomLowerValueLabelStyle" TargetType="Label" BasedOn="{StaticResource CustomValueLabelStyle}">
            <Setter Property="IsVisible" Value="False"/>
        </Style>

Then
LowerThumbSize="0"
LowerValueLabelStyle="{StaticResource CustomLowerValueLabelStyle}"

And let me know if it works for you :)

And let me know if it works for you :)

thanks, I achieved it like this:
<range:RangeSlider
Margin="32,0,32,30"
HorizontalOptions="Fill"
InputTransparent="False"
IsVisible="{Binding IsTempZoneCircle}"
LowerThumbBorderColor="White"
LowerThumbColor="{StaticResource StrongCyan}"
LowerThumbSize="30"
LowerValue="{Binding CircleRadius, Mode=TwoWay}"
MaximumValue="{Binding RadiusMaximumMultiplier, Mode=TwoWay}"
MinimumValue="{Binding RadiusMinimumMultiplier, Mode=TwoWay}"
ThumbSize="0"
TrackColor="{StaticResource DarkGrayishBlue}"
TrackHighlightColor="{StaticResource DarkGrayishBlue}"
TrackRadius="-1"
TrackSize="6"
UpperValue="{Binding RadiusMaximumMultiplier, Mode=TwoWay}"
ValueLabelStringFormat=""
VerticalOptions="End" />
But, I want to maintain only one bindable value to the handle.
which one to use from all of these:
MaximumValue="10"
MinimumValue="-10"
LowerValue="-10"
UpperValue="10"

MinimumValue manages Minimum possible value (0 by default)
MaximumValue manages Maximum possible value (1.0 by default)
LowerValue is a current Lower value
UpperValue is a current Upper value
I hope it makes sense

MinimumValue manages Minimum possible value (0 by default)
MaximumValue manages Maximum possible value (1.0 by default)
LowerValue is a current Lower value
UpperValue is a current Upper value
I hope it makes sense

yes, it is, but which one to use? I only want 1 :)

MinimumValue manages Minimum possible value (0 by default)
MaximumValue manages Maximum possible value (1.0 by default)
LowerValue is a current Lower value
UpperValue is a current Upper value
I hope it makes sense

yes, it is, but which one to use? I only want 1 :)

Try the next approach
        <Style x:Key="CustomLowerValueLabelStyle" TargetType="Label">
            <Setter Property="IsVisible" Value="False"/>
        </Style>

Then
LowerThumbSize="0"
LowerValueLabelStyle="{StaticResource CustomLowerValueLabelStyle}"

Well, if you do it like this, then you should observe UpperValue

MinimumValue manages Minimum possible value (0 by default)
MaximumValue manages Maximum possible value (1.0 by default)
LowerValue is a current Lower value
UpperValue is a current Upper value
I hope it makes sense

yes, it is, but which one to use? I only want 1 :)

Try the next approach
        <Style x:Key="CustomLowerValueLabelStyle" TargetType="Label">
            <Setter Property="IsVisible" Value="False"/>
        </Style>

Then
LowerThumbSize="0"
LowerValueLabelStyle="{StaticResource CustomLowerValueLabelStyle}"

Well, if you do it like this, then you should observe UpperValue

And not eceLowerValue" ?

Lower value must be set the same with Minimum Value

Lower value must be set the same with Minimum Value

ok, cool. and how do I hide the value label above?

<Style x:Key="CustomLowerValueLabelStyle" TargetType="Label">
    <Setter Property="IsVisible" Value="False"/>
</Style>

<Style x:Key="CustomLowerValueLabelStyle" TargetType="Label">
    <Setter Property="IsVisible" Value="False"/>
</Style>

Great, I end up wit this:

<range:RangeSlider
Margin="32,0,32,30"
HorizontalOptions="Fill"
InputTransparent="False"
IsVisible="{Binding IsTempZoneCircle}"
LowerThumbSize="0"
LowerValue="{Binding RadiusMinimumMultiplier, Mode=TwoWay}"
LowerValueLabelStyle="{StaticResource CustomLowerValueLabelStyle}"
UpperValueLabelStyle="{StaticResource CustomLowerValueLabelStyle}"
MaximumValue="{Binding RadiusMaximumMultiplier, Mode=TwoWay}"
MinimumValue="{Binding RadiusMinimumMultiplier, Mode=TwoWay}"
ThumbBorderColor="White"
ThumbColor="{StaticResource StrongCyan}"
ThumbSize="30"
TrackColor="{StaticResource DarkGrayishBlue}"
TrackHighlightColor="{StaticResource DarkGrayishBlue}"
TrackRadius="-1"
TrackSize="6"
UpperValue="{Binding CircleRadius, Mode=TwoWay}"
VerticalOptions="End" />
Looks and behaves ok, I hope that's what you meant.
Great nuget!


VI_ERROR_TMO: Timeout expired before operation completed.

Hi,
I'm trying to control a Keithley 2410 via python on an x86_64 linux machine (CentOS 7). I'm using python 2.7.5, NI-VISA 16 and PyVISA 1.8. The Keithley is connected to the computer via a a RS232-to-USB cable and it's configured for RS232 communication (with the parameters: baud 57600, bits 8, parity none, terminator , flow-ctrl none). When I try to query the Keithley I get a timeout error, as shown below:

import visa
rm = visa.ResourceManager()
print(rm.list_resources())
(u'ASRL1::INSTR', u'ASRL2::INSTR')
keithley = rm.open_resource("ASRL2::INSTR")
print(keithley.query('*IDN?'))
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.7/site-packages/pyvisa/resources/messagebased.py", line 407, in query
return self.read()
File "/usr/lib/python2.7/site-packages/pyvisa/resources/messagebased.py", line 332, in read
message = self.read_raw().decode(enco)
File "/usr/lib/python2.7/site-packages/pyvisa/resources/messagebased.py", line 306, in read_raw
chunk, status = self.visalib.read(self.session, size)
File "/usr/lib/python2.7/site-packages/pyvisa/ctwrapper/functions.py", line 1582, in read
ret = library.viRead(session, buffer, count, byref(return_count))
File "/usr/lib/python2.7/site-packages/pyvisa/ctwrapper/highlevel.py", line 188, in _return_handler
raise errors.VisaIOError(ret_value)
pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.

Any suggestions as to what the problem(s) might be would be much appreciated!
Thanks

are you able to test this connection with NI-VISA interactive control?  Most likely this is not a pyvisa "issue" but rather a connection configuration issue.  If you are able to query the instrument with NI tools but not with pyvisa, that might indicate a problem.
There are lots of other things to check.  Are you certain that ASRL2 is the right connection for the instrument?  Are you certain the instrument itself is operating properly?  Can you connect on Windows without a problem?  Etc.

Thanks for the suggestions but it seems as though I needed to explicitly set the baud rate.
rm = visa.ResourceManager()
smu = rm.open_resource("ASRL2::INSTR")
smu.baud_rate = 57600

you need to add a line for the termination: like this :
keithley.write_termination = '\r'
then it will work


Map.forEach calls the callback with (key, value), but in JavaScript it's (value, key)

#215 is trying to fix that, but @vicb is AFAIK currently busy moving to the US.

We arrived yesterday.
I should be able to start contributing again sometime next week.

Welcome! And no worries, I hope it's not too urgent. I can also take over
the change if you want to?
Victor Berchet<EMAIL_ADDRESS>schrieb am Fr., 31. Juli 2015 um
09:50 Uhr:

We arrived yesterday.
I should be able to start contributing again sometime next week.
—
Reply to this email directly or view it on GitHub
https://github.com/angular/ts2dart/issues/253#issuecomment-126750143.


Hydrodyn and ballast

can I ask you guys why the error in the picture occurs when I run now with the ballast water removed from the hydrodyn and without considering the weight and moment of inertia of the ballast water in the elastodyn file?
My aim is to remove the effect of ballast and only consider the action of the platform and tower blades, i.e. no ballast, nothing inside the platform, just a platform alone.
how should I derive the moment of inertia and the centre of mass of the platform if I reconstruct the ballast distribution and mass myself?
Thank you all for being able to answer this for me!

ELastodyn：
`------- ELASTODYN for OpenFAST INPUT FILE -------------------------------------------
NREL 5.0 MW Baseline Wind Turbine for Use in Offshore Analysis. Properties from Dutch Offshore Wind Energy Converter (DOWEC) 6MW Pre-Design (10046_009.pdf) and REpower 5M 5MW (5m_uk.pdf).
---------------------- SIMULATION CONTROL --------------------------------------
False         Echo        - Echo input data to ".ech" (flag)
3   Method      - Integration method: {1: RK4, 2: AB4, or 3: ABM4} (-)
"DEFAULT"     DT          - Integration time step (s)
---------------------- DEGREES OF FREEDOM --------------------------------------
True          FlapDOF1    - First flapwise blade mode DOF (flag)
False          FlapDOF2    - Second flapwise blade mode DOF (flag)
True          EdgeDOF     - First edgewise blade mode DOF (flag)
False         TeetDOF     - Rotor-teeter DOF (flag) [unused for 3 blades]
False          DrTrDOF     - Drivetrain rotational-flexibility DOF (flag)
False          GenDOF      - Generator DOF (flag)
False          YawDOF      - Yaw DOF (flag)
True          TwFADOF1    - First fore-aft tower bending-mode DOF (flag)
False          TwFADOF2    - Second fore-aft tower bending-mode DOF (flag)
True          TwSSDOF1    - First side-to-side tower bending-mode DOF (flag)
False          TwSSDOF2    - Second side-to-side tower bending-mode DOF (flag)
True          PtfmSgDOF   - Platform horizontal surge translation DOF (flag)
True          PtfmSwDOF   - Platform horizontal sway translation DOF (flag)
True          PtfmHvDOF   - Platform vertical heave translation DOF (flag)
True          PtfmRDOF    - Platform roll tilt rotation DOF (flag)
True          PtfmPDOF    - Platform pitch tilt rotation DOF (flag)
True          PtfmYDOF    - Platform yaw rotation DOF (flag)
---------------------- INITIAL CONDITIONS --------------------------------------
0   OoPDefl     - Initial out-of-plane blade-tip displacement (meters)
0   IPDefl      - Initial in-plane blade-tip deflection (meters)
0   BlPitch(1)  - Blade 1 initial pitch (degrees)
0   BlPitch(2)  - Blade 2 initial pitch (degrees)
0   BlPitch(3)  - Blade 3 initial pitch (degrees) [unused for 2 blades]
0   TeetDefl    - Initial or fixed teeter angle (degrees) [unused for 3 blades]
0   Azimuth     - Initial azimuth angle for blade 1 (degrees)
0   RotSpeed    - Initial or fixed rotor speed (rpm)
0   NacYaw      - Initial or fixed nacelle-yaw angle (degrees)
0   TTDspFA     - Initial fore-aft tower-top displacement (meters)
0   TTDspSS     - Initial side-to-side tower-top displacement (meters)
0   PtfmSurge   - Initial or fixed horizontal surge translational displacement of platform (meters)
0   PtfmSway    - Initial or fixed horizontal sway translational displacement of platform (meters)
0   PtfmHeave   - Initial or fixed vertical heave translational displacement of platform (meters)
1   PtfmRoll    - Initial or fixed roll tilt rotational displacement of platform (degrees)
0   PtfmPitch   - Initial or fixed pitch tilt rotational displacement of platform (degrees)
0   PtfmYaw     - Initial or fixed yaw rotational displacement of platform (degrees)
---------------------- TURBINE CONFIGURATION -----------------------------------
3   NumBl       - Number of blades (-)
63   TipRad      - The distance from the rotor apex to the blade tip (meters)
1.5   HubRad      - The distance from the rotor apex to the blade root (meters)
-2.5   PreCone(1)  - Blade 1 cone angle (degrees)
-2.5   PreCone(2)  - Blade 2 cone angle (degrees)
-2.5   PreCone(3)  - Blade 3 cone angle (degrees) [unused for 2 blades]
0   HubCM       - Distance from rotor apex to hub mass [positive downwind] (meters)
0   UndSling    - Undersling length [distance from teeter pin to the rotor apex] (meters) [unused for 3 blades]
0   Delta3      - Delta-3 angle for teetering rotors (degrees) [unused for 3 blades]
0   AzimB1Up    - Azimuth value to use for I/O when blade 1 points up (degrees)
-5.0191   OverHang    - Distance from yaw axis to rotor apex [3 blades] or teeter pin [2 blades] (meters)
1.912   ShftGagL    - Distance from rotor apex [3 blades] or teeter pin [2 blades] to shaft strain gages [positive for upwind rotors] (meters)
-5   ShftTilt    - Rotor shaft tilt angle (degrees)
1.9   NacCMxn     - Downwind distance from the tower-top to the nacelle CM (meters)
0   NacCMyn     - Lateral  distance from the tower-top to the nacelle CM (meters)
1.75   NacCMzn     - Vertical distance from the tower-top to the nacelle CM (meters)
-3.09528   NcIMUxn     - Downwind distance from the tower-top to the nacelle IMU (meters)
0   NcIMUyn     - Lateral  distance from the tower-top to the nacelle IMU (meters)
2.23336   NcIMUzn     - Vertical distance from the tower-top to the nacelle IMU (meters)
1.96256   Twr2Shft    - Vertical distance from the tower-top to the rotor shaft (meters)
87.6   TowerHt     - Height of tower relative to ground level [onshore], MSL [offshore wind or floating MHK], or seabed [fixed MHK] (meters)
10   TowerBsHt   - Height of tower base relative to ground level [onshore], MSL [offshore wind or floating MHK], or seabed [fixed MHK] (meters)
0   PtfmCMxt    - Downwind distance from the ground level [onshore], MSL [offshore wind or floating MHK], or seabed [fixed MHK] to the platform CM (meters)
0   PtfmCMyt    - Lateral distance from the ground level [onshore], MSL [offshore wind or floating MHK], or seabed [fixed MHK] to the platform CM (meters)
-13.46   PtfmCMzt    - Vertical distance from the ground level [onshore], MSL [offshore wind or floating MHK], or seabed [fixed MHK] to the platform CM (meters)
0   PtfmRefzt   - Vertical distance from the ground level [onshore], MSL [offshore wind or floating MHK], or seabed [fixed MHK] to the platform reference point (meters)
---------------------- MASS AND INERTIA ----------------------------------------
0   TipMass(1)  - Tip-brake mass, blade 1 (kg)
0   TipMass(2)  - Tip-brake mass, blade 2 (kg)
0   TipMass(3)  - Tip-brake mass, blade 3 (kg) [unused for 2 blades]
56780   HubMass     - Hub mass (kg)
115926   HubIner     - Hub inertia about rotor axis [3 blades] or teeter axis [2 blades] (kg m^2)
534.116   GenIner     - Generator inertia about HSS (kg m^2)
240000   NacMass     - Nacelle mass (kg)
**_2.60789E+06   NacYIner    - Nacelle inertia about yaw axis (kg m^2)
      0   YawBrMass   - Yaw bearing mass (kg)

3.85218E+06   PtfmMass    - Platform mass (kg)
2.56193E+09   PtfmRIner   - Platform inertia for roll tilt rotation about the platform CM (kg m^2)
2.56193E+09   PtfmPIner   - Platform inertia for pitch tilt rotation about the platform CM (kg m^2)
4.24265E+09   PtfmYIner   - Platform inertia for yaw rotation about the platform CM (kg m^2)_**
......（The latter was omitted.）`
Hydrodyn：
`------- HydroDyn Input File ----------------------------------------------------
NREL 5.0 MW offshore baseline floating platform HydroDyn input properties for the OC4 Semi-submersible.
False            Echo           - Echo the input file data (flag)
---------------------- ENVIRONMENTAL CONDITIONS --------------------------------
"default"   WtrDens        - Water density (kg/m^3)
"default"   WtrDpth        - Water depth (meters)
"default"   MSL2SWL        - Offset between still-water level and mean sea level (meters) [positive upward; unused when WaveMod = 6; must be zero if PotMod=1 or 2]
---------------------- WAVES ---------------------------------------------------
1   WaveMod        - Incident wave kinematics model {0: none=still water, 1: regular (periodic), 1P#: regular with user-specified phase, 2: JONSWAP/Pierson-Moskowitz spectrum (irregular), 3: White noise spectrum (irregular), 4: user-defined spectrum from routine UserWaveSpctrm (irregular), 5: Externally generated wave-elevation time series, 6: Externally generated full wave-kinematics time series [option 6 is invalid for PotMod/=0]} (switch)
0   WaveStMod      - Model for stretching incident wave kinematics to instantaneous free surface {0: none=no stretching, 1: vertical stretching, 2: extrapolation stretching, 3: Wheeler stretching} (switch) [unused when WaveMod=0 or when PotMod/=0]
0   WaveTMax       - Analysis time for incident wave calculations (sec) [unused when WaveMod=0; determines WaveDOmega=2Pi/WaveTMax in the IFFT]
0.2   WaveDT         - Time step for incident wave calculations     (sec) [unused when WaveMod=0; 0.1<=WaveDT<=1.0 recommended; determines WaveOmegaMax=Pi/WaveDT in the IFFT]
1.2646   WaveHs         - Significant wave height of incident waves (meters) [used only when WaveMod=1, 2, or 3]
10   WaveTp         - Peak-spectral period of incident waves       (sec) [used only when WaveMod=1 or 2]
"DEFAULT"        WavePkShp      - Peak-shape parameter of incident wave spectrum (-) or DEFAULT (string) [used only when WaveMod=2; use 1.0 for Pierson-Moskowitz]
0.314159   WvLowCOff      - Low  cut-off frequency or lower frequency limit of the wave spectrum beyond which the wave spectrum is zeroed (rad/s) [unused when WaveMod=0, 1, or 6]
1.570796   WvHiCOff       - High cut-off frequency or upper frequency limit of the wave spectrum beyond which the wave spectrum is zeroed (rad/s) [unused when WaveMod=0, 1, or 6]
0   WaveDir        - Incident wave propagation heading direction                         (degrees) [unused when WaveMod=0 or 6]
0   WaveDirMod     - Directional spreading function {0: none, 1: COS2S}                  (-)       [only used when WaveMod=2,3, or 4]
1   WaveDirSpread  - Wave direction spreading coefficient ( > 0 )                        (-)       [only used when WaveMod=2,3, or 4 and WaveDirMod=1]
1   WaveNDir       - Number of wave directions                                           (-)       [only used when WaveMod=2,3, or 4 and WaveDirMod=1; odd number only]
0   WaveDirRange   - Range of wave directions (full range: WaveDir +/- 1/2WaveDirRange) (degrees) [only used when WaveMod=2,3,or 4 and WaveDirMod=1]
123456789   WaveSeed(1)    - First  random seed of incident waves [-2147483648 to<PHONE_NUMBER>]    (-)       [unused when WaveMod=0, 5, or 6]
RANLUX   WaveSeed(2)    - Second random seed of incident waves [-2147483648 to<PHONE_NUMBER>] for intrinsic pRNG, or an alternative pRNG: "RanLux"    (-)       [unused when WaveMod=0, 5, or 6]
FALSE            WaveNDAmp      - Flag for normally distributed amplitudes                            (flag)    [only used when WaveMod=2, 3, or 4]
""               WvKinFile      - Root name of externally generated wave data file(s)        (quoted string)    [used only when WaveMod=5 or 6]
1   NWaveElev      - Number of points where the incident wave elevations can be computed (-)       [maximum of 9 output locations]
0   WaveElevxi     - List of xi-coordinates for points where the incident wave elevations can be output (meters) [NWaveElev points, separated by commas or white space; usused if NWaveElev = 0]
0   WaveElevyi     - List of yi-coordinates for points where the incident wave elevations can be output (meters) [NWaveElev points, separated by commas or white space; usused if NWaveElev = 0]
---------------------- 2ND-ORDER WAVES ----------------------------------------- [unused with WaveMod=0 or 6]
FALSE            WvDiffQTF      - Full difference-frequency 2nd-order wave kinematics (flag)
FALSE            WvSumQTF       - Full summation-frequency  2nd-order wave kinematics (flag)
0   WvLowCOffD     - Low  frequency cutoff used in the difference-frequencies (rad/s) [Only used with a difference-frequency method]
1.256637   WvHiCOffD      - High frequency cutoff used in the difference-frequencies (rad/s) [Only used with a difference-frequency method]
0.618319   WvLowCOffS     - Low  frequency cutoff used in the summation-frequencies  (rad/s) [Only used with a summation-frequency  method]
3.141593   WvHiCOffS      - High frequency cutoff used in the summation-frequencies  (rad/s) [Only used with a summation-frequency  method]
---------------------- CURRENT ------------------------------------------------- [unused with WaveMod=6]
0   CurrMod        - Current profile model {0: none=no current, 1: standard, 2: user-defined from routine UserCurrent} (switch)
0   CurrSSV0       - Sub-surface current velocity at still water level  (m/s) [used only when CurrMod=1]
"DEFAULT"        CurrSSDir      - Sub-surface current heading direction (degrees) or DEFAULT (string) [used only when CurrMod=1]
20   CurrNSRef      - Near-surface current reference depth            (meters) [used only when CurrMod=1]
0   CurrNSV0       - Near-surface current velocity at still water level (m/s) [used only when CurrMod=1]
0   CurrNSDir      - Near-surface current heading direction         (degrees) [used only when CurrMod=1]
0   CurrDIV        - Depth-independent current velocity                 (m/s) [used only when CurrMod=1]
0   CurrDIDir      - Depth-independent current heading direction    (degrees) [used only when CurrMod=1]
---------------------- FLOATING PLATFORM --------------------------------------- [unused with WaveMod=6]
1   PotMod         - Potential-flow model {0: none=no potential flow, 1: frequency-to-time-domain transforms based on WAMIT output, 2: fluid-impulse theory (FIT)} (switch)
0   ExctnMod       - Wave-excitation model {0: no wave-excitation calculation, 1: DFT, 2: state-space} (switch) [only used when PotMod=1; STATE-SPACE REQUIRES .ssexctn INPUT FILE]
0   RdtnMod        - Radiation memory-effect model {0: no memory-effect calculation, 1: convolution, 2: state-space} (switch) [only used when PotMod=1; STATE-SPACE REQUIRES .ss INPUT FILE]
60   RdtnTMax       - Analysis time for wave radiation kernel calculations (sec) [only used when PotMod=1 and RdtnMod=1; determines RdtnDOmega=Pi/RdtnTMax in the cosine transform; MAKE SURE THIS IS LONG ENOUGH FOR THE RADIATION IMPULSE RESPONSE FUNCTIONS TO DECAY TO NEAR-ZERO FOR THE GIVEN PLATFORM!]
0.0125   RdtnDT         - Time step for wave radiation kernel calculations (sec) [only used when PotMod=1 and ExctnMod>1 or RdtnMod>0; DT<=RdtnDT<=0.1 recommended; determines RdtnOmegaMax=Pi/RdtnDT in the cosine transform]
1   NBody          - Number of WAMIT bodies to be used (-) [>=1; only used when PotMod=1. If NBodyMod=1, the WAMIT data contains a vector of size 6NBody x 1 and matrices of size 6NBody x 6NBody; if NBodyMod>1, there are NBody sets of WAMIT data each with a vector of size 6 x 1 and matrices of size 6 x 6]
1   NBodyMod       - Body coupling model {1: include coupling terms between each body and NBody in HydroDyn equals NBODY in WAMIT, 2: neglect coupling terms between each body and NBODY=1 with XBODY=0 in WAMIT, 3: Neglect coupling terms between each body and NBODY=1 with XBODY=/0 in WAMIT} (switch) [only used when PotMod=1]
"../5MW_Baseline/HydroData/marin_semi"    PotFile       - Root name of potential-flow model data; WAMIT output files containing the linear, nondimensionalized, hydrostatic restoring matrix (.hst), frequency-dependent hydrodynamic added mass matrix and damping matrix (.1), and frequency- and direction-dependent wave excitation force vector per unit wave amplitude (.3) (quoted string) [1 to NBody if NBodyMod>1] [MAKE SURE THE FREQUENCIES INHERENT IN THESE WAMIT FILES SPAN THE PHYSICALLY-SIGNIFICANT RANGE OF FREQUENCIES FOR THE GIVEN PLATFORM; THEY MUST CONTAIN THE ZERO- AND INFINITE-FREQUENCY LIMITS!]
1   WAMITULEN      - Characteristic body length scale used to redimensionalize WAMIT output (meters) [1 to NBody if NBodyMod>1] [only used when PotMod=1]
0.0   PtfmRefxt      - The xt offset of the body reference point(s) from (0,0,0) (meters) [1 to NBody] [only used when PotMod=1]
0.0   PtfmRefyt      - The yt offset of the body reference point(s) from (0,0,0) (meters) [1 to NBody] [only used when PotMod=1]
0.0   PtfmRefzt      - The zt offset of the body reference point(s) from (0,0,0) (meters) [1 to NBody] [only used when PotMod=1. If NBodyMod=2,PtfmRefzt=0.0]
0.0   PtfmRefztRot   - The rotation about zt of the body reference frame(s) from xt/yt (degrees) [1 to NBody] [only used when PotMod=1]
13917   PtfmVol0       - Displaced volume of water when the body is in its undisplaced position (m^3) [1 to NBody] [only used when PotMod=1; USE THE SAME VALUE COMPUTED BY WAMIT AS OUTPUT IN THE .OUT FILE!]
0.0   PtfmCOBxt      - The xt offset of the center of buoyancy (COB) from (0,0) (meters) [1 to NBody] [only used when PotMod=1]
0.0   PtfmCOByt      - The yt offset of the center of buoyancy (COB) from (0,0) (meters) [1 to NBody] [only used when PotMod=1]
---------------------- 2ND-ORDER FLOATING PLATFORM FORCES ---------------------- [unused with WaveMod=0 or 6, or PotMod=0 or 2]
0   MnDrift        - Mean-drift 2nd-order forces computed                                       {0: None; [7, 8, 9, 10, 11, or 12]: WAMIT file to use} [Only one of MnDrift, NewmanApp, or DiffQTF can be non-zero. If NBody>1, MnDrift  /=8]
0   NewmanApp      - Mean- and slow-drift 2nd-order forces computed with Newman's approximation {0: None; [7, 8, 9, 10, 11, or 12]: WAMIT file to use} [Only one of MnDrift, NewmanApp, or DiffQTF can be non-zero. If NBody>1, NewmanApp/=8. Used only when WaveDirMod=0]
0   DiffQTF        - Full difference-frequency 2nd-order forces computed with full QTF          {0: None; [10, 11, or 12]: WAMIT file to use}          [Only one of MnDrift, NewmanApp, or DiffQTF can be non-zero]
0   SumQTF         - Full summation -frequency 2nd-order forces computed with full QTF          {0: None; [10, 11, or 12]: WAMIT file to use}
---------------------- PLATFORM ADDITIONAL STIFFNESS AND DAMPING  -------------- [unused with PotMod=0 or 2]
0   AddF0    - Additional preload (N, N-m) [If NBodyMod=1, one size 6NBody x 1 vector; if NBodyMod>1, NBody size 6 x 1 vectors]
0
0
0
0
0
0             0             0             0             0             0   AddCLin  - Additional linear stiffness (N/m, N/rad, N-m/m, N-m/rad)                     [If NBodyMod=1, one size 6NBody x 6NBody matrix; if NBodyMod>1, NBody size 6 x 6 matrices]
0             0             0             0             0             0
0             0             0             0             0             0
0             0             0             0             0             0
0             0             0             0             0             0
0             0             0             0             0             0
0             0             0             0             0             0   AddBLin  - Additional linear damping(N/(m/s), N/(rad/s), N-m/(m/s), N-m/(rad/s))        [If NBodyMod=1, one size 6NBody x 6NBody matrix; if NBodyMod>1, NBody size 6 x 6 matrices]
0             0             0             0             0             0
0             0             0             0             0             0
0             0             0             0             0             0
0             0             0             0             0             0
0             0             0             0             0             0
0             0             0             0             0             0   AddBQuad - Additional quadratic drag(N/(m/s)^2, N/(rad/s)^2, N-m(m/s)^2, N-m/(rad/s)^2) [If NBodyMod=1, one size 6NBody x 6*NBody matrix; if NBodyMod>1, NBody size 6 x 6 matrices]
0             0             0             0             0             0
0             0             0             0             0             0
0             0             0             0             0             0
0             0             0             0             0             0
0             0             0             0             0             0
---------------------- AXIAL COEFFICIENTS --------------------------------------
2   NAxCoef        - Number of axial coefficients (-)
AxCoefID  AxCd     AxCa     AxCp
(-)    (-)      (-)      (-)
1     0.00     0.00     1.00
2     9.60     0.00     1.00
---------------------- MEMBER JOINTS -------------------------------------------
44   NJoints        - Number of joints (-)   [must be exactly 0 or at least 2]
JointID   Jointxi     Jointyi     Jointzi  JointAxID   JointOvrlp   [JointOvrlp= 0: do nothing at joint, 1: eliminate overlaps by calculating super member]
(-)     (m)         (m)         (m)        (-)       (switch)
1     0.00000     0.00000   -20.00000      1            0
2     0.00000     0.00000    10.00000      1            0
3    14.43376    25.00000   -14.00000      1            0
4    14.43376    25.00000    12.00000      1            0
5   -28.86751     0.00000   -14.00000      1            0
6   -28.86751     0.00000    12.00000      1            0
7    14.43376   -25.00000   -14.00000      1            0
8    14.43376   -25.00000    12.00000      1            0
9    14.43375    25.00000   -20.00000      2            0
10   -28.86750     0.00000   -20.00000      2            0
11    14.43375   -25.00000   -20.00000      2            0
12     9.23760    22.00000    10.00000      1            0
13   -23.67130     3.00000    10.00000      1            0
14   -23.67130    -3.00000    10.00000      1            0
15     9.23760   -22.00000    10.00000      1            0
16    14.43375   -19.00000    10.00000      1            0
17    14.43375    19.00000    10.00000      1            0
18     4.04145    19.00000   -17.00000      1            0
19   -18.47520     6.00000   -17.00000      1            0
20   -18.47520    -6.00000   -17.00000      1            0
21     4.04145   -19.00000   -17.00000      1            0
22    14.43375   -13.00000   -17.00000      1            0
23    14.43375    13.00000   -17.00000      1            0
24     1.62500     2.81500    10.00000      1            0
25    11.43376    19.80385    10.00000      1            0
26    -3.25000     0.00000    10.00000      1            0
27   -22.87000     0.00000    10.00000      1            0
28     1.62500    -2.81500    10.00000      1            0
29    11.43376   -19.80385    10.00000      1            0
30     1.62500     2.81500   -17.00000      1            0
31     8.43376    14.60770   -17.00000      1            0
32    -3.25000     0.00000   -17.00000      1            0
33   -16.87000     0.00000   -17.00000      1            0
34     1.62500    -2.81500   -17.00000      1            0
35     8.43376   -14.60770   -17.00000      1            0
36     1.62500     2.81500   -16.20000      1            0
37    11.43376    19.80385     9.13000      1            0
38    -3.25000     0.00000   -16.20000      1            0
39   -22.87000     0.00000     9.13000      1            0
40     1.62500    -2.81500   -16.20000      1            0
41    11.43376   -19.80385     9.13000      1            0
42    14.43376    25.00000   -19.94000      1            0
43   -28.86751     0.00000   -19.94000      1            0
44    14.43376   -25.00000   -19.94000      1            0
---------------------- MEMBER CROSS-SECTION PROPERTIES -------------------------
4   NPropSets      - Number of member property sets (-)
PropSetID    PropD         PropThck
(-)        (m)            (m)
1        6.50000        0.03000          ! Main Column
2       12.00000        0.06000          ! Upper Columns
3       24.00000        0.06000          ! Base Columns
4        1.60000        0.01750          !  Main Column
2          0.61          0.61          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Upper Column 1
3          0.61          0.61          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Upper Column 2
4          0.61          0.61          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Upper Column 3
5          0.68          0.68          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Base Column 1
6          0.68          0.68          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Base Column 2
7          0.68          0.68          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Base Column 3
23          0.68          0.68          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Base column cap 1
24          0.68          0.68          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Base column cap 2
25          0.68          0.68          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Base column cap 3
8          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Delta Pontoon, Upper 1
9          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Delta Pontoon, Upper 2
10          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Delta Pontoon, Upper 3
11          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Delta Pontoon, Lower 1
12          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Delta Pontoon, Lower 2
13          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Delta Pontoon, Lower 3
14          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Y Pontoon, Upper 1
15          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Y Pontoon, Upper 2
16          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Y Pontoon, Upper 3
17          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Y Pontoon, Lower 1
18          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Y Pontoon, Lower 2
19          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Y Pontoon, Lower 3
20          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Cross Brace 1
21          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Cross Brace 2
22          0.63          0.63          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00          0.00         ! Cross Brace 3
-------------------- MEMBERS -------------------------------------------------
25   NMembers       - Number of members (-)
MemberID  MJointID1  MJointID2  MPropSetID1  MPropSetID2  MDivSize   MCoefMod  PropPot   [MCoefMod=1: use simple coeff table, 2: use depth-based coeff table, 3: use member-based coeff table] [ PropPot/=0 if member is modeled with potential-flow theory]
(-)        (-)        (-)         (-)          (-)        (m)      (switch)   (flag)
1         1          2           1            1         1.0000      3        True           ! Main Column
2         3          4           2            2         1.0000      3        True           ! Upper Column 1
3         5          6           2            2         1.0000      3        True           ! Upper Column 2
4         7          8           2            2         1.0000      3        True           ! Upper Column 3
5        42          3           3            3         1.0000      3        True           ! Base Column 1
6        43          5           3            3         1.0000      3        True           ! Base Column 2
7        44          7           3            3         1.0000      3       True           ! Base Column 3
23         9         42           3            3         1.0000      3        True           ! Base column cap 1
24        10         43           3            3         1.0000      3        True           ! Base column cap 2
25        11         44           3            3         1.0000      3       True           ! Base column cap 3
8        12         13           4            4         1.0000      3        True           ! Delta Pontoon, Upper 1
9        14         15           4            4         1.0000      3        True           ! Delta Pontoon, Upper 2
10        16         17           4            4         1.0000      3        True           ! Delta Pontoon, Upper 3
11        18         19           4            4         1.0000      3        True           ! Delta Pontoon, Lower 1
12        20         21           4            4         1.0000      3        True           ! Delta Pontoon, Lower 2
13        22         23           4            4         1.0000      3        True           ! Delta Pontoon, Lower 3
14        24         25           4            4         1.0000      3        True           ! Y Pontoon, Upper 1
15        26         27           4            4         1.0000      3        True           ! Y Pontoon, Upper 2
16        28         29           4            4         1.0000      3        True           ! Y Pontoon, Upper 3
17        30         31           4            4         1.0000      3        True           ! Y Pontoon, Lower 1
18        32         33           4            4         1.0000      3        True           ! Y Pontoon, Lower 2
19        34         35           4            4         1.0000      3        True           ! Y Pontoon, Lower 3
20        36         37           4            4         1.0000      3        True           ! Cross Brace 1
21        38         39           4            4         1.0000      3        True           ! Cross Brace 2
22        40         41           4            4         1.0000      3        True           ! Cross Brace 3
---------------------- FILLED MEMBERS ------------------------------------------
### 0   NFillGroups     - Number of filled member groups (-) [If FillDens = DEFAULT, then FillDens = WtrDens; FillFSLoc is related to MSL2SWL]
FillNumM FillMList             FillFSLoc     FillDens
(-)      (-)                   (m)           (kg/m^3)
---------------------- MARINE GROWTH -------------------------------------------
0   NMGDepths      - Number of marine-growth depths specified (-)
MGDpth     MGThck       MGDens
(m)        (m)         (kg/m^3)
---------------------- MEMBER OUTPUT LIST --------------------------------------
0   NMOutputs      - Number of member outputs (-) [must be <= 99]
MemberID   NOutLoc    NodeLocs [NOutLoc < 10; node locations are normalized distance from the start of the member, and must be >=0 and <= 1] [unused if NMOutputs=0]
(-)        (-)        (-)
---------------------- JOINT OUTPUT LIST ---------------------------------------
0   NJOutputs      - Number of joint outputs [Must be < 10]
0           JOutLst        - List of JointIDs which are to be output (-)[unused if NJOutputs=0]
....（The latter was omitted.）
`

Dear @HANloading,
Regarding (1), the water ballast in the OC4-DeepCwind semisubmersible provides a lot of weight to keep the floating wind system hydrostatically stable.  By removing this ballast, my guess is that the floating system is no longer hydrostatically stable, resulting in an unstable OpenFAST response.
Regarding (2), if you want to neglect modeling the ballast water in HydroDyn, you should move the associated mass and inertia to ElastoDyn.  The OC4-DeepCwind specifications report (https://www.nrel.gov/docs/fy14osti/60601.pdf) provides the equivalent lumped mass, center of mass, and inertias in Table 3-3, which you should use to update the values of PtfmCMzt, PtfmMass, PtfmRIner, PtfmPIner, and PtfmYIner in ElastoDyn.
Best regards,

Dear @jjonkman
Nice to  meet you. I hope you're well.
I also built a 14-degree of freedom mathematical model for a 5mw semi-submersible floating wind turbine, using the Lagrange energy method, mainly referring to the following article.
At present, I have some problems with the wave load, as you wrote in the oc4 wind turbine definition manual in 2014, I add the wave force on the right side of the Lagrange equation, but I feel a little difficult to take the degree of freedom in the wave load, and I am confused about how to calculate the dynamic pressure on the bottom and top of the lift plate. I hope you can answer this question, which will help me a lot.

So I want to change the idea and directly use FAST to derive the wave force, but it is very frustrating and unsatisfactory. I changed   PtfmRefzt  to -13.46 according to your previous comments. The force or moment on the six degrees of freedom of the output platform was put in my model, and compared with the platform displacement response of FAST, there was a big difference. I think there must be something wrong with the setting of FAST. I hope you can help me.
Another point is that the damping of the platform is graphically represented in the definition manual.(Figure 4-3) .How I convert to a matrix. My damping matrix is backderived by using the free attenuation of FAST, but only the main diagonal element of the damping matrix is made, which I think is inappropriate. So I'm desperate to ask for your help.
[Luo Y, Qian F, Sun H,  et al. Rigid-flexible coupling multi-body dynamics modeling of a semi-submersible floating offshore wind turbine[J].  Ocean Engineering, 2023, 281: 114648.]

Dear @Zhao-Yu-Lg,
I'm not sure I really understand your questions.  Just a couple comments:

You can find expressions for the dynamic pressure as a function of depth in first-order (Airy) wave theory in the literature.  If the equation for wave elevation (eta) is:

eta(t) = IDFT{ DFT[m] }
where DFT[m] is the Discrete Fourier Transform of the wave elevation and IDFT{} is the Inverse DFT, then the dynamic pressure (p_dyn) in finite depth is:
p_dyn(t) = IDFT{ DFT[m] * rho * g * COSH( k_m * (Z+h) )/COSH( k_m * h ) }
where rho is the fluid density, g is gravity, k_m is the wave number (frequency dependent), h is the water depth, Z is the depth (-h <= Z <= 0), and COSH() is the hyperbolic cosine.

Figure 4-3 in the OC4-DeepCwind semisubmersible specifications document shows both the diagonal (11-66) and off-diagonal (15, 24) elements of the damping matrix.

Best regards,

Dear @jjonkman
I am very glad to receive your reply soon.
I'm sure your comments are helpful to my first question.
But I still want to know how Openfast outputs the wave force on my coordinate system (0,0,-13.46), and how I can modify my Openfast Settings, I hope you can give a detailed tutorial.
As for the damping matrix, I know that the damping element is shown in Figure 4-3, but I think the damping matrix is an exact value. I chose its peak value and put it in my model, which is not so good in comparison with the response of Openfast.  it appropriate that I only add this damping matrix?  I feel very confused and hope you can help me.

Dear @Zhao-Yu-Lg,
You mention changing PtfmRefzt in ElastoDyn, but how are you outputting the hydrodynamic loads from OpenFAST for use in your own model?
The damping matrix In Figure 4-3 of the OC4-DeepCwind semisubmersible specifications document shows the frequency-dependent damping matrix.  HydroDyn does not use the damping from a single frequency; rather, HydroDyn computes the cosine transform of the frequency-depending damping matrix to compute the radiation-retardation kernel, which is then used to compute the radiation damping through convolution of this kernel with the platform velocity time history.  See my Ph.D. thesis-turned NREL report for theoretical details: https://www.nrel.gov/docs/fy08osti/41958.pdf.
Best regards,

Dear @jjonkman
I built a fourteen-degree-of-freedom model with six degrees of freedom including the first-order swing and swing of the three blades, the front and rear sides of the tower and the six degrees of freedom of the platform, and the coordinates were (0,0,-13.46),and I have used the PM spectrum for the wave spectrum.HydroFxi,HydroFyi, HydroFzi, HydroMxi, HydroMyi, HydroMzi as Wave Loads for Floating Platforms Added to my model, I think so, am I thinking too simply? If not, I hope you can point out what my problem is.
If that's what I said above, what settings should I change for the default file?
I hope you understand what I mean.
Best regards,


Docs for version 1.1.1 is broken

https://docs.rs/crate/owo-colors/1.1.1 has failed to build

1.1.3 Builds again


PSCore6 - Clear-Host not working in SSH Enter-PSSession Windows to CentOS

Steps to reproduce
Connect from Windows to CentOS using Enter-PSSession:
Enter-PSSession -HostName mercury -UserName maxt

Expected behavior
To clear the CentOS linux screen.

Actual behavior
Won't clear the host screen!
PS C:\Program Files\PowerShell\6-preview> Enter-PSSession -HostName mercury -UserName maxt
The authenticity of host 'mercury (<IP_ADDRESS>)' can't be established.
ECDSA key fingerprint is SHA256:Oc1pH2zch7HLOqrCdOAioS5OVvRvucj7SRBcrC7jXyQ.
Are you sure you want to continue connecting (yes/no)?
Warning: Permanently added 'mercury,<IP_ADDRESS>' (ECDSA) to the list of known hosts.
maxt@mercury's password:
[mercury]: PS /home/maxt> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.1.0-preview.2
PSEdition                      Core
GitCommitId                    v6.1.0-preview.2
OS                             Linux 3.10.0-862.2.3.el7.x86_64 #1 SMP Wed May 9 18:05:47 UTC 2018
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

[mercury]: PS /home/maxt> cls
TERM environment variable not set.
[mercury]: PS /home/maxt>

Environment data

CentOS PowerShell
[mercury]: PS /home/maxt> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.1.0-preview.2
PSEdition                      Core
GitCommitId                    v6.1.0-preview.2
OS                             Linux 3.10.0-862.2.3.el7.x86_64 #1 SMP Wed May 9 18:05:47 UTC 2018
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

PowerShell
PS C:\Program Files\PowerShell\6-preview> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.1.0-preview.2
PSEdition                      Core
GitCommitId                    v6.1.0-preview.2
OS                             Microsoft Windows 10.0.17134
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

So if you set the TERM variable e.g. $ENV:TERM="ansi" does it work?

Hi @BrucePay,
Yes! It works.  So, is this something to be handle by the installation, to set TERM="ansi"??
:)
Thanks!

I think it's yet another aspect of #975. The TERM variable is one of the things that should have been set for you at shell start time. Anyway, are you OK with me closing this as a dup of the earlier bug?

Thanks @BrucePay


Support jump to bullets in docs page

Feature request 🚀

[ ] I will create Pull Request
[x] It's just a suggestion

Expected

jump to API bullet in fieldset page when open this https://react.zeit-ui.co/en-us/components/fieldset#apis

This function has encountered some problems, and I am still in the process of continuous research.
The main reason is that the current document samples are lazy loading, the height of the document page changes several times when it is first loaded (it depends on the network speed of the load). Now it seems that if we scroll to the anchor when first load the page, the change in height can actually reduce the user experience. 😢
I'm trying some other ways around this question, but I don't have a good answer. If anyone has a better practice or opinion, please let me know.

Closed.
This feature is not easy to implement at present, anyone who has a new idea, please reopen it.


command not found: realpath

Script result: /usr/local/Installomator/patchomator.sh:96: command not found: realpath
usage: dirname string [...]
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
[NOTICE] Verbose Mode enabled.
[NOTICE] Checking for configuration at /Library/Application Support/Patchomator/patchomator.plist
[NOTICE] No config file at /Library/Application Support/Patchomator/patchomator.plist. Running discovery.
[NOTICE] Looking for labels in /fragments/labels/
[FATAL ERROR] Package labels not present and  is not writable. Re-run patchomator with sudo to download and install them.

Though I thought everything run from jamf was running from sudo, but there might be something I'm missing here.
Originally posted by @duderin0 in https://github.com/Mac-Nerd/patchomator/issues/4#issuecomment-1527780128

fixed in 1.0.1


new markup vor credentials

Could you please describe more about new credentials?
It is hard to find which line is marked up.


[ bug Report ] Water foot steps do not work for water rooms height below 0.75 click.

TombEngine version
v1.4
Tomb Editor version
v1.7.1
Describe the bug
The water rooms of half or quarter height do not have water footstep sounds.
To Reproduce
Create a water room of 0.5 click or 0.25 click. Run Lara through it.. There will be no water footstep sounds.
Expected Behaviour
I expected to hear the water footsteps. It works fine for 0.75 click height.
Screenshots

Additional Content
No response
Minimal reproduction project
D

Fixed.


question about whole_work_mask

Hi, it seems that whole_word_mask is unsuitable for roberta, yet in your example script
python run.py with data_root=/data2/dsets/dataset num_gpus=8 num_nodes=1 task_mlm_itm_clip_bert per_gpu_batchsize=32 clip16 text_roberta image_size=288

I wonder whether there is performance drop when setting whole_word_mask=True for text_roberta.

Hi, I had noted this here https://github.com/zdou0830/METER/blob/main/meter/config.py#L44 and I didn't see any performance drop.


Error loading data into Hive

I am attempting to load data into hive. I have Elasticsearch running on port 9200, Hive running on 8080. Any attempts at POSTing JSON data to the Hive server give this error - {"error":"unexpected end of JSON input"}. My JSON is valid. I even tried simply loading the example JSON from this repo and received the same error.
I was able to post the data directly to the Elasticsearch port, in index "hive," but I'm not able to utilize any of the Hive API endpoints.
Here's the actual readout from the Hive server:
2015/02/19 10:52:04 Creating index hive
2015/02/19 10:52:04 Done configuring elasticsearch
2015/02/19 10:52:04 Step 2: creating project.
2015/02/19 10:52:04 {"error":"unexpected end of JSON input"}
Here's the JSON I'm trying to POST:
{ "Project":
{ "Id": "idnc", "Name": "IDNC", "Description": "Test loading IDNC image data" },
"Tasks":
[
{ "Name": "categorize", "Description": "categorize images", "CurrentState": "available", "AssignmentCriteria":
{"SubmittedData": { "categorize": {} } }, "CompletionCriteria":
{ "Total": 50, "Matching": 50 } },
{ "Name": "vote", "Description": "vote on image quality (from 1 to 10)", "CurrentState": "waiting", "AssignmentCriteria": { "SubmittedData": { "categorize": { "ad-content": "usable" }, "vote": {} } }, "CompletionCriteria": { "Total": 2, "Matching": 2 } } ], "Assets": [ { "Name": "DIL19720801", "Url": "http://idnc.library.illinois.edu/cgi-bin/imageserver/imageserver.pl?oid=DIL197208<IP_ADDRESS>&color=all&ext=jpg&area=2&width=700" }, { "Name": "DIL19661012", "Url": "http://idnc.library.illinois.edu/cgi-bin/imageserver/imageserver.pl?oid=DIL19661<IP_ADDRESS>&color=all&ext=jpg&area=7&width=700" }, { "Name": "DIL19640213", "Url": "http://idnc.library.illinois.edu/cgi-bin/imageserver/imageserver.pl?oid=DIL19640<IP_ADDRESS>&color=all&ext=jpg&area=11&width=700" }, { "Name": "DIL19691217", "Url": "http://idnc.library.illinois.edu/cgi-bin/imageserver/imageserver.pl?oid=DIL19691<IP_ADDRESS>&color=all&ext=jpg&area=1&width=700" } ]  }
Any suggestions as to what I'm doing wrong here are welcomed. Thanks!

Any update to this?

Still trying to work out the hive API, but after much trial and error I was able to use the "create project" api like this:
Endpoint: /admin/projects/{project_id}
Request body:
{
"Id": "test",
"Name": "Test,
"Description": "test project"
}
Response:
{
"Project": {
"Id": "test",
"Name": "Test",
"Description": "test project",
"AssetCount": 0,
"TaskCount": 0,
"UserCount": 0,
"AssignmentCount": null,
"MetaProperties": null
}
}


Tag release v0.5.0

Looks like the release was never tagged, and I was doing due diligence and reading the changes between the version we're using and v0.5.0.
Any chance that could get tagged?
(thank you for all your work on this package!)

Just pushed the tag.


MenuDialog.IsActive() for undefined MenuDialog

When setting a menu option, I wanted my code to check if any menus were active in order to avoid running multiple blocks of code while a menu option is up.
However, for cases where the menu parameter "Set Menu Dialog" is blank, there doesn't appear to be a way to call the .IsActive() function.
I created a work around by going into Menu.cs and changing
var menuDialog = MenuDialog.GetMenuDialog();
to
menuDialog = MenuDialog.GetMenuDialog();
and adding this line:
public MenuDialog menuDialog;
I could then take a list of all menus in a flowchart, loop through them, and check if they are active.

Could you do the same thing just by calling MenuDialog.GetMenuDialog() yourself, rather than storing it the Menu class? I think that should work because only one instance of the menu dialog can be active at a time.

Closing this as the MenuDialog.GetMenuDialog() method should be sufficient to solve it.


Linux native support

Hi,
It appears that there is no native support for file watching on Linux say ext4 fs? Is this right?

Chokidar supports all platforms including Linux.


An error occurred while VariableForce cop was inspecting ...

I have an error when running rubocop on my project
with -d I got uninitialized constant DidYouMean::SpellChecker ?
RuboCop version
$ [bundle exec] rubocop -V
0.85.0 (using Parser <IP_ADDRESS>, rubocop-ast 0.0.3, running on ruby 2.6.3 x86_64-linux)

Dup with #7979.


Use a custom resource instead of a provider

Fix for https://github.com/kellymclaughlin/rebar3-tidy-deps-plugin/issues/1 depends on https://github.com/rebar/rebar3/pull/316

Needing another set of curly braces is unfortunate, but working is also better than not working. It looks like you've already plumbed in the necessary changes to rebar3 so let me try this out. I am not really familiar with the custom resource idea so I'll have to check that out too. Thanks.

Yea, the extra curly brace is required unless the 'parse_dep' function is abstracted out so it can be extended by a plugin resource. I could see doing that in the future.


Build artifacts when a new PR is posted

This can potentially be done using GitHub services, or if needed the small server that we use to host documentation.

Pull down the branch
Run make docs
Post a link on the PR to the live artifacts.

Reading online, it seems like this is what we will need to do: https://github.community/t/possible-to-commit-files-after-workflow-runs/17824/2
Now, do we have a preference on the commit user details and the token to use?

@antgonza that's super cool. Do you think we could adapt this to show the built QZVs once a new PR is opened?
As for the credentials, I think we can re-use https://github.com/emperor-helper, but really it could be whatever account.

I think so, would you mind sending me an email with the details for that account, I'll be happy to tests ...


instant segfault on start

Rust 1.11
Plantex 0be02cfd9789d67c2d4969f9c13348e219ed2a1e
Starting program: /home/zetok/git_zetok/rust/plantex/target/debug/plantex
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
INFO:plantex: Launching local server
[New Thread 0x7ffff6bff700 (LWP 5275)]
INFO:plantex: ~~~~~~~~~~ Plantex started ~~~~~~~~~~
INFO:server: starting server on <IP_ADDRESS>:42501
[New Thread 0x7ffff65ff700 (LWP 5276)]
INFO:client::game: connecting to <IP_ADDRESS>:42501
INFO:server::server: client connected from <IP_ADDRESS>:45616
[New Thread 0x7fffe80f7700 (LWP 5361)]
INFO:client::game: OpenGL context was successfully built
INFO:client::game: Version of context: OpenGL 4.1
INFO:client::game: Supported GLSL version: GLSL 4.1
INFO:client::game: Free GPU memory (estimated): 4082MB
[New Thread 0x7fffe65ff700 (LWP 5438)]
INFO:client::renderer: time to resize framebuffer with dimensions 1148,1034
INFO:client::game: ______ _             _
INFO:client::game: | ___ \ |           | |
INFO:client::game: | |_/ / | __ _ _ __ | |_ _____  __
INFO:client::game: |  __/| |/ _` | '_ \| __/ _ \ \/ /
INFO:client::game: | |   | | (_| | | | | ||  __/>  <
INFO:client::game: \_|   |_|\__,_|_| |_|\__\___/_/\_\

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe8d489c0 in llvm::Value::getName() const () from /usr/lib64/libLLVMCore.so.3.7
(gdb) bt
#0  0x00007fffe8d489c0 in llvm::Value::getName() const () from /usr/lib64/libLLVMCore.so.3.7
#1  0x00007fffef7c7cc7 in (anonymous namespace)::SITypeRewriter::visitCallInst(llvm::CallInst&) ()
   from /usr/lib64/libLLVMAMDGPUCodeGen.so.3.7
#2  0x00007fffef7c8a1e in (anonymous namespace)::SITypeRewriter::runOnFunction(llvm::Function&) ()
   from /usr/lib64/libLLVMAMDGPUCodeGen.so.3.7
#3  0x00007fffe8d22fad in llvm::FPPassManager::runOnFunction(llvm::Function&) () from /usr/lib64/libLLVMCore.so.3.7
#4  0x00007fffe8d23443 in llvm::FPPassManager::runOnModule(llvm::Module&) () from /usr/lib64/libLLVMCore.so.3.7
#5  0x00007fffe8d236f1 in llvm::legacy::PassManagerImpl::run(llvm::Module&) () from /usr/lib64/libLLVMCore.so.3.7
#6  0x00007fffe9fccffd in LLVMTargetMachineEmit(LLVMOpaqueTargetMachine*, LLVMOpaqueModule*, llvm::raw_pwrite_stream&, LLVMCodeGenFileType, char**) () from /usr/lib64/libLLVMTarget.so.3.7
#7  0x00007fffe9fcd2ce in LLVMTargetMachineEmitToMemoryBuffer () from /usr/lib64/libLLVMTarget.so.3.7
#8  0x00007ffff12bedd4 in radeon_llvm_compile (M=M@entry=0x7fffe3e65c80, binary=binary@entry=0x7fffe6eb1a90,
    gpu_family=<optimized out>, tm=tm@entry=0x7ffff6d33c00, debug=debug@entry=0x7ffff6ca58f0)
    at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/drivers/radeon/radeon_llvm_emit.c:235
#9  0x00007ffff12301b0 in si_compile_llvm (sscreen=sscreen@entry=0x7ffff6d33000, binary=binary@entry=0x7fffe6eb1a90,
    conf=conf@entry=0x7fffe6eb1ae8, tm=tm@entry=0x7ffff6d33c00, mod=mod@entry=0x7fffe3e65c80,
    debug=debug@entry=0x7ffff6ca58f0, processor=3, name=0x7ffff1395100 "TGSI shader")
    at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/drivers/radeonsi/si_shader.c:6166
#10 0x00007ffff123218b in si_compile_tgsi_shader (sscreen=sscreen@entry=0x7ffff6d33000, tm=tm@entry=0x7ffff6d33c00,
    shader=shader@entry=0x7fffe6eb1a00, is_monolithic=is_monolithic@entry=true, debug=debug@entry=0x7ffff6ca58f0)
    at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/drivers/radeonsi/si_shader.c:6561
#11 0x00007ffff1232ae9 in si_shader_create (sscreen=0x7ffff6d33000, tm=0x7ffff6d33c00, shader=shader@entry=0x7fffe6eb1a00,
    debug=debug@entry=0x7ffff6ca58f0)
    at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/drivers/radeonsi/si_shader.c:7527
#12 0x00007ffff123e01d in si_shader_select_with_key (ctx=ctx@entry=0x7ffff6ca5000, state=0x7ffff6ca5d88, key=0x7ffffffeaa20)
    at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/drivers/radeonsi/si_state_shaders.c:993
#13 0x00007ffff123e170 in si_shader_select (ctx=ctx@entry=0x7ffff6ca5000, state=state@entry=0x7ffff6ca5d88)
    at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/drivers/radeonsi/si_state_shaders.c:1021
#14 0x00007ffff123f5fb in si_update_shaders (sctx=sctx@entry=0x7ffff6ca5000)
    at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/drivers/radeonsi/si_state_shaders.c:1955
#15 0x00007ffff123adb6 in si_draw_vbo (ctx=0x7ffff6ca5000, info=0x7ffffffeae70)
    at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/drivers/radeonsi/si_state_draw.c:905
#16 0x00007ffff10e59e4 in u_vbuf_draw_vbo (mgr=0x7ffff6d54e00, info=<optimized out>)
    at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/auxiliary/util/u_vbuf.c:1163
#17 0x00007ffff0f199ea in st_draw_vbo (ctx=0x7fffe75137c0, prims=<optimized out>, nr_prims=1, ib=0x7ffffffeaf50,
    index_bounds_valid=<optimized out>, min_index=4294967295, max_index=4294967295, tfb_vertcount=0x0, stream=0, indirect=0x0)
    at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/mesa/state_tracker/st_draw.c:251
#18 0x00007ffff0ed902a in vbo_validated_drawrangeelements (ctx=ctx@entry=0x7fffe75137c0, mode=mode@entry=14,
    index_bounds_valid=index_bounds_valid@entry=0 '\000', start=start@entry=4294967295, end=end@entry=4294967295,
    count=count@entry=4443, type=5125, indices=0x0, basevertex=0, numInstances=13, baseInstance=0)
    at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/mesa/vbo/vbo_exec_array.c:849
#19 0x00007ffff0ed90be in vbo_exec_DrawElementsInstanced (mode=14, count=4443, type=5125, indices=0x0, numInstances=13)
    at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/mesa/vbo/vbo_exec_array.c:1030
#20 0x000055555566ff03 in glium::gl::{{impl}}::DrawElementsInstanced (self=0x7fffe7566450, mode=14, count=4443, type_=5125,
    indices=0x0, instancecount=13)
    at /home/zetok/git_zetok/rust/plantex/target/debug/build/glium-5a0f6022dd6fde54/out/gl_bindings.rs:8303
#21 0x0000555555695308 in glium::ops::draw::draw<glium::uniforms::uniforms::UniformsStorage<[f32; 3], glium::uniforms::uniforms::UniformsStorage<[f32; 3], glium::uniforms::uniforms::UniformsStorage<[f32; 3], glium::uniforms::uniforms::UniformsStorage<[[f32; 4]; 4], glium::uniforms::uniforms::UniformsStorage<glium::uniforms::sampler::Sampler<glium::texture::texture2d::Texture2d>, glium::uniforms::uniforms::UniformsStorage<[f32; 3], glium::uniforms::uniforms::UniformsStorage<[[f32; 4]; 4], glium::uniforms::uniforms::UniformsStorage<[[f32; 4]; 4], glium::uniforms::uniforms::EmptyUniforms>>>>>>>>,(&glium::vertex::buffer::VertexBuffer<client::view::plant_view::Vertex>, glium::vertex::PerInstance)> (context=0x7fffe7566450, framebuffer=...,
    vertex_buffers=..., indices=..., program=0x7ffff6cd8990, uniforms=0x7ffffffede18, draw_parameters=0x7ffffffeccb0,
---Type <return> to continue, or q <return> to quit---
    dimensions=...) at /home/zetok/.cargo/git/checkouts/glium-1d278ab6db4cdf7b/unifast/src/ops/draw.rs:225
#22 0x00005555556936cf in glium::framebuffer::{{impl}}::draw<(&glium::vertex::buffer::VertexBuffer<client::view::plant_view::Vertex>, glium::vertex::PerInstance),&glium::index::buffer::IndexBuffer<u32>,glium::uniforms::uniforms::UniformsStorage<[f32; 3], glium::uniforms::uniforms::UniformsStorage<[f32; 3], glium::uniforms::uniforms::UniformsStorage<[f32; 3], glium::uniforms::uniforms::UniformsStorage<[[f32; 4]; 4], glium::uniforms::uniforms::UniformsStorage<glium::uniforms::sampler::Sampler<glium::texture::texture2d::Texture2d>, glium::uniforms::uniforms::UniformsStorage<[f32; 3], glium::uniforms::uniforms::UniformsStorage<[[f32; 4]; 4], glium::uniforms::uniforms::UniformsStorage<[[f32; 4]; 4], glium::uniforms::uniforms::EmptyUniforms>>>>>>>>> (
    self=0x7ffffffef3b0, vb=..., ib=0x7fffe6a0d318, program=0x7ffff6cd8990, uniforms=0x7ffffffede18,
    draw_parameters=0x7ffffffeccb0)
    at /home/zetok/.cargo/git/checkouts/glium-1d278ab6db4cdf7b/unifast/src/framebuffer/mod.rs:315
#23 0x0000555555692bc1 in client::view::plant_view::{{impl}}::draw<glium::framebuffer::SimpleFrameBuffer> (
    self=0x7fffe6a0ccc0, surface=0x7ffffffef3b0, camera=0x7ffffffefc70, shadow_map=0x7fffffff04c0,
    depth_view_proj=0x7ffffffef548, daytime=0x7fffffff2d48, sun_dir=...)
    at /home/zetok/git_zetok/rust/plantex/client/src/view/plant_view.rs:148
#24 0x0000555555684129 in client::world::world_view::{{impl}}::draw<glium::framebuffer::SimpleFrameBuffer> (
    self=0x7fffe6871840, surface=0x7ffffffef3b0, camera=0x7ffffffefc70, shadow_map=0x7fffffff04c0,
    depth_view_proj=0x7ffffffef548, daytime=0x7fffffff2d48, sun_dir=...)
    at /home/zetok/git_zetok/rust/plantex/client/src/world/world_view.rs:171
#25 0x000055555560aff3 in client::renderer::{{impl}}::render (self=0x7fffffff03b8, world_view=0x7fffe6871840,
    camera=0x7ffffffefc70, daytime=0x7fffffff2d48, sun=0x7fffffff1d28, weather=0x7fffffff2d58, sky_view=0x7fffffff24f8)
    at /home/zetok/git_zetok/rust/plantex/client/src/renderer.rs:359
#26 0x00005555555e0d68 in client::game::{{impl}}::run (self=...) at /home/zetok/git_zetok/rust/plantex/client/src/game.rs:118
#27 0x00005555555b5575 in client::start_game (config=..., server=...)
    at /home/zetok/git_zetok/rust/plantex/client/src/lib.rs:47
#28 0x000055555559b200 in plantex::main () at /home/zetok/git_zetok/rust/plantex/plantex/main.rs:32
#29 0x0000555555b98649 in std::panicking::try::call::hca715a47aa047c49 ()
#30 0x0000555555ba061c in __rust_try ()
#31 0x0000555555ba05bf in __rust_maybe_catch_panic ()
#32 0x0000555555b980ef in std::rt::lang_start::h162055cb2e4b9fe7 ()
#33 0x00005555555a27fa in main ()

Backtrace looks like a driver issue (and possibly glium). Which graphics card and driver are you using, exactly (including versions)?

It seems like @zetok uses radeon:

#8  0x00007ffff12bedd4 in radeon_llvm_compile (M=M@entry=0x7fffe3e65c80, binary=binary@entry=0x7fffe6eb1a90,
gpu_family=, tm=tm@entry=0x7ffff6d33c00, debug=debug@entry=0x7ffff6ca58f0)
at /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/drivers/radeon/radeon_llvm_emit.c:235
Does plantex use any non standard shader code?

Does plantex use any non standard shader code?

We actually never ran a GLSL validator on all shader files, but I don't know of any special shader code :confused: So far we tested with Nvidia cards (OpenGL implementations which permit many strange things) and Intel cards (so far it seemed like those OpenGL implementations reject all shader code that is not valid by the GLSL standard).
Whatever it is, a segfault is never expected behavior. Since plantex doesn't use any unsafe code at all, I'm pretty sure it's either a bug in glium or a bug in the OpenGL implementation of Radeon that glium did not prevent.

Which graphics card and driver are you using, exactly (including versions)?

GPU: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290]
Kernel: 4.6.3 with with a custom patch revert that makes freeze during gaming ~non-existent
Driver: radeon
Mesa: 12.0.1
Xorg: 1.17.4
Any other info I could supply?

If you want, you could test a few glium examples:
git clone https://github.com/tomaka/glium.git
cd glium
cargo run --example <name>

Interesting examples would be teapot, instancing and tessellation. Does any of those fail with the same error?

Could you print the local vars of frame #11?

@bjorn3 sure, but I don't really use gdb much, so would you mind supplying a command?

@LukasKalbertodt looks like tessellation one segfaults too :s

Well, I guess then there is nothing we can do about it...
As it seems to have something to do with tessellation, you can try starting plantex without tessellation, as described here: #199


Remove python patch version check

Also move version checking to separate script for cleanliness.
Describe the behavior changes introduced in this PR
Python patch versions (3.10.PATCH) will no longer be checked.
This also moves the version checking into a separate script for cleanliness-- we no longer need to print and re-parse versions, and can do the simplest approach for major and minor version checking.
Linked Issues?
resolves #403

/lgtm


Remove ubuntu image from explorer container

In case the ubuntu image is known to docker it will skip building the explorer.

I incorporated this change in some other commit, thanks again for the suggestion.
Closing.