text:
Failure with some .csproj files

OmniSharp fails when the csproj file isn't to its liking.
dotnet new console produces this:
 <Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp2.2</TargetFramework>
  </PropertyGroup>

</Project>

In order to make OmniSharp work, it needs to contain at least the follwing two lines:
 <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> replaces <Project Sdk="Microsoft.NET.Sdk">
and this one:
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
this .csproj file should work:
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp2.2</TargetFramework>
  </PropertyGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

You can try for yourself with the following commands:
mkdir omnisharp_example && cd omnisharp_example
dotnet new sln
mkdir Hello && cd Hello
dotnet new console
cd .. && dotnet sln add Hello && cd Hello
vim Program.cs

Now it doesn't work.
Try adding the aforementioned lines and open Program.cs again. OmniSharp should now work.
I use the latest OmniSharp via --stdio.

If the server doesn't work with your project, that's an OmniSharp-roslyn issue, not OmniSharp-vim.
In this case however, OmniSharp works fine for me, following your setup instructions.
To diagnose the server, try running the server manually outside vim:
~/.omnisharp/omnisharp-roslyn/run

You might be running into this issue

There is likely something wrong with my build system.
export MSBuildSDKsPath=/usr/lib/mono/msbuild/15.0/bin/Sdks/ fixes the csproj file, but then it can't even find the type or namespace for System.
Anyway, thanks for the answer.

What's your OS, and output of running the server in a terminal?
The other fix I've had success with for some server issues on Arch Linux was creating a ~/.omnisharp/omnisharp.json file with these contents:
{
   "MsBuild": {
      "UseLegacySdkResolver": true
   }
}

I run Arch Linux. Creating the omnisharp.json file fixed the issue. My other problem was that I only had the Sdks for 2.2 and 3.0 Preview installed, and we were using 2.0.
Thanks again!

source: gharchive/issue

authors: nickspoons trobjo

repo: OmniSharp/omnisharp-vim

license: mit

license_type: permissive

license_source: bigquery


text:
[add] github-actions

I added Github actions from travis-ci.yml
The purpose of this patch is to replace travis-ci with github-actions.

https://github.com/kazukazuinaina/omnisharp-vim/pull/1/checks?check_run_id=3041280205

↑ this url is running result my fork repo.

Hey thanks very much for this. I haven't had time yet to look at github actions properly, but a quick peek at your fork looks much simpler and faster than travis.
I'll have a bit more of a play with it over the next few days, when I can grab some time.

@nickspoons
Thanks for your reply.
There is a possibility that travis-ci.org does not work anymore.
So I think it makes sense to take this as an opportunity to move to github-actions.
Could you please review this pull request sometime?
of course, I will respond if something goes wrong soon!

This is excellent, thank you very much. I've removed travis CI, and am going to remove appveyor too as it is redundant and is currently only configured to check python anyway. Just trying to get this Vader test to pass first :smile:

@nickspoons
Thanks for your merging!

source: gharchive/pull-request

authors: kazukazuinaina nickspoons


text:
Cannot add the C# extension on a machine that does NOT have internet access.

Problem...
Cannot add the C# extension on a machine that does NOT have internet access.
Solution...
Create an offline installer.
Thanks...
Mark Kamoski

Maybe this works...
https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp
...download extension?
....trying it now...

All set, as above.

...update...
...I spoke too early in my comments above.... this is NOT closed...
...and install from vsix, the extension then tries some kind of initialization...
...it tries to download these...
....when, IMHO, a default version of these should be packaged in the vsix...
...and, BTW, the Windows 2012 Server already has VS 2019 Pro installed on it, so it begs the question-- what does this extension need to download all that carp when it VS 2019 is already installed???
....so the offline install is still broken (IMHO) so please try to fix, etc....
Installing C# dependencies...
Platform: win32, x86_64
Downloading package 'OmniSharp for Windows (.NET 4.6 / x64)' (32146 KB).................... Done!
Validating download...
Integrity Check succeeded.
Installing package 'OmniSharp for Windows (.NET 4.6 / x64)'
Downloading package '.NET Core Debugger (Windows / x64)' (47489 KB).................... Done!
Validating download...
Integrity Check succeeded.
Installing package '.NET Core Debugger (Windows / x64)'
Downloading package 'Razor Language Server (Windows / x64)' (50022 KB).................... Done!
Installing package 'Razor Language Server (Windows / x64)'
...if somebody has a fix for this offline install issue that I have described, such as maybe getting all these dependencies, bundling them into a vsix, and then install THAT vsix in the VS Code as a extension from a vsix, to satisfy its dependencies, etc...
...HTH...
Thanks.
-- Mark Kamoski

Hi @mkamoski, You can find instructions for building fully offline packages in our wiki - https://github.com/OmniSharp/omnisharp-vscode/wiki/Installing-the-C%23-extension-to-a-computer-without-internet-connectivity

Hi @mkamoski, You can find instructions for building fully offline packages in our wiki - https://github.com/OmniSharp/omnisharp-vscode/wiki/Installing-the-C%23-extension-to-a-computer-without-internet-connectivity

Joe, I appreciate that, kinda hoped there was an all-in-one vsix somewhere here, and then one can just use that... but I am going to have to dust off the green-screen it seems...
...forgive me, but I am skeptical at this point, and less than thrilled about this workaround, and so I will try what you say (if I can make time), but even still would strongly suggest an all-in-one vsix (updated every month or two would be sufficient IMHO) and it should be available for those with more time needed for coding (and less time available for  tool config), so anyway, would like to keep this open for now...
Thanks.
-- Mark Kamoski

Mark, we do expect to eventually address this problem. But we need a feature from VS Code to do this right: https://github.com/microsoft/vscode/issues/23251. Until then, those instructions are what we have.

authors: JoeRobich gregg-miskelly mkamoski

repo: OmniSharp/omnisharp-vscode


text:
Added test framework and a couple of tests for for syntax highlighting

Closes #696
The idea here was to wrap vscode-textmate in an easy to consume interface and expose a quick way to check if certain token was picked up correctly at a certain line and column number in a given input.
Had to update travis.yml to handle node native dependencies (vscode-textmate pulls in a native regex lib) and also added chai.js and its definitions.
Example
A minimal example looks like this:
const input = `
namespace TestNamespace {
}`;

let tokens: Token[] = TokenizerUtil.tokenize(input);
tokens.should.contain(Tokens.NamespaceKeyword("namespace", /*line*/ 2, /*column*/ 1));
tokens.should.contain(Tokens.NamespaceIdentifier("TestNamespace", 2, 11));

To add a new token type tokenizer.ts needs to be updated with the token details (this avoids hardcoding token id strings across tests and doing string operations):
export namespace Tokens {

   // <..snip...>

    export const NamespaceIdentifier = (text: string, line?: number, column?: number) =>
        createToken(text, "entity.name.type.namespace.cs", line, column);
}

Unrelated note: It would be great to re-visit the typings story when TypeScript 2.0 comes out with the @typings/* npm support, because having to manually version typings and store them in a directory is less than ideal in the long run. Given TS 2.0 is round the corner there is also probably no point investing time in using something like the typings or tsd tools. Just my 2c :)

This is very cool @ivanz! That said, I'm not thrilled that "npm install" will require several prerequisites to run to completion with this change. Could you document these?
FWIW, we should consider the existing Roslyn colorizer tests here: https://github.com/dotnet/roslyn/tree/master/src/EditorFeatures/CSharpTest/Classification. I'm not sure how many we could get working properly with regex-based colorizer, but there's certainly some good tests to start from.

I had to do the following to get npm install to work on my Windows machine:

Run npm install --global --production windows-build-tools
Modify my installation of VS 2015 to include the Windows 8.1 SDK
Update npm with npm -g install npm@next

After that, I could successfully do the following:
npm install
npm run compile
npm test
> npm test

> csharp@1.5.0-beta1 test C:\Projects\OmniSharp-VSCode
> mocha --timeout 15000 -u tdd ./out/test/**/*.tests.js

  Sanity Tests
    √ Boolean checks

  Grammar
    Class
      √ has a class keyword, a name and optional storage modifiers (79ms)

  Grammar
    Namespace
      √ has a namespace keyword and a name
      √ can be nested
      √ can contain using statements

  5 passing (108ms)

I forgot that those steps would be needed since I already had the VS C++ compiler and Python installed on my machine (I can't recall having ever had to install the windows build tools package that you mention). 😞
It's not great to have to go through those extra hoops on Windows indeed. Maybe we can add the windows-build-tools package as a peerDependency given that it's a machine-global thing and as you say add something to the readme or a new Building.md or similar doc. I wonder if a Dockerfile for building and running tests on Linux will be of any help for those that don't want to install all the deps required by windows-build-tools...
I am on holiday and will be back in ~2 weeks when I will look at this again.

Hi,
I am back from holiday. I should probably make the windows node build tools package a peerDependency, because it's a windows-only global thing anyway. This and adding some docs about it is about the only thing I can do to make this less painful. What are you thoughts? (The only other thing I can think of is pulling out the grammar into its own npm package...)
At this point I am not willing personally to invest time in trying to port the Roslyn semantic-highlighting tests to TypeScript. The way I was thinking about this is that a good short-term win can be adding some tests for the most common regressions (things to do with method signatures seem to be one for example) rather than try to build out a full-blown test suit. Given that the grammar is becoming more and more complex (especially more so with the upcoming C# 7 features) it will be worth probably adding some tests for those in the future.
It's unfortunate that we don't even have a finger in the air estimation of when they will add the semantic highlighting api (https://github.com/Microsoft/vscode/issues/585 ) to know how much effort to put into this.

All of that makes great sense to me @ivanz. I agree that moving the Roslyn semantic-highlighting tests to TypeScript would be wasted effort. I just wanted to point that there's a wealth of expectations about how C# expects to colorize code in those tests, and the syntax-based tests are separate from the semantic-based tests.

Rebased and added info in README

Sorry - forgot to say that I did not end up adding it, because I thought that non-Windows devs will start getting a warning about a Windows-specific thing. Thoughts?

Yeah, I agree.

Let's do it.

authors: DustinCampbell ivanz


text:
Bug maybe: about the 2-stage source view selection

Occurred 24 times on a total task of 1026 generation.s
I didn't look into it, but this is likely only a minor bug.
Here is an example:

I know this is not a suitable case for 3D generation. I'm only here to report the potential bug.
2023-12-04 08:54:49,501 - root - ERROR - Exception occurred
Traceback (most recent call last):
  File "/home/loping151/Disks/TiPlus7100/projects/One-2-3-45/run.py", line 142, in <module>
    predict_multiview(shape_dir, args, os.path.join(path, png_name))
  File "/home/loping151/Disks/TiPlus7100/projects/One-2-3-45/run.py", line 102, in predict_multiview
    elev, stage1_imgs = stage1_run(model_zero123, device, shape_dir, input_256, scale=3, ddim_steps=75)
  File "/home/loping151/Disks/TiPlus7100/projects/One-2-3-45/run.py", line 45, in stage1_run
    gen_poses(exp_dir, polar_angle)
  File "/home/loping151/Disks/TiPlus7100/projects/One-2-3-45/utils/utils.py", line 131, in gen_poses
    img_ids, input_poses = get_poses(pose_est)
  File "/home/loping151/Disks/TiPlus7100/projects/One-2-3-45/utils/utils.py", line 109, in get_poses
    if init_elev <= 75:
TypeError: '<=' not supported between instances of 'NoneType' and 'int'
2023-12-04 08:54:49,501 - root - INFO - Failed: 997/1026
2023-12-04 08:54:49,501 - root - INFO - Failed item: /home/***/Disks/TiPlus7100/data/prepared_data/window/23dbcf16aa7d5d2f9ee80cd3c10339c042bc4006c71119aebc08723eff01d631-8.png

Thanks for pointing it out! Just fixed it in the commit.

Hahaha 非常快处理，赞来自伤害👍

license_source: github-api


text:
Complete project renaming

Reflect project renaming in code and configuration

This got solved with https://github.com/One-com/running_sushi/pull/8

authors: simonvik storpipfugl


text:
OneDrive for business Oauth2

Dear All,
I have portal.office.com account and want to access OneDrive for business at tenant-my.sharepoint.com by means of my REST application.
I have registered my application in Azure Active Directory and starting Oauth2 authentication like this:
https://login.windows.net/common/oauth2/authorize?response_type=code&client_id='+ App.Key +  '&redirect_uri=http://localhost:8889/';
On this phase I have got AuthCode from azure and next phase is obtaining session tokens.
As next step in authentication I'm doing POST request to https://login.windows.net/common/oauth2/token
with params:
'client_id=' + App.Key
+ 'client_secret=' + App.Secret
+ 'code=' + AuthCode
+ 'redirect_uri=http://localhost:8889/'
+ 'grant_type=authorization_code'
+ 'resource='+URLEncode('syncovery1');
Unfortunately I'm getting error in response:
{"error":"invalid_resource","error_description":"AADSTS50001: The application named syncovery1 was not found in the tenant named konnov.onmicrosoft.com.  This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant.  You might have sent your authentication request to the wrong tenant.\r\nTrace ID: 1af2ced2-b2bb-4568-8a87-bd2d1186cf9a\r\nCorrelation ID: 15dcda2c-0599-4279-8744-27c61e6912a9\r\nTimestamp: 2015-10-06 07:46:03Z","error_codes":[50001],"timestamp":"2015-10-06 07:46:03Z","trace_id":"1af2ced2-b2bb-4568-8a87-bd2d1186cf9a","correlation_id":"15dcda2c-0599-4279-8744-27c61e6912a9"}'
Please suggest the ways to a possible solution. In my portal.office.com account I can not find any place where third party application might be associated with the account. Can you guess the meaning of the 'resource' param in the last request?
What services or licences in portal.office.com should be active to allow authentication? Maybe I just don't have OneDriveForBusiness subscription activated?
Thanks in advance,

Hi @dima72
The resource for OneDrive for Business is usually  https://{tenant}-my.sharepoint.com/_api/v2.0/me/ However, you won't know the tenant of the user when they login. If you take a look at OneDrive for Business authentication documentation you can see in step 2.  The resource used is https://api.office.com/discovery/.  This is because in  step 3 you will call the discovery service API to discover the endpoint URL for the OneDrive for Business API. Once you have this URL you can continue to step 4 where you use the URL you obtained in step 3 as the resource.
Thanks!

Dear Aclev, thanks for supporting me,
I tried https://api.office.com/discovery/ as 'resource' param,
but getting error:
{"error":"invalid_resource","error_description":"AADSTS50001: Resource ''https://api.office.com/discovery'' is disabled.\r\nTrace ID: d57cc0c8-9135-45a6-a668-d04a4e4fd919\r\nCorrelation ID: 78402acd-b8ad-4e9a-921a-36bf81d6d4ed\r\nTimestamp: 2015-10-06 17:07:42Z","error_codes":[50001],"timestamp":"2015-10-06 17:07:42Z","trace_id":"d57cc0c8-9135-45a6-a668-d04a4e4fd919","correlation_id":"78402acd-b8ad-4e9a-921a-36bf81d6d4ed"}'
at the moment I have all subscriptions in portal.office.com cancelled.
In your view, what kind of service or subscription should be activated to allow discovery service?
Thanks in advance.

Try using 'https://api.office.com/discovery' as the resource id

If you see the Office 365 documentation in the configuring permissions section you will see how to add both Azure Active Directory and SharePoint online in your permissions section in the portal.  Those two should be enough to access OneDrive for Business.

Doc says:
/////////////////////////////////////////////////////////////////////////////////////////
To sign into OneDrive for Business the first time, your app needs the following values:
Client ID and Key (client secret) as registered with Azure Active Directory (AAD)
Authorization code received from OAuth 2 authorization code flow
OneDrive for Business API endpoint URL
Access token for the OneDrive for Business resource
Refresh token to generate additional access tokens when the current token expires.
///////////////////////////////////////////////////////////////////////////////////////////
I have application registered with Azure Active Directory (AAD) and Client ID and Key.
I have Authorization code received from OAuth 2.
where do I take: OneDrive for Business API endpoint URL?
should I have OneDrive for Business payed subscription activated in portal.office.com?
Thanks in advance,

See will see in our documentation at step 3  You use the discovery API to discover the OneDrive for Business API endpoint URL.

Aclev, thank you for directing me to step3.
I stuck in redeeming authorization code for tokens.
Doc says:
Step 2. Redeem the authorization code for tokens
resource	string	The resource you want to access.
What kind of resource should be provided? Is it name of application or http resource?
Please give me examples.
I'm providing name of my application as resource - 'resource=syncovery1';
but response of server is:
{"error":"invalid_resource","error_description":"AADSTS50001: The application named syncovery1 was not found in the tenant named konnov.onmicrosoft.com. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.\r\nTrace ID: 1af2ced2-b2bb-4568-8a87-bd2d1186cf9a\r\nCorrelation ID: 15dcda2c-0599-4279-8744-27c61e6912a9\r\nTimestamp: 2015-10-06 07:46:03Z","error_codes":[50001],"timestamp":"2015-10-06 07:46:03Z","trace_id":"1af2ced2-b2bb-4568-8a87-bd2d1186cf9a","correlation_id":"15dcda2c-0599-4279-8744-27c61e6912a9"}'
thanks in advance,

If i provide resource = https://api.office.com/discovery/
I'm getting error:
{"error":"invalid_resource","error_description":"AADSTS50001: Resource ''https://api.office.com/discovery/'' is disabled.\r\nTrace ID: e7137f83-a44c-46c0-b786-880d036ffead\r\nCorrelation ID: 3721422e-ebdb-4135-bad5-ef93e91e24e2\r\nTimestamp: 2015-10-07 14:23:46Z","error_codes":[50001],"timestamp":"2015-10-07 14:23:46Z","trace_id":"e7137f83-a44c-46c0-b786-880d036ffead","correlation_id":"3721422e-ebdb-4135-bad5-ef93e91e24e2"}'
Please advice how to enable https://api.office.com/discovery/ in my account, or what might be a problem.
Thanks in advance,

Can you post the URL and body your are posting to in step 2? Make sure to scrub your client id/secret/redirect URL.  Thanks.

POST https://login.windows.net/common/oauth2/token/client_id=1a975277-ee0b-46bd-919e-325474q4f534&client_secret=C77LbDTGuWfb6z4oEt2uw9PrT0ETI%2FQzJmeVrYLSVOk%3D&code=AAABAAAAiL9Kn2Z27UubvWFPbm0gLc6YTEZ4fNZ6eICOLWOHDsFrGGTFPbzv8lbJE1Nug6NjgaC-dJOvOYxcqNzJUllnZowXWDDGqY8Ec6nQoZNgfHnXe7fpIh92FVlzjvWT4X3qSfEeln250_sYQ_4Yq5nSeaECvjjJIWtRx2Yz0XzHVDB1023n_mMo__HyKXml1uzuHALMbail4RnViWb4zyYfzW5TgPB9rHLKE7_VL6dO6HqDkmW4s-LxPkCGUll-1-V2vSv-UVzGmFEIQ3UjbyUx14qUNm1gTOwtCRpibbPuajLSxT3uzrYh8XnNhwXRdUqnagBa1HZGztE8EPNjVc-nJKALpAol5DVFG2MzEV1bjoJuqnSQVn1050P6WqeNHqHwOip0HQYQVqV861e-TDezmoiagoe3YqSVjrM1TRsCm2D02VFbBDvisQXb8srkeOHtqP53tP8d09oE0psg2SN6CUcK2xBtAJHxHYWQ_I2FDP0fNP7g9SSnDvtnUEgiCxS0Vce_euohOlGOoXDTN_7wSrbtPtLIyAfJY3WCoBmVuVy1Fhb05hJ7t8mei9IVgk4cEGLXCxEEVab74blMmIECyCAA&redirect_uri=http%3A%2F%2Flocalhost%3A8889%2F&grant_type=authorization_code&resource=https%3A%2F%2Fapi.office.com%2Fdiscovery%2F'

You should be making a POST to https://login.windows.net/common/oauth2/token
with the body  :
client_id={client_id}&redirect_uri={redirect_uri}&client_secret={client_secret}
&code={code}&grant_type=authorization_code&resource={resource_id}

Not in the query parameters.  You also need to make sure that your redirect_uri is the same as the one in the portal.
As I mentioned above you should hide your cliend id, client secret, and redirect URI when posting online.  I would recommend regenerating a client secret as you have publicly posted it.

Dear Aclev,
thank you for supporting!
yes I'm making POST into https://login.windows.net/common/oauth2/token/   - right address
yesterday I asked my friend who has active Office365 developer subscription and active                       {tenant}-my.sharepoint.com  website (and obviously  Office365 developer subscription includes that ), I asked him to register application, and
for his account it works!
I'm getting
"resource":"https://api.office.com/discovery/","access_token":" .....
in response!
Respectfully,

Dear All, thank you for supporting,
I have successfully redeemed tokens in Step4 and now have actual access_token.
but even I'm trying simple request
GET {serviceEndPointUri}/drive
Authorization: Bearer {access_token}
I'm getting
'HTTP ERROR 401: {"error_description":"Invalid issuer or signature."}'
Are there any specific rules for signing the url?
thanks in advance,

Closing out this thread. If you're still having issues, feel free to reopen with more details.

authors: aclev dima72 peternied rgregg

repo: OneDrive/onedrive-api-docs


text:
view.search and view.recent returns empty value

Hi, since yesterday we noticed our REST calls view.search and view.recent return empty value arrays.
Any changes being rolled out?
f.e. calls to
https://gearhing-my.sharepoint.com/_api/v2.0/me/drive/root/view.search?q=test
and
https://gearhing-my.sharepoint.com/_api/v2.0/me/drive/view.recent
both return empty value arrays like
{
    "@odata.context": "https://gearhing-my.sharepoint.com/_api/v2.0/$metadata#items",
    "value": []
}

whereas
https://gearhing-my.sharepoint.com/_api/v2.0/me/drive/root:/intranet:children
returns a list of files
It has been working before. Any help is appreciated?
Kind regards, Menno

Hi,
I've noticed similar behaviour as well. With OneDrive it can find files but not folders, where with OneDrive Business it doesn't find anything at all (no files and no folders).
Is there any update on this?

Sorry about this very old issue going stale. If this is still reproducing, could you please provide updated request & response information to help us investigate further? Thanks.

authors: chackman kotsak zoomabv


text:
Hashing consistency for OneDrive Personal/for Business/SharePoint

In the documentation on hashes, there's the following remark:

In OneDrive for Business and SharePoint Server 2016, sha1Hash and crc32Hash are not available.
In OneDrive Personal, quickXorHash is not available.

Could I request some consistency between all the products? There's not one single hashing algorithm supported by all the services. If there are plans to make this consistent, could it be decided on a widely supported hashing algorithm (e.g. sha1 or crc32) instead of quickXor?
Scenario
If I wanted to move a file from OneDrive Personal to OneDrive for Business, I would need to:

download it from ODP,
calculate the sha1 hash locally
compare it with the one ODP returned
calculate the quickXor hash locally (for which there are no libraries in many languages)
upload the file to ODfB
compare the hash returned by ODfB to the quickXor calculated in step 4

And these are all Microsoft products. It shouldn't be that complicated. It's a HUGE issue that "quickXor" is the only algorithm available for ODfB.

I've opened a UserVoice suggestion to cover this ask.

authors: dluces ificator


text:
🛑 Baidu is down

In 1240f32, Baidu (https://www.baidu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Baidu is back up in 8aa5d0c.

license: MIT


text:
Short solution needed: "Mysql and Lua usage example" (lua-mysql)

Please help us write most modern and shortest code solution for this issue:
Mysql and Lua usage example (technology: lua-mysql)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Mysql and Lua usage example

repo: Onelinerhub/onelinerhub


text:
Pull to refresh doesn't work and poor Android styles

Pull to refresh doesn't work. Bug or not yet implemented?
Also, Android styling is poor. Not yet fully implemented?
Using latest onsenui and react-onsenui.

Thanks for reporting @mishoboss !
In what way is it poor? Right now the tabs with both icon and text label look a bit strange on Android. Is there something else?
There was also an issue with the list but that has been fixed here:
http://onsenui.github.io/react-onsenui-kitchensink/demo.html

Hi, maybe something wrong with my setup, because I get a lot of console errors and some missing styles. I'll try to investigate.

Thank you @mishoboss ! What browser are you using?

Chrome. But not the browser is the problem. Probably my webpack is messing with me. Is there any working example with webpack?

Using onsenui 2.0.0-beta.13 this is gone now

I will try creating a webpack example. All the examples we have are using browserify but it should work with webpack as well.

authors: argelius mishoboss

repo: OnsenUI/react-onsenui-kitchensink


text:
Setting: Dungeon Stray Fairies Removed/Start With

You said you would do this at a later time but basically a setting for Stray Fairies that either removes them from the pool or you start with them like maps/compasses. Whichever direction you choose to go, all the stray fairy checks are then shuffled and the fairy fountain rewards are able to be gotten for free. And they (they being the stray fairies) are replaced by random junk in the pool.

Added

authors: Nax Revvenn

repo: OoTMM/OoTMM


text:
error running

Hi, actually ii try test the tool, but when i running the console show it:
command
python3 run.py --task "test a agency tech" --name "flash"
Traceback (most recent call last):
File "run.py", line 24, in
from chatdev.chat_chain import ChatChain
File "/home/ChatDev/chatdev/chat_chain.py", line 12, in
from chatdev.chat_env import ChatEnv, ChatEnvConfig
File "/home/ChatDev/chatdev/chat_env.py", line 52, in
class ChatEnv:
File "/home/ChatDev/chatdev/chat_env.py", line 107, in ChatEnv
def exist_bugs(self) -> tuple[bool, str]:
TypeError: 'type' object is not subscriptable
what do i do?

The specific error in your traceback is related to using tuple[bool, str], which is a feature of Python 3.9 and later. If you are using an earlier version of Python, this syntax will not work.
You can fix it by trying to upgrade to Python 3.9 or later version

authors: shiowen winos

repo: OpenBMB/ChatDev


text:
dict object has no attribute ‘quiet’

Issue Description / 问题描述
Please provide a detailed description of the error or issue you encountered. / 请详细描述您遇到的错误或问题。
任务快结束的时候出现报错：

SYSTEM:  {"error": "The plan tree has a max depth of 1. 'Search for information about First for Women' already has a depth of 2. Nothing happended"}
PLAN MODIFY STATUS CODE:  OTHER_ERROR
close io connection
ALL Tasks Done
Traceback (most recent call last):
File "/data/home/xxxxxx/XAgent/run.py", line 58, in
if args.quiet:
AttributeError: 'dict' object has no attribute 'quiet'

Steps to Reproduce / 复现步骤
Please provide the specific steps to reproduce the error. / 请提供复现错误的具体步骤。
python run.py 中没有设置quiet参数，默认为False
Expected Behavior / 预期行为
Describe the behavior you expected to see. / 请描述您期望的正确行为。
Environment / 环境信息

Operating System / 操作系统：
Python Version / Python 版本：
Other Relevant Information / 其他相关信息：

Error Screenshots or Logs / 错误截图或日志
If possible, please provide relevant screenshots or logs of the error. / 如果可能，请提供相关的错误截图或日志文件。
Additional Notes / 其他备注
If you have any additional information or notes, please add them here. / 如果有其他补充信息，请在此处添加。

Thx for your reply :-).

repo: OpenBMB/XAgent


text:
SAML feature toggles

Issues
127988169
127987893

WIP as this is unsufficiently tested.
We should add some infrastructure for easing the automated testing of these and other feature toggles. This would require some care and work, but similar infrastructure has been built for configuring IdPs and SPs for testing purposes.

@DRvanR

one question, bar that, :+1:

@DRvanR

:+1:

authors: DRvanR arothuis

repo: OpenConext/OpenConext-engineblock


text:
fix: override fonts in tables

About
Fonts in tables were not overridden when enabling the extension. Added  and  to the list of HTML elements that get overridden with the opendyslexic font.
This is important when using different open source table components that may have their own font settings (ie MaterialUI components).
Checklist

[ ] Wrote documentation on this page
[ ] Formated code

Impacted Areas in Application
List general components of the application that this PR will affect:
Screenshots
Before

After

Any idea when this will be merged?

This is a very small change, seems safe to merge.

@shaninja Great job and thank you for the pull request. Merging now and submitting to the store.

authors: BibiSanjarani RobertJGabriel shaninja

repo: OpenDyslexic/opendyslexic-chrome


text:
Hugging Face 榜单提交相关问题

希望可以与贵方hugging face榜单的管理者取得联系，以解决榜单重复提交的相关问题

遇到与Leaderboard相关问题您可以在这里提issue，或发送邮件至heyinan@pjlab.org.cn :)

authors: Luckydog-lhy yinanhe

repo: OpenGVLab/Ask-Anything


text:
还有后续的开源计划吗？

看代码和issues中的内容，如果没有开放数据集看样子是没法正常跑一个demo出来的😂，后续还有进一步开源的计划吗？或者给一个简单的前向流程呢，基于输入的图像，输出所有支持的内容。

Hulk用的都是公开数据集，目前已经把数据集的处理方式和下载地址开源了。一些涉及到我们自己预处理的文件也已经上传了。
前向的流程可能还需要再过一阵子，等我忙完手头的事情。

repo: OpenGVLab/Hulk


text:
Loss is NAN, stopping training

每当我量化到第17层的时候就会出现这个报错，我发现quant_out是nan，但我单独量化任意一层都不会出现这个bug，请问这是为什么?

Which model do you use?
It would help if you tried to reduce the learning rate.
If you activate LET, you can also adjust the initialization of the parameters about  LET.

我使用的是https://github.com/FlagAlpha/Llama2-Chinese中的Llama2-Chinese-7b-Chat，其中当我从第1层开始运行量化到第17层的时候就会出现这个报错，但我单独量化第17层，或者跳过第一层开始量化就不会出现任何错误

我使用的是[https://github.com/FlagAlpha/Llama2-Chinese 中的Llama2-Chinese-7b-Chat，其中当我从第1层开始运行量化到第17层的时候就会出现这个报错，但我单独量化第17层，或者跳过第一层开始量化就不会出现任何错误]

我使用的是https://github.com/FlagAlpha/Llama2-Chinese  中的Llama2-Chinese-7b-Chat，其中当我从第1层开始运行量化到第17层的时候就会出现这个报错，但我单独量化第17层，或者跳过第一层开始量化就不会出现任何错误

authors: ChenMnZ Forival

repo: OpenGVLab/OmniQuant


text:
Frontend+mvc attempt 1

Альфа-версия базового дизайна Главного проекта UI готова.
Не хватает только в качестве примера облака тэгов (на будущее), но тут уж что-нибудь придумаем-с.
Готов к предложениям и пожеланиям)

@Infarh, комментарий учтён, по коммитам небольшая неразбериха, почему-то не получилось с первого раза всё нормально сделать, мой косяк.

repo: OpenGeekBrains/Thoughts


text:
Event updates

This PR includes several features needed to wrap up GRITS.

Feature specific mouse events give more information:

a unique ID number
whether the current feature is on top or not

New feature mouse events:

geo.feature.mouseon: When the mouse pointer is on the marker.  This is like mouseover, but only fires for the marker on top.  This is similar to the DOM's mouseenter.
geo.feature.mouseoff: Fires when the mouse pointer is no longer directly over the marker either because it exited the maker or another marker is now on top.

Core event documentation done
Implemented clamping of the map bounds to the visible window via a spring like animation.  I will probably revisit this later to move the map navigation animation to one place.  The current code is fragmented across mapInteractor and map, but it seems to work well enough for now.

This is next on my list -:)

@jeffbaumes Perhaps you could QA the clamping behavior on this.  I'm serving it at http://192.168.30.129:8082/examples/osm/.
I'm not completely happy with it because I had to bake in a number of hacks to prevent instability.  So, the result isn't as natural as it could be.  When I have time, I'll reorganize the code a bit and implement a higher order solver for the spring equation.

@jbeezley One thing we touched base was on implementing behavior like google maps. While we like the spring nature of things, It would be nice to have an option that will dis-allow you to go out (so no spring force is necessary in that). Something that switches between these two options would be nice.

This is looking good - for some reason I'm getting the behavior where the map does not render the first time until I interact. Also, it seems new tiles do not pop in until the spring-back is completely finished. Other than those issues LGTM.

@aashish24 the bounce-back was according to @jbeezley the quickest way to implement avoiding pan/zooming the map out of bounds, so I suggested he go ahead and do it since our project had limited time to get this feature.

I'll look into the initial render.  I might have to force the osm layer to auto render after loading the initial tiles.
I would like to have the new tiles pop in during the animation as well.  I think the GL code is being too clever and preventing the new tiles from loading until the motion stops.  I tried throttling the frames in the animation, but that wasn't enough.  Perhaps @aashish24 can suggest a way to force the new tiles to render.

@aashish24 I took out the bounds clamping/spring effect commits and rebased on master so we can get these changes in now.  I'll create a new branch for the rest.

Thanks, I will review this one today as well.

LGTM to me.. :+1:

authors: aashish24 jbeezley jeffbaumes

repo: OpenGeoscience/geojs


text:
meson: Declare the openhmd_dep dependency

Allow the use of OpenHMD as a subproject by declaring a meson
dependency in meson.build
By publishing a dependency variable, other projects that use meson can pull in OpenHMD as a wrapped subproject.

Good feature! Merging!

authors: TheOnlyJoey thaytan

repo: OpenHMD/OpenHMD


text:
[BUG]  Missing and incomplete Metadata

Describe the bug
When reading metadata from a file (in my case, a TIFF file), some metadata is missing (most GPS related info), and some is incomplete (some metadata that is Matrix, or 2D/3D vectors/points/tuples), only reading the first element.
To Reproduce
Steps to reproduce the behavior:

Run iinfo -a -v on the image file
Compare output to exiftool

Expected behavior
Full multi-element metadata values to be present, and output the missing metadata such as GPS.
Evidence
In particular, note the difference in output between iinfo and exiftool for the "AlignMatrix", "AlignXYDeg", "VignettingCenter", and "VignettingPolynomial" fields.  The "PerspectiveDistortion" key does seem to be correctly read in both iinfo and exiftool.
Output of exiftool (note, there is some filesystem related info that exiftool slaps on the output that I wouldn't expect OIIO to recreate.  Also, only one subimage's metadata is pasted for brevity):
ExifTool Version Number         : 12.14
File Name                       : IMG_0157.tif
Directory                       : /mnt/storage/EnSpec/DATA_Projects/PanelLocTestData/2020-07-19_17-23-11/multiband
File Size                       : 23 MiB
File Modification Date/Time     : 2018:08:01 01:55:22-05:00
File Access Date/Time           : 2021:02:14 17:33:46-06:00
File Inode Change Date/Time     : 2021:02:12 16:48:16-06:00
File Permissions                : rwxr--r--
File Type                       : TIFF
File Type Extension             : tif
MIME Type                       : image/tiff
Exif Byte Order                 : Little-endian (Intel, II)
Image Width                     : 1904
Image Height                    : 1428
Bits Per Sample                 : 12
Compression                     : Uncompressed
Photometric Interpretation      : BlackIsZero
Orientation                     : Horizontal (normal)
Samples Per Pixel               : 1
Rows Per Strip                  : 1428
X Resolution                    : 238
Y Resolution                    : 238
Planar Configuration            : Chunky
Resolution Unit                 : inches
Above Ground Altitude           : 111.612001
Flight Unique ID                : 2020-07-19_17-23-11
GPSXY Accuracy                  : 0.660000
GPSZ Accuracy                   : 1.017000
Image Unique ID                 : 5010
Is Normalized                   : 0
Model Type                      : perspective
Perspective Distortion          : -0.117,0.179,-0.045,0.000,0.000
Perspective Focal Length        : 7.800
Perspective Focal Length Units  : mm
Pitch                           : 0.000000
Principal Point                 : 3.263,2.471
Rig Camera Index                : 0
Rig Name                        : Sentera-6x
Rig Relatives                   : 0.000,0.000,0.000
Roll                            : 0.000000
Yaw                             : 90.000000
Band Name                       : Blue
Band Sensitivity                : 0.555
Central Wavelength              : 475
Sun Sensor                      : 16290.876
Wavelength FWHM                 : 30
Align Enabled                   : 1
Session                         : 2020-07-19_17-23-11
Vignetting Enabled              : 1
Align Matrix                    : 0.999999, 0.001538, 77.199890, -0.001538, 0.999999, 53.255005, 0.000000, 0.000000, 1.000000
Align XY Deg                    : 78.300, 51.800, -0.088
Vignetting Center               : 1024.00, 768.00
Vignetting Polynomial           : 0, 0, 6.5e-10
Fill Order                      : Normal
Make                            : Sentera
Camera Model Name               : 21214-01_3.2MP-GS-0001
Strip Offsets                   : 18972672
Strip Byte Counts               : 4078368
Software                        : 1.3.2
Modify Date                     : 2020:07:19 17:36:28
Exposure Time                   : 1/830
F Number                        : 1.8
ISO                             : 193
Exif Version                    : 0230
Date/Time Original              : 2020:07:19 17:36:28
Create Date                     : 2020:07:19 17:36:28
Aperture Value                  : 1.8
Metering Mode                   : Average
Focal Length                    : 8.0 mm
Image Number                    : 157
Sub Sec Time                    : 125538
Sub Sec Time Original           : 125538
Sub Sec Time Digitized          : 125538
Flashpix Version                : 0100
Focal Plane X Resolution        : 2898.5504
Focal Plane Y Resolution        : 2898.5504
Focal Plane Resolution Unit     : cm
Exposure Mode                   : Auto
Scene Capture Type              : Standard
GPS Version ID                  : 2.2.0.0
GPS Latitude Ref                : North
GPS Longitude Ref               : West
GPS Altitude Ref                : Above Sea Level
GPS Time Stamp                  : 17:36:28.125438
GPS Satellites                  : 26
GPS Measure Mode                : 3-Dimensional Measurement
GPS Dilution Of Precision       : 1.05
GPS Map Datum                   : EGM96
GPS Processing Method           : 3D
GPS Date Stamp                  : 2020:07:19
GPS Differential                : No Correction
GPS Horizontal Positioning Error: 0.66 m
Serial Number                   : 047
Lens Model                      : 8.00mm-0005_0024
Aperture                        : 1.8
Image Size                      : 1904x1428
Lens ID                         : 8.00mm-0005_0024
Megapixels                      : 2.7
Scale Factor To 35 mm Equivalent: 5.3
Shutter Speed                   : 1/830
Create Date                     : 2020:07:19 17:36:28.125538
Date/Time Original              : 2020:07:19 17:36:28.125538
Modify Date                     : 2020:07:19 17:36:28.125538
GPS Altitude                    : 473.7 m Above Sea Level
GPS Date/Time                   : 2020:07:19 17:36:28.125438Z
GPS Latitude                    : 42 deg 53' 41.20" N
GPS Longitude                   : 89 deg 43' 7.64" W
Circle Of Confusion             : 0.006 mm
Field Of View                   : 46.2 deg
Focal Length                    : 8.0 mm (35 mm equivalent: 42.2 mm)
GPS Position                    : 42 deg 53' 41.20" N, 89 deg 43' 7.64" W
Hyperfocal Distance             : 6.24 m
Light Value                     : 10.4

Output of iinfo:
    5 subimages: 1904x1428 [u12], 1904x1428 [u12], 1904x1428 [u12], 1904x1428 [u12], 1904x1428 [u12]
 subimage  0: 1904 x 1428, 1 channel, uint12 tiff
    channel list: Y
    compression: "none"
    DateTime: "2020:07:19 17:36:28"
    ExposureTime: 0.001409
    FNumber: 1.8
    Make: "Sentera"
    Model: "21214-01_3.2MP-GS-0001"
    Orientation: 1 (normal)
    PixelAspectRatio: 1
    planarconfig: "contig"
    ResolutionUnit: "in"
    Software: "1.3.2"
    XResolution: 238
    YResolution: 238
    Camera:AboveGroundAltitude: "111.612001"
    Camera:BandName: "Blue"
    Camera:BandSensitivity: "0.555"
    Camera:CentralWavelength: "475"
    Camera:FlightUniqueID: "2020-07-19_17-23-11"
    Camera:GPSXYAccuracy: "0.660000"
    Camera:GPSZAccuracy: "1.017000"
    Camera:ImageUniqueID: "5010"
    Camera:IsNormalized: "0"
    Camera:ModelType: "perspective"
    Camera:PerspectiveDistortion: "-0.117,0.179,-0.045,0.000,0.000"
    Camera:PerspectiveFocalLength: "7.800"
    Camera:PerspectiveFocalLengthUnits: "mm"
    Camera:Pitch: "0.000000"
    Camera:PrincipalPoint: "3.263,2.471"
    Camera:RigCameraIndex: "0"
    Camera:RigName: "Sentera-6x"
    Camera:RigRelatives: "0.000,0.000,0.000"
    Camera:Roll: "0.000000"
    Camera:SunSensor: "16290.876"
    Camera:WavelengthFWHM: "30"
    Camera:Yaw: "90.000000"
    Exif:ApertureValue: 1.69599 (f/1.8)
    Exif:BodySerialNumber: "047"
    Exif:DateTimeDigitized: "2020:07:19 17:36:28"
    Exif:DateTimeOriginal: "2020:07:19 17:36:28"
    Exif:ExposureMode: 0 (auto)
    Exif:FocalLength: 8 (8 mm)
    Exif:FocalPlaneResolutionUnit: 3 (cm)
    Exif:FocalPlaneXResolution: 2898.55
    Exif:FocalPlaneYResolution: 2898.55
    Exif:LensModel: "8.00mm-0005_0020"
    Exif:MeteringMode: 1 (average)
    Exif:SceneCaptureType: 0 (standard)
    Exif:SubsecTime: "125436"
    Exif:SubsecTimeDigitized: "125436"
    Exif:SubsecTimeOriginal: "125436"
    oiio:BitsPerSample: 12
    oiio:ColorSpace: "sRGB"
    Sentera:AlignEnabled: "1"
    Sentera:AlignMatrix: "1.000000"
    Sentera:AlignXYDeg: "-0.088"
    Sentera:Session: "2020-07-19_17-23-11"
    Sentera:VignettingCenter: "768.00"
    Sentera:VignettingEnabled: "1"
    Sentera:VignettingPolynomial: "6.5e-10"
    tiff:Compression: 1
    tiff:PhotometricInterpretation: 1
    tiff:PlanarConfiguration: 1
    tiff:RowsPerStrip: 2
 subimage  1: 1904 x 1428, 1 channel, uint12 tiff
    channel list: Y
    compression: "none"
    DateTime: "2020:07:19 17:36:28"
    ExposureTime: 0.001484
    FNumber: 1.8
    Make: "Sentera"
    Model: "21214-01_3.2MP-GS-0001"
    Orientation: 1 (normal)
    PixelAspectRatio: 1
    planarconfig: "contig"
    ResolutionUnit: "in"
    Software: "1.3.2"
    XResolution: 238
    YResolution: 238
    Camera:AboveGroundAltitude: "111.612001"
    Camera:BandName: "Green"
    Camera:BandSensitivity: "0.598"
    Camera:CentralWavelength: "550"
    Camera:FlightUniqueID: "2020-07-19_17-23-11"
    Camera:GPSXYAccuracy: "0.660000"
    Camera:GPSZAccuracy: "1.017000"
    Camera:ImageUniqueID: "5010"
    Camera:IsNormalized: "0"
    Camera:ModelType: "perspective"
    Camera:PerspectiveDistortion: "-0.117,0.179,-0.045,0.000,0.000"
    Camera:PerspectiveFocalLength: "7.800"
    Camera:PerspectiveFocalLengthUnits: "mm"
    Camera:Pitch: "0.000000"
    Camera:PrincipalPoint: "3.375,2.459"
    Camera:RigCameraIndex: "1"
    Camera:RigName: "Sentera-6x"
    Camera:RigRelatives: "0.000,0.000,0.000"
    Camera:Roll: "0.000000"
    Camera:SunSensor: "22948.891"
    Camera:WavelengthFWHM: "20"
    Camera:Yaw: "90.000000"
    Exif:ApertureValue: 1.69599 (f/1.8)
    Exif:BodySerialNumber: "047"
    Exif:DateTimeDigitized: "2020:07:19 17:36:28"
    Exif:DateTimeOriginal: "2020:07:19 17:36:28"
    Exif:ExposureMode: 0 (auto)
    Exif:FocalLength: 8 (8 mm)
    Exif:FocalPlaneResolutionUnit: 3 (cm)
    Exif:FocalPlaneXResolution: 2898.55
    Exif:FocalPlaneYResolution: 2898.55
    Exif:LensModel: "8.00mm-0005_0021"
    Exif:MeteringMode: 1 (average)
    Exif:SceneCaptureType: 0 (standard)
    Exif:SubsecTime: "125399"
    Exif:SubsecTimeDigitized: "125399"
    Exif:SubsecTimeOriginal: "125399"
    oiio:BitsPerSample: 12
    oiio:ColorSpace: "sRGB"
    Sentera:AlignEnabled: "1"
    Sentera:AlignMatrix: "1.000000"
    Sentera:AlignXYDeg: "0.303"
    Sentera:Session: "2020-07-19_17-23-11"
    Sentera:VignettingCenter: "768.00"
    Sentera:VignettingEnabled: "1"
    Sentera:VignettingPolynomial: "6.5e-10"
    tiff:Compression: 1
    tiff:PhotometricInterpretation: 1
    tiff:PlanarConfiguration: 1
    tiff:RowsPerStrip: 2
 subimage  2: 1904 x 1428, 1 channel, uint12 tiff
    channel list: Y
    compression: "none"
    DateTime: "2020:07:19 17:36:28"
    ExposureTime: 0.000902
    FNumber: 1.8
    Make: "Sentera"
    Model: "21214-01_3.2MP-GS-0001"
    Orientation: 1 (normal)
    PixelAspectRatio: 1
    planarconfig: "contig"
    ResolutionUnit: "in"
    Software: "1.3.2"
    XResolution: 238
    YResolution: 238
    Camera:AboveGroundAltitude: "111.612001"
    Camera:BandName: "Red"
    Camera:BandSensitivity: "0.693"
    Camera:CentralWavelength: "670"
    Camera:FlightUniqueID: "2020-07-19_17-23-11"
    Camera:GPSXYAccuracy: "0.660000"
    Camera:GPSZAccuracy: "1.017000"
    Camera:ImageUniqueID: "5010"
    Camera:IsNormalized: "0"
    Camera:ModelType: "perspective"
    Camera:PerspectiveDistortion: "-0.117,0.179,-0.045,0.000,0.000"
    Camera:PerspectiveFocalLength: "7.800"
    Camera:PerspectiveFocalLengthUnits: "mm"
    Camera:Pitch: "0.000000"
    Camera:PrincipalPoint: "3.245,2.443"
    Camera:RigCameraIndex: "2"
    Camera:RigName: "Sentera-6x"
    Camera:RigRelatives: "0.000,0.000,0.000"
    Camera:Roll: "0.000000"
    Camera:SunSensor: "14802.615"
    Camera:WavelengthFWHM: "30"
    Camera:Yaw: "90.000000"
    Exif:ApertureValue: 1.69599 (f/1.8)
    Exif:BodySerialNumber: "047"
    Exif:DateTimeDigitized: "2020:07:19 17:36:28"
    Exif:DateTimeOriginal: "2020:07:19 17:36:28"
    Exif:ExposureMode: 0 (auto)
    Exif:FocalLength: 8 (8 mm)
    Exif:FocalPlaneResolutionUnit: 3 (cm)
    Exif:FocalPlaneXResolution: 2898.55
    Exif:FocalPlaneYResolution: 2898.55
    Exif:LensModel: "8.00mm-0005_0022"
    Exif:MeteringMode: 1 (average)
    Exif:SceneCaptureType: 0 (standard)
    Exif:SubsecTime: "125690"
    Exif:SubsecTimeDigitized: "125690"
    Exif:SubsecTimeOriginal: "125690"
    oiio:BitsPerSample: 12
    oiio:ColorSpace: "sRGB"
    Sentera:AlignEnabled: "1"
    Sentera:AlignMatrix: "1.000000"
    Sentera:AlignXYDeg: "0.010"
    Sentera:Session: "2020-07-19_17-23-11"
    Sentera:VignettingCenter: "768.00"
    Sentera:VignettingEnabled: "1"
    Sentera:VignettingPolynomial: "6.5e-10"
    tiff:Compression: 1
    tiff:PhotometricInterpretation: 1
    tiff:PlanarConfiguration: 1
    tiff:RowsPerStrip: 2
 subimage  3: 1904 x 1428, 1 channel, uint12 tiff
    channel list: Y
    compression: "none"
    DateTime: "2020:07:19 17:36:28"
    ExposureTime: 0.001308
    FNumber: 1.8
    Make: "Sentera"
    Model: "21214-01_3.2MP-GS-0001"
    Orientation: 1 (normal)
    PixelAspectRatio: 1
    planarconfig: "contig"
    ResolutionUnit: "in"
    Software: "1.3.2"
    XResolution: 238
    YResolution: 238
    Camera:AboveGroundAltitude: "111.612001"
    Camera:BandName: "RedEdge"
    Camera:BandSensitivity: "0.370"
    Camera:CentralWavelength: "715"
    Camera:FlightUniqueID: "2020-07-19_17-23-11"
    Camera:GPSXYAccuracy: "0.660000"
    Camera:GPSZAccuracy: "1.017000"
    Camera:ImageUniqueID: "5010"
    Camera:IsNormalized: "0"
    Camera:ModelType: "perspective"
    Camera:PerspectiveDistortion: "-0.117,0.179,-0.045,0.000,0.000"
    Camera:PerspectiveFocalLength: "7.800"
    Camera:PerspectiveFocalLengthUnits: "mm"
    Camera:Pitch: "0.000000"
    Camera:PrincipalPoint: "3.305,2.460"
    Camera:RigCameraIndex: "3"
    Camera:RigName: "Sentera-6x"
    Camera:RigRelatives: "0.000,0.000,0.000"
    Camera:Roll: "0.000000"
    Camera:SunSensor: "12760.552"
    Camera:WavelengthFWHM: "10"
    Camera:Yaw: "90.000000"
    Exif:ApertureValue: 1.69599 (f/1.8)
    Exif:BodySerialNumber: "047"
    Exif:DateTimeDigitized: "2020:07:19 17:36:28"
    Exif:DateTimeOriginal: "2020:07:19 17:36:28"
    Exif:ExposureMode: 0 (auto)
    Exif:FocalLength: 8 (8 mm)
    Exif:FocalPlaneResolutionUnit: 3 (cm)
    Exif:FocalPlaneXResolution: 2898.55
    Exif:FocalPlaneYResolution: 2898.55
    Exif:LensModel: "8.00mm-0005_0023"
    Exif:MeteringMode: 1 (average)
    Exif:SceneCaptureType: 0 (standard)
    Exif:SubsecTime: "125488"
    Exif:SubsecTimeDigitized: "125488"
    Exif:SubsecTimeOriginal: "125488"
    oiio:BitsPerSample: 12
    oiio:ColorSpace: "sRGB"
    Sentera:AlignEnabled: "1"
    Sentera:AlignMatrix: "1.000000"
    Sentera:AlignXYDeg: "-0.234"
    Sentera:Session: "2020-07-19_17-23-11"
    Sentera:VignettingCenter: "768.00"
    Sentera:VignettingEnabled: "1"
    Sentera:VignettingPolynomial: "6.5e-10"
    tiff:Compression: 1
    tiff:PhotometricInterpretation: 1
    tiff:PlanarConfiguration: 1
    tiff:RowsPerStrip: 2
 subimage  4: 1904 x 1428, 1 channel, uint12 tiff
    channel list: Y
    compression: "none"
    DateTime: "2020:07:19 17:36:28"
    ExposureTime: 0.001205
    FNumber: 1.8
    Make: "Sentera"
    Model: "21214-01_3.2MP-GS-0001"
    Orientation: 1 (normal)
    PixelAspectRatio: 1
    planarconfig: "contig"
    ResolutionUnit: "in"
    Software: "1.3.2"
    XResolution: 238
    YResolution: 238
    Camera:AboveGroundAltitude: "111.612001"
    Camera:BandName: "NIR"
    Camera:BandSensitivity: "0.246"
    Camera:CentralWavelength: "840"
    Camera:FlightUniqueID: "2020-07-19_17-23-11"
    Camera:GPSXYAccuracy: "0.660000"
    Camera:GPSZAccuracy: "1.017000"
    Camera:ImageUniqueID: "5010"
    Camera:IsNormalized: "0"
    Camera:ModelType: "perspective"
    Camera:PerspectiveDistortion: "-0.117,0.179,-0.045,0.000,0.000"
    Camera:PerspectiveFocalLength: "7.800"
    Camera:PerspectiveFocalLengthUnits: "mm"
    Camera:Pitch: "0.000000"
    Camera:PrincipalPoint: "3.231,2.481"
    Camera:RigCameraIndex: "4"
    Camera:RigName: "Sentera-6x"
    Camera:RigRelatives: "0.000,0.000,0.000"
    Camera:Roll: "0.000000"
    Camera:SunSensor: "7326.333"
    Camera:WavelengthFWHM: "20"
    Camera:Yaw: "90.000000"
    Exif:ApertureValue: 1.69599 (f/1.8)
    Exif:BodySerialNumber: "047"
    Exif:DateTimeDigitized: "2020:07:19 17:36:28"
    Exif:DateTimeOriginal: "2020:07:19 17:36:28"
    Exif:ExposureMode: 0 (auto)
    Exif:FocalLength: 8 (8 mm)
    Exif:FocalPlaneResolutionUnit: 3 (cm)
    Exif:FocalPlaneXResolution: 2898.55
    Exif:FocalPlaneYResolution: 2898.55
    Exif:LensModel: "8.00mm-0005_0024"
    Exif:MeteringMode: 1 (average)
    Exif:SceneCaptureType: 0 (standard)
    Exif:SubsecTime: "125538"
    Exif:SubsecTimeDigitized: "125538"
    Exif:SubsecTimeOriginal: "125538"
    oiio:BitsPerSample: 12
    oiio:ColorSpace: "sRGB"
    Sentera:AlignEnabled: "1"
    Sentera:AlignMatrix: "1.000000"
    Sentera:AlignXYDeg: "0.010"
    Sentera:Session: "2020-07-19_17-23-11"
    Sentera:VignettingCenter: "768.00"
    Sentera:VignettingEnabled: "1"
    Sentera:VignettingPolynomial: "6.5e-10"
    tiff:Compression: 1
    tiff:PhotometricInterpretation: 1
    tiff:PlanarConfiguration: 1
    tiff:RowsPerStrip: 2

Note: I cannot publicly post the TIFF file.
Platform information:

OIIO branch/version: 2.2.11
OS: Pop!_OS 20.04 LTS
C++ compiler: 9.3.0
LIBTIFF Version 4.1.0
Any non-default build flags when you build OIIO:

IF YOU ALREADY HAVE A CODE FIX: There is no need to file a separate issue,
please just go straight to making a pull request.

I'm not sure how to address this without the example file.
Can you send it to me personally (just not post publicly)?
Is it just the image content you can't post? Can you create another image that contains the same metadata, but all black pixels, and post that?

Sending you the file privately would work.  What email address should I send it to?

lg@larrygritz.com is fine

Sent it, hopefully it went through okay as the file is a little big for email (~24MB)
Cheers

I see what's happening. When parsing XMP data in the header, it's not turning sequences/lists into arrays, it's just recording one value. Working on a fix.

Fix coming. Now reports as:
Sentera:AlignEnabled: 1
Sentera:AlignMatrix: 0.999999, 0.001538, 77.1999, -0.001538, 0.999999, 53.255, 0, 0, 1
Sentera:AlignXYDeg: 78.3, 51.8, -0.088
Sentera:Session: "2020-07-19_17-23-11"
Sentera:VignettingCenter: 1024, 768
Sentera:VignettingEnabled: 1
Sentera:VignettingPolynomial: 0, 0, 6.5e-10

#2865

Huzzah!  Thanks!
Ahh, the joys of parsing XML...
Although this comes to mind as well in terms of EXIF,XMP, etc... https://xkcd.com/927/

Fixed by #2865

authors: chippey lgritz

repo: OpenImageIO/oiio


text:
How to use MongoKitten 5 in sync way

Hi,
In previous versions of MongoKitten (<= 4) I use it like:
let document = try myCollection.findOne("_id" == objectId)
It works in sync way.
Can I continue using sync way in MongoKitten 5?

Good morning! We've moved to an asynchronous model for stability and performance, as well as it being the preferred way in Server-Side Swift now.
You can use Database.synchronousConnect(..) to connect in synchronous environments and will have' to use .wait() at the end of a query for synchronous execution.
If you want a fully synchronous client, without .wait(), there are two good solutions that I can think of.
The first one is to wrap MongoKitten's Cluster, Database and Collection types with the same functions, but synchronous. The alternative is to wait for MongoKitten 6 and related libraries that will be released at the same time. They will support synchronous calls

authors: Joannis sergeydi

repo: OpenKitten/MongoKitten


text:
datahub: basic datahub support concept

Problem
Datahub doesn't support OpenLineage.
Closes: #ISSUE-NUMBER
Solution
Create mapping of OpenLineage events to DataHub events. For now on OL side.
This is a draft of how the solution should look like, for now inside spark integration (conveniance).

[ ] Your change modifies the core OpenLineage model
[ ] Your change modifies one or more OpenLineage facets

If you're contributing a new integration, please specify the scope of the integration and how/where it has been tested (e.g., Apache Spark integration supports S3 and GCS filesystem operations, tested with AWS EMR).
One-line summary:
Checklist

[ ] You've signed-off your work
[ ] Your pull request title follows our guidelines
[ ] Your changes are accompanied by tests (if relevant)
[ ] Your change contains a small diff and is self-contained
[ ] You've updated any relevant documentation (if relevant)
[ ] Your comment includes a one-liner for the changelog about the specific purpose of the change (if necessary)
[ ] You've versioned the core OpenLineage model or facets according to SchemaVer (if relevant)
[ ] You've added a header to source files (if relevant)

SPDX-License-Identifier: Apache-2.0
Copyright 2018-2023 contributors to the OpenLineage project

We would like to implement translation logic within fluentd proxy and have separate ticket for that: https://github.com/OpenLineage/OpenLineage/issues/1797

authors: pawel-big-lebowski tnazarew

repo: OpenLineage/OpenLineage


text:
questions and suggestions x2

Seeing the publication of LudoMako encouraged me to write.
as for the dances with "+" in the name, just rename them as a normal dance (for example flyer+ change to flyers the dances keep the same position but from dance 6 on you can't read it in any position)
for some reason when i load the exported vmd from million dance they load me to 100 times their original size (even when i turn off the resize option) and the final one is because my pc uses "." to divide the decimals instead of "," (with time i got used to that and i can already take out in dl, but they are still very heavy)
the camera can be used in vmd just by opening the vmd in miku moving and exporting it, then in mmd load and multiply the position to 0.01 and add the fov +30 (for some reason in vmd it is exported to 0 from million dance)
example: https://www.youtube.com/watch?v=36CUwCLk53w
also, I discovered that the game's cubemaps (hairh.png) can be used by adding them as test subtexts exporting directly from noesis but the models generated in million dance don't have them (I don't know if I'm using an outdated version)
example: https://www.youtube.com/watch?v=7M2hWyGcFwM
(I still have some problems with the textures)

Thank you for testing.
So it's great: "+" motions can be used almost directly. Current file name restrictions aim to help user select the correct file quickly. Easing the restrictions and extending available positions will do the job.
The wrong scaling is strange. The "idol height" textbox should be treated correctly for different locales. It is supposed to be formatted and parsed using current UI locale set in Region and Language Options in Control Panel. (On my computer the decimal separator is dot ".".) This behavior is used to fix #4, which was reported as fixed. But obviously something went wrong again. I think I should change the unit to centimeter to avoid confusion (and the annoying decimal separator differences).
It's good to see that converting in MMM also works (which means less code to maintain XD). FOV 0 for VMD cameras is a bug caused by this line: https://github.com/OpenMLTD/MLTDTools/blob/6b29e2467a5a9c11bb03241aad01183162afcf32/src/MillionDance/FMain.cs#L446 (will be fixed later). Well I didn't test VMD cameras though. :(
I don't know where the hair highlights should be positioned, so they are not overlayed to the hair textures now. Would you like to share how (using any software is okay)?
And thank you for mentioning Noesis. I didn't know this software before.

https://sta.sh/0wbxyyih0qi
Here is a prepared haruka model (not yet finished)
I doubled the hair material and put "hairh.png" as sub texture (in the same box as the spa and sph)
As for the eye glow, I duplicated both materials and replaced the original texture (eyeL and eyeR) with eyeh.png and rotated the uv-map 20 degrees to the right (or left?, I still have trouble distinguishing them)

Sorry, when I tried to download that model yesterday, it showed up "the page doesn't exist". So just forget the solid model. :(
What I'm confused is: the hair texture is 512x512px but the hightlight texture is 256x256px. I have tried two naive ways to bake the texture:

scale the hightlight texture to 512x512 and overlay ("decal") to the hair texture;
overlay the highlight texture to the 4 corners (256x256 each), with possible rotations.

None of these worked. How does setting a subtexture solve this problem? For example, what will the baked texture (final hair texture with highlights) look like?

Hair mesh has two UV’s, one for normal hair texture, another one for highlights
MillionDance exports only one UV layer, for this reason highlight texture can’t be applied

@kdru Thank you for the tip. I wasn't aware of that. 😮
Trying to integrate it now.

Sorry :"3, there:
https://drive.google.com/file/d/113aFe6b6n4Nigkl7QoyE0_ZMJ_GwuyzF/view?usp=drivesdk

AAAAAAAH
I just found out that the glow map solo is right after the regular dance,
So the dance finishes and right after that he starts the solo
(The dance ends at frame 4490 and the solo starts at frame 4500)

the hair tex simply uses uv2, hence why they're not loaded directly. Eeyes uses veretx colors for the shadow, and the eye dots uses same uv as the regular eyes, i just have no idea how the game makes them fade out when the camera angle changes.

I guess the hair uses a spherical cubemap (I don't know how it works) and to make it work with shader the added a uv map that is used as a kind of tangent
Same with the eyes but I guess they're uv morphs
(I think asset studio can't export those kinds of morphs)

@LudoMako What @Sozuke says is generally right. They do have those kinds of inputs in hair and eye shaders. I don't think it can be accomplished with vanilla MMD (e.g. secondary texture & UV, and tangents computed at runtime). It should require MME or something like that. Unfortunately, I don't have experience using that.
For the hair highlights, it can't be done with a simple spherical map. I tried to draw the highlights over hair texture (in Unity) and the result does not look very good. It is similar for the eye highlights: it is possible to use UV morph in MMD but not secondary texture.
I also searched how to create a "decal" effect in MMD. For now the only way is duplicating the mesh and assign a new material. This method would be problematic for both hair (it is used physical animation) and eyes (if you want to create UV morph).

@hozuki Not really, the hair indeed uses 2 UVs, vanilla mmd can use it if you duplicate hair mesh and use highlight texture as subtex for it. And actually, no need to use entire hair mesh to create those highlights.

@kdru Thank you. I was confused about the "sub-texture" option before your explanation.
But this method has two problems. First, it requires manual vertex duplication and removal. Second, head models may have highlights in the parts affected by physics, for example Kotoha:

The first problem may be solved by searching affected faces and duplicating them. The result will be one or more static meshes. I can't think of a nice solution to the second one for now.

Not really a problem as mesh saves weights O:
So it will move with normal hair mesh 🤔
As for locating highlights mesh parts, you can apply texture, select at least one poly with highlight part and hit ctrl+x, it will select all connected polygons and you can separate them easily
Btw, is there any way I can contact you on discord or something like this?

@kdru Thanks for the help. It seems there is a little misunderstanding: you were talking from a user's perspective (manually using external tools to do the postprocessing) and I was talking from a developer's perspective (finishing all steps in the program without intervention).
Anyway, your idea does work correctly. I'll push the code soon.

I have a Discord account but I don't log on frequently...

authors: LudoMako Sozuke hozuki kdru

repo: OpenMLTD/MLTDTools


text:
How to migrate private work flow

Hi Team,
We are in progress of upgrade our server from 2008 R2 to windows 2016, where we need to reinstall the OpenMake Meister 7.1, we have copied all the files and folders from 2008 server to newly installed openmake meister (KBserver and tomcat folder), now when we tried to login we could not see the private workflow, could you please help us with the private workflow, aslo the user name and password is not prompting when we login it is directly taking to the meister screen, how to make the login access prompt.

The KBS is not able to connect to postgres.  Did you setup a postgres on the new server?
The license validation is failing due to the license not matching the new server.  Can you email me your license.kb file?  steve.taylor@openmakesoftware.com

Hi Steve,
Postgress was up and running fine, however every time when i log off and connect i am force to start kbserver from preferences and always the open make test install is failed to connect kb server, when i restart my server and install config files it is working fine, i have attached the log files and license file for your reference., please let me know for further details.
Openmake_war_log.zip

adding to the above points i have installed the server using my own id, and if i login to the server with my id it is working fine, however with internal or domain id the kb server is not connecting, could you please help me to fix this, and moving the private workflow which is already set.

@JGNanjappan did you receive the new license file that I sent?  We need to get past that error before tackling the others.

repo: OpenMake-Software/Meister


text:
🛑 OpenNCCU Oauth is down

In 52fc80f, OpenNCCU Oauth (https://oauth.opennccu.com/api/status) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OpenNCCU Oauth is back up in 6ddeb0d after 2 hours, 6 minutes.

repo: OpenNCCU/status


text:
Encoding issues on VDCs descriptions

Description
VDC's description may have an encoding problem generating de XML file sent through the API. The Java library is not able to decode the file and sets the pullElements attribute to null.
The unhandled exception is:
[Fatal Error] :1:2519: Invalid byte 2 of 3-byte UTF-8 sequence.
To Reproduce
Set a VDC description with an accent mark, ie. "máquina", and make a request to the API to get the VDC pool from the Javalibrary.
Details

Affected Component: XML RPC API
Version: 5.8.1

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Check if related to #3232

Seems duplicated and fixed

authors: AdriMenendezM rsmontero tinova

repo: OpenNebula/one


text:
Users can create templates even if they have no permissions for that

Vulnerability Details
I've removed default rule:
@1 VM+IMAGE+TEMPLATE+DOCUMENT+SECGROUP+VMGROUP/* CREATE *

But users still can create new templates
To Reproduce
Steps to reproduce the behavior:

oneacl delete 0 (as admin)
onetemplate create --name blabla (as user)

Version
Completed for affected components

Affected Component: oned
Hypervisor: kvm
OpenNebula Version: 5.8.4
Browser: firefox

Additional context
Add any other context about the problem here.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Another problem is that @1 TEMPLATE/* CREATE * allows to create Virtual Machines, but
@1 VM/* CREATE * does not affects on that.


text:
Fast and easy testing of GCC on AlphaRTC

[x] #96
[ ] #102

Update:

Will maintain gcc_baseline for fast and easy testing of GCC
#97 will be addressed in the future milestones

repo: OpenNetLab/AlphaRTC


text:
Wrong translation

Hi!
The brazillian portuguese translation is wrong.
The "Next" button is translated to "Continar", but the correct is "Continuar".
The files are:
templates/pt_BR/modify-printer.tmpl line 35
templates/pt_BR/choose-make.tmpl line 44
templates/pt_BR/choose-device.tmpl line 44

Hi Victor!
Thank you for letting us know! I'll update the translations.

repo: OpenPrinting/cups


text:
ValueError: Cannot use chat template functions because tokenizer.chat_template is not set and no template argument was passed!

read -r -d '' training_commands <<EOF
openrlhf.cli.train_sft
--max_len 8192
--dataset json@/home/xxx/dataset/
--input_key messages
--apply_chat_template
--pretrain /home/xxx/models/Meta-Llama-3.1-8B
--load_checkpoint
--gradient_checkpointing
EOF
deepspeed --module $training_commands

error：
[rankx]: ValueError: Cannot use chat template functions because tokenizer.chat_template is not set and no template argument was passed! For information about writing templates and setting the tokenizer.chat_template attribute, please see the documentation at https://huggingface.co/docs/transformers/main/en/chat_templating

and my model directory:
ls /home/test/testdata/models/Meta-Llama-3.1-8B
config.json
model-00001-of-00004.safetensors
model-00002-of-00004.safetensors
model-00003-of-00004.safetensors
model-00004-of-00004.safetensors
special_tokens_map.json
USE_POLICY.md
generation_config.json
model.safetensors.index.json
tokenizer_config.json
LICENSE
README.md
tokenizer.json

I want to know the reason for the error and how to deal with it , thanks very much!

please set --tokenizer_chat_template

authors: Zixuan-Fu hijkzzz

repo: OpenRLHF/OpenRLHF


text:
Use utf-8 as default file encoding in 4.0

To Reproduce
I have tried to fetching a URL where the contents are in Malayalam language. But the html codes doesn't contains Malayalam characters.
For ex: I have tried to fetch URL- https://m3db.com/film/agnisakshi
Current Results
The html code now contains these characters
à´…à´—àµ�à´¨à´¿à´¸à´¾à´•àµ�à´·à´¿ - Agnisakshi | M3DB.COM
Expected Behavior
അഗ്നിസാക്ഷി - Agnisakshi | M3DB.COM
Screenshots

Versions

Operating System: Windows 10
Browser Version: Tried in Brave browser Version 1.16.68 Chromium: 86.0.4240.111 (Official Build) (64-bit), Chrome browser Version 86.0.622.58 (Official build) (64-bit) and Mozilla browser 82.0.2 (64-bit).
OpenRefine: Version 3.4.1

Update: I have now checked with the previous version of OpenRefine Version 3.3 and there is no issues with that version while fetching Malayalam characters.

What is your locale set to? I'm unable to reproduce the problem with OpenRefine 3.4.1 (or the development 3.5 version) using Chrome on Mac OS.
It's unclear to me whether the data is actually being decoded incorrectly on fetch or encoded/decoded incorrectly during transmission to and rendering by the browser.
Can you try extracting some representative string e.g. value.parseHtml().select('title')[0].htmlText() to a new column and export that to a file that you can examine with an editor or something other than your browser?
The only change that I see between 3.3 and 3.4.1 in this area was the addition of an Accept-Encoding: gzip header.

Locale is set to English (India). I have checked with enabling beta too. But entered with this same error in Version 3.4.1

I have exported the file and opened in the text editor.. But the same characters appears.
I have attached the same exported file here.
clipboard.openrefine.tar.gz
Here the screenshot of the window while opening the 3.4.1 version

I have tried the same steps with version 3.3 and it works perfectly file. I am also attaching the exported file for the same with that version.
clipboard3.3.openrefine.tar.gz
Here the screenshot of the window while opening the 3.3 version

Thanks for the additional data. The corruption is definitely in the data on the server, not just the rendering in the web browser.
What version(s) of Java being used for each installation? Could you paste the java command line that gets echoed to the console in both cases?
The only thing I can think of is that it has something to do with the default character encoding on the system. One thing you could try would be to force the encoding by doing:
refine.bat /x file.encoding=UTF-8

Based on a little experimentation, I think it's interpreting the text using cp1252 encoding. If you use value.reinterpret('utf-8','cp1252') you can recover most of the text, but obviously not anything that was replaced by the error substitution character.

@tfmorris , it seems you are right that while fetching URLs the text in utf8 is interpreting using default system encoding (in my case it is cp1251 and accented symbols from a web page in german were broken).
I tried this:

refine.bat /x file.encoding=UTF-8

but this command has finished with error message:

Unknown Refine command called "UTF-8", type "refine /?" for proper usage.

However adding JAVA_OPTIONS=-Dfile.encoding=UTF-8 into refine.ini helps - after fetching URLs I see normal accented symbols, that means utf8 have been applied.
Also the value.reinterpret('utf-8','cp1251') works for my case and accented symbols have been restored.
My configuration is:
Windows 10
OpenRefine 3.4.1
from support.log
PROCESSOR_ARCHITECTURE = AMD64
JAVA_HOME = C:\Program Files\Java\jdk1.8.0_172
java -version = java version "1.8.0_172"
freeRam =
REFINE_MEMORY = 1400M

@tfmorris , it seems you are right that while fetching URLs the text in utf8 is interpreting using default system encoding (in my case it is cp1251 and accented symbols from a web page in german were broken).
I tried this:

refine.bat /x file.encoding=UTF-8

but this command has finished with error message:

Unknown Refine command called "UTF-8", type "refine /?" for proper usage.

However adding JAVA_OPTIONS=-Dfile.encoding=UTF-8 into refine.ini helps - after fetching URLs I see normal accented symbols, that means utf8 have been applied.
Also the value.reinterpret('utf-8','cp1251') works for my case and accented symbols have been restored.
My configuration is:
Windows 10
OpenRefine 3.4.1
from support.log
PROCESSOR_ARCHITECTURE = AMD64
JAVA_HOME = C:\Program Files\Java\jdk1.8.0_172
java -version = java version "1.8.0_172"
freeRam =
REFINE_MEMORY = 1400M

It feels like we should add file.encoding=UTF-8 by default then. But I suspect that if we do this in a new release this could cause backwards-compatibility problems: if your previous workspace was saved in a different encoding and re-read in UTF-8, that could potentially corrupt your project data. That being said I am not sure I fully understand the impact of this option or the real cause of the problem.

A cheap alternative might be to display the default encoding somewhere to at least help with diagnosis.  You could also show a warning that future versions will not respect the default encoding as a means of transition.  Maybe even have a dialog which asks if you want to accept the new default now.

Q? Does the issue has been cleared in the OpenRefine v3.5-beta1 update? I updated to the v3.5-beta1 version and find the issue got solved. @wetneb

@EgorBEremeev did the 3.5-beta1 solve the problem on your side too?

Changing this issue to enforce JAVA_OPTIONS=-Dfile.encoding=UTF-8 in 4.0.

authors: EgorBEremeev gitonthescene jinoytommanjaly tfmorris wetneb

repo: OpenRefine/OpenRefine


text:
Rum now reads validator addresses from ENV

⚠ This builds on top of #27. Merge #27 before reviewing this.
Added new ENV variables to the config so that it reads both addresses
for origin and auxiliary validators from the environment.
As an example I also added a method to sign data and use it when running
the rust node. The execution is just an example and would be replaced by
actual validator tasks.
There is no good error handling yet. It may be the case that we want to
retry a couple of times before giving up.
Right now I made it so that the user must enter the password when
starting the node so that rum can unlock the addresses on the
ethereum node. I cannot think of a better way, but this cannot be
automated nicely. Does anyone have an idea? Adding the password to a
config file or ENV variable is probably not an option.
All in all it is difficult to write good rust code :sweat_smile:
Fixes #15

⚠ This builds on top of #27. Merge #27 before reviewing this.
Added new ENV variables to the config so that it reads both addresses
for origin and auxiliary validators from the environment.
As an example I also added a method to sign data and use it when running
the rust node. The execution is just an example and would be replaced by
actual validator tasks.
There is no good error handling yet. It may be the case that we want to
retry a couple of times before giving up.
Right now I made it so that the user must enter the password when
starting the node so that rum can unlock the addresses on the
ethereum node. I cannot think of a better way, but this cannot be
automated nicely. Does anyone have an idea? Adding the password to a
config file or ENV variable is probably not an option.
All in all it is difficult to write good rust code 😅
Fixes #15

Command line param can be one of the options. Run node shouldn't enforce where to keep config like file or ENV variables.  It can accept config as command line options.

authors: sarvesh-ost schemar

repo: OpenSTFoundation/rust-mosaic


text:
Possibility for plugins to set a verbose name in the permission matrix

A plugin that adds new permissions is shown in the matrix with a technical name. It should be possible to use a human readable verbose name. Example https://github.com/OpenSlides/openslides-votecollector.

A simple solution (but not the best) would be to make an entry for each existing plugin in the users/site.js. Like for the app users: entry for users
A smarter solution is to iterate through all registered plugins. So where do the plugins register? I quickly recognized the MainMenu-Provider. Is this the right place?

@normanjaeckel Ping

We have a new plugin provider now so we can use this. See somewhere in core/base.js I think.

authors: FinnStutzenstein normanjaeckel

repo: OpenSlides/OpenSlides


text:
Generic copy-code for repositories

We need a solution to reduce the amount of explicit copying in the repos. This is too explicit and repetitive.

There are already decorators under app/infrastructure/annotations, which are functionaning. Feel free to use and enhance them.

Based on the last comment, ithink we can close here.
If we need futher enhancements we can open a new issue.

repo: OpenSlides/openslides-client


text:
File-based reforms should link to OGUSA runs

Currently file-based reforms can only link to macroeconomic elasticity simulations and partial equilibrium. We should add the ability to link to OGUSA runs as well.

+1

authors: MattHJensen talumbau

repo: OpenSourcePolicyCenter/webapp-public


text:
Themes don't fully work

Ever since the new site design update, the themes no longer change all of the colors, thus, the site looks messy. For an example, try Dark then Warm theme on the front page (opensprites.org), and notice the cards don't change their backgrounds. This issue is not only with the Dark and Warm theme, I just used those two because they are the most different, and I wanted to show you that it is not just one theme's fault. :P

I'll try and fix this tommorow

I has fixed this, I shall do a push request.

Why do we need themes?
There a pain to keep updating

Lol whoops, accidently tapped close on my phone

Themes aren't really a priority.

authors: Arinerron QuillzLouis The-Cheese-Eater

repo: OpenSprites/OpenSprites


text:
Require rpt file

Dear Maintainers,
The changes in this PR were made to pass checks required of compiled C code in R packages.  I submit it here for possible inclusion in the next release of EPANET.
Compiled C code in R packages shouldn't write to stdout.
I completely understand if allowing reporting to stdout is the preferred behavior.  Feel free to reject the PR in that case.

Compiled C code in R packages shouldn't write to stdout.
@bradleyjeck I would like to understand the need for this modification a bit better. Why can't C code in R packages write to stdout? Is it because you would rather have output redirected to the R console instead?

EPANET was not written with R compatibility in mind, but there is no reason that it can't evolve. What behavior in EPANET does this modification change?

What is the stdout for the dll? For the exe it is the screen but I'm not sure why we need this for the dll.

authors: bradleyjeck eladsal michaeltryby

repo: OpenWaterAnalytics/EPANET


text:
Code cleanup (#338)

Standard file header format applied
Void EN_ProjectHandle pointer replaced by opaque EN_Project pointer
Uniform code style applied to all modules

@LRossman are you aware that this PR conflicts with what I've been working on? If someone is working on something, kindly refrain from duplicating their effort. It makes merging unnecessarily difficult. Thanks.

@michaeltryby you were not working on the dev branch which is where I thought we were supposed to commit our code changes. I already raised the issue with you about how your code re-structuring in a separate branch was going to make merging with dev difficult and you blew me off.

@LRossmann Honestly, I don't recall it that way. Issue #338 does not mention changing the opaque pointer from void * to EN_Project. You have been following my commits on the opaque pointer in the release branch. My plan was to merge those changes back into dev. This PR makes that merge much more difficult. Seriously, if you knew I was working on opaque pointers, why would you duplicate that work?

authors: LRossman michaeltryby