powershell core installations are creating desktop symlinks that breaks PSReadLine w. garbage chars

I just installed the latest PowerShell 7.2.0-preview.2 and yet again the pwsh link that appear on desktop has the classic broken command line garbage, as reported in several places (see #11685 and issues repos within) .
So I copied the old link I had, from and for pwsh 6.1.1, and modified it to be exactly the same (as above) as far as its adjustable in the file properties. The result is that the old link with new paths is working perfectly! Going through some link forensics from here I noticed that the two symlinks are different by ~40 bytes and by structure. This is only visible by hexedit/hexdump and not even the lnkinfo.exe forensic tool.
So unlike what was previously believed, this does not seem to be a PSReadLine issue.
The real question now, is why symlinks are created differently for the installers in the last 1.5 years?
Steps to reproduce

Install latest powershell
Open desktop terminal shell
type anything

Expected behavior
No pwsh terminal cmd line garbage
Actual behavior
shows broken ctrl characters
$ s [104m

Environment data

$  $PSVersionTable

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

and

-----------------------------------------------------------------------
  PowerShell Version    : 7.2.0-preview.2
  OS Name               : Microsoft Windows 8.1 (64-bit)
  OS Version            : 6.3.9600  [2014-08-16 00:50:01]
  OS BuildLabEx         : 9600.19880
  OS HAL                : 6.3.9600.18969
  OS Kernel             : 6.3.9600.18217
  OS UBR                : 19893
  -------------------------------------------------------
  on Host               : xxxx
  as User               : xxxx
  with Privilege        : Normal
  -------------------------------------------------------
  ExecutionPolicy:
      MachinePolicy     : Undefined
      UserPolicy        : Undefined
      Process           : Undefined
      CurrentUser       : Bypass
      LocalMachine      : RemoteSigned

  Firewall:
      Status            : OK

  Console Settings:
      Type              : ConsoleHost
      OutputEncoding    : Unicode (UTF-8)
      Color Capability  : 151
      Registry VT Level : 1
      CodePage (input)  : 437
      CodePage (output) : 437
      Mode (input)      : N/A
      Mode (output)     : N/A
      Buffer Size (W H) : 150 9009
      PSReadLine version: 2.1.0-beta2

Alternatively
Create a new symlink with Powershell using:
$ New-Item -ItemType SymbolicLink -Path C:\Users\xxxx\Desktop\pwss -Target "C:\Program Files\PowerShell\7-preview\pwsh.exe"

$ Get-ChildItem C:\Users\xxxx\Desktop\pwss | fl

    Directory: C:\Users\xxxx\Desktop

Name           : pwss
Length         : 0
CreationTime   : 2020-12-22 19:54:21
LastWriteTime  : 2020-12-22 19:54:21
LastAccessTime : 2020-12-22 19:54:21
Mode           : -a---l
LinkType       : SymbolicLink
Target         : {C:\Program Files\PowerShell\7-preview\pwsh.exe}
VersionInfo    : File:             C:\Users\xxxx\Desktop\pwss
                 InternalName:     pwsh.dll
                 OriginalFilename: pwsh.dll
                 FileVersion:      <IP_ADDRESS>
                 FileDescription:  pwsh
                 Product:          PowerShell
                 ProductVersion:   7.2.0-preview.2 SHA: 47ef533b2edd5f4cfae5adb9533613f142dc4315
                 Debug:            False
                 Patched:          False
                 PreRelease:       False
                 PrivateBuild:     False
                 SpecialBuild:     False
                 Language:         Language Neutral

That is also broken.
The same info for the old (modified symlink for pwsh preview ) that is working, is:
 $ Get-ChildItem C:\Users\xxxx\Desktop\pwsh7b.lnk | fl

    Directory: C:\Users\xxxx\Desktop

Name           : pwsh7b.lnk
Length         : 1716
CreationTime   : 2020-12-22 05:33:18
LastWriteTime  : 2020-12-22 05:36:06
LastAccessTime : 2020-12-22 05:33:18
Mode           : -a----
LinkType       :
Target         : {}
VersionInfo    : File:             C:\Users\xxxx\Desktop\pwsh7b.lnk
                 InternalName:
                 OriginalFilename:
                 FileVersion:
                 FileDescription:
                 Product:
                 ProductVersion:
                 Debug:            False
                 Patched:          False
                 PreRelease:       False
                 PrivateBuild:     False
                 SpecialBuild:     False
                 Language:

Unfortunately, this seem to be a more general problem, as it is not clear why these symlinks are looking so different.

Are they even symlinks?
Why doesn't the working links show the type as a symlink?
Why are the link target not reported?

The lnkinfo.exe tool is not able to read the New-Item created SymbolicLinks... While looking at them in Cygwin, the seem more like a cygwin softlink, reporting:
# \ls -lh pwss
lrwxrwxrwx 1 Administrators None 55 Dec 22 19:54 pwss -> /cygdrive/c/Program Files/PowerShell/7-preview/pwsh.exe

The same issue occurs, for any new "terminal" type of links. For example the Anaconda created one's have the same issue.

Are they even symlinks?

I have no idea what the issue is but a .lnk file is a shortcut file and not a symbolic link.

@jborean93
Yep, that certainly helps to know. I was sure Win shortcuts was the same as symbolic links. So then I suppose I need to change the title from "symlink" to "shortcut". Either way, how and where is the shortcut file structure defined?

I was informed that there is a metadata field in the shortcut.

Any idea what this is used for?
Where is it processed and used?

I have found a solution to this issue. It has something to do with the parsing of the console color properties within the terminal shortcut, and contained in the metadata property store data block. I managed to fix the broken shortcut, by editing the color definitions, resulting in about 4 different byte location changes. The byte structure of a windows shortcut seem to be mostly unknown apart from that researched by some reverse engineering specialists.
Why editing the colors individually is breaking terminal ANSI character behavior, is still unknown. This is after all a powershell constructed SymbolicLink.

The manual solution

open the properties of the shortcut that is causing the problem
open the properties of a shortcut that is not having the problem
select the color tab and compare the color boxes [] of both.
Then try to edit the colors of the broken shortcut. (You'll need to edit first the color codes for the box that is broken, then click on the color box that should be activated. These steps are shown in the pictures below.

The resulting binary diff can be shown to change 4 bytes at these locations of the shortcut.

The console colors are probably part of this structure:

https://github.com/libyal/liblnk/blob/main/documentation/Windows Shortcut File (LNK) format.asciidoc#621-console-color-flags

This bring up several questions.

Where exactly are these colors specified for default created windows shortcuts and SymbolicLinks?
How can we access and edit the console color fields when making links and shortcuts.
Is there a way to automatically fix all terminal shortcuts in one go?
Are there any registry items controlling these?
What are, and where are the official MS data structures for shortcuts and symbolic links?
(So we don't have to spend years and countless hours of hacking and reverse engineering to be able to figure out and solve these problems.)

This will hopefully resolve a large number of issues related to command line garbage. Such as:

https://github.com/PowerShell/PowerShell/issues/11685
https://github.com/PowerShell/PowerShell/issues/13057
https://github.com/PowerShell/PSReadLine/issues/1110
https://github.com/PowerShell/PSReadLine/issues/1508
https://github.com/PowerShell/PSReadLine/issues/1888

Where exactly are these colors specified for default created windows shortcuts and SymbolicLinks?

The conhost settings are stored in a shortcut as you've seen. The format as you've seen is a binary file but it is definitely documented. You can see the structure of the conhost settings in a shortcut/.lnk at MS-SHLINK 2.5.1 ConsoleDataBlock. When it comes to conhost settings there are 4 locations Windows uses:

The defaults in conhost itself - you cannot touch these
Your user account's specific settings in HKCU:\Console
A binary specific setting in HKCU:\Console\<exe path>
Shortcut (.lnk) specific settings

The priority goes from lowest to highest, i.e conhost settings in a shortcut will trump anything else. When changing the settings the Defaults option sets option 2, and Properties sets option 4 if you opened it through a shortcut (.lnk) or 3 if it's just a normal path/symbolic link.

Symbolic links have no special meaning here, they would just act like a different path so option 4 does not apply here. When testing that behaviour that's exactly what I see, any changes to the conhost properties are set under HKCU:\Console\<symlink path>.

How can we access and edit the console color fields when making links and shortcuts.

The official way is to open up the application using the shortcut and make the changes through the normal conhost properties. Any changes you make there will be set on the shortcut itself. There's probably third party tools out there that can do this for you and you could even create your own parser yourself if you really wanted to but dealing with binary data in PowerShell isn't the easiest thing to do.
As mentioned above symbolic links are treated the same as a normal path, that is any settings are stored in the registry (option 3) and not in the symbolic link itself.

Is there a way to automatically fix all terminal shortcuts in one go?

You can clear out any settings under HKCU:\Console\ so it always uses your default profile's settings. You would still need to deal with shortcut files yourself in another way. Changing the binary data would be quite cumbersome to my recommendation would be to delete and recreate the shortcut yourself (or just not use them at all).

Are there any registry items controlling these?

Yes, as mentioned above HKCU:\Console controls your user's default settings, and HKCU:\Console\<path> controls a path specific one.

What are, and where are the official MS data structures for shortcuts and symbolic links?

Shortcut files are documented under the MS-SHLLINK protocol. They are a shell implementation and sit at a higher layer than where PowerShell sits. There's probably boundless documentation on this format ranging from basic end user setup details all the way to the format of the file.
Symbolic links don't matter at all in this case. They are treated as just another path to the executable and based on the conhost settings they can have their own custom configuration if you so desire. In this case you should not treat symbolic links are any different from a normal path.
Now going forward conhost is considered a legacy product. The replacement from Microsoft is Windows Terminal which has been massively improved from conhost and handles things like Unicode characters and colours whereas conhost is quite limited. When using Windows Terminal then these conhost settings do not apply at all as it has it's own configuration settings.
If you wanted to learn more about conhost settings https://devblogs.microsoft.com/commandline/understanding-windows-console-host-settings/ is a great guide which goes further in depth to what I've mentioned here.

Great super good answer. Thank you, that clarifies a lot.
Since you mention it's legacy and this use case is for W81, I suppose this will never be fixed? (Or is/will windows terminal be available also for W81?)

I doubt it would ever be fixed as it's a fundamental problem with how conhost deals with console output. I don't believe it's anything that PowerShell can really deal with as the problem exists outside of it. Windows Terminal also cannot be backported to Windows 8.1 as it uses APIs only added in a particular Windows 10 build.

What is exact repro steps?

Install PS 6
Run PS with desktop shortcut and check colors - work as expected
Save the shortcut
Uninstall PS 6 and install PS 7
Run PS with desktop shortcut and check colors - one color is broken
Replace PS7 shortcut with PS 6 shortcut and replace path to point to PS 7 - colors work as expected.

@eabase Can you confirm?

Speaking as the owner of both conhost and the Windows Terminal (both of which are open-source), I'd like to clear up a few misconceptions.

conhost ... [legacy] ... [not supported]

We're avoiding the term "legacy" for the console host. It is an important and foundational part of Windows, and it is not becoming unsupported. It underpins all console applications, even inside Windows Terminal.
The product here that is unsupported is Windows 8.1. It predates almost all of our conhost changes, from VT support to word wrap to all of the allocation and memory and performance improvements. That version of Windows will not be receiving any further conhost or Terminal updates¹.

Symbolic links don't matter at all in this case.

There is a bug in Windows that results in an application launched from a symbolic link being told that it was launched from a shell link (!) whose path is the symbolic link (!) ². This may confuse some applications. This confuses conhost in a way that causes it to treat "L" or "F" as a hotkey (globally!) that will give the launched console window focus.

[some stuff about colors]

PowerShell made a [what should arguably be considered significant] mistake when it shipped and permanently redefined colors 5 and 6, as well as the default foreground/background colors, using its in-box lnk file. This is not normal, and should not be relied on. The color indices are fairly unyielding, and using the "powershell default" colors will cause you trouble literally everywhere else.

ConsoleDataBlock ... undocumented

Here's the source for the part of conhost that reads the shell link and pulls properties out of it. Our source is our documentation in many regards.

Escape character garbage ... [hex editing my shortcut file]
I doubt it would ever be fixed as it's a fundamental problem with how conhost deals with console output.

Nothing stored in the shortcut file will ever change the VT parsing behavior on Windows 8.1. That functionality does not exist in conhost.exe as of Windows 8.1. An application such as powershell emitting VT sequences to a console host that doesn't support it is an application bug.
(@jborean93) This is not a "fundamental problem," it is a feature that was implemented in the seven years since Windows 8.1 shipped.
¹ Rumor has it that a build of conhost from our open-source repository (OpenConsole, "Host.EXE") will run on Windows 8.1. YMMV. NO WARRANTY, EXPRESS OR IMPLIED. If it runs, it will support all modern console features from Windows 10.
² This will result in the application opening an executable as a lnk file and attempting to parse it. Not awesome.

Thanks for clarifying @DHowett!

@iSazonov  Yes, exactly. (But don't need to uninstall PS6.)

@DHowett
Thank you Dustin for such a detailed and interesting answer.

Rumor has it that a build of conhost from our open-source repository (OpenConsole, "Host.EXE") will run on Windows 8.1.

I love rumor's and would be happy to test, but how is that done? Just replacing conhost.exe with Host.EXE?

@eabase yes. Make sure you use a Release build, otherwise the performance will be quite unpleasant.

This is really OT
I couldn't find any statically pre-built exe's. Extracted Windows Terminal appx and ran terminals, only to get hit with a missing DLL
api-ms-win-core-wow-64-l1-1-1.dll
What is special about that one?
Can I throw in one found on a different system?


How to predict in sequential models ?

I am trying to predict the implicit sequential model.
data=[['useID','docid','timestamp']]

from sklearn import preprocessing
le_usr = preprocessing.LabelEncoder() # user encoder
le_itm = preprocessing.LabelEncoder() # item encoder

# shift item_ids with +1 (but not user_ids):
item_ids = (le_itm.fit_transform(data['docid'])+1).astype('int32')
user_ids = (le_usr.fit_transform(data['userID'])).astype('int32')

from spotlight.interactions import Interactions
implicit_interactions = Interactions(user_ids, item_ids, timestamps=data.timestamp)

from spotlight.cross_validation import user_based_train_test_split, random_train_test_split
train, test = user_based_train_test_split(implicit_interactions, 0.3)

Now I use the following code to train:
from spotlight.sequence.implicit import ImplicitSequenceModel
sequential_interaction = train.to_sequence()
implicit_sequence_model = ImplicitSequenceModel(use_cuda=False, n_iter=1, loss='bpr', representation='pooling')
implicit_sequence_model.fit(sequential_interaction, verbose=True)

But after this lets say i want to predict for "user_ids" (one hot encoded at the top) 1000, I dont know how to use the predict function.
As per my understanding, predict function should take the input of sequence for that user, but how to find out that sequence for that user?
sequential_interaction when used with .sequences() doesnt give me which row belongs to which user.
Can you please provide an example to use predict on this data ? Any example using implicit sequence model would be helpful.
Thanks

predictions = model.predict(ids) item_ids= (-predictions).argsort()[:10] # last 10 items print(item_ids) print(predictions[item_ids])

predictions = model.predict(ids)

item_ids= (-predictions).argsort()[:10] # last 10 items
print(item_ids)
print(predictions[item_ids])

In the above, how would we get the topk predictions per user? i.e for the last item in a sequence, I would want the top k predictions, not just the last x predictions?
Thanks!

In the above, how would we get the topk predictions per user? i.e for the last item in a sequence, I would want the top k predictions, not just the last x predictions?
Thanks!

The predict function only needs a (sorted) array of item indices as input to recommend the "next best items" given the input sequence.
It doesn't need any reference of the user_id or session_id, because it encodes the input sequence in the embedding space and then it matches its representation with the items one, using the dot product operator.

I am trying to predict the implicit sequential model.
data=[['useID','docid','timestamp']]

from sklearn import preprocessing
le_usr = preprocessing.LabelEncoder() # user encoder
le_itm = preprocessing.LabelEncoder() # item encoder

# shift item_ids with +1 (but not user_ids):
item_ids = (le_itm.fit_transform(data['docid'])+1).astype('int32')
user_ids = (le_usr.fit_transform(data['userID'])).astype('int32')

from spotlight.interactions import Interactions
implicit_interactions = Interactions(user_ids, item_ids, timestamps=data.timestamp)

from spotlight.cross_validation import user_based_train_test_split, random_train_test_split
train, test = user_based_train_test_split(implicit_interactions, 0.3)

Now I use the following code to train:
from spotlight.sequence.implicit import ImplicitSequenceModel
sequential_interaction = train.to_sequence()
implicit_sequence_model = ImplicitSequenceModel(use_cuda=False, n_iter=1, loss='bpr', representation='pooling')
implicit_sequence_model.fit(sequential_interaction, verbose=True)

But after this lets say i want to predict for "user_ids" (one hot encoded at the top) 1000, I dont know how to use the predict function.
As per my understanding, predict function should take the input of sequence for that user, but how to find out that sequence for that user?
sequential_interaction when used with .sequences() doesnt give me which row belongs to which user.
Can you please provide an example to use predict on this data ? Any example using implicit sequence model would be helpful.
Thanks


Is there an example for using this in a web app? Doing it on a console app is not really helpful.

Is there an example for using this in a web app? Doing it on a console app is not really helpful.
Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/d365community/forum/79b1327d-d925-ec11-b6e6-000d3a4f06a4.

@pfgar
Thanks for posting this. Based on that shared information we are not able to understand your query/feedback completely. Since this channel is for driving improvements towards MS Docs, could you provide the URL of the specific documentation that your feedback is applicable to? That way, we are able to make sure your feedback is addressed by the right team.


Update Nested Navigation snippet

Problem
Currently, Slate default "theme" is using the old liquid markup. We would need to update it to support 3 level and also add js to support basic keyboard navigation out of the box.

Thanks for posting @huguestennier
What JS for keyboard navigation did you have in mind?  I feel shipping any type of dropdown behaviour in Slate is in scope of the boilerplate because people would need to strip it out if they want different behaviour.
I think nested <ul> elements is all that's needed for demo the correct liquid syntax.  Can include aria-current="page" as well.

I am meeting with @t-kelly to discuss further of what we should include in the scope, but what about other aria-attributes à la aria-controls ?
It would be great to provide some keyboard navigation out of the box since it's something usually omitted by developers (and/or have difficulties with).
We could do every interaction with data-attribute so you could easily remove them if you want a different behaviour.
Maybe it's out of scope? if so, would there be a way for Shopify to provide developers an easy 3 level deep nav accessible out of the box?

For a Shopify themes baseline requirements, we have to ensure that tabbing properly works to navigate to all levels of the nested nav in sequence.  This also means that shift+tab would reverse the sequence.

We utilize aria-haspopup to signify that there are nested menus.

Indicates that the element has a popup context menu or sub-level menu.
https://www.w3.org/TR/wai-aria/states_and_properties#aria-haspopup

Finally, we set aria-hidden to true initially for any nested menus and then using JavaScript set it to false as the tab/focus/hover state changes.
https://www.w3.org/TR/wai-aria/states_and_properties#aria-hidden

It would be great to provide some keyboard navigation out of the box since it's something usually omitted by developers (and/or have difficulties with).

@huguestennier Following up on our IRL convo: I agree this would be useful and is often forgot.  However, I feel shipping a responsive menu with accompanying JS is outside the scope of the boilerplate.  Something to consider in the future, however.
@jonathanmoore thanks for sharing all that 😄  We have the same use of aria-haspop in Debut's latest iteration.

Even if the JavaScript is out of scope, the new nested navigation liquid should be implemented.  Is this something that you're waiting on until the new menus go live for everyone?
https://github.com/Shopify/slate/blob/master/packages/slate-theme/src/sections/header.liquid#L81-L104
https://help.shopify.com/themes/development/building-nested-navigation#new-liquid-syntax

@jonathanmoore Indeed! We plan on updating Slate with the new nested navigation liquid when it's live for everyone, that's why I wanted to discuss the scope of the work before updating it!


Update MNIST source url, original url is dead

http://yann.lecun.com/exdb/mnist/ is not accessible

Can one of the admins verify this patch?

@ilblackdragon @martinwicke
I don't think I can accept this PR.
I am not sure we would like to have a reference to a personal repository. We can think about alternate storage options for this dataset. Ilia, Martin, should we host this file instead? Are there any license implications we need to consider?

@gunan That would be the ideal solution. I think you should also consider hosting the files in https://github.com/tensorflow/tensorflow/commit/d2a5b7c8f9bd789423566c56c01d1f92cc94d74d in some place you can manage if license allows

Yeah, apparently there's been a change and it now requires a signup?
Anyway, we have asked before and we've always been turned down for re-hosting. Possibly we'll have to remove mnist altogether. Let me ask again.

Looks like this http://yann.lecun.com/exdb/mnist/ is working fine now!


Latest schedule data and photos

This now pretty majorly conflicts with the branch. I presume it's out of date. Can you delete if so?


Fix tmux.conf

Fix tmux "open new pane in current path" option.
It is necessary to use -F when using replacement variables.

Will send another one


[bug] arrow on table header not showing when default sort applied

Overview of the problem
Oruga version: [0.3.5]
Vuejs version: [2.6.12]
OS/Browser: chrome
Description
Sorted header doesnt showed up at first, when we use default-sort prop
Steps to reproduce
Set default-sort on table
Expected behavior
Sorted header work and arrow icon will showed up.
This is the reference https://buefy.org/documentation/table/#async-data.
vote count header get sorted at first load, when we set default-sort prop
Actual behavior
Header sorted state not shown

Double https://github.com/oruga-ui/oruga/issues/106


How to find peak frequency

Thanks for the reply
you gave me some sample data but I have to replace them with real data I take the biffer that gives me back nAudio
I changed the coce like this, in the meantime I don't have to plot but find the peak frequency of the voice or song:
void WaveIn_DataAvailable (object? sender, NAudio.Wave.WaveInEventArgs e)
{
     for (int i = 0; i <e.Buffer.Length / 2; i ++)
         AudioValues [i] = BitConverter.ToInt16 (e.Buffer, i * 2);

    // get FFT and FFT frequencies
    double [] paddedAudio = FftSharp.Pad.ZeroPad (AudioValues);
    double [] fft = FftSharp.Transform.FFTpower (paddedAudio);
    double fftFreqPeriod = FftSharp.Transform.FFTfreqPeriod (sampleRate, fft.Length);
    double fftFreqSpacing = 1.0 / fftFreqPeriod;
}

And now?
https://user-images.githubusercontent.com/4165489/195965290-06f570c8-caa2-4b4c-90af-62c2fe0652b0.png
I try to find the peak frequency of the graph, if you can complete the code for me?
Help me kindly, I have little experience in the audio field. If i can
Thank's
Mimmo

// find frequency with the highest FFT power
double peakFrequency = 0;
double peakPower = 0;
for (int i = 0; i < fft.Length; i++)
{
    if (fft[i] > peakPower)
    {
        peakPower = fft[i];
        peakFrequency = i * fftFreqPeriod;
    }
}

i have a topne at 523 Hz.
In this case the peakFrequency is 22050 Hz but the voice sing at 523 Hz ki need to find 523 Hz
The F0, it is called fundamental frequency of voice
Thanks
Mimmo


Set nullable context to disable for C# wrapper

I use nullable contexts on my project, and with the changes made on #60 I started to get warnings the other way around. The warning is CS8625: Cannot convert null literal to non-nullable reference type.
While the nullable context can be set for a file, if none is defined then the project setting is used. With the changes I made on #39, those warnings were solved for me, but other warnings were introduced for projects that didn't enable this feature (hence, #59 was created).
Although I believe everyone should enable nullable contexts when creating a new project (it's really handy in avoiding null reference exceptions!), Godot creates C# projects with this feature disabled. You have to change the project setting manually in order to use it, and I understand that the majority of users will not do this.
What I'm proposing, then, is to explicitly set the nullable context to disable at the C# wrapper file. That way everyone should be happy, the file setting will override the project setting and no one will get any warnings about nullability anymore. People using nullable contexts will have to be aware that better-terrain does not, but this is something you will have to do with all external libraries you use anyway, so it's not really a problem.
Also added the missing newline character at the end of the file.

Sorry for taking a bit to look at this. The change looks good, merging.


Remove extra calicoctl doc

Description

We've got better docs for this here: https://docs.projectcalico.org/v3.1/usage/calicoctl/install
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

@caseydavenport This page actually contains some unique information, although I think there could be some action to consolidate it with the other page, that's something I have not done yet so not sure we should lose this just now.

@emanic what extra information does this have?

@emanic I've moved the missing bit of info into the usage documentation


JSON.stringify extra this parameter in definition

lib Update Request
Configuration Check
My compilation target is ES2018 and my lib is ["es2018", "esnext", "dom", "dom.iterable", "scripthost"].
Missing / Incorrect Definition
It seems like the ReplacerFunction in the lib.es5.d.ts has an extra this parameter.
interface JSON {
    stringify(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
}

MDN only has the key, value in the arguments or the ReplacerFunction
Documentation Link
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify

Ah ok, thanks for clearing that up.


Reconfigure lead-off detection every ADS reset

Previously, this was only done at initial board reset, but this state would
get clobbered any time the sample rate was changed.
Also, this commit bumps the firmware version to 3.1.3.
Addresses #94.

Brad, this sounds great. Thanks very much for sleuthing this out. Mentioning @retiutut @conorrussomanno @produceconsumerobot @shirleyzhang867

Also mentioning @andrewjaykeller . AJ, this fixes impedance reading using the Wifi Shield, which was previously broken because of missing ADS1299 lead off setting.

Conor @conorrussomanno, who will merge this Pull Request? AJ likes it, but I don't think he has write access. There is another PR from May regarding reseting an SD card flag. Looks benign.
Seems like the firmware version number bump that Brad included in his PR is also a good idea.


Including Harddrives

I have a collection of recorded video files from TV, my digitized Bluray and DVDs and private videos on two hard disks. What I do not want is to upload those files into a Streama application that uses a postgres database on one disk, since then I would need to buy another bigger harddrive.
Use Case: I want to watch my home collection on my TV via WLAN. I do not want to switch between the two hard drives and I want to see cover images for my Bluray and DVD movies.
Are you planning on integrating an option to select videos from attached disk volumes?

So you want to have two (or more) seperate locations for files?

is this related to https://github.com/dularion/streama/issues/66 ?

Yes, I want to have different locations for files and it looks like that this really is a duplicate of #66!
One side question before closing it: Would it be possible to stream 1080p HD videos from my streama app deployed on a raspberry pi via DLNA to my TV or would I get awful laggs?

no DLNA support currently, there are some discussions regarding this though, see https://github.com/dularion/streama/issues/58. Regarding lags: not sure how DLNA does it, but I am hosting streama remotely and 1080p works great, in my case it depends on my local download and the upload capacity of the server. But again, not sure how DLNA does it.


[CFE] No error if type parameter uses covariant keyword

The following code produces an error in the analyzer but no issue in CFE
class C<T> {}

main() {
  var v = C<void Function(covariant num n)>(); // Analyzer error. The 'covariant' keyword can only be used for parameters
                                               // in instance methods or before non-final instance fields. Try
                                               // removing the 'covariant' keyword.  invalid_use_of_covariant
  print(v); // prints Instance of 'C<(num) => void>'
}

See also similar issue https://github.com/dart-lang/sdk/issues/52934
Tested with Dart SDK version: 3.5.0-edge.54abf5ea6b2b13732ae49a7338a1247df0afbb86 (main) (Sun Apr 21 18:04:39 2024 +0000) on "linux_x64"

I do recognize that the parser used by a tool can choose to handle some errors that are syntax errors according to the specified grammar as regular (non-syntax) compile-time errors. (A more permissive parser may allow for better error recovery and/or more informative error messages.)
That said, it should be noted that <functionType> does not derive void Function(covariant num n). In that sense it's simply a syntax error.
Perhaps the CFE parser could reject the construct as a syntax error? I'm just guessing that this might be a simple way to avoid having to deal with it.


Full-Screen console

#1032
'Full Screen console' feature is now available -
Before:

After:

Please review this

Once the user enters full screen do they have the option to go back to the original screen size?

Yes

I would suggest adding an alert that lingers for like 5 seconds or so at the top of the screen when the user enters full screen just so they know that they can press the "Esc" button to exit full screen mode.

I think that the browser does it by himself

Can you test it out on all of the browsers just to be sure? There might be some differences depending on the browser.

Ok, not all of the browsers pop a notification, but the exit way is to click F11.
So can we perhaps add a tooltip instead of a popup?

Ok, and yes F11 is the alternative.

this is how it looks now, the notification pop up is toasted only at the first time

this is how it looks now, the notification pop up is toasted only at the first time

I think it will be better if you set for this alert position: absolute and with top: property move it slightly lower.

I would change the message to the one that's pictured in the wireframe and make the toast notification less wide.

ci test please

@lwrigh

@lwrigh

Can the text be left aligned instead of center aligned?

@lwrigh

Ok, so the functionality that is implemented is to go from VM Portal with the full mast head + console actions + console to full screen like hitting F11.  Here is my question.
What about the console taking up the full browser page / tab?  That is what I actually intended in #1032.
@lwrigh , @yodem , @bond95 , @sgratch

Ok, so the functionality that is implemented is to go from VM Portal with the full mast head + console actions + console to full screen like hitting F11. Here is my question.
What about the console taking up the full browser page / tab? That is what I actually intended in #1032.
@lwrigh , @yodem , @bond95 , @sgratch

Full screen is my mind means taking up the full width of the screen so I would agree with Scott's comment.

@lwrigh @sjd78 I don't think that to make console a little bit bigger in tab is so very needed. Because for me full-screen mode means that user will use one console for a long time, that's why I think that full-screen is more useful than full-tab mode.

@lwrigh @sjd78 I don't think that to make console a little bit bigger in tab is so very needed. Because for me full-screen mode means that user will use one console for a long time, that's why I think that full-screen is more useful than full-tab mode.

@bond95 - For a large screen workstation, full screen may not even be that useful.  Launching a SPICE client is far more performant in that case.  But consider this case (screen shot from a small screen chromebook):

As a user, I would like to see as much of the console as possible but still be able to retain use of the browser tabs etc.  A user can already "F11" the browser to full screen mode, if they like once the console is full page (or fuller paged).
@lwrigh - Can you mockup a "full page" mode based on the above screenshot?  Also, can you ask around the UXD folks to see what they think?

Here's what I'm thinking the full screen would look like.

Here's what I'm thinking the full screen would look like.

@lwrigh .. Ok I finally understand the confusion @yodem was having with making the console "full screen".  Your mockup implies changing the zoom and/or aspect ratio in the existing content pane space such that there would be no letter boxing (black bars on top/bottom) or pillar boxing (black bars on left/right).
The current solution that pushes the console to be full screen like hitting F11.  I'm ok with this as it does the job.  (Try using the VNC browser console in cockpit with it can be painful when the resolution on the VM is greater than the available space on the page - it's painful).

LGTM


Historical block pruning

Problem description
Right now, the longer a user is running Lodestar, the more storage is required. This is not ideal and the only way right now to free up space is by deleting the db and checkpoint sync.
Ideally, we want to clean up historical blocks after a certain time period (e.g MIN_EPOCHS_FOR_BLOCK_REQUESTS = ~5 months) to keep storage requirements constant and at the same time be able to serve historical blocks to the network (required by range sync).
This will become even more relevant once we enable backfill sync.
Solution description
Clean up historical blocks after certain time period. We might wanna consider putting this behind a feature flag as nodes that are intentionally synced from genesis (or earlier checkpoint) do not want that data to be pruned.
Additional context
Discord discussion

also pruning old states which (depending on configuration) may be equal or greater source of disk usage

Can apply the same to states but I think we prune most of these already and store them very sparsely
https://github.com/ChainSafe/lodestar/blob/ff253a7e4b3dd0728e12c3beee7af702beb53c37/packages/beacon-node/src/chain/archiver/archiveStates.ts#L67-L70
We might wanna get some metrics on this, could be done via db.approximateSize by passing the corresponding range

regarding pruning old state, if we follow the design to only store state diff instead of state to disk then it becomes really lightweight and we don't need to think about this anymore, see https://github.com/dapplion/tree-states-review-guide/blob/main/persisted_hdiff.md
also it'll help with the historical state regen as stated in https://github.com/ChainSafe/lodestar/pull/6033#issuecomment-2246760041
we should prioritize that work instead imo


enable travis for e2e

https://github.com/open-cluster-management/backlog/issues/10602
/hold

/unhold

/lgtm


Update the security configuration documentation

The document, https://github.com/cloudfoundry/ibm-websphere-liberty-buildpack/blob/master/docs/restrictions.md, describes security configuration based on the ssl-1.0 feature. This needs to be updated to reflect the latest recommendation, https://developer.ibm.com/answers/questions/16016/how-do-i-enforce-ssl-for-my-bluemix-application/

The documentation mentioned, is only for Bluemix, this buildpack works on Cloud Foundry clouds in general not only Bluemix.


Documentation of a model property with custom (de)-serialization?

I have a model which has some getters / setters for fields of the type LocalDateTime. I do my own (de)-serialization in that case using JsonSerializer<?> / JsonDeserializer<?>. Essentially I want the API to tell the world that these fields are plain strings following ISO 8601. However, in the resulting JSON looks like this:
"LocalDateTime" : {
  "type" : "object",
  "properties" : {
    "dayOfMonth" : {
      "type" : "integer",
      "format" : "int32"
    },
    "dayOfWeek" : {
      "type" : "string",
      "enum" : [ "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY" ]
    },
    "dayOfYear" : {
      "type" : "integer",
      "format" : "int32"
    },
    "monthValue" : {
      "type" : "integer",
      "format" : "int32"
    },
    "hour" : {
      "type" : "integer",
      "format" : "int32"
    },
    "minute" : {
      "type" : "integer",
      "format" : "int32"
    },
    "second" : {
      "type" : "integer",
      "format" : "int32"
    },
    "nano" : {
      "type" : "integer",
      "format" : "int32"
    },
    "year" : {
      "type" : "integer",
      "format" : "int32"
    },
    "month" : {
      "type" : "string",
      "enum" : [ "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER" ]
    },
    "chronology" : {
      "$ref" : "#/definitions/Chronology"
    }
  }
}

This is clearly not what I want. Is there any way to tell swagger (using annotations) about the representation?

Which version of swagger-core do you use?

1.5.0 I guess:
<dependency>
  <groupId>io.swagger</groupId>
  <artifactId>swagger-jersey2-jaxrs</artifactId>
  <version>1.5.0</version>
</dependency>

Which LocalDateTime is that? Joda or Java 8?
I assume you use Gson for custom serialization and not Jackson?

It is java.time.LocalDateTime. I use these annotations:
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

and these classes for (de)-serialization:
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.fasterxml.jackson.databind.JsonSerializer;

How do you currently register your custom (de)serializer?

Well, I have some LocalDateTime data field and I use annotations like this:
@ApiModelProperty(value = "The departure time", required = false)
@JsonDeserialize(using = LocalDateTimeDeserializer.class)
@JsonSerialize(using = LocalDateTimeSerializer.class)
private LocalDateTime departureTime;

The deserializer looks like this:
public class LocalDateTimeDeserializer extends JsonDeserializer<LocalDateTime>{

    @Override
    public LocalDateTime deserialize(JsonParser jp, DeserializationContext ctxt)
            throws IOException, JsonProcessingException {
        return LocalDateTime.parse(jp.getText());
    }

}

I also face a similar problem, where I want for consumers of the api to expect strings while I internally want to use LocalDate/Time objects. Is there any solution in Swagger for this?

So, the swagger introspection logic does not look into custom deserializers.  Those do the work but not expose the structure that they will expose.  So:

Do not expect the @JsonDeserialize to be considered for producing the swagger.json
Do not expect the @JsonSerialize to be considered for producing the swagger.json

You can easily configure a different handling for LocalDateTime by configuring the ModelConverters though.  Please look at this test for an example:
https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-core/src/test/java/io/swagger/model/override/GericModelConverter.java
Just implement the resolveProperty to check for the type that you're interested in applying a special conversion to.

Nice answer @fehguy this is probably the way to go. But I managed to find a easy solution that fitted my needs:

Docket docket = ...;
docket.directModelSubstitute(LocalDate.class, String.class);
docket.directModelSubstitute(LocalDateTime.class, String.class);

The problem with this solution though is that when you have costume objects and need to have a mapping to some other data format. And maybe different types of mappings of the same origin datatype. This solution will override all controller methods returning dates and convert them to strings.

@fehguy Can you give me an example on how I can register such an CustomConverter. I created my own CustomConvert by implementing the ModelConvert. But I'm stuck because I don't now how I can register it so it will be used.

@Mowee if you look here in the tests:
https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-core/src/test/java/io/swagger/model/override/ModelPropertyOverrideTest.java#L15
You should see how to add your converter.  Please open a new issue if you still have trouble.

If google brought you here and another google search led you to the https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/ModelPropertyOverrideTest.java and then class https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/SamplePropertyConverter.java
Note that the if test at line https://github.com/swagger-api/swagger-core/blob/2b7a4f8f058dfbe321f5646b45d04ae5b8917abd/modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/SamplePropertyConverter.java#L21 needs to be removed for this to work for path parameters.


Fix test on nightly (unused_imports)

Already fixed by https://github.com/iron/iron/commit/ed0b849656189365e2b6241708c85c2b1a824f68


Rich notifications

Rich Notifications are supported now, can the API also support those?
https://developer.chrome.com/extensions/richNotifications

:+1: for this.
Only available in Chrome from my limited research.

Personally I'd rather this plugin focus on the standards version, instead of anything proprietary.

I should add, there are some nice new features coming via standards!

:+1: for following standards. Do you have some additional info for us @alexgibson ?


Examples of using Chevrotain using different implementation Languages.

There are slight syntax difference in how Chevrotain is used when writing in different implementation Languages. These should be better documented and concentrated in a single "place".
Possible implementation Languages:

ES5.
ES6.
TypeScript.
CoffeeScript(?).
Other?

LiveScript?

fixed in
https://github.com/SAP/chevrotain/pull/319


HM-LC-Sw1-SM shows battery although it is operated at 230v

Make sure you have read the documentation at https://github.com/danielperna84/custom_homematic#custom_homematic.
Make sure you are running the latest version of hahomematic or it's custom_component (and Home Assistant) before reporting an issue.
custom_component/hahomematic version (if applicable):
0.32.0
Home Assistant version (if applicable):
2022.2.6
CCU version:

Model (CCU2/3, Raspi3/4, NUC, ProxmoxVE, ...): ProxmoxVE
OS (Original, RaspberryMatic, debmatic/...): RaspberryMatic
Version: <IP_ADDRESS>20115

Problem-relevant configuration:
Do you use tls? No
Do you use callback? NN
Do you use username and password? Yes
Which interfaces do you use? NN
Describe the bug
According to the state (correct) the integrationn shows a battery state for HM-LC-Sw1-SM although this module can only be operated at 230V.
To Reproduce
Relevant HA log entries
Expected behavior
Just the state, no battery element.
Screenshots
Additional context

This is an auto-generated device, for which we interpret the given parameters.
The paramset contains a LOWBAT, so an entity LOWBAT gets generated.
So just disable the entity and ignore it.


Update invite rewards banner to explain rules of program

Description
This PR updates copy for the invite rewards banner.
Other changes
Update the translation merge so that in dev mode, local translations override the OTA translations and we can actually see the changes we're making 🙈
Tested
Manually
How others should test
The send rewards banner should have the english text as in the screenshot.

Related issues

Fixes #2261

Backwards compatibility
Yes

Hey @MuckT, We have verified above task on Latest iOS Test flight Alfa jores Build, Android Alfa jores Build V1.32.0 & updated status in test rails.

“Confirmation error” popup appears when user tries to connect phone number after creating account, so user is not able to confirm the phone number.

New Bug : link
Test rail links:
iOS 15: https://valoraapp.testrail.io/index.php?/tests/view/33520
Android 10: https://valoraapp.testrail.io/index.php?/tests/view/33535
Devices: iPhone 13 mini(15.1.1), Google Pixel XL (10.0)
cc: @kathaypacific
Thanks..!!

Hey @MuckT, We have verified above task on Latest iOS Test flight Alfa jores Build V1.32.0 & updated status in test rails.
Observation

Confirmation error is seen when user is connected to US VPN and tries to connect number
Confirmation error is seen when user is not connected to VPN but tries to connect using US number

New Bug : link
Test rail links:
iOS 15: https://valoraapp.testrail.io/index.php?/tests/view/33518
iOS 14: https://valoraapp.testrail.io/index.php?/tests/view/33503
Devices: iPhone 13 mini(15.1.1), iPhone 12 (14.7.1)
CC: @kathaypacific
Thanks..!!

Hey @MuckT, We have verified above task on Latest Android internal Alfajores Build V1.32.1 & updated status in test rails.
Test rail links:
Android 10: https://valoraapp.testrail.io/index.php?/tests/view/33535
Android 11: https://valoraapp.testrail.io/index.php?/tests/view/33550
Devices: Google Pixel 2XL(11.0), Samsung Galaxy M31(10.0)
CC: @kathaypacific
Thanks..!!


Add simonmichael/hledger v1.27.1

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Does your manifest conform to the 1.2 schema? It's a zip portable on 1.4 schema. We'd wait for 1.4 is out.

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@msftbot .zip

[Policy] Reset Feedback

@wingetbot run


BR: Discovery Service integration

The BR should periodically contact the DS and fetch the current topology file. If the topology file contains changes it should enact those changes.
The BR will also enact changes in the BR section of the topology. Thus, the full topology must not be stripped.

split into #2235 and #2234


Play on Linux \ Wine = Failed to connect to GLOBAL user

I am using wine version 4.19

More of an issue with wine.
I personally recommend KVM.


9 create binder

Create docker for mybinder including jupytext.

https://mybinder.org/v2/gh/MeasureTransport/MParT-examples/9-create-binder

Thanks @bonh !  Do we need to add the jupytext annotations to the other .py files?  Currently, it looks like only the MonotoneLeastSquares example is getting converted into a notebook.

Yes, that‘s correct. This is just an example as ˋMonotoneLeastSquares.pyˋ is not formulated as a notebook yet. If we want we can collect all the *.py files automatically and transform them into notebooks. Or we add each file we want to be transformed into a notebook by hand.


Widestring literals

There exist quite a handy crate: https://docs.rs/wchar. It provides wch_c! macro, which converts a sting literal to &'static [u16] at compile time.
It would be great to have a similar macro in widestring-rs, so you could define &'static U16CStr constants.

There's also utf16_lit which does roughly the same thing, but doesn't have a dependency on syn, which is nice.


Plans for a new Release

The last official release has been about a year ago. In the meantime some important commits (additional bad package definitions, additional compile options) have been added. Any chance we get a new official release and a version bump to 0.0.9 anytime soon?

Sooo, @scottyab  are we getting a release anytime soon? :)

Sorry for the delay. 0.0.9 has been published to maven central. Thanks for the interest and the prompt for the release


[FEATURE] Improve PyTorch-user adoption by better aligning with expected behaviours of Dataset and DataLoader

🚨🚨 Feature Request

[ ] Related to an existing Issue
[x] A new implementation (Improvement, Extension)

Is your feature request related to a problem?
The current way the hub implements PyTorch datasets/dataloaders looks like the following:
dataset = hub.load(self.dataset_path).pytorch()

where .pytorch's signature looks like so:
@hub_reporter.record_call
    def pytorch(
        self,
        transform: Optional[Callable] = None,
        tensors: Optional[Sequence[str]] = None,
        num_workers: int = 1,
        batch_size: int = 1,
        drop_last: bool = False,
        collate_fn: Optional[Callable] = None,
        pin_memory: bool = False,
        shuffle: bool = False,
        buffer_size: int = 2048,
        use_local_cache: bool = False,
        use_progress_bar: bool = False,
    ):

The issue I have is that most people using PyTorch have implemented their Dataset and DataLoaders as per the standard guidelines. That means that a dataset looks like this:
import os
import pandas as pd
from torchvision.io import read_image

class CustomImageDataset(Dataset):
    def __init__(self, annotations_file, img_dir, transform=None, target_transform=None):
        self.img_labels = pd.read_csv(annotations_file)
        self.img_dir = img_dir
        self.transform = transform
        self.target_transform = target_transform

    def __len__(self):
        return len(self.img_labels)

    def __getitem__(self, idx):
        img_path = os.path.join(self.img_dir, self.img_labels.iloc[idx, 0])
        image = read_image(img_path)
        label = self.img_labels.iloc[idx, 1]
        if self.transform:
            image = self.transform(image)
        if self.target_transform:
            label = self.target_transform(label)
        return image, label

And a DataLoader looks like this:
from torch.utils.data import DataLoader

train_dataloader = DataLoader(training_data, batch_size=64, shuffle=True)
test_dataloader = DataLoader(test_data, batch_size=64, shuffle=True)

The main issue stems from the fact that most if not all of PyTorch's existing codebase's pass transforms to the Dataset class, and NOT the DataLoader class.
The fact that hub passes transforms to the DataLoader class directly will cause a lot of friction between existing Datasets and their transfer to activeloop's hub, or, in my case, to be able to have an ecosystem where hub datasets and other PyTorch datasets live in harmony.
Here's how I am currently porting activeloop datasets into a format that conforms with the standard way that Pytorch datasets are built. I hope it can help in some way.
import pathlib
from multiprocessing import cpu_count
from typing import Union, Optional, Callable

import hub
import torch
from torch.utils.data import Dataset
from torchvision import transforms
from gate.base.utils.loggers import get_logger

log = get_logger(__name__, set_default_handler=True)

class ImageNetClassificationDataset(Dataset):
    def __init__(
        self,
        dataset_root: Union[str, pathlib.Path],
        set_name: str,
        input_transform: Optional[Callable],
        download: bool = True,
        target_transform: Optional[Callable] = None,
    ):
        super().__init__()

        self.dataset_path = f"hub://activeloop/imagenet-{set_name}"
        if download:
            hub.copy(
                src=self.dataset_path,
                dest=dataset_root,
                overwrite=True,
                num_workers=cpu_count(),
            )
            self.dataset = hub.load(dataset_root)
        else:
            self.dataset = hub.load(self.dataset_path)
        log.info(f"Loaded dataset with {self.dataset} items")
        self.download = download
        self.input_transform = input_transform
        self.target_transform = target_transform

    def __len__(self):
        return len(self.dataset)

    def __getitem__(self, index):
        item = self.dataset[index]
        x, y_labels, y_bounding_boxes = (
            torch.Tensor(item["images"].numpy()),
            torch.Tensor(item["labels"].numpy().astype(int)),
            torch.Tensor(item["boxes"].numpy()),
        )
        pilify = transforms.ToPILImage()
        x = pilify(x.permute([2, 0, 1]))
        x = self.input_transform(x)

        if self.target_transform is not None:
            y_labels = self.target_transform(y_labels)

        return {"image": x}, {"image": y_labels}

Hey @AntreasAntoniou We're currently making several updates to our training API in order to enable more customizability between a hub datasets and pytorch training. Our primary tradeoff is that it's hard to make the pytorch syntax above highly performant unless we re-implement key methods like prefetching and shuffling inside hub. However, we can definitely expose more customizability beyond our current blackbox ds.pytorch implementation.
Which is more important to you, customizability or streaming performance?

Streaming performance for sure.
The main thing that I would love to have is to be able to create new datasets by inheriting from hub datasets for example. As it currently stands the code I am showing above is the best I could come up with.
In an ideal world we'd have the standard Dataset/DataLoader separation that PyTorch has, to maximize compatibility with existing datasets, and increase onboarding speed for new hub users, and, increase their productivity on first usage (which can increase adoption).
Since I do not know what tradeoffs exist, it would be nice if you could describe or show me some proposals, and I could give you my two cents?
I'll ask my research group to pitch in too, so you get feedback from more than just one person.

@AntreasAntoniou here is a of draft potential pytorch dataloader APIs that we have brainstormed. Would love to get your feedback (and possibly your colleagues) to see which option you prefer most. Feel free to suggestion an Option 4 if you think there is a better way we have missed.
https://activeloop.notion.site/Feedback-on-Pytorch-Data-loader-b70881cf7e5947838d49b05789653940

@davidbuniat Option 1 is the best I believe. Love how it's exactly how the default Pytorch does things. Should make adoption and extension so much easier.

Thanks a lot for your input @AntreasAntoniou!

The only issue with Option 1 is that it makes quite tricky (or nearly impossible) to do JIT optimizations on transform function or future near-zero copy transfer to GPUs.
So we might keep this option for easy onboarding, but for speed and performance come up with another option if the users prefer so.

Added minor Option 1.2 that replaces index: int in get_item with item: hub.Sample that can directly return torch tensor.
class CustomDataset(hub.TorchDataset):
    def __init__(self, path, **kwargs):
        super().__init__(path, **kwargs) # hub.load automatically happens here
        # some init

    def __getitem__(self, item: hub.Sample):
        # item['tensor_name'] will return directly torch.tensor
        # slightly tricky with complex htypes such as json or dicom
        images, labels = item
        # do some transformation
        # difficult to enable JIT optimizations here, but we can give a try
        return image, label

Do you think this would create a lot of limitations for users?

I like the way you think regarding JIT and future-proofing for GPU speed ups.
I actually told @istranic yesterday that one way to go could be to do something similar to what Pytorch does with scripting and tracing.
You can have your fully flexible dynamic graph with default PyTorch, or restrict yourself a bit and get speed ups with scripting and tracing. One is less restrictive than the other, but the more restrictions generally the more JIT optimization you can do.
For your new proposal with item: hub.Sample, I like it better than what is currently available, but it is a bit awkward as the get_item function is expected to get an index and return an item, so the 1.2 proposal feels a bit unorthodox and likely to cause confusion imho.


CDLL llama_init_from_file function

I try to load a model and get this error:
llama.cpp: loading model from ggml-model.bin
Traceback (most recent call last):
  File "D:\Projects\llama-cpp-python-test\main.py", line 2, in <module>
    llm = Llama(model_path="ggml-model.bin")
  File "D:\Program Files\Python310\lib\site-packages\llama_cpp\llama.py", line 107, in __init__
    self.ctx = llama_cpp.llama_init_from_file(
  File "D:\Program Files\Python310\lib\site-packages\llama_cpp\llama_cpp.py", line 152, in llama_init_from_file
    return _lib.llama_init_from_file(path_model, params)
OSError: [WinError -1073741795] Windows Error 0xc000001d
Exception ignored in: <function Llama.__del__ at 0x000002595C895BD0>
Traceback (most recent call last):
  File "D:\Program Files\Python310\lib\site-packages\llama_cpp\llama.py", line 785, in __del__
    if self.ctx is not None:
AttributeError: 'Llama' object has no attribute 'ctx'

After searching around in the code, I came to the conclusion that the error is caused by trying to execute the llama_init_from_file function, which is loaded from the shared library.
def llama_init_from_file(
    path_model: bytes, params: llama_context_params
) -> llama_context_p:
    return _lib.llama_init_from_file(path_model, params)

Shared library is loaded in normal mode and all other functions in it work. Only llama_init_from_file causes an error.

i would check you model path name.  it seems to only occur when you have a bad path name.  (otherwise i suspect it skips this)

Can this issue be closed?


[ACR] Reduce the size of the test blob in UploadDownload large blob test

ACR live tests sometimes fail on Mac due to time-outs (e.g. here).  Reducing the size of the large blob upload/download to address this.

API change check
API changes are not detected in this pull request.

/check-enforcer reset

/check-enforcer evaluate


macOS Ventura Support

As was announced during the WWDC22 keynote speech, the next release of macOS is Ventura and is to be expected later in 2022.
I haven't run Auto Clicker on macOS Ventura yet, as at the moment I don't have a spare machine to run the Ventura Beta on (and haven't had time to spin up a VM), so at this time I have no idea if the app works on Ventura as-is ~ although if you've been running it on Ventura, it would be great to have some feedback on this so please leave a comment on this thread below.
I'm happily accepting any PR's on support for Ventura if support patches are required.
The only other issue is that I will need to wait for GitHub to release a new runner for macos-13 in order to have the CI/CD flow generate builds for Big Sur, Monterey and the newly released Ventura. No doubt there will also be required upgrades and patching to get all that to work due to newer versions of packages (maybe) and Xcode also being required.

Hello, I'm running macOS Ventura and everything is running as intended. You can safely say it is compatible with this version :)

@Zw211 ah thats excellent news, thank you for trying it and providing feedback! Shall keep tabs on it as the beta progresses ;)

So I've just upgraded to Ventura 13.0 at the main release, everything appears to work fine, there is just a visual bug regarding the vertical spacing of the text, as seen below.

Everything else appears to work in my testing;

[ ] Quit app on main window close option
[ ] Hide dock icon option
[ ] Global keyboard shortcut options
[ ] Always keep the main window on top option
[ ] Appearance options
[ ] All menu bar functionality
[ ] All app functionality


Disable REST exception listener for the website

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Fixed tickets
fixes #640

License
MIT

What's in this PR?
Disables the REST exception listener for the website.
Why?
Because the error pages didn't work anymore.

Is this a solution or a workaround until it gets sorted out?

@sagikazarmark ... yes.

Öhm, which one? :stuck_out_tongue:

@sagikazarmark ... added a comment https://github.com/sulu-io/sulu-standard/blob/develop/app/config/website/sulu.yml#L22

:+1: Thanks


[apply-login-partner-changes] - APPLY Form, layout and validations

Describe the bug
The Apply forms for all roles, should be adjusted to use the application font, and must have the mandatory fields validated, as well as numbered fields.
To Reproduce
Steps to reproduce the behavior:

Go to Apply
Click on Mentee, Mentor, or Partner
Review the form
See layout, font is not the same font as of application.
See font layout size, it is too smal, please increase one or two points
Form validation, all fields must be validated to be mandatory, or optional, and data type must be checked on each before submitting.

Expected behavior
Font used must follow same application site font style
Screenshots
This is not the right font and size

The font and layout used in build profile form, is the correct one, see below example

Fixed @eslamzaaki


how to upload files

I am sure that I am missing something very obvious, but I cannot understand how to upload a photo inside the editor.
What I do:

press 'image'
find the file
press send to server
press OK

But I get an error : 'image source URL is missing'
What else is needed? How will my route be called to debug it?
![git1](https://cloud.githubusercontent.com/assets/17019706/12741342/17c1649c-c984-11e5-824b-970f02da858a.png

I'm sorry but I can't help you without more explanation. Have you followed this steps: https://github.com/egeloen/IvoryCKEditorBundle/blob/master/Resources/doc/file_browse_upload.md ?

I have refined the doc in #213 I hope it is more clear now... If no, please re-open an issue as for me everything is working fine and without more explanation, I can't help.

Hi Eric and thanks for your reply.
My issue is: I want to upload a file in the editor, not use the gallery. So
I don't need the 'browse' parameters, right?
So I set my upload routing only:
'filebrowserUploadRoute' =>
'GeneralGeneralBundle_account_profile_question_photo_upload',
'filebrowserUploadRouteParameters' => array('user_id' => '10',
'responseType' => 'json'),
'filebrowserUploadRouteAbsolute'   => true,
But when I submit I get 'image source url is missing'.
Can you give me a configuration that will work, since I am missing
something obvious here.
Thank you!
On 22 February 2016 at 10:49, Eric GELOEN<EMAIL_ADDRESS>wrote:

I have refined the doc in #213
https://github.com/egeloen/IvoryCKEditorBundle/pull/213 I hope it is
more clear now... If no, please re-open an issue as for me everything is
working fine and without more explanation, I can't help.
—
Reply to this email directly or view it on GitHub
https://github.com/egeloen/IvoryCKEditorBundle/issues/206#issuecomment-187076682
.

--
The greatest enemy of knowledge is not ignorance, it is the illusion of
knowledge

Stephen Hawking

If you can fork my Symfony SE from this branch (https://github.com/egeloen/symfony-standard/tree/ckeditor) and add your code to reproduce your issue, you're awesome! It will be more rapid for me to debug it otherwise I will need to boostrap all the upload and the code in a new branch to give it a try...

Hi Erik.
I am not so familiar with github and I hope I did what you ask me to do.
I created a new file QuestionType in my fork root.
My issue is: I want to upload a file in the editor, not use the gallery. So
I don't need the 'browse' parameters, right?
But when I submit I get 'image source url is missing'.
Please let me know if i need to do something different.
thanks
Aristos
On 7 March 2016 at 12:52, Eric GELOEN<EMAIL_ADDRESS>wrote:

If you can fork my Symfony SE from this branch (
https://github.com/egeloen/symfony-standard/tree/ckeditor) and add your
code to reproduce your issue, you're awesome! It will be more rapid for me
to debug it otherwise I will need to boostrap all the upload and the code
in a new branch to give it a try...
—
Reply to this email directly or view it on GitHub
https://github.com/egeloen/IvoryCKEditorBundle/issues/206#issuecomment-193202473
.

--
The greatest enemy of knowledge is not ignorance, it is the illusion of
knowledge

Stephen Hawking

@aristos32 Nice if you have forked my repository. Can you give ma a link pointing to your branch?

@aristos32  Are you looking for drag and drop kind of functionality?

@napestershine yes . But still cannot upload to my server. I tried add-ons uploadimage and uploadwidget. If you can suggest a successful configuration it would be great.
@egeloen attached you can find my form/type file
QuestionType.txt

So after looking to your issue, the issue you got is "normal". When you integrate an upload feature in CKEditor, the url field is not automatically populated as CKEditor does not know where you have stored your images (it can be a different server than the one used for rendering your page).
So, knowing that, it's up to you to manage the url propagation into the url field. Take a look here, everything is explained.
Closing as there is nothing wrong in the bundle.


chatbot recipe broken

Got this error:

From main branch:

make quadlet
podman play kube build/chatbot.yaml

@sallyom PTAL

Are you aware if there is a test in place which identifies this problem? If not, would it be possible to start mitigating it with implementing a test which can be invoked in CI?


[Bug] ActionSheetConfig - Item Text appearance can't be changed

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[ ] iOS
[x] Android
[ ] UWP
[ ] .NET Standard

Version of Library
<IP_ADDRESS>5
Version of OS(s) listed above with issue
Xamarin Android
Steps to Reproduce
Hi,
I know I can customize the style of the the UserDialogs but I can't find a way to change the
text style / size / font of the "Item Text".
ActionSheetConfig actionSheetConfig = new ActionSheetConfig()
                    .SetTitle("My Title")
                    .SetMessage("My Message")
                    .SetUseBottomSheet(false);

actionSheetConfig.AndroidStyleId = Resource.Style.MyStyle;

actionSheetConfig.Add(
                "Item Text",
                () =>
                {
                     //Do something
                },
                "icon.png"
                );

UserDialogs.Instance.ActionSheet(actionSheetConfig);

What style.xml items are used to modify the "Item Text" appearance ?
<style name="MyStyle">
    <item name="????????">???????</item>
  </style>

I don't want to change any title, message or button style properties.
Thx.
Expected Behavior
Some way to change the "Item Text" appearance.
Actual Behavior
Can't change the "Item Text" appearance.

I don't recall.  This is something you will have to search up in the android docs


Mouse button input hardly works on Mac

Original: https://github.com/tomaka/glutin/issues/557

@dylanede do you still have this problem? I can't seem to recreate this on OS X 10.10.5. I get the feeling this was probably fixed long ago.

Maybe we can close this, if it cannot be reproduced any more ?


Support JSON-RPC 2.0 request batches

Support JSON-RPC 2.0 request batches

Updated now, copied and pasted the wrong file in.


MQTT_URL Refresh, Misc Bugs fixes and Further implementation

Addressed issue listed here:
#22

Moved Probe Entity from Sensor to Climate and updated calls.
Added switch entity for "S.Smoke" "Keepwarm" and "Connectivity."
Added number entity for setting Timer in minutes.
Added timer_start and timer_end to sensor entity.
Changed naming conventions to ensure multiple grills (on a single account) might get named properly.
Added Call_Later implementation to update MQTT_URL.
Added some new .pngs

@njobrien1006 this is awesome! would you mind adding the iot class for this too? looks like our tests want it now.

@sebirdman
I think that is what you were looking for. Sorry for the duplicates, this is new to me.
There is one residual issue that may need some fixing. I have found that the HA reboot time when ".Connect switch" is ON can take a very long time (like 3.5 minutes). Turning the switch off before reboot can reboot HA in less than a minute (on my system). Turning the switch off Kills the auxiliary thread and un-schedules the main refresh task.
Similar to await client.start() in the async_setup_entry I tried adding await coordinator.kill() to async_unload_entry but have been unsuccessful in improving reboot times. Any suggestions?


add flag publish_odom_tf (default to true)

Yes. This certainly helps.
To make it even better, a 2nd set of odom_frame_id and pose_frame_id is needed - smth like tf_odom_frame_id and tf_pose_frame_id (with default values identical to odom_frame_id and pose_frame_id). So, that the next TF links are published: tf_odom_frame_id -> tf_pose_frame_id, pose_frame_id -> base_frame_id. And odometry message published with pose_frame_id and base_frame_id.
This way we can use odometry message and pose_frame_id sub-tree for robot_localization, etc, and tf_odom_frame_id -> tf_pose_frame_id TF link for smth else (trajectory building, etc.).
Or, by setting tf_pose_frame_id = pose_frame_id, we can use it as before.

I merge this PR.
Add launch param:

publish_odom_tf : Defaults to True. If True publish TF from odom_frame to pose_frame.

About the second suggestion, I need more time to get to the bottom of the need and I don't want to postpone the current addition.


⚠ ClamAV has degraded performance

In 348d0a2, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 439 ms

Resolved: ClamAV performance has improved in 8fdf7e6.


lumi.lock.mcn01   Xiaomi Smart Lock Support

Device model
lumi.lock.mcn01
Device name
Xiaomi Smart Lock
Does the device require a MiCloud connection?
Don’t know
Anything special about the device?
This is the original version that doesn’t support HomeKit, however it can use BLE connect to Xiaomi app using xiaomi gateway device (model ID: xiaomi.gateway.hub1)
Currently when I add the device to HomeBridge via BLE method, the device will only show up as “battery” and “not supported” on HomeKit app

The plugin currently does not support lock devices so that would first need to be added. I will see what I can do.

@merdok Good afternoon! Your plugin is very cool. I thank you for your work!
Could you add another Xiaomi m20 lock to the plugin?

The look.look model.t2 pv1.

log:
[26.12.2024, 14:06:49] [miot] [Замок] Initializing device services
[26.12.2024, 14:06:49] [miot] [Замок] Device services: [
"lock",
"door",
"battery",
"doorbell",
"video-doorbell",
"motion-detection",
"p2p-stream",
"battery",
"customized-service-for-ble",
"customized-for-wifi"
]
[26.12.2024, 14:06:49] [miot] [Замок] Initializing device properties
[26.12.2024, 14:06:49] [miot] [Замок] Device properties: [
"lock:operation-position",
"lock:operation-method",
"lock:lock-action",
"lock:operation-id",
"lock:current-time",
"lock:abnormal-condition",
"door:door-state",
"battery:battery-level",
"doorbell:current-time",
"video-doorbell:on",
"video-doorbell:status",
"video-doorbell:night-shot",
"video-doorbell:wdr-mode",
"video-doorbell:eco",
"video-doorbell:ringtone",
"video-doorbell:image-distortion-correction",
"video-doorbell:cloud-video-id",
"video-doorbell:current-time",
"motion-detection:detection-sensitivity",
"motion-detection:motion-detection-start-time",
"motion-detection:motion-detection-end-time",
"battery10:battery-level",
"customized-service-for-ble:customized-argument-2",
"customized-service-for-ble:customized-argument-4",
"customized-service-for-ble:customized-argument-5",
"customized-service-for-ble:customized-argument-6",
"customized-service-for-ble:customized-argument-1",
"customized-for-wifi:auto-screen-on",
"customized-for-wifi:screen-on-duration",
"customized-for-wifi:record-someone-pass",
"customized-for-wifi:record-someone-stay",
"customized-for-wifi:stay-duration",
"customized-for-wifi:glimmer-full-color",
"customized-for-wifi:eco-wakeup-duration",
"customized-for-wifi:real-view-start-time",
"customized-for-wifi:real-view-end-time",
"customized-for-wifi:ver-wifi-detail",
"customized-for-wifi:ver-lock-detail",
"customized-for-wifi:ver-camera-detail",
"customized-for-wifi:ver-fw-camera",
"customized-for-wifi:lcd-show-mode",
"customized-for-wifi:battery-update-time",
"customized-for-wifi:device-status",
"customized-for-wifi:online-timestamp"
]
[26.12.2024, 14:06:49] [miot] [Замок] Initializing device actions
[26.12.2024, 14:06:49] [miot] [Замок] Device actions: [
"p2p-stream:start-p2p-stream",
"p2p-stream:stop-stream",
"customized-for-wifi:rpc-doorbell",
"customized-for-wifi:rpc-preview",
"customized-for-wifi:rpc-record",
"customized-for-wifi:system-reboot",
"customized-for-wifi:sync-setting-ask"
]
[26.12.2024, 14:06:49] [miot] [Замок] Successfully created a Generic device! It is a Lock.
[26.12.2024, 14:06:49] [miot] [Замок] Initializing accessory!
[26.12.2024, 14:06:49] [miot] [Замок] Accessory successfully initialized!
[26.12.2024, 14:06:49] [miot] [Замок] Registering 1 accessories!
[26.12.2024, 14:06:49] [miot] [Замок] Everything looks good! Initiating property polling!
[26.12.2024, 14:06:49] [miot] [Замок] Log in to MiCloud!

The thing is that i do not know what property or action controls the lock, you would need to create some actionButtons and propertyControl and check which of these does control the lock state.


[Feature] Implement CachingRemoteFileIO

What type of PR is this：

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
https://github.com/StarRocks/starrocks/issues/11349
Problem Summary(Required) ：

CahcingRemoteFileIO mainly to use HiveRemoteFileIO or HudiRemoteFileIO to pull remote file's metadata from hdfs or s3. The CachingRemoteFileIO#getRemoteFiles(RemotePathKey pathKey) can be used in parallel.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

[FE PR Coverage Check]
:heart_eyes: pass : 16 / 20 (80.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/external/CachingRemoteFileIO.java
16
20
80.00%
[49, 50, 51, 70]

run starrocks_admit_test

run starrocks_admit_test


Add date for first session of day when SessionPage.Favorite

Kind (Required)

Improvement

Overview (Required)

Links

It seems to be fixed by #574 . So I'll close this PR👋
But, We have a problem in #752.
We are looking forward to someone's contribution!


update presentation-exchange package with latest bug fixes + enhancements

The downstream copy of the presexch package has had bug fixes and improvements made to it: https://github.com/trustbloc/edge-adapter/tree/master/pkg/presexch

blocked by decentralized-identity/presentation-exchange#26

We can explore the option of providing a pre-configured document loader with the context loaded.


Fix istioctl analyze docs url version error

Fix https://github.com/istio/istio/issues/30515
[X] Installation
[X] User Experience
[X] Does not have any changes that may affect Istio users.

@kebe7jun: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
e4f26f8d5fdc8e25211fb05da586841d93a7c2af
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-notes_istio

@kebe7jun: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
e4f26f8d5fdc8e25211fb05da586841d93a7c2af
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/label release-notes-none

/release-note-none

/test release-notes_istio

@kebe7jun: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
e4f26f8d5fdc8e25211fb05da586841d93a7c2af
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kebe7jun: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
dfedc09e60901069d8eac69a9119b670f425cdf5
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/label release-note-none

@howardjohn  hello, it seems that I can not add release-note-none label for this pr, would you plz help me?

/test release-notes_istio

@kebe7jun: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-multicluster-tests_istio
dfedc09e60901069d8eac69a9119b670f425cdf5
link
/test integ-pilot-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Review of Comparison Between Privacy Schedules

Describe the issue
Review the comparison between the Fed's privacy schedule and the BC gov privacy schedule with Matt Reed.
Which Sprint Priority is this issue related to?
Policy Framework Sprint 5
Definition of done
Have a concrete next step

Waiting on Annex E from Fed's (if we can get it).


Config changes to reflect the default branch from master to main. Please merge to complete the default branch renaming job.

Auto branch renaming content.

Docs Build status updates of commit fb3d85d:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch e7a82bfc-039e-4085-aeb2-71e2f574edc1 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Extension - Re-check min amount on popup Pay attention in case there is not enough balance to stake

Describe the task
Re-check min amount on popup Pay attention in case there is not enough balance to stake
Actual : Shows min amount as 0.5 even though balance has 1 DOT

Expect : Show the correct min amount to avoid confusing users

Version test : http://localhost:8900/s/bAoz5RjGFbsN33a
Account test : 1jmxua3SLJQTjoJJz9XoCutjdgK3McJJ6jSKqSAerxqyzBf

[ ] Re-check max transferable when perform XCM on Transfer features
[ ] Re-check logic validate when perform stake
[ ] Re-check show min balance calculation on popup

Version test : http://localhost:8900/s/NgHH7Bio8HABESg

[ ] Update content for popup
Expect : "You need to deposit an additional {x} DOT (Bifrost Polkadot) or {y} DOT (Polkadot) to start earning "

Version test : http://localhost:8900/s/mBte4AGwLPkzcQJ
Validation passed in case :

Install/update version

Check with specific account/all account mode

Re-check max transferable when perform XCM on Transfer features :

Has locked
Account test : 16ZL8yLyXv3V3L3z9ofR1ovFLziyXaN1DPq4yffMAZ9czzBD

Not locked :
Account test : 1BzDB5n2rfSJwvuCW9deKY9XnUyys8Gy44SoX8tRNDCFBhx

Re-check show min balance calculation on popup
Account test : 15u5Mc3nEiX671EardtpjPSwVNpnp2AL6Zy6zL17AUeTVnJA

Re-check logic validate when perform stake

Re-check when stake other network


DB lookup fail in insertABlock (erikd/shelley-32byte-address-hash)

[db-sync-node:Info:27] [2020-06-14 09:26:33.59 UTC] Starting chainSyncClient
[db-sync-node:Info:27] [2020-06-14 09:26:33.64 UTC] Cardano.Db tip is at empty (genesis)
[db-sync-node:Info:33] [2020-06-14 09:26:33.64 UTC] Running DB thread
[db-sync-node:Info:33] [2020-06-14 09:26:33.97 UTC] Shelley: Rollbacking to slot 7505, hash 4f6eac703201587503bc9816e2be69a2c4f2c5e55460b0e830c21219d158fcd9
[db-sync-node:Error:33] [2020-06-14 09:26:34.29 UTC] DB lookup fail in insertABlock: block hash 4f6eac703201587503bc9816e2be69a2c4f2c5e55460b0e830c21219d158fcd9
[db-sync-node:Info:33] [2020-06-14 09:26:34.29 UTC] Shutting down DB thread
[db-sync-node.Handshake:Info:51] [2020-06-14 09:26:43.44 UTC] [String "Send MsgProposeVersions (fromList [(NodeToClientV_2,TInt 42)])",String "LocalHandshakeTrace",String "ConnectionId {localAddress = LocalAddress {getFilePath = ""}, remoteAddress = LocalAddress {getFilePath = "/home/ubuntu/.piper"}}"]
[db-sync-node.Handshake:Info:51] [2020-06-14 09:26:43.44 UTC] [String "Recv MsgAcceptVersion NodeToClientV_2 (TInt 42)",String "LocalHandshakeTrace",String "ConnectionId {localAddress = LocalAddress {getFilePath = ""}, remoteAddress = LocalAddress {getFilePath = "/home/ubuntu/.piper"}}"]
[db-sync-node:Info:55] [2020-06-14 09:26:43.44 UTC] Starting chainSyncClient
[db-sync-node:Info:55] [2020-06-14 09:26:43.52 UTC] Cardano.Db tip is at empty (genesis)
[db-sync-node:Info:60] [2020-06-14 09:26:43.52 UTC] Running DB thread
[db-sync-node:Info:60] [2020-06-14 09:26:43.75 UTC] Shelley: Rollbacking to slot 7486, hash f3e9f26c0beab717b81cc1d934f7d55579de2fbc01ac7bf4443d4511ae5290ac
[db-sync-node:Error:60] [2020-06-14 09:26:44.78 UTC] DB lookup fail in insertABlock: block hash f3e9f26c0beab717b81cc1d934f7d55579de2fbc01ac7bf4443d4511ae5290ac
[db-sync-node:Info:60] [2020-06-14 09:26:44.78 UTC] Shutting down DB thread
[db-sync-node:Error:63] [2020-06-14 09:26:44.80 UTC] recvMsgRollForward: AsyncCancelled

This is a work-in-progress. You are building and running a branch I am still working on. Quite honestly raising tickets on my WIP branches wastes your time and mine.

Hey @erikd I've been hit by this problem twice today [0][1] and I think there is a related problem about this: main thread of the process freezes but won't exit >0; so for example, my docker container is not automatically respawned.
JFTR, I'm using cardano-db-sync:5.0.1 official docker image.
[0]
[db-sync-node:Info:3354] [2020-09-26 04:29:44.87 UTC] insertByronBlock: slot 3025000, block 3023467, hash 43b510c9fa0d1021d4efbfb0a07c1e90f40258c05d7d66b266aee4fb9963f678
[db-sync-node:Error:3354] [2020-09-26 04:29:59.56 UTC] DB lookup fail in insertABlock: block hash f8452c44591e3db7d5534ceaaff56922609d81deed45b953e7220601bfd4ec87
[db-sync-node:Info:3354] [2020-09-26 04:29:59.56 UTC] Shutting down DB thread
[db-sync-node:Error:3357] [2020-09-26 04:29:59.56 UTC] recvMsgRollForward: AsyncCancelled
...
FROZEN FOREVER
...

[1]
Generating PGPASS file
Connecting to network: mainnet
[db-sync-node:Info:4] [2020-09-26 09:01:38.91 UTC] NetworkMagic: 764824073
[db-sync-node:Info:4] [2020-09-26 09:02:11.59 UTC] Initial genesis distribution present and correct
[db-sync-node:Info:4] [2020-09-26 09:02:11.59 UTC] Total genesis supply of Ada:<PHONE_NUMBER>5.000000
[db-sync-node:Info:4] [2020-09-26 09:02:11.69 UTC] Inserting Shelley Genesis distribution
[db-sync-node:Info:4] [2020-09-26 09:02:11.83 UTC] epochPluginOnStartup: Checking
[db-sync-node:Info:4] [2020-09-26 09:02:11.86 UTC] localInitiatorNetworkApplication: connecting to node via "/node-ipc/node.socket"
[db-sync-node.Handshake:Info:30] [2020-09-26 09:02:11.86 UTC] [String "Send MsgProposeVersions (fromList [(NodeToClientV_1,TInt 764824073),(NodeToClientV_2,TInt 764824073),(NodeToClientV_3,TInt 764824073)])",String "LocalHandshakeTrace",String "ConnectionId {localAddress = LocalAddress {getFilePath = \"\"}, remoteAddress = LocalAddress {getFilePath = \"/ipc/node.socket\"}}"]
[db-sync-node.Handshake:Info:30] [2020-09-26 09:02:11.87 UTC] [String "Recv MsgAcceptVersion NodeToClientV_3 (TInt 764824073)",String "LocalHandshakeTrace",String "ConnectionId {localAddress = LocalAddress {getFilePath = \"\"}, remoteAddress = LocalAddress {getFilePath = \"/ipc/node.socket\"}}"]
[db-sync-node:Info:34] [2020-09-26 09:02:11.87 UTC] Starting chainSyncClient
[db-sync-node:Info:34] [2020-09-26 09:02:13.97 UTC] Cardano.Db tip is at slot 3025325, block 3023792
[db-sync-node:Info:39] [2020-09-26 09:02:13.97 UTC] Running DB thread
[db-sync-node:Info:39] [2020-09-26 09:02:14.45 UTC] Rolling back to slot 3025325, hash f8452c44591e3db7d5534ceaaff56922609d81deed45b953e7220601bfd4ec87
[db-sync-node:Info:39] [2020-09-26 09:02:14.46 UTC] Deleting blocks numbered: []
[db-sync-node:Info:42] [2020-09-26 09:02:14.58 UTC] getHistoryInterpreter: acquired
[db-sync-node:Error:39] [2020-09-26 09:02:42.88 UTC] DB lookup fail in insertABlock: block hash ff6d511e65fb979ac511e8658c20cfe608bdfe7d3e6172f49115e52487812423
[db-sync-node:Info:39] [2020-09-26 09:02:42.88 UTC] Shutting down DB thread
[db-sync-node:Error:42] [2020-09-26 09:02:42.89 UTC] recvMsgRollForward: AsyncCancelled
...
FROZEN FOREVER
...

If you are seeing this on version 5.0.1 you should open a new ticket because this is an old issue raised against an old work-in-progress branch,


Update README.md

[ ] You've read the Contributor Guide and Code of Conduct.
[ ] You've included unit or integration tests for your change, where applicable.
[ ] You've included inline docs for your change, where applicable.
[ ] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

PR Title
Summary of the changes (Less than 80 chars)
PR Description
Detail 1
Detail 2
Fixes #bugnumber (in this specific format)

/benchmark

/benchmark

/benchmark

/benchmark

/benchmark mvc

/benchmark mvc

/benchmark mvc

/benchmark mvc

/benchmark mvc

/benchmark mvc

/benchmark mvc

/benchmark mvc

/benchmark mvc

/benchmark mvc

/benchmark mvc

/benchmark mvc

/benchmark mvc

/benchmark mvc

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel

/benchmark kestrel


Provision with Packer and Chef

Hey all,
To be clear I git cloned this repo, downloaded the binary and saved it as  ~/.packer.d/plugins/packer-provisioner-goss with 0755 permissions.
This is a sample goss/goss.yml file, my real one looks similar obviously:
{
  "builders": [
    {
      "type": "googlecompute",
      "project_id": "foo",
      "zone": "us-west2-b",
      "machine_type": "n1-standard-2",
      "preemptible": true,
      "ssh_username": "ubuntu",
      "source_image_family": "ubuntu-1804-lts"
    }
  ],
  "provisioners": [
    {
      "type": "chef-solo",
      "version": "14.7.17",
      "cookbook_paths": [
        "cookbooks"
      ],
      "chef_environment": "myenv",
      "data_bags_path": "data_bags/myenv",
      "environments_path": "environments",
      "roles_path": "roles/myenv",
      "run_list": [
        "role[foo]"
      ]
    },
    {
      "type": "goss",
      "retry_timeout": "5m",
      "sleep": "5s",
      "tests": [
        "goss/goss.yml"
      ]
    }
  ]
}

I then run the following:
packer build

I come back with an error of:
Remote command exited with '1': chmod +x

Any ideas? I highly appreciate it,
Montana Mendy.

Try again with the latest Packer Plugin Installation method introduced in #69


Backslashes in URLs

Woods generates weird URLs with backslashes on my end, example:
http://localhost:3000/\about-us\
Chrome does correct this, but not firefox. I'm on a Win7 machine, if that's of any help.
Any ideas for a quick fix?

Just submitted a pull request which fixes this issue.

Thanks!

@puckey  Page.js:Line 89 looks like another problematic method.

indeed - same goes for line 103 - any chance you could go through all uses of path.join?

Fixed all except siteSync:163 . Not sure what's going on there, you should have a look.


Full documentation of EasyAuth endpoints

Where can we find a full documentation for all EasyAuth endpoints, for example - what is the sign out end point?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 13176d24-57e1-33bb-1948-a086df502dca
Version Independent ID: 1c15986a-adf6-6f99-72b4-e2a351d0c15e
Content: Authentication and authorization in Azure App Service
Content Source: articles/app-service/app-service-authentication-overview.md
Service: app-service
GitHub Login: @mattchenderson
Microsoft Alias: mahender

hi team, any updates on this? I figured out that:
/.auth/logout?post_logout_redirect_uri=[x] is the one for signing users out
/.auth/me is for getting user info
what endpoint is for allowing users edit their profile?
is there another endpoint for allowing users delete their account?
are there any other endpoints? where is a full documentation for the entire API?

Hi @Lucasmike, thanks for your patience. Unfortunately, we currently do not have a doc that contains a full list of endpoints. I am assiging this issue to the doc author to see if we can make an enhancement to the doc to include a list of common endpoints for users. Thanks for your feedback!

@lucasmike In the meantime please take a look at https://github.com/cgillum/easyauth/wiki for info.
BTW the /.auth/me info is taken directly from the token. You cannot edit this information.

@lucasmike I've added some of the missing information to https://docs.microsoft.com/en-us/azure/app-service/app-service-authentication-how-to. The changes should be published in a few hours. Thank you for the feedback. #please-close


Get latest version of NASA WorldWind.

Test instructions:
branch: feature/emp3-android#198-NASA-WorldWind-Latest
Install Capability Tester
Launch Map
Do some basic zoom, pan, tilt operations.
Run Add Remove Get Test and add all different features.


Team Summery

Summery of team members in team page

If team hasn't any projects, graphs show error.


README Improvements

Hi,
I made some improvements to the README.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
256

Relevant Lines:
256

💛  - Coveralls

Thank you @markrogoyski for your PR!


Updating architecture diagrams

Purpose
Updating architecture diagrams in key concepts, setting up databases and IS and KM pages

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