Translate docs for other languages

Well, I'm like very much Materialize and maybe is very cool if the project can be translated for other languages like mine (pt-br) and a pack for translation the docs can be closer for other peoples starting this fantastic world of development, but some not be able to read in English.
Thanks for your attention and this project is Gorgeous!

I can help translating to Chinese.

If you want to email me, I can add you to the translation team

@Dogfalo I can help with Russian

I can help with Czech

I can help with Dutch if needed

@RaSeR @lukaspijak email me your email address and I can add you to the team.

Unfortunately, a lot of phrases is not allowed to translate.

Hey @Dogfalo I saw that there are new content to translate, would be good if you add more strings on transifex for translating.

@Dogfalo Do you still need an English to Russian translator?

Yes we do! Our Russian translation is only mostly done. If you could send me your email address, I can set you up on the translation team

@Dogfalo I want to contribute with brazilian portuguese translation!!

Email me your email address and I can set you up as well!

I van help with italiano translation!

We need a reviewer for portuguese translation!

@scerelli I emailed you.

@Dogfalo I can provide you the german translation.

@19Gerhard85 Can you send me an email so I can get your email address? I'll send you an invite afterwards.

I added new content to be translated since we have added new things to our documentation. Thanks for your hard work everyone!

Translation progress:

@Dogfalo Do you need another german translator?

Czech language finished. I'll proofread later.

100% of pt translation!

@m-blank Send me an email and I will add you to the translation team!

Spanish at 100% :)

@Dogfalo Some strings on getting-started.html aren't translated to Portuguese. How can I contribute?

@brunopulis The strings that was not translated aren't picked to translation!

@brunopulis which strings are you concerned about?

@Dogfalo The strings of CDN, NPM, RubyGem and there are some spelling mistakes in Portuguese that need to be corrected.

I can add you to the translation team if you want to help correct these issues.

@Dogfalo Off course! :D I can help to correct these issues.

@Dogfalo This strings must be picked up!

@Dogfalo  And include @brunopulis to help me improve the portuguese translation! =D

German seems to be somewhat behind. Feel free to add me @Dogfalo. I'm a native German speaker with a thorough understanding of the English language. Would love to help.

Send me an email so I can add you! @heyalexej

Done.

@Dogfalo You added me to help @danilolutz  to improve the translation into Portuguese?

Is there any turkish translator?

@Dogfalo can you invite me to do slovak translation<EMAIL_ADDRESS>

Hey @Dogfalo, there are new things on materialize website, would be good to add some strings on transifex for translation.

If still needed I can help with german.

@Dogfalo  I can help with Spanish and Italian

@Dogfalo
I can help with Chinese and already send request on Transifex.
Here's a material design documentation that i have translated: https://github.com/1sters/material_design_zh

Hello ! I can help to translate in french if you need it :)

@Dogfalo , I'm also ready for turkish translation.

@Dogfalo can I have an invitation to help with the Spanish there's more to translate .

Hi ! I can help for french traductions if you need :)

@Dogfalo  I can translate to Japanese.
Please invite me on Transifex!

@keika299 @jgg0218 I added you to the team. @TyrionGraphiste @akyunus Please send me an email so I can have an email address to send the invite to!

Thank you!
My friend can translate to Japanese, too.
If I can work with her, please invite her! (Already she sent request on Transifex! Her name is Sena.)

Dont know what went wrong when i log on on transifex it appears that i m
not a member of the group. Even if I log in with the github account could
you accept the invitation I did again in transifex Thanks.
On Mon, Sep 28, 2015, 1:56 AM Alvin Wang<EMAIL_ADDRESS>wrote:

@keika299 https://github.com/keika299 @jgg0218
https://github.com/jgg0218 I added you to the team. @TyrionGraphiste
https://github.com/TyrionGraphiste @akyunus https://github.com/akyunus
Please send me an email so I can have an email address to send the invite
to!
—
Reply to this email directly or view it on GitHub
https://github.com/Dogfalo/materialize/issues/233#issuecomment-143646197
.

--

I could help with Dutch translation

Can you invite me to Transifex? Seems like there are a lot of words remaining that need to be translated to Korean. (I already sent a request)

@Dogfalo I think there are some "uncollected" strings which seems to be untranslatable....

@Dogfalo I can translate to Persian [Farsi]

@bessmartir please help for develope this site materializertl.ir
@Dogfalo I can translate to Presian too

@Dogfalo I send a mail there is a while, but no response until here.

@Dogfalo I can help with Italian. I'm sending you my email.

I can try translating into Polish 😊

@Dogfalo another spanish helper over here :D

Can you give link to transifex or add me in team ?

Hey, I'm a lot of english text on the docs, but when I head onto https://www.transifex.com/materialize/materialize/language/pt/ it says the translation to portuguese is 100%, which is not true... How can we proceed? I want to translate the parts that are not translated yet.

@Dogfalo i want join too with my language Indonesian.. can you invite mee too??

@Dogfalo I'm willing to translate the docs to Arabic, I've sent a request to join on transifex.com and waiting for your approval :)

I need to translate to Thai, please.

You can just use yandex translate api and easily to translate  documentation. You need to get an api key,it is absolutely free.
translate as much as you want.
https://tech.yandex.com/translate/

I sent a request to join the German-Squad :)

@Dogfalo @acburst I would really like to translate as some German translations are misspelled and simply wrong. It would be great if one of you could accept my request as the current translation really annoys me.

@Dargmuesli I didn't see your request, but I sent an invite to your listed email address.

@Dogfalo Can you add Thai language in your transifex project, please?

Ok, project "translate 380 English strings to German in three days" is finally finished!
Though, as others mentioned, not all string can be translated via transifex.

Hi there, I can help to translate in french ! :)

@Dargmuesli Thanks for your hard work!

Hello guys!
As @PabloDinella pointed out, if you check https://www.transifex.com/materialize/materialize/language/pt/ it will say Portuguese is 100% done, but this is not true.
With this screenshot as an example, you can see we currently have a mix of portuguese and english in every major page of the documentation.

I would be glad to help with the missing translations but I don't know how to proceed. Is there any way to help?
Thanks guys!

@Dogfalo since only you have admin access to the transifex account, I would please you, to look into this

@Dogfalo I can translate it into Hebrew. Add me to transifex and I'll help. Also, perhaps we can close this issue?

If you want to help us translate the documentation into other languages, please send us an email at<EMAIL_ADDRESS>telling us which language team you want to join. We use Transifex as our localization platform and we will send you an invite there.

https://github.com/Dogfalo/materialize#translation


Bugfix/issue 2138 compound declare define inits

Submisison Checklist

[x ] Run unit tests: ./runTests.py src/test/unit
[x ] Run cpplint: make cpplint
[x ] Declare copyright holder and open-source license: see below

Summary
changed Stan compiler so that all variables are initialized before definitions applied.
Intended Effect
removes runtime error caused by Stan math lib's function "assign" - see issue 2138.
How to Verify
using cmdstan, run stan model src/test/test-models/good/declare-define-vector using Bernoulli data file.  model will run.
Side Effects
initialization before applying definition adds to computation.
Documentation
Reviewer Suggestions
Daniel Lee  or Bob Carpenter
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Mitzi Morris
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

additional problem with the generator logic for compound declare/definitions.  conditional op expressions need to be aware of the block they're in.  added test model:  src/test/test-model/good/declare-define-conditional-op.stan to test this.

Pushed change to generator.hpp as well as test model for compound declare/define stmts.  Information about var_context is passed along to generate_definitions function, just as it is passed along to generate_statements function.

I verified that the src/test/test-models/good/declare-define-vector.stan using Bernoulli data works. I'll review the code now.


Improve license visualization

Description

This commit introduces 3 main improvements:

It moves the license dictionary from the frontend (Thymeleaf template) to the backend (Workflow class)
It groups licenses common links to the corresponding SPDX URIs
It translates SPDX URIs into licenses' common names for better visualization

Motivation and Context

This PR ports the improvements introduced in #487 to the frontend.
How Has This Been Tested?

Manually
Screenshots (if appropriate):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

I just added the few URIs that were already present in the Thymeleaf template. Checking the whole dataset, it is possible that more conversions will be required.


Invalid Grant: Invalid redirect URI

Hello all, I am having an issue with Spotify Auth claiming Invalid Redirect URI.

The Redirect URI is set on the Spotify Developer console
Callback URI: http://localhost:5001/fonz-music-app/us-central1/api/callback/spotify

Generate Authorisation URL
Response { "authorizeURL": "https://accounts.spotify.com/authorize?client_id=f0973699a0ef4a44b444027ea5c54daf&response_type=code&redirect_uri=http://localhost:5001/fonz-music-app/us-central1/api/callback/spotify&scope=user-read-playback-state%20user-modify-playback-state%20user-read-currently-playing%20app-remote-control%20streaming%20user-read-email%20user-read-private%20user-library-modify%20user-library-read&state=aHfMl3lUHWaCqBsFgQLzWw5DAcE3" }

This link works fine and allows the user to sign in.

Callback
Upon callback, I get the error when trying to use the code to generate access and refresh token.
Example: http://localhost:5001/fonz-music-app/us-central1/api/callback/spotify?code=AQA04fDyxxxxxxxxxxxxxxxxxs&state=xxxxxxxx

Response {"error":"invalid_grant","error_description":"Invalid redirect URI"}
Spotify Developer

After pulling my hair out for a long time, I found I was overriding the redirect URI in a function
setRedirectURI("fonz-music://spotify-login-callback");


remove leaky text in uploadMarker

Description
closes #1096

Screenshots

Additional Context

Checklist
Are your changes backwards compatible? Please answer below:

Did you QA this? Could we deploy this straight to production? Please answer below:

For frontend changes: Tested on mobile? Please answer below:

Did you introduce any new environment variables? If so, call them out explicitly here:

Works great!

Swag. How does this get merged?

I merge it when I'm in a reviewing/merging/award data entry mood.

while writing a comment which took advantage of this, i had a thought about a feature
when the user uploads their first image, a UX like
1. Logged  user uploads from clipboard w/ e.g. CMD+V
2. Popup to save preference option

"we automatically strip EXIF data in the upload process.
what would you like stacker.news to do when you upload images?

do nothing
show you an option dialogue to create a link to source
(you can change this later in preferences)

3. Show a dialogue to optionally leave a link to source w/ pasted image.

Would you like to add a link to the image source?
You can change this option in user preferences.

What do you mean with "link" here?

would you like stacker.news to leave a link when paste images into a comment box?


add support to enable IP Transparency for TCP via Original Source listener

…tener
What type of PR is this?

feat: add support to enable IP Transparency for TCP via Original Source listener

What this PR does / why we need it:
With current EG, in order to enable IP Transparency for TCP (not HTTP), Proxy Protocol is the only way, it requires upstream host should support Proxy Protocol too.
Which issue(s) this PR fixes:

Fixes #3359

ditto as in https://github.com/envoyproxy/gateway/pull/3672#issuecomment-2194045690

@bjlhlin Are you still working on this ?


Branch CP-7 Issues

On SongPlayer.js file. There is a TypeError for the 'audioUrl' property which i assume comes from the buzz library. Not sure what the issue might be. @bdougie

it much easier to debug with the full error message
angular.js:13708 TypeError: Cannot read property 'audioUrl' of undefined
    at setSong (SongPlayer.js:26)
    at Object.SongPlayer.SongPlayer.play (SongPlayer.js:36)
    at fn (eval at compile (angular.js:14605), <anonymous>:4:432)
    at b (angular.js:15694)
    at e (angular.js:25622)
    at b.$eval (angular.js:17444)
    at b.$apply (angular.js:17544)
    at HTMLAnchorElement.<anonymous> (angular.js:25627)
    at Sf (angular.js:3488)
    at HTMLAnchorElement.d (angular.js:3476)

The error is complaining about line 26 of Songplayer.js
song is undefined, basically when setSong is set song is not passed in. I would use console.log to debug. Let me know if you have more questions, or if you discover anything from that.

Sorry about that, will add the error message next time. I've been playing around with it, but maybe my debugging skills aren't full grasping what to do. From what I understand so far, the setSong function doesn't know what song is bc it is not defined, though i am still a bit confused. I tried defining song outside of the function, but this didn't seem to  yield positive results. Maybe I am thinking about this the wrong way?

I found the problem and these are steps I took to do so, we can talk more about debugging techniques tomorrows when we meet, 5pm still good?

The error can't find audioUrl on undefined, so I know song is undefined here

 var setSong = function (song) {
     ...
      currentBuzzObject = new buzz.sound(song.audioUrl, { // song is undefined
        ...
      });
  ...
};

I found where set song was being called. In the play function

I then checked the template to find where play was being called, in the album.html.

At this point song is still undefined and the error is on line 13 of album.html.
Do you know why song is undefined?

I found the issue on album.html. I think line 13 where I am calling the directive for ng-repeat = "songs in album.albumData.songs" is maybe fine since I am grabbing the song details from Fixtures.js file via the property set in AlbumCtrl.js. I fixed the issue by 'ng-click="album.songPlayer.play(songs)"by chainging songtosongs. I don't really understand why considering i have the argument songbeing passed throughsetSongin mySongPlayer` service.

To summarize,  album.albumData.songs is an array and that process of calling ng-repeat on the array to iterate on each song (singular).  It is basically like you are doing this:
// what is happening in ng-repeat behind the scenes
var songs = null

for (i = 0; i  album.albumData.songs.length; i++) {
   songs = album.albumData.songs[i]
  // render song in template
}

Sing you are naming each element songs, you need to render songs, however since each element is a single item it really should be song.
ng-repeat="song in album.albumData.songs"

and change this to


DLL Files are missing?!

When i try to change the Volume peer the player this error occures, ive already searched for the missing dll files but they are not in the repo
Error:
http://horizonco.de/paste/?p=51Qvi

nevermind, fixed the problem by using maven :)


NOTE 1: if the origin starts signing the file, this code will automatically stop signing the binary.
NOTE 2: some of these files are crossgen'ed for performance and the signature is lost.  See the list of crossgen'ed binaries below.
subject                                                                                path
-------                                                                                ----
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Console.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Newtonsoft.Json.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US NJsonSchema.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Security.Cryptography.Pkcs.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Management.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Security.Cryptography.ProtectedData.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Security.Cryptography.Xml.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Security.Permissions.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Security.Principal.Windows.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Linq.Expressions.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Linq.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.IO.Ports.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Private.ServiceModel.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.IO.Packaging.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.ServiceModel.Syndication.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.ServiceProcess.ServiceController.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Text.Encoding.CodePages.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Text.Encodings.Web.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Security.Cryptography.Cng.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.IO.FileSystem.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Net.Http.WinHttpHandler.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Namotion.Reflection.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Reflection.Context.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Microsoft.Management.Infrastructure.Native.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Microsoft.Management.Infrastructure.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Microsoft.CSharp.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Microsoft.CodeAnalysis.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Microsoft.CodeAnalysis.CSharp.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Microsoft.ApplicationInsights.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Markdig.Signed.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Microsoft.PowerShell.GraphicalHost.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Configuration.ConfigurationManager.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Microsoft.PowerShell.SDK.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Runtime.Caching.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Runtime.CompilerServices.Unsafe.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Runtime.Extensions.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Microsoft.Win32.Registry.AccessControl.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Microsoft.Win32.Registry.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Microsoft.Win32.SystemEvents.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Security.AccessControl.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Threading.AccessControl.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.IO.Pipes.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Threading.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Collections.Concurrent.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Windows.Extensions.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.DirectoryServices.Protocols.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.DirectoryServices.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.DirectoryServices.AccountManagement.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Collections.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.IO.FileSystem.AccessControl.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Collections.Specialized.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Diagnostics.Process.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Diagnostics.PerformanceCounter.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Diagnostics.FileVersionInfo.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Diagnostics.EventLog.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.ComponentModel.Composition.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.ComponentModel.Composition.Registration.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Data.SqlClient.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Data.OleDb.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Data.Odbc.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Drawing.Common.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.CodeDom.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Private.Uri.dll
CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US System.Threading.Tasks.Parallel.dll

Here is the full file signature manifest
signatures.txt
CrossGen'ed binaries
        "Microsoft.CodeAnalysis.CSharp.dll"
        "Microsoft.CodeAnalysis.dll"
        "System.Linq.Expressions.dll"
        "Microsoft.CSharp.dll"
        "System.Runtime.Extensions.dll"
        "System.Linq.dll"
        "System.Collections.Concurrent.dll"
        "System.Collections.dll"
        "Newtonsoft.Json.dll"
        "System.IO.FileSystem.dll"
        "System.Diagnostics.Process.dll"
        "System.Threading.Tasks.Parallel.dll"
        "System.Security.AccessControl.dll"
        "System.Text.Encoding.CodePages.dll"
        "System.Private.Uri.dll"
        "System.Threading.dll"
        "System.Security.Principal.Windows.dll"
        "System.Console.dll"
        "Microsoft.Win32.Registry.dll"
        "System.IO.Pipes.dll"
        "System.Diagnostics.FileVersionInfo.dll"
        "System.Collections.Specialized.dll"
        "Microsoft.ApplicationInsights.dll"

PR Checklist

[ ] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[ ] Summarized changes
[ ] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[ ] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[ ] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[ ] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[ ] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

merging early to avoid conflicts with other works


Crash using Speech-to- Text while Pixel Streaming

I get this error when user clicks speak button to start the speech-to-text process:
"
Fatal error!
Crash in runnable thread AzSpeech_USpeechToTextAsync::SpeechToText_30241
"
This is a shipping build project. works fine in editor, but crashes in browser. whats the problem?

Ok you have to enable mic access through the settings of the Pixel Stream and it works.
https://github.com/EpicGames/PixelStreamingInfrastructure/blob/master/Frontend/Docs/Using the Microphone Feature.md


Azure OpenAI: TypeError: Cannot read properties of undefined (reading 'delta')

I am using Azure OpenAI and trying to use this library for streaming the json object. Getting this error
error: TypeError: Cannot read properties of undefined (reading 'delta')
      at OpenAiHandler.process (/proj/backend/openai-partial-stream/packages/openai-partial-stream/dist/index.js:205:32)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async Entity.genParse (/proj/backend/openai-partial-stream/packages/openai-partial-stream/dist/index.js:270:22)
      at async /proj/backend/index.js:389:30

I tried to fix it like this but did not work

Hello thank you for reporting, do you have the actual raw content in the msg to help debugging.

For me it happens when enabling the pretty recently introduced stream_options.include_usage option. The final msg content looks like this:
{
   "id":"chatcmpl-<id here>",
   "object":"chat.completion.chunk",
   "created":1718756652,
   "model":"gpt-4-0613",
   "system_fingerprint":null,
   "choices":[

   ],
   "usage":{
      "prompt_tokens":308,
      "completion_tokens":68,
      "total_tokens":376
   }
}

Are there plans to address this?

@thomashibbard  thank you for the details, this should help with the investigation.
In the JSON payload you attached, there are no choices. Is that the complete payload?
If stream_options.include_usage triggers this, it could be due to some versions that need updating. I will have to investigate.

@st3w4r Yeah exactly, there are no choices—I think—because the final received chunk is just token usage information, and so it doesn't have any of the choices/delta/etc included in the rest of the stream for composing responses.

I see, indeed if the last chunk have no choices we could just skip it.
I’m wondering if there is something else that could help differentiate this chunk.
A curl command could confirm this behavior it.

I think the last chunk still needs to be processed so the usage can be accessed. Maybe it could emit a done or usage event. I'm getting a little out of my depth here, but would something like this be possible
function process() {
  // Create an instance of the handler
  const openAiHandler = new OpenAiHandler(mode);
  // Process the stream.
  const entityStream = openAiHandler.process(stream);
  // Create an entity with the schema to validate the data
  const entityPostcode = new Entity("postcodes", PostcodeSchema);
  // Parse the stream to an entity, using the schema to validate the data
  const postcodeEntityStream = entityPostcode.genParseArray(entityStream);

  postcodeEntityStream.on('usage', saveUsageToDb)

  return postcodeEntityStream
}


invites: Handle long invite URL overflow properly.

Fixes #19764.
@timabbott @alya FYI :) This was tricky, but I managed to figure it out!

Looking better!
Something still seem funny to me about the vertical alignment for the "copy" button -- do you think it's too low?

@alya Thanks for catching that, should be fixed now:

That looks better, thanks!

@timabbott FYI, this is ready for a review! :)

@timabbott Did you mean to merge this one or did you accidentally comment on this PR while merging another one (since this is still open)?

Yeah -- I guess GitHub must have thrown an error after I'd already navigated away ... weird.


feat(run): add annoucement for nhost run

Codecov Report

Merging #2154 (4c4b253) into main (42bd780) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main    #2154   +/-   ##
=======================================
  Coverage   87.07%   87.07%
=======================================
  Files          85       85
  Lines        9312     9312
  Branches      494      494
=======================================
  Hits         8108     8108
  Misses       1204     1204


Initial auto-generated gcloud-java-errorreporting

Coverage decreased (-0.2%) to 85.595% when pulling 035b37369308df0ff581a1e9f09247486d848d51 on garrettjonesgoogle:autogen-cloud-errorreporting into d7c51dee03e281414084ac6313c51879e493ee39 on GoogleCloudPlatform:master.

There's a blocking issue with this that is the package name:
com.google.cloud.devtools.clouderrorreporting.spi.v1beta1

should be changed to:
com.google.cloud.errorreporting.spi.v1beta1

Package name fixed. PTAL.

Coverage decreased (-0.2%) to 85.478% when pulling 28f216ed89002ef3abdf2c051e80932bcbafad14 on garrettjonesgoogle:autogen-cloud-errorreporting into 972d57827aaf92cbd5e5fc5b05aece85ff0b5d60 on GoogleCloudPlatform:master.

The checkstyle exclusion path has been updated now.

Coverage decreased (-0.4%) to 85.346% when pulling fb5080256a6576df4c5fd5cbb0fba8bc853debe0 on garrettjonesgoogle:autogen-cloud-errorreporting into 972d57827aaf92cbd5e5fc5b05aece85ff0b5d60 on GoogleCloudPlatform:master.


Sharing serial port

My colleague has the following question any assistance would be appreciated:
The overarching goal is to create a TCP to RTU btrdge

Hi,
We’re using your Modbus RTU drivers through Node Red. They take control of the serial port as they need it for Modbus RTU request and response.
We have another application written in Python which needs to use the same serial port. The issue is the Node Red Modbus RTU drivers take control of the serial port and keep control of it, thus our other application can’t use it.
Is there any way your drivers can relinquish the serial port, once they complete their Modbus RTU request and response? Of course your drivers also need to retake control the next time they send a Modbus packet.
The idea is for each application (the Modbus RTU through Node Red and our other application), to take control of the serial port, use it, then relinquish it. That’s what we want.
Please advise how this can be done

... possible, but too much work for now and just one request in more than two years - I'm sorry.


Fork: trace original and derivations

I just discovered that the question of keeping tracks of an original document in case of a fork has been already discussed (https://github.com/beakerbrowser/beaker/issues/544 https://github.com/beakerbrowser/beaker/issues/591 https://github.com/beakerbrowser/beaker/pull/598). However I think in some case, tracing the whole network of an archive, aware of its parents and derivations, could be really useful..
I am aware of the privacy issue this raises, and I am asking if we can consider it as an option: asking the permission of the original author and / or the copy creator to be part of the public file version network.
Some Ideas

This option could be also part of the fork prompt.
Github’s version network can be an inspiration to visualize a file evolution in time, for a comunity and for single individuals.

Use cases

Pegagogic context, modify the style or the content of an existing HTML template. Create a workshop documentation quicly.
Artistic context.
To keep track of a document’s history for technical purpose, just like git interfaces.
For projects such as the dat zine of @zachmandeville, to keep an updated list of the zines based on his project for exemple.

To keep track of a document’s history for technical purpose, just like git interfaces.

dat / beaker already has a history. So imo this is more about "inheritance" than history.

I 100% like the idea of having the fork network. It's interesting metadata. We'll need to poke at the UX of asking permission to include it.


preventsDisplaySleepDuringVideoPlayback on Android is preventing phone to sleep even when video is not being played

Bug

Platform

Which player are you experiencing the problem on:

Android

Environment info
System:
OS: macOS 13.4
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 25.97 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.13.0 - /var/folders/rq/dtkvj5r13_b8g1vvxb3_g6fc0000gn/T/yarn--1685715701667-0.20377518657480187/node
Yarn: 1.22.19 - /var/folders/rq/dtkvj5r13_b8g1vvxb3_g6fc0000gn/T/yarn--1685715701667-0.20377518657480187/yarn
npm: 9.6.5 - /usr/local/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: Not Found
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK:
API Levels: 23, 25, 26, 27, 28, 31, 32, 33
Build Tools: 27.0.3, 28.0.3, 29.0.2, 30.0.1, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 33.0.0, 33.0.0, 33.0.1, 34.0.0
System Images: android-21 | Google APIs Intel x86 Atom, android-24 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-33 | Google APIs Intel x86_64 Atom
Android NDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.10121639
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 11.0.15 - /Users/aymankouzayha/.sdkman/candidates/java/11.0.15-tem/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.0.0 => 18.0.0
react-native: 0.69.10 => 0.69.10
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Library version: 5.2.1
Steps To Reproduce

Setup the video player with a local file from the resources
Do not specify preventsDisplaySleepDuringVideoPlayback (default is true based on docs)
Open the view that contains the video tag but do not play the video

Expected behaviour

On Android, the phone screen should sleep after waiting the configured time in the phone settings

Reproducible sample code
<Video source={require('@myproject/resources/videos/test-video.mp4')}
onError={handleOnError}
paused={paused} //state
onLoad={handleOnLoad}
resizeMode={'contain'}
onEnd={moveToNextPage}
innerRef={(player) => {videoRef.current = player}}
/>
Video sample
If possible, include a link to the video that has the problem that can be streamed or downloaded from.
Workaround
As a workaround for this issue we have manually set the preventsDisplaySleepDuringVideoPlayback prop to be the negated value of the state flag we used to track if the video is paused.

to be follow up in: https://github.com/react-native-video/react-native-video/issues/3552


[Question] Difference between generate-helm-secret.sh and generate-sealed-secrets.sh

What is the between generate-helm-secret.sh and generate-sealed-secrets.sh ?
Is it just that generate-sealed-secrets.sh loops over all .txt while generate-helm-secret.sh takes just a single file ?

You got it right. My plan was to use the generate-helm-secret.sh over generate-sealed-secrets.sh but I haven't had time to go back to this.

But why would u want to use generate-helm-secret.sh instead of generate-sealed-secrets.sh ? Would it not be cumbersome to input each and every file ?

I was thinking to use this in an automated fashion with GitHub actions like I currently do now. But instead move the loop logic into my GitHub action and call this script. Each way has its positives or negatives. I'm trying to find a sweet spot that will work well for automation and manually running it.

Ok got it Thanks for the info. Closing the issue.


Add support for  YLE (Closes: #1574)

Adds extractors for YLE Areena, YLE Areena Live TV streams, and YLE Elävä Arkisto.

Added test case, which returns list of urls (non-empty data array). Also self._live_title is now used and is_live is set True for live streams.

Since #8497 landed, please move changes in youtube_dl/extractors/__init__.py to youtube_dl/extractors/extractors.py. Check step 5 of the new developer instructions for more information.

What's the state of this? What else is required besides rebasing to the current head?
Before finding this PR I was looking a bit into implementing it, and spotted that some information is directly available from OpenGraph properties and <meta itemprop> elements. Would it make sense to make use of those? Among properties not currently supported there exists also alt_title (for original title) and thumbnail.

I'm not a developer, but it seems to me this PR only implements the older (flash player only) HDS/HLS support, but some of the more recent items on Areena have a HTML5 player via Kaltura. Support for that probably needs to be implemented as well.


Single Connection

Hi,
This is not an proper issue but it could be added feature if you can use single connection to use all input method i was wondering is it possible to do it since we have to send Characteristic.
If it is possible please let me know how to do it or any reference would be helpful.
Thanks,

I tried it and I'm afraid it's not possible. The central device can't detect the same peripheral device as mouse and keyboard. I tried creating a single connection for mouse and keyboard, the mouse works fine and then when I try to send a key through the sendKeys() method, the mouse pointer is moving down. You can try sending the keys through another characteristic via gatt.

It is possible I've implemented that.
On Dec 8, 2017 10:21 AM, "Shinil M S"<EMAIL_ADDRESS>wrote:

I tried it and I'm afraid it's not possible. The central device can't
detect the same peripheral device as mouse and keyboard. I tried creating a
single connection for mouse and keyboard, the mouse works fine and then
when I try to send a key through the sendKeys() method, the mouse pointer
is moving down. You can try sending the keys through another characteristic
via gatt.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kshoji/BLE-HID-Peripheral-for-Android/issues/4#issuecomment-350171780,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfnFjzGpyjQCe-c65pgNmCAmomkMM5gzks5s-MBFgaJpZM4QIoOU
.

How did you do that?

@yatee12 Can you guide me to do it? I've tried playing with the getReportMap() but couldn't get it right. Or do I have to add one more HID service?

I've made mouse and keyboard work with a single connection. check it out 891cfd6

oh i need this.thank u!!

work good


[Snyk] Upgrade @mui/material from 6.1.6 to 6.1.7

Snyk has created this PR to upgrade @mui/material from 6.1.6 to 6.1.7.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.

The recommended version was released on 21 days ago.

Release notes

Package name: @mui/material

6.1.7 - 2024-11-13
Nov 13, 2024
A big thanks to the 13 contributors who made this release possible.

This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

was updated in #35


Use more discrete colors in dark backgrounds

I recently started learning Coq, and when I installed this extension the first thing I noticed was that the CoqtailSent and CoqtailChecked's guibg values were too bright with my dark colorscheme. I fixed it locally by overwriting the highliights in my vimrc, but I figured this could be a change others would benefit from.
The colors themselves are just something I thought worked fine. I've also decided to leave the ctermbg values unchanged, since I couldn't find a way to open a vim session which used less than 16 colors, so I wasn't able to test different options.

Thanks for opening this PR. In general, I think people should just set the colors in their local configs since there's no way to pick ones that will work with all color schemes. However, in this case, I think it does make sense to have different defaults for light and dark, and the colors you picked seem to work pretty well with most of the dark schemes that ship with Vim.
As for the cterm colors and t_Co <= 16, I'm inclined to leave them alone until it becomes an issue for someone.


Add hash to search urls.

[Resolves https://github.com/eregs/notice-and-comment/issues/176]

Easy peasy lemon squeezy


Pipeline failed install modules admin permission

Hello Team,
the devops pipeline fails for me with the following message:
Starting: Install-Modules
Task         : PowerShell
Description  : Run a PowerShell script on Linux, macOS, or Windows
Version      : 2.228.1
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
Generating script.
Formatted command: . 'C:\ADOAgent_work\1\s\Scripts\Install-Modules.ps1'
========================== Starting Command Output ===========================
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\ADOAgent_work_temp\7b363cec-e052-4026-885a-b57a2e0d2644.ps1'"
Install-PackageProvider : Administrator rights are required to install packages in ''. Log on to the computer with an
account that has Administrator rights, and then try again, or install in
'C:\Users\intunefactory\AppData\Local\PackageManagement\ProviderAssemblies' by adding "-Scope CurrentUser" to your
command. You can also try running the Windows PowerShell session with elevated rights (Run as Administrator).
At C:\ADOAgent_work\1\s\Scripts\Install-Modules.ps1:2 char:20

$PackageProvider = Install-PackageProvider -Name "NuGet" -Force

You recommmend that i install the modules manually before?
I can not see that  i missed a step, so maybe if you want me to do it manually it should be added to documentation?
thanks for your help and your wonderfull work on this factory

Hello,
Unfortunately, the pipeline also fails, although I have installed the modules manually, in the script is probably not checked before whether the modules are installed.
I can not see any step that we would have forgotten.
My user on VM has:
Administrators
Remote Desktop Users
Users
VSTS_AgentService_G40e8b
any guesses to help me out here :-)

Topic can be closed.
I changed permission to the user, but forgot to restart vm.
Thank you


Exporting playlists with forward slashes in them results in an error

For example, I had a playlist named "Late nights/early mornings". Here's the error I got:
Traceback (most recent call last):
  File "ExportLists.py", line 99, in <module>
    playlist_handler(playlist_name, playlist_description, playlist_tracks)
  File "ExportLists.py", line 26, in playlist_handler
    open_log(os.path.join(output_dir,playlist_name+u'.log'))
  File "/Users/nf/workspace/gmusic-playlist/common.py", line 40, in open_log
    logfile = codecs.open(filename, encoding='utf-8', mode='w', buffering=1)
  File "/Users/nf/.virtualenvs/gmusic/lib/python2.7/codecs.py", line 884, in open
    file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: u'output/Late nights/early mornings.log'

The slash is a reserved character for directories, so the entire export fails. A reasonable workaround would be to swap slashes in names for dashes.

thanks for reporting this and figuring out the root of the problem.  I like the suggested fix, I'll update the code when I get a chance, or if someone else beats me to it I wouldn't be hurt ;)


Web Sites updates for AUX 3.4 - for publishing on 6/2

@timamm Thank you for raising this issue.  We're closing old issues.  If you feel this issue should remain open, please comment to let us know that the issue should be reopened.


Fixes to GZIP performance and warnings

Signed-off-by: Anandh Venkateswaran<EMAIL_ADDRESS>Description
Fix number of reordering units for gzip-LL. Fix free() call in gzip.cpp to remove warning.
GZIP-LL was mistakenly using 6 reordering unit which is not necessary since we only have 1 global memory port (host memory), so this has been removed.
A call to free() in gzip.cpp is causing compiler warnings, this is now fixed.
Fixes # (issue)
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[ X] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Ran GZIP regtest

Review completed. Closing. Will create new pull request to main repo master branch


Cleanup pipe

Improves fixing of @id and @type, updates tests and fixtures accordingly, and removes some incomplete functions in anticipation them coming back in a new pipe.

 Data cleaning pipe


[WIP] Update appveyour with windows build

Purpose

$subject

Closing as switching to linux containers is available under paid subscriptions.

Codecov Report

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

@@            Coverage Diff            @@
##             master     #352   +/-   ##
=========================================
  Coverage     64.03%   64.03%
  Complexity      155      155
=========================================
  Files            14       14
  Lines           784      784
  Branches        111      111
=========================================
  Hits            502      502
  Misses          219      219
  Partials         63       63

Continue to review full report at Codecov.

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


is it possible to use my error code in grpc with python client and golang server?

// grpc server with golang
func (p *HelloService) Hello(ctx context.Context, args *pb.String,) (*pb.String, error) {
return nil, status.Error(codes.Code(100), "hello failed") // 100 is the error code of my own
}
// grpc client with python
try:
stub = test_pb2_grpc.HelloServiceStub(channel)
response = stub.Hello(test_pb2.SayHello())
except grpc.RpcError as rpc_error:
print(rpc_error.details()) 				// print  Server sent unknown code None and details "hello failed"
status = rpc_status.from_call(rpc_error)
print(status) 							// print none
status_code = rpc_error.code()
print(status_code) 						// print StatusCode.UNKNOWN
The problem is: how can i get 100 in my python grpc client ?

Please direct general question like this one to  https://stackoverflow.com/search?tab=newest&q=grpc is%3Aquestion
Your answer may already be there or you can post a new question if it's not.


Incompatible with Pandoc 2.0+

Pandoc introduced a breaking API change for versions 2.0+ in commit 94b3dac -- readers now take Text instead of String. As a result, the filter can no longer be installed using Cabal.
The specific build error is:
src/Text/Table/Helper.hs:153:47: error:
    • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’
      Expected type: Data.Text.Internal.Text
        Actual type: String
    • In the second argument of ‘readMarkdown’, namely ‘s’
      In the expression: readMarkdown o s
      In an equation for ‘read’: read = readMarkdown o s

It looks like one of the following would need to be updated:
https://github.com/baig/pandoc-csv2table/blob/cbd4ec9e36ad8e697f46f198bf2949b3d336d86c/pandoc-csv2table.cabal#L42
https://github.com/baig/pandoc-csv2table/blob/cbd4ec9e36ad8e697f46f198bf2949b3d336d86c/src/Text/Table/Helper.hs#L149-L153

Bump.
Is there a quick way to temporarily get this working?

The only quick way to fix this is to conditionally compile parts of the code where the Pandoc API has changed to maintain backwards compatibility, as done here. Pull requests are always welcome.

Ok @baig I don't have much experience of development for proper Haskell modules but I'll have a look

So has anyone tried to monkeypatch this for pandoc > 2.0 so far?

I haven’t had the time. Might be able to give it a go soon unless you or someone else picks it up

After my first fix attempt just led to an error because CSV is a hidden module, I decided to downgrade to pandoc < 2.0. for the time being. I never touched haskell nor pandoc.
:(

It's been a while since I made any change to the repo. I'll try to fix this issue over the weekend but can't guarantee given my other commitments.

Hey @baig, did you have a look?
Have a nice weekend!

@baig I am hacking on a fix and it might take sometime. If you have sometime to spare, please build on PR #24

@baig  Please review and merge PR#24 which has fix for this issue.


ProgressChart hide legend

Is there any way to hide the legend for the ProgressChart? I can set the text to be transparent but is there any way that I can also hide the circle label indicators?

Added PR with an update for this:
https://github.com/indiespirit/react-native-chart-kit/pull/232

'hideLegend' option added in v4.1.0, closing issue.


Mode Switching

A quick example of how I suggest to do mode switching:
At the core, it's a very simple state machine that has a default transition for each state.
Our four flight modes (which inherit from the common base class FlightController) are the states.
FlightController forces any concrete controller (flight mode) to have a bool is_done() function.
The main checks for the result of is_done and calls next() if true.
This if-statement will need another argument like "&& mode_is_not_set_manually" at some point.

Closed since not being worked on.


Add test repo reference to package-config

This commit adds 'fmf_url' and 'fmf_ref' to JobMetadataConfig. This can
be later used to store tests in different repository.
Related To: packit/packit-service#968

@mmuzila can we have the new metadata mentioned in docs, please?


Thanks, now I can understand much more from just an overview of the code and test.


master cmake error,when complie with gstreamer 0.10

platform: ARMv7  RK3288
system:ubuntu 15.10
I got a warning when cmake master version with -DWITH_GSTREAMER_0_10 flag
!!!!GStreamer:WARNING:interface library not found!!!!
but i have install gstreamer and it's plugins on ubuntu....
who can help me...

@lifeblong if available use gstreamer 1.0 instead (packages libgstreamer-plugins-base1.0-dev,libgstreamer1.0-dev)

Think you very much! I miss libgstreamer-plugins-base0.10-dev.


WIP: Try fix travis-ci

I am trying to fix ci.

@mholt @elcore look please, i've fixed travis-ci :)

@elcore but go 1.11 wasn't released yet? So this fix can help with ci for now and after release of go 1.11 we can fix other problems?

@elcore but go 1.11 wasn't released yet? So this fix can help with ci for now and after release of go 1.11 we can fix other problems?

No, it's not released. Matt should decide if we should merge this PR.

I think it's not actual anymore)


Custom Event and Metrics

Hi,
I tried the sample  client.trackEvent("custom event", {customProperty: "custom property value"}); and it works, i see some logs on the server
But If I set my own metrics or event, I don't things on the server.
I see my custom event deeeeeeeeper in ApplicationMap > Call > Something about "Dependency" > My Event.
Is there a best practice to see my custom metrics like ELK Stack ?

@JpEncausse - it seems you haven't tried Application Insights Analytics yet. Here is the overview and documentation. I think it will give you what you need - fast and easy access + charts that you can pin to Azure Dashboards.

Closing for now - please re-open if it is not what you needed


Return workspace info for ncbi_taxon_get_associated_ws_objects

Return workspace info in ncbi query
Remove narrative name from the ws_workspace specs. There's no reason to have it there now that we are saving the metadata. Breaking change.
Remove the deprecated assertDictContainsSubset method and add a small helper to replace it.
Expand tests and fix some stuff there. Happy-case test covers the ws_info getting returned in the query.
Remove accidental extra indentation for the test_get_taxon_from_ws_obj method

Feel free to add additional comments if you have them, and I will update things. In the interesting of time, I'm merging and releasing


Catalina - Added disassembled code for reference.

Closed #10

Because of your repo I finally have a working trackpad in OpenCore. Thank you so much. If you need any help, for example with testing hotpatches in the future, hit me up!

Because of your repo I finally have a working trackpad in OpenCore. Thank you so much. If you need any help, for example with testing hotpatches in the future, hit me up!

Ok, thank you so much @victorwitkamp


pacman: change default answer of all queries to yes

See #1141 and upstream PR in the main repo: https://github.com/Alexpux/MSYS2-pacman/pull/52
While the change seems trivial, pacman does not build for me right now, so I'm unable to test unfortunately.
The build log is attached.
pacman-5.0.1-4-x86_64-prepare.log
pacman-5.0.1-4-x86_64-build.log

I already tried rebuilding libpsl but it did not fix the issue.

What about increasing pkgrel

@Alexpux Done. I usually do that at the very end when I'm happy with the result and forgot in this case because of the build issue...


Some big re-organizations to split 80 and 443 frontends + SNI support

While working on refactoring the code to not step on the ReqMode support, had to move some things around to support SNI and arbitrary TLS frontends. I needed to split 443 out so I could set that frontend to TCP mode so SNI will work, but that was a lot more complicated than I thought. Here's my take on the implementation. I'll write up the test cases for it and send you a pull request after you review this code. I'm new to golang and my apologies if the code isn't great.
To use SNI mode routing, setting reqMode to sni does the job in combination with pathType (typically to 'req_ssl_sni -i -m beg') and servicePath to the matching SNI prefix.

Overall, judging by reading the code (without running it), it looks good :).
Maybe I make a suggestion? Why not break changes into small chunks. For example, one change could be to move part of the .tmpl file into code (what you did with haproxy.tmpl). It's a small change which can be easily validated with a few tests, and send directly to a release. Continuous deployment approach. What do you think?

That makes sense. I'll keep the changes except the SNI related changes - since they are somewhat orthogonal. Do I need to add more test cases around this re-org? If so, some pointers on what to test would be useful.

I almost always do TDD. I write a test that defines code I'm about to write. I'll add tests if you have trouble with them.

Yes please. I'd appreciate that. I can use this to understand how to write test cases for code I submit in the future. Shall I send you a new pull request with the SNI stuff pulled out? Or do you want to add the tests to my branch and we can merge it back into your tree after that's done?

I'm practicing continuous deployment and every commit to the master branch is converted into a public release if all tests pass. This process is executed only on the master branch. Without tests it is very risky to merge a PR.
The easiest would be to do a PR on a branch (any but master). That way I can merge it without any risk, add tests, and merge it again to master. Would that work for you?

That would work perfectly. Could you please create a new branch on your repo I can send a PR against? Not sure how to consolidate the changes if it's against any of the existing stale branches.

Created sni branch :)


Add Logger for file output logs

Store debug output in files
Closes #24

Rebase ☝

Rebase ☝

I think you should add PID to the log filename to help differentiate when running multiprocess, or just running same binary over and over.

Also maybe we could/should consider a third-party dependency for this: https://github.com/gabime/spdlog

I think you should add PID to the log filename to help differentiate when running multiprocess, or just running same binary over and over.

Does it work to open an issue for this? I intended this to be a very basic commit that just introduces the functionality to move from monitor printouts to a file, even if overwritten. This still serves the use-case of manual. visual inspecting where we run one compilation/execution and want to see the output.

Also maybe we could/should consider a third-party dependency for this: https://github.com/gabime/spdlog

@davidbeckingsale I wasn't aware of spdlog and it looks awesome! However, I'd like to keep dependencies to a minimum until we have a robust, well-integrated core. Can we again open an issue for forward development?


fix typo in "Function arguments 2 or fewer ideally"

Hi, I think that I just found a typing mistake.
Thanks for your work,
Reading this was interesting :)

Thank you. I'm glad because your interesting


App crashing on Xiaomi device

I have a working app on AppStore and it works on all Android and iOS devices but I’ve recently gotten a report from a client thatsays the app crashes almost immediately on her Xiaomi device.
We’ve tried:

Reinstalling, shutting the phone on and off etc.
Turning off MIUI optimization

Nothing has worked yet. Any advice on how to fix this issue?

Hi @LukakHR
Can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample?
Thank you

Hi @LukakHR
Can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample?
Thank you

`flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-10.0.pre.55, on Mac OS X 10.15.4 19E287,
locale en-HR)
• Flutter version 1.21.0-10.0.pre.55 at /Users/Lukak/Desktop/Flutter/flutter
• Framework revision 54f21ec7aa (5 months ago), 2020-08-12 08:01:03 -0400
• Engine revision ccfc7e5179
• Dart version 2.10.0 (build 2.10.0-11.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/Lukak/Library/Android/sdk
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications//Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.9.3
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 43.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.18.0
[✓] Connected device (1 available)
• iPhone (2) (mobile) • c83212245c9f44222a6d8cbcda24aab8009d7085 • ios • iOS 14.3
• No issues found!`
`flutter doctor --verbose
[✓] Flutter (Channel master, 1.21.0-10.0.pre.55, on Mac OS X 10.15.4 19E287, locale en-HR)
• Flutter version 1.21.0-10.0.pre.55 at /Users/Lukak/Desktop/Flutter/flutter
• Framework revision 54f21ec7aa (5 months ago), 2020-08-12 08:01:03 -0400
• Engine revision ccfc7e5179
• Dart version 2.10.0 (build 2.10.0-11.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/Lukak/Library/Android/sdk
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications//Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.9.3
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 43.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.18.0
[✓] Connected device (1 available)
• iPhone (2) (mobile) • c83212245c9f44222a6d8cbcda24aab8009d7085 • ios • iOS 14.3
• No issues found!`
Regarding the minimal reproducible code, the client is in a different city so I can't connect their phone and check where the error is happening so I'm not sure where the problem hides but the app is very simple with the only 'complicated' feature being Firebase and it works on all other devices. Should I make a simple similar app and attach that?

`flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-10.0.pre.55, on Mac OS X 10.15.4 19E287,
locale en-HR)
• Flutter version 1.21.0-10.0.pre.55 at /Users/Lukak/Desktop/Flutter/flutter
• Framework revision 54f21ec7aa (5 months ago), 2020-08-12 08:01:03 -0400
• Engine revision ccfc7e5179
• Dart version 2.10.0 (build 2.10.0-11.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/Lukak/Library/Android/sdk
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications//Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.9.3
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 43.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.18.0
[✓] Connected device (1 available)
• iPhone (2) (mobile) • c83212245c9f44222a6d8cbcda24aab8009d7085 • ios • iOS 14.3
• No issues found!`
`flutter doctor --verbose
[✓] Flutter (Channel master, 1.21.0-10.0.pre.55, on Mac OS X 10.15.4 19E287, locale en-HR)
• Flutter version 1.21.0-10.0.pre.55 at /Users/Lukak/Desktop/Flutter/flutter
• Framework revision 54f21ec7aa (5 months ago), 2020-08-12 08:01:03 -0400
• Engine revision ccfc7e5179
• Dart version 2.10.0 (build 2.10.0-11.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/Lukak/Library/Android/sdk
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications//Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.9.3
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 43.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.18.0
[✓] Connected device (1 available)
• iPhone (2) (mobile) • c83212245c9f44222a6d8cbcda24aab8009d7085 • ios • iOS 14.3
• No issues found!`
Regarding the minimal reproducible code, the client is in a different city so I can't connect their phone and check where the error is happening so I'm not sure where the problem hides but the app is very simple with the only 'complicated' feature being Firebase and it works on all other devices. Should I make a simple similar app and attach that?

Hi @LukakHR
It seems that you are using a five months old Flutter version.
Can you please upgrade to the latest  master and try again
flutter channel master
flutter upgrade --force
flutter doctor -v

Hi @LukakHR
It seems that you are using a five months old Flutter version.
Can you please upgrade to the latest  master and try again
flutter channel master
flutter upgrade --force
flutter doctor -v

I'm getting similar report from a Xiaomi Redmi 7 user that the app was working fine and since few days ago they just can't open it, app freezes. It could be related to Xiaomi releasing updates in the end of december: https://piunikaweb.com/2021/01/04/xiaomi-android-10-update-tracker/
I've have upgraded my Flutter version since that last release build so I can't share full flutter doctor -v anymore but I know I built that release with 1.22.4.

I also encountered this kind of problem.

I’ve just had the same issue reported on a Galaxy S9

I’ve just had the same issue reported on a Galaxy S9

Hi @LukakHR
Without more information there nothing Flutter can do to find this bug. Please try to contact your users to ask what they are doing that causes this issue. Also provide the logs of your crash.

Hi @LukakHR
Without more information there nothing Flutter can do to find this bug. Please try to contact your users to ask what they are doing that causes this issue. Also provide the logs of your crash.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Migrate this repo to an organization and think up a new name that allows for more than just NLSE

It's now called laserfun! Maybe we'll change it again soon... :)


Do something about the ranking of Cree words

The current corpus-based ranking does not always put at the top the most salient results (search e.g. with speak or see).
There are several avenues that could be pursued:

Considering what words in the English definitions are included in the English indexing, or how that are included in the ranking. For instance, searching with dog puts ayâwêw at the top, because the English definition has dog as an example of an animate goal (He has or owns something animate (like a dog).). We could exclude such English words from the indices, but it might be difficult to do this without some manual scrutiny.

Allow alternative rankings, e.g. using strata such as core vocabulary, e.g. the 1000 Cree words that Arok is compiling or the ~500 words from the NS152 Introductory Cree materials as the first stratum, and then all other words (perhaps still using the current ranking there).

Allowing one to select what frequency band is shown (e.g. a. core/introductory vocabulary, b. 1000-most commons words, or c. all words).

The following code provides the vocabulary from the NS152 course at the UofA:
~/giella/ped/crk_oahpa_project/crk_data/src/*_crk.xml | tr '\r' '\n' | gawk '{ if(index($0,"<e>")!=0) { if(line!="") line=""; p=1; } if(p) line=line" "$0; if(index($0,"</e>")!=0) { sub("^[ ]+","",line); gsub("[ \t]+"," ",line); print line; p=0; } }' | gawk '$0 ~ /chapter/ { match($0,"<l [^>]+>([^<]+)",s); match($0,"t [^>]+>([^<]+)",t); match($0,"chapter=\"I([^\"]+)",ch); match($0,"l pos=\"([^\"]+)",pos); print ch[1]"\t"pos[1]"\t"s[1]"\t"t[1]; }' | sort -u | sort -k1,1n -k2,2 -k3,3 > NS152_vocabulary.txt
The results are in the ALTLab Github, in:
altlab/crk/corpora/NS152/NS152_vocabulary.txt

This has been implemented or obsoleted based on the improved search algorithm.


Swagger-Diff not erroring on major changes

This may very well be a PEBCAK but I'm trying to run a swagger-diff in jenkins and get Jenkins to fail when there are differences detected.  Now I'm running with
npx swagger-diff <one> <two>
I expect to get back an error since they're two completely different specs, but instead all I get back is warnings.  Am I using this right?  Should I be doing something different instead?  The idea I'd like to do here is just monitor my API's and have Jenkins email me when it does detect a difference, and there's not much documentation on how to read the CLI output.
Thanks!

So I found a workaround.  My bad!


[Fix #11556] Fix a false positive for Lint/Debugger

Fixes #11556.
This PR fixes a false positive for Lint/Debugger when p is an argument of method call. Basically, debugger methods are not used as a method argument without arguments.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Looks okay, sans the CI failures.
I'm starting to wonder, though, if it was a good idea to mix the debug methods that actually start some debugger (and don't take arguments) with print debugging methods (which take some arguments), as for them we could just check if they are invoked without any arguments. Anyways, the fix will do for now.

the debug methods that actually start some debugger (and don't take arguments) with print debugging methods (which take some arguments)

Ah, it may have been better to distinguish between them. For now, I'd like to look feedback after https://github.com/rubocop/rubocop/issues/11556 issue is resolved.

I'm not sure this was intentional but this appears to have changed the behaviour of using pretty_print pp MyCode used to trigger, now it no longer does.
I'm not sure if PrettyPrint was supposed to trigger this rule in the first place though?


PageStorage V3 GC can't work when restore

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Enable PageStorage V3 in https://github.com/pingcap/tiflash/pull/4884, run the UT:
https://github.com/pingcap/tiflash/blob/1e1bf1f1fd315edf88552b1092b606ee8686d58c/dbms/src/Storages/DeltaMerge/tests/gtest_dm_delta_merge_store.cpp#L1417

2. What did you expect to see? (Required)
PageStorage V3 GC  work successfully and pass all the cases.
3. What did you see instead (Required)
Exception when PageStorage V3 restore.
https://github.com/pingcap/tiflash/blob/f2513bbc861200b1b168cd58619753a78327b78c/dbms/src/Storages/Page/V3/PageDirectory.cpp#L254
Because the lowest_seq is 0 when doing loadEdit,  so that the gcInMemEntries can't remove the deleted pages.
Here are some logs, we can see that the mvcc gc don't remove the deleted page.
[2022/05/19 23:16:31.712 +08:00] [TRACE] [DeltaMergeStore.cpp:485] ["DeltaMergeStore:test.DeltaMergeStoreRWTest Shutdown DeltaMerge end [test.DeltaMergeStoreRWTest]"] [thread_id=1]
[2022/05/19 23:16:31.712 +08:00] [INFO] [DeltaMergeStore.cpp:286] ["DeltaMergeStore:test.DeltaMergeStoreRWTest Release DeltaMerge Store end [test.DeltaMergeStoreRWTest]"] [thread_id=1]
[2022/05/19 23:16:31.712 +08:00] [TRACE] [DeltaTree.h:935] [DeltaTree:free] [thread_id=1]
[2022/05/19 23:16:31.712 +08:00] [WARN] [Context.cpp:1654] ["Context:GlobalStoragePool has already been initialized."] [thread_id=1]
[2022/05/19 23:16:31.712 +08:00] [INFO] [PageStorageImpl.cpp:41] ["PageStorage:__global__.log PageStorageImpl start. Config{ PageStorage::Config V3 {blob_file_limit_size: 536870912, blob_spacemap_type: 2, blob_cached_fd_size: 100, blob_heavy_gc_valid_rate: 0.200, blob_block_alignment_bytes: 0, wal_roll_size: 2097152, wal_recover_mode: 0, wal_max_persisted_log_files: 4} }"] [thread_id=1]
[2022/05/19 23:16:31.712 +08:00] [INFO] [PageStorageImpl.cpp:41] ["PageStorage:__global__.data PageStorageImpl start. Config{ PageStorage::Config V3 {blob_file_limit_size: 536870912, blob_spacemap_type: 2, blob_cached_fd_size: 100, blob_heavy_gc_valid_rate: 0.200, blob_block_alignment_bytes: 0, wal_roll_size: 2097152, wal_recover_mode: 0, wal_max_persisted_log_files: 4} }"] [thread_id=1]
[2022/05/19 23:16:31.712 +08:00] [INFO] [PageStorageImpl.cpp:41] ["PageStorage:__global__.meta PageStorageImpl start. Config{ PageStorage::Config V3 {blob_file_limit_size: 536870912, blob_spacemap_type: 2, blob_cached_fd_size: 100, blob_heavy_gc_valid_rate: 0.200, blob_block_alignment_bytes: 0, wal_roll_size: 2097152, wal_recover_mode: 0, wal_max_persisted_log_files: 4} }"] [thread_id=1]
[2022/05/19 23:16:31.712 +08:00] [INFO] [BlobStore.cpp:106] ["BlobStore:__global__.log Ignore not blob file [dir=/Users/tonglichen/sourcecode/tics_user/tics/cmake-build-debug/dbms/tmp/TestMode/DeltaMergeStoreRWTest.Split/V1_BlockOnly/page/log] [file=wal] [err_msg=]"] [thread_id=1]
[2022/05/19 23:16:31.712 +08:00] [INFO] [BlobStore.cpp:1214] ["BlobStore:__global__.log Created a new BlobStat [blob_id=1]"] [thread_id=1]
[2022/05/19 23:16:31.712 +08:00] [INFO] [BlobStore.cpp:1214] ["BlobStore:__global__.log Created a new BlobStat [blob_id=3]"] [thread_id=1]
[2022/05/19 23:16:31.712 +08:00] [INFO] [BlobStore.cpp:1214] ["BlobStore:__global__.log Created a new BlobStat [blob_id=2]"] [thread_id=1]
[2022/05/19 23:16:31.712 +08:00] [DEBUG] [WALReader.cpp:205] ["WALStore:__global__.log Open log file for reading [file=/Users/tonglichen/sourcecode/tics_user/tics/cmake-build-debug/dbms/tmp/TestMode/DeltaMergeStoreRWTest.Split/V1_BlockOnly/page/log/wal/log_1_0]"] [thread_id=1]
[2022/05/19 23:16:31.712 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=0] [page_id=101.1] [ver=<1,0>] [entry=PageEntryV3{file: 1, offset: 0x0, size: 123, checksum: 0xAEE82C04581779D1, tag: 0, field_offsets_size: 3}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [DEBUG] [WALReader.cpp:205] ["WALStore:__global__.log Open log file for reading [file=/Users/tonglichen/sourcecode/tics_user/tics/cmake-build-debug/dbms/tmp/TestMode/DeltaMergeStoreRWTest.Split/V1_BlockOnly/page/log/wal/log_2_0]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=0] [page_id=101.2] [ver=<2,0>] [entry=PageEntryV3{file: 1, offset: 0x7B, size: 123, checksum: 0xDCAEBAE5F3D6AEA5, tag: 0, field_offsets_size: 3}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [DEBUG] [WALReader.cpp:205] ["WALStore:__global__.log Open log file for reading [file=/Users/tonglichen/sourcecode/tics_user/tics/cmake-build-debug/dbms/tmp/TestMode/DeltaMergeStoreRWTest.Split/V1_BlockOnly/page/log/wal/log_3_0]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=0] [page_id=101.3] [ver=<3,0>] [entry=PageEntryV3{file: 1, offset: 0xF6, size: 123, checksum: 0x9AA0427B6B3F17AA, tag: 0, field_offsets_size: 3}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [DEBUG] [WALReader.cpp:205] ["WALStore:__global__.log Open log file for reading [file=/Users/tonglichen/sourcecode/tics_user/tics/cmake-build-debug/dbms/tmp/TestMode/DeltaMergeStoreRWTest.Split/V1_BlockOnly/page/log/wal/log_4_0]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=0] [page_id=101.4] [ver=<4,0>] [entry=PageEntryV3{file: 1, offset: 0x171, size: 123, checksum: 0xC36B8B12D61444EE, tag: 0, field_offsets_size: 3}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [DEBUG] [WALReader.cpp:205] ["WALStore:__global__.log Open log file for reading [file=/Users/tonglichen/sourcecode/tics_user/tics/cmake-build-debug/dbms/tmp/TestMode/DeltaMergeStoreRWTest.Split/V1_BlockOnly/page/log/wal/log_5_0]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=0] [page_id=101.5] [ver=<5,0>] [entry=PageEntryV3{file: 1, offset: 0x1EC, size: 123, checksum: 0x81DABEE0D70CB931, tag: 0, field_offsets_size: 3}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [DEBUG] [WALReader.cpp:205] ["WALStore:__global__.log Open log file for reading [file=/Users/tonglichen/sourcecode/tics_user/tics/cmake-build-debug/dbms/tmp/TestMode/DeltaMergeStoreRWTest.Split/V1_BlockOnly/page/log/wal/log_6_0]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=0] [page_id=101.6] [ver=<6,0>] [entry=PageEntryV3{file: 1, offset: 0x267, size: 123, checksum: 0x217F07D7CE5A2CC2, tag: 0, field_offsets_size: 3}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [DEBUG] [WALReader.cpp:205] ["WALStore:__global__.log Open log file for reading [file=/Users/tonglichen/sourcecode/tics_user/tics/cmake-build-debug/dbms/tmp/TestMode/DeltaMergeStoreRWTest.Split/V1_BlockOnly/page/log/wal/log_7_0]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=0] [page_id=101.7] [ver=<7,0>] [entry=PageEntryV3{file: 1, offset: 0x2E2, size: 123, checksum: 0xD7B861D4816A8E87, tag: 0, field_offsets_size: 3}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [DEBUG] [WALReader.cpp:205] ["WALStore:__global__.log Open log file for reading [file=/Users/tonglichen/sourcecode/tics_user/tics/cmake-build-debug/dbms/tmp/TestMode/DeltaMergeStoreRWTest.Split/V1_BlockOnly/page/log/wal/log_8_0]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=0] [page_id=101.8] [ver=<8,0>] [entry=PageEntryV3{file: 1, offset: 0x35D, size: 123, checksum: 0x6114A2F52DD6C8D9, tag: 0, field_offsets_size: 3}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [DEBUG] [WALReader.cpp:205] ["WALStore:__global__.log Open log file for reading [file=/Users/tonglichen/sourcecode/tics_user/tics/cmake-build-debug/dbms/tmp/TestMode/DeltaMergeStoreRWTest.Split/V1_BlockOnly/page/log/wal/log_9_0]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=0] [page_id=101.9] [ver=<9,0>] [entry=PageEntryV3{file: 1, offset: 0x3D8, size: 123, checksum: 0x58AA666C1EBA37AB, tag: 0, field_offsets_size: 3}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [DEBUG] [WALReader.cpp:205] ["WALStore:__global__.log Open log file for reading [file=/Users/tonglichen/sourcecode/tics_user/tics/cmake-build-debug/dbms/tmp/TestMode/DeltaMergeStoreRWTest.Split/V1_BlockOnly/page/log/wal/log_10_0]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=0] [page_id=101.10] [ver=<10,0>] [entry=PageEntryV3{file: 1, offset: 0x453, size: 123, checksum: 0xFACDFA4CA53EFB2B, tag: 0, field_offsets_size: 3}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [DEBUG] [WALReader.cpp:205] ["WALStore:__global__.log Open log file for reading [file=/Users/tonglichen/sourcecode/tics_user/tics/cmake-build-debug/dbms/tmp/TestMode/DeltaMergeStoreRWTest.Split/V1_BlockOnly/page/log/wal/log_11_0]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=0] [page_id=101.11] [ver=<11,0>] [entry=PageEntryV3{file: 1, offset: 0x4CE, size: 123, checksum: 0xD466497EF1BCBB20, tag: 0, field_offsets_size: 3}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=3] [page_id=101.1] [ver=<12,0>] [entry=PageEntryV3{file: 0, offset: 0x0, size: 0, checksum: 0x0, tag: 0, field_offsets_size: 0}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=3] [page_id=101.2] [ver=<12,0>] [entry=PageEntryV3{file: 0, offset: 0x0, size: 0, checksum: 0x0, tag: 0, field_offsets_size: 0}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=3] [page_id=101.3] [ver=<12,0>] [entry=PageEntryV3{file: 0, offset: 0x0, size: 0, checksum: 0x0, tag: 0, field_offsets_size: 0}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=3] [page_id=101.4] [ver=<12,0>] [entry=PageEntryV3{file: 0, offset: 0x0, size: 0, checksum: 0x0, tag: 0, field_offsets_size: 0}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=3] [page_id=101.5] [ver=<12,0>] [entry=PageEntryV3{file: 0, offset: 0x0, size: 0, checksum: 0x0, tag: 0, field_offsets_size: 0}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=3] [page_id=101.6] [ver=<12,0>] [entry=PageEntryV3{file: 0, offset: 0x0, size: 0, checksum: 0x0, tag: 0, field_offsets_size: 0}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=3] [page_id=101.7] [ver=<12,0>] [entry=PageEntryV3{file: 0, offset: 0x0, size: 0, checksum: 0x0, tag: 0, field_offsets_size: 0}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=3] [page_id=101.8] [ver=<12,0>] [entry=PageEntryV3{file: 0, offset: 0x0, size: 0, checksum: 0x0, tag: 0, field_offsets_size: 0}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=3] [page_id=101.9] [ver=<12,0>] [entry=PageEntryV3{file: 0, offset: 0x0, size: 0, checksum: 0x0, tag: 0, field_offsets_size: 0}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=3] [page_id=101.10] [ver=<12,0>] [entry=PageEntryV3{file: 0, offset: 0x0, size: 0, checksum: 0x0, tag: 0, field_offsets_size: 0}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=3] [page_id=101.11] [ver=<12,0>] [entry=PageEntryV3{file: 0, offset: 0x0, size: 0, checksum: 0x0, tag: 0, field_offsets_size: 0}]"] [thread_id=1]
[2022/05/19 23:16:31.713 +08:00] [DEBUG] [WALReader.cpp:205] ["WALStore:__global__.log Open log file for reading [file=/Users/tonglichen/sourcecode/tics_user/tics/cmake-build-debug/dbms/tmp/TestMode/DeltaMergeStoreRWTest.Split/V1_BlockOnly/page/log/wal/log_12_0]"] [thread_id=1]
[2022/05/19 23:16:31.714 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=0] [page_id=101.1] [ver=<13,0>] [entry=PageEntryV3{file: 2, offset: 0x0, size: 123, checksum: 0xAAAC173BB93C741C, tag: 0, field_offsets_size: 3}]"] [thread_id=1]
[2022/05/19 23:16:31.714 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=3] [page_id=101.1] [ver=<14,0>] [entry=PageEntryV3{file: 0, offset: 0x0, size: 0, checksum: 0x0, tag: 0, field_offsets_size: 0}]"] [thread_id=1]
[2022/05/19 23:16:31.714 +08:00] [DEBUG] [WALReader.cpp:205] ["WALStore:__global__.log Open log file for reading [file=/Users/tonglichen/sourcecode/tics_user/tics/cmake-build-debug/dbms/tmp/TestMode/DeltaMergeStoreRWTest.Split/V1_BlockOnly/page/log/wal/log_13_0]"] [thread_id=1]
[2022/05/19 23:16:31.714 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=0] [page_id=101.1] [ver=<15,0>] [entry=PageEntryV3{file: 3, offset: 0x0, size: 123, checksum: 0xEF35E318DC0A3DF3, tag: 0, field_offsets_size: 3}]"] [thread_id=1]
[2022/05/19 23:16:31.714 +08:00] [TRACE] [PageDirectoryFactory.cpp:116] ["PageDirectoryFactory:restoring record [type=2] [page_id=101.2] [ver=<16,0>] [entry=PageEntryV3{file: 0, offset: 0x0, size: 0, checksum: 0x0, tag: 0, field_offsets_size: 0}]"] [thread_id=1]
[2022/05/19 23:17:09.795 +08:00] [WARN] [PageDirectoryFactory.cpp:195] ["PageDirectoryFactory:try to resolve error during restore: try to create ref version with invalid state [ver=<16,0>] [ori_page_id=101.1] [state={type:5, create_ver: <0,0>, is_deleted: false, delete_ver: <0,0>, ori_page_id: 0.0, being_ref_count: 1, num_entries: 2}]:  [type=2] [page_id=101.2] [ver=<16,0>]"] [thread_id=1]
[2022/05/19 23:17:19.919 +08:00] [INFO] [PageDirectory.cpp:1372] ["PageDirectory:__global__.log After MVCC gc in memory [lowest_seq=0] clean [invalid_snapshot_nums=0] [invalid_page_nums=0] [total_deref_counter=0] [all_del_entries=0]. Still exist [snapshot_nums=0], [page_nums=11]. Longest alive snapshot: [longest_alive_snapshot_time=0] [longest_alive_snapshot_seq=0] [stale_snapshot_nums=0]"] [thread_id=1]

4. What is your TiFlash version? (Required)
bb572eba5d4cf4db000861b7ccfb70ac32df11a9

fixed in https://github.com/pingcap/tiflash/pull/4948


[T3A5][T17-A3]Chia Zhe Min

Added Contact abstract superclass, consolidated common attributes and methods to superclass

Ready for review


Update to conda 23.7.4

Description

Checklist - did you ...

[ ] Add a file to the news directory (using the template) for the next release's release notes?

[ ] Add / update necessary tests?
[ ] Add / update outdated documentation?

I'm going to update the changelog here in place too. No automation needed for a single PR.


WIP: Added nullable annotations to Avalonia.Win32.

What does the pull request do?
Adds nullability annotations to Avalonia.Win32.

Looks good for me as it is now. Will take another look after it will be ready to review.


100% CPU load when script is run in "stdin/stdout" mode

Describe the bug
When running the example1.py script in "stdin/stdout" mode the CPU load goes to 100%.
To Reproduce
Steps to reproduce the behavior:

Download "example1.py"
Comment out the IPyServer lines and add asyncio.run(driver.asyncrun()) as last line.
Run python3 example1.py
CPU load goes to 100%

Expected behavior
With the asyncio.sleep() instructions I would have expected a rather low CPU load.
Desktop (please complete the following information):

OS: Ubuntu Mate 22.04 on Raspberry Pi; also Kubuntu 22.04 on amd64

Yes, I've tried it and get the same, and nowhere near that load when listening on a port, so I guess the method of using stdin/out is at fault. I'll see if I can find anything.

Fix applied, now works fine on my PC.
Published on Pypi as version 1.3.5

Thanks, that fix resolves the issue.

Found the same problem when ipyserver had a remote connection to another server added. That is now fixed in version 1.3.6


Update copy strings to fix capitalisation

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #2891   👈

This comment was auto-generated by Graphite.


[1.10.2 - Beta4] Smart head / Armored Smart head has no difference

Besides the Armored Smart head costing more there is no difference between it and the Smart head (unless it's an asthetic change only) so it has no benefit. Armor rating stays the same. Health stays the same. Functionality stays the same. No differences in traits (ie Fragile, etc). Same seal accesses.

You probably have another golem part that adds the Fragile property. Fine manipulators, dart launchers, and levitation modules all give it that property.

Yup, it is simply a smart head without the fragile trait, so if your golem still has fragile then it is getting it from something else.


On Mac version, pressing Esc to dismiss the Save dialog crashes the app

RoslynPad on Mac unexpectedly quits if I press the Escape key when the Save dialog is open.
To Reproduce
Launch RoslynPad on the Mac, write some code, and then click the Save button. While the Save dialog is visible, press the Escape key.
Expected behavior
The Save dialog should dismiss without the application crashing
Version

OS: macOS 14.5
Build (or commit ID if built from source): 19.1.0

I think this is fixed in the main branch, as I've switched away from OS save dialogs to something like the Windows version. Please check v20 once it's realeased.


showClose property on popup d'ont appear

popup showclose button and ShowMax button don't appear, i change css file and w2ui from 1.4 to 1.5 file but nothing. is the any issue?

i try another css file wui1.4.css and it's appear but after three test, showmax et showclose button desapear again

Can you please provide a Fiddle/Bin/Pen to demonstrate the issue?

showClose and showMax are working fine in the demo: http://w2ui.com/web/demos/#/popup/1
Closing issue: cannot reproduce; no response


chore: Downgrade annotations to 8.0.0

Description
References
Link to assignment:
Checklist

[ ] Should the change be behind a feature flag?
[ ] Can the feature be meaningfully disabled or circumvented if there are issues (e.g., database-breaking changes)?
[ ] Has it been considered whether data is being delivered to the wrong actor?
[ ] Subsystem test executed (dev_002/dev_003)
[ ] Is there time to monitor state of the release to Production?
[ ] Reference to the task

Closing as we will fix it in: https://github.com/Energinet-DataHub/opengeh-process-manager/pull/23


Division operation

Adding the division operation.
Allows the division of two integer numbers of  "Bigint" data type, returning quotient and remainder.

ok, i will fix it.

divided by zero will get into infinite loop @MahmoudRizk

@TitanSnow , Thanks, i will fix it.

@MahmoudRizk , I found not only zero could cause this. Any number divided by nonpositive will also get into infinite loop. See this
#include"bigint.h"
using namespace Dodecahedron;
int main()
{Bigint a=10;
 Bigint b=-2;
 a/b;
 return 0;}

May you forget to check if number is not positive?

Division by zero bug is fixed.
Division of signed numbers bug half fixed, quotient will always be calculated correctly while the remainder is not.
The reason for not calculating the remainder correctly is because of the subtraction is not working properly.
There is someone fixed the subtraction code in the issues, but i don't want to commit code wasn't written by me.
@TitanSnow @kasparsklavins

:)

I dont like the current solution to dividing by zero.
Throwing an exception might be acceptable, so the behaviour is the same as with int type.

changed the way of error handling, you can check it. @kasparsklavins

I didn't notice that you are the one who made the subtraction fixing :laughing: , forgive me if you felt insult  for mentioning you by someone. @TitanSnow

I will look at it @TitanSnow

Anything new in this topic? Having a division operator would be great!

@karlphillip Before going over any PR's I want to add an automated test suite to reduce regressions. Havent had any time lately; not sure if this is used in production anywhere so I havent rushed it.


How to configure Webpack loaders

This is just a simple question, I hope: How do I configure webpack 2 loaders with angular-cli?
I need to pack also .json files using the file loader. But whenever I try to import "my.json"; the ng build process exits with You may need an appropriate loader to handle this file type.
But when I run ng init projectname there is no webpack.config.js to edit.

@httpdigest if you find anything on this, please let me know too, i will do the same if i find something related on this.
thanks

I just had a look at angular-cli's internal sources (under ~/AppData/Roaming/npm/node_modules/angular-cli/models/webpack-build-common.js), and it looks like it already is able to handle .json files.
I just needed to npm install the json-loader.

Oh, the actual use-case for me happened to be able to just copy some files into the dist folder.
We apparently did this in the past via the webpack file or raw loader and doing a require() on it so that webpack would pick the file up/recognize it.
Is there any other way to tell angular-cli and ultimately webpack to pick up other files and copy them to the dist folder?

Put them in the assets folder and in your angular-cli.json have this config:
"apps": [
        {
            "root": "src",
            "outDir": "dist",
            "assets": "assets"
....

cThanks alot. Did not know about that assets folder.
Is there a way to avoid angular-cli creating the "assets" folder inside the "dist" folder, but instead just copy the content of src/assets into dist, much like cp src/assets/* dist/ ?

I don't know any option like that. Although I've read somewhere that when nearing final status, the CLI team will look into ways to implement addons or more customization options, so I think it is just a matter of time.

Okay, thank you. I will stay with the best-practice approach of having the "assets/" folder, then.

Hi, sorry if the question is too stupid, but after moving the json files to the assets folder, how do I import them in my component?
I'm trying so:
import * as translationEN from '../assets/resources/locale-en.json'; import * as translationES from '../assets/resources/locale-es.json';
But I'm getting errors:
ERROR in [default] ....\workspaceFrontend\src\app\app.component.ts:10:31
Cannot find module '../assets/resources/locale-en.json'.
ERROR in [default] ....\workspaceFrontend\src\app\app.component.ts:11:31
Cannot find module '../assets/resources/locale-es.json'.
Folders structure:
workspaceFrontend\app...
workspaceFrontend\assets\resources..
workspaceFrontend\assets\fonts..
workspaceFrontend\assets\images..
workspaceFrontend\assets\
thanks!

There is a solution for custom loaders? I wan't to use custom loader for a specific type of files.
Can't use this at the moment because angular-cli does not let you change the Webpack config file.
My only solution at the moment is to use myLoader!myFile when importing the file...

@sdeuvarow Did you find a solution to that problem? I want to load the .json files containing the translated strings dynamically at runtime using the angular-cli.

Hi tschuege, I import the files by:
var enlang = require("../assets/lang-en.json");
var eslang = require("../assets/lang-es.json");

Then I'm using them so:
    this.locale.addLanguage('en');
    this.localization.addTranslation('en', enlang);

    this.locale.addLanguage('es');
    this.localization.addTranslation('es', eslang);

I think that is all I do ..

@sdeuvarow I also faced the same problem, but I was able to solve it with reference to this article. It may be too late ..
TypeScript Officeal Document: https://github.com/Microsoft/TypeScript/wiki/What's-new-in-TypeScript#wildcard-character-in-module-names