feature  support simply  profile

Proposed changes
A Simplified Version of the Profile
Divided into three levels:
Level 2: The original profile.
Level 1: Instances with identical structures are merged, utilizing concatenation for info strings, and recording the extremum for time types.
Level 0: Building upon Level 1, only time types are retained, with further reduction in content.
Note that currently, this is purely experimental, simplifying the profile on the frontend (you can view profiles at any level).
Subsequently, we will transition the simplification process to the backend. At that point, due to the simplification being done on the backend, viewing profiles at other levels won't be possible.
Due to the issue with the pipeline structure, the active time does not accurately reflect the time of the operators.
For a query with a concurrency of 8, the size of the profile without simplification is 177, and after simplification, it is
 Execution  Profile  30cb172aa19e4cce-b45b989c0abbd4a3:(Active:  2s286ms,  %  non-child:  0.00%)
        Fragments:
            Fragment  0:
                Instance  (1):
                    VDataBufferSender:
                          -  AppendBatchTime:  252.726us
                              -  ResultSendTime:  189.8us
                              -  TupleConvertTime:  21.359us
                    VEXCHANGE_NODE:(Active:  10.319us,  %  non-child:  0.00%)
            Fragment  1:
                Instance  (8):
                    VDataStreamSender:(Active:  202.237us,  %  non-child:  0.00%)
                          -  LocalSendTime:  39.782us
                    VAGGREGATION_NODE:(Active:  1.370ms,  %  non-child:  0.00%)
                          -  DeserializeAndMergeTime:  17.283us
                          -  GetResultsTime:  514.601us
                          -  HashTableComputeTime:  205.922us
                          -  HashTableEmplaceTime:  183.886us
                          -  HashTableIterateTime:  2.476us
                          -  InsertKeysToColumnTime:  14.591us
                          -  MergeTime:  399.524us
                        VEXCHANGE_NODE:(Active:  164.537us,  %  non-child:  0.00%)
            Fragment  2:
                Instance  (8):
                    VDataStreamSender:(Active:  662.230us,  %  non-child:  0.00%)
                          -  LocalSendTime:  203.603us
                          -  SplitBlockDistributeByChannelTime:  35.594us
                          -  SplitBlockHashComputeTime:  14.272us
                    VAGGREGATION_NODE:(Active:  1.230ms,  %  non-child:  0.00%)
                          -  BuildTime:  1s30ms
                          -  ExecTime:  138.179ms
                          -  ExprTime:  4.819ms
                          -  GetResultsTime:  268.492us
                          -  HashTableComputeTime:  872.902ms
                          -  HashTableEmplaceTime:  868.42ms
                          -  HashTableIterateTime:  5.542us
                          -  InsertKeysToColumnTime:  31.977us
                          -  SerializeDataTime:  12.581us
                          -  SerializeResultTime:  301.88us
                        VNewOlapScanNode(db):(Active:  66.138ms,  %  non-child:  0.00%)
                              -  AcquireRuntimeFilterTime:  2.163us
                              -  AllocateResourceTime:  746.158us
                              -  GetNextTime:  68.420ms
                              -  NumScanners:  16
                              -  ProcessConjunctTime:  321.295us
                              -  ProjectionTime:  15s72ms
                              -  ScannerWorkerWaitTime:  158.466ms
                            VScanner:
                                  -  BlockFetchTime:  3s84ms
                                  -  ScannerCpuTime:  3s301ms
                                  -  ScannerCtxSchedTime:  48.302ms
                                  -  ScannerFilterTime:  6.623ms
                                  -  ScannerGetBlockTime:  3s118ms
                                  -  ScannerInitTime:  64.958us
                                SegmentIterator:
                                      -  BitmapIndexFilterTimer:  52.691us
                                      -  BlockConditionsFilteredTime:  106.24us
                                      -  BlockInitTime:  470.621us
                                      -  BlockLoadTime:  3s77ms
                                      -  DecompressorTimer:  205.613ms
                                      -  FirstReadSeekTime:  480ns
                                      -  FirstReadTime:  3s48ms
                                      -  IOTimer:  85.522ms
                                      -  InvertedIndexFilterTime:  45.860us
                                      -  OutputColumnTime:  3.604ms
                                      -  OutputIndexResultColumnTimer:  2.966ms

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.25 seconds
stream load tsv:          538 seconds loaded<PHONE_NUMBER>9 Bytes, about 132 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>5 Bytes

run buildall

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 48.11 seconds
stream load tsv:          551 seconds loaded<PHONE_NUMBER>9 Bytes, about 129 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          29.6 seconds inserted 10000000 Rows, about 337K ops/s
storage size:<PHONE_NUMBER>2 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.02 seconds
stream load tsv:          533 seconds loaded<PHONE_NUMBER>9 Bytes, about 133 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>8 Bytes

run buildall

run p1

run buildall

run arm

run buildall

run clickbench

run buildall

run buildall

run p0

Not  merge to 2.0.3, new profile will merge to 2.0 branch using a new pr


Chrome and Firefox are missing subtest results

See below (or any other test result page):
https://wptdashboard.appspot.com/2dcontext/building-paths/canvas_complexshapes_arcto_001.htm

The files are there but the problem is due to the way we build the results URL. After switching to using browsers.json keys, the format of the platform id in the file no longer matches the URL we build.


The link for ml extension is unavailable

Prerequisites

[X] Write a descriptive title.
[X] Search the existing issues.
[X] I am reporting the documentation problem for the current version of Azure CLI.

Azure CLI version being used
2.36.0
Link to affected document
https://docs.microsoft.com/en-us/cli/azure/azure-cli-extensions-list
Description of the documentation error
The link for ml extension is unavailable in https://docs.microsoft.com/en-us/cli/azure/azure-cli-extensions-list:

ml
2.15.0
Microsoft Azure Command-Line Tools AzureMachineLearningWorkspaces Extension
Preview
2.3.1

[ml](https://github.com/Azure/azure-cli-extensions/tree/master/src/machinelearningservices)	2.15.0	Microsoft Azure Command-Line Tools AzureMachineLearningWorkspaces Extension	Preview	[2.3.1](https://github.com/Azure/azure-cli-extensions/tree/master/src/machinelearningservices/HISTORY.rst)
Suggested fix
No response

Thanks for reporting this. I have assigned the issue to the content author to investigate further and update the document as appropriate.

slowlyswimming,  Thanks for providing feedback that helps improve our documentation.  This issue has been corrected.


Update the link to Git for Windows' homepage

We followed GitHub's suggestion to use HTTPS and .io...
Signed-off-by: Johannes Schindelin<EMAIL_ADDRESS>

Thanks!


Follow to desktop not working

I'm using windows10DesktopManager on my old laptop with the following modified lines in windows10.ahk:
globalDesktopManager.setGoToDesktop("<^<#")	; LCtrl+LWin+[1-9]	- Go to desktop number [1-9]
    .setMoveWindowToDesktop("<^<!")    		; LCtrl+LAlt+[1-9]	- Move active window & go to desktop number [1-9]
    .setMoveWindowToNextDesktop("<^<!right")	; LCtrl+LAlt+Right	- Move active window to next desktop
    .setMoveWindowToPreviousDesktop("<^<!left")	; LCtrl+LAlt+Left	- Move active window to previous desktop
    .setCloseDesktop("<^<#<+x")			; LCtrl+LWin+LShift+X	- Close current desktop
	.setNewDesktop("<^<#<+n")		; LCtrl+LWin+LShift+N	- Create new desktop
    .followToDesktopAfterMovingWindow(true)

This uses Ctrl + Alt + [Left/Right] to move windows to previous/next desktop and it follows the window when it moves.
However, for some reason, when I tried to use this same set up on my new laptop, it won't follow the window when the window moves.
Both laptops are running 64bit Windows 10 and both have windows10.ahk modified in the same way. As far as I'm aware everything else is the same.
I tried forcing windowMover.ahk to follow on move by changing:
followToNewDesktop := false to followToNewDesktop := true
and
follow := false to follow := true
wherever they appear, but that didn't help so I reverted back to the original.
Extra info: I've also tried using different combos of keys. E.g.

the original "Capslock & s",
"LCtrl & LShift & Left", also written as "<^<+left",
"LCtrl & LShift & LAlt & Left" also written as "<^<+<!left",
None of these work either.
 I know semi-colon is used to comment lines out but I'm not sure what the tilde does so, when I uncommented the line, I tried running the script with tilde included and with it removed. Neither version worked.

Can you suggest what might be wrong with my set up and/or how to fix it?
Thanks

very strange. Can you add a msgbox in the _followWindow function in windowMover.ahk. Maybe like this
_followWindow(hwnd)
	{
msgbox, "follow window is getting called!"
		if(this.followToNewDesktop)
		{
msgbox, "and i'm trying to follow to the next desktop"
			this._deActivateActiveWindow()
			WinActivate, % "ahk_id " hwnd
		}
		return this
	}

also, why is there no return in the _deActivateActiveWindow function. It's been a while since I've played with autohotkey so maybe it's fine... Try  adding a return anyway.
_deActivateActiveWindow()
	{
		Gui, new
		Gui, Show
		Gui, destroy
return this
	}

Okay. I grabbed a fresh copy of the original files and made the changes you suggested as well as uncommenting the .followToDesktopAfterMovingWindow(true) line in windows10.ahk.
I then ran the script and used the Capslock + s hotkey to call ( as set in the .setMoveWindowToNextDesktop("Capslock & s") line) which caused the active window to move and the "follow window is getting called!" message to appear (I think it happened in that order but it was too fast for me to be sure about the order).
After I dismissed the first message, the second message "and i'm trying to follow to the next desktop" appeared.
Unfortunately, (at least as far I can tell) at no point does the active desktop change.
I don't know whether you need it but here's the output data:

Lines most recently executed
Variables and their contents
Hotkeys and their methods
Key history and script info.

I should also point out that the hotkeys for GoToNextDesktop and GoToPreviousDesktop are working just fine.
In case it helps at all, while I was waiting to hear back on my first post, I created my own version of the script where I copied:

moveActiveWindowToNextDesktop
to create these two variations:
moveActiveWindowToNextDesktopNoFollow - with follow essentially hard coded to false.
moveActiveWindowToNextDesktopAndFollow - with follow essentially hard coded to true.

I did the same with moveActiveWindowToPreviousDesktop. This was partly in attempt to test further but also because -- if I ever manage to get the "AndFollow" option working -- I'd prefer to be able to assign separate hotkeys to the "AndFollow" and "NoFollow" options because then I can use "NoFollow" AND/OR "AndFollow" rather than "NoFollow" XOR "AndFollow".
Even though the changes seemed to work (no obvious errors anyway), the "AndFollow" hotkeys still don't trigger a follow to occur after the move effectively making them do the same thing as the "NoFollow" versions.

I've now also tried running it the scripts on a MS Surface and I'm having the same problem there... I can move windows to previous/next desktop but I cannot get it to follow on move.

thanks for the info. Lets try using the function that is working then. For now change the moveActiveWindowToDesktop function in windowMover.ahk to look like this:
moveActiveWindowToDesktop(targetDesktop, follow := false)
	{
		activeHwnd := WinExist("A")
		if(this.dllWindowMover.isAvailable())
		{
			this.dllWindowMover.moveActiveWindowToDesktop(targetDesktop)
		} else
		{
			currentDesktop := this.desktopMapper.getDesktopNumber()
			if(currentDesktop == targetDesktop)
			{
				return this
			}
			numberOfTabsNeededToSelectActiveMonitor := this.monitorMapper.getRequiredTabCount(WinActive("A"))
			numberOfDownsNeededToSelectDesktop := this.getNumberOfDownsNeededToSelectDesktop(targetDesktop, currentDesktop)

			openMultitaskingViewFrame()
			send("{tab " numberOfTabsNeededToSelectActiveMonitor "}")
			send("{Appskey}m{Down " numberOfDownsNeededToSelectDesktop "}{Enter}")
			closeMultitaskingViewFrame()
		}

		tmp := new JPGIncDesktopChangerClass()
                tmp.goToDesktop(targetDesktop)

		return	this
	}

If that works i'll update it properly when i have a few minutes

Okay. That works! However, it stopped working as soon as I tried using different hotkeys. I tried:
    .setMoveWindowToNextDesktop("LCtrl & LAlt & right") 		;Original hotkey: "Capslock & s"
    .setMoveWindowToPreviousDesktop("LCtrl & LAlt & left")		;Original hotkey: "Capslock & a"

or
    .setMoveWindowToNextDesktop("LWin & LAlt & right") 			;Original hotkey: "Capslock & s"
    .setMoveWindowToPreviousDesktop("LWin & LAlt & left")		;Original hotkey: "Capslock & a"

I also tried using the Hotkey Modifier Symbols instead (e.g. <^<!right instead of LCtrl & LAlt & right) but that didn't work either.
I'm using different keys on my old laptop with no problem. Any ideas why using different keys isn't working now?

If you are changing things, it'd be great if you could allow assigning separate keys for:

move window (no follow)
AND
move window and follow
... so we can use both instead of one or the other.

I managed to do this in my own version as mentioned above but I don't really know what I'm doing and I'd prefer if it was built in to the original.
Cheers

I've updated the script to fix your original bug (following the window not working). i don't have a windows computer to test on tat the moment...could you test that it's working? :-).
I'll think about how to change things for the "and follow" "no follow" idea.

One thing I noticed as I had to do this workaround as well is the moved window loses focus, so you cant chain together a move of that window unless you click on it to move it again.  Maybe having it autofocus that last window would be good?

To clairfy, when you move a window and follow it to the new desktop, the window that you moved doesn't have focus? That is probably why we had the _deActivateActiveWindow() function. Can you try this:
change line 46 in windowMover.ahk from:
		this._followWindow(targetDesktop)
to:
		this._followWindow(targetDesktop, activeHwnd)
and change the _followWindow function to be:
        _followWindow(targetDesktop, activeHwnd)
	{
		if(this.followToNewDesktop)
		{
		        ; Activate a new window so that we can activate the old one
		        Gui, new
                        Gui, Show
			this._desktopChanger.goToDesktop(targetDesktop)
                        Gui, Destroy
		}
		return this
	}

yes, I am referring to when the window is moved, and then the screen follows to the next desktop, the moved window is no longer the active window.
I reverted all changes, then updated line 46 along with updated _followWindow function, and it now is back where it will move the window but will not follow

@raycekar I have also noticed this. It prevents me from moving a window across multiple desktops too since after each move the window deactivates which means it can't be the target for the next move until its activated again.
I've also noticed a couple of other things:

on some occasions a window moves to the next/previous desktop but there's no follow. I'll need to test more to work out if there's any pattern to it.

And

sometimes an app window doesn't move to another desktop. The desktop switches but the window gets left behind. When that has happened I've switched back to the desktop with the window I was trying to move and I've tried to move it again but it still hasn't worked and I end up having to hit Windows+Tab and manually drag-&-drop the window onto the desired desktop. Again, I'll have to do some testing to see if there's any pattern to it.

@jpginc... As far as you're aware, are there any situations, app types or app-window types which the cause problems for the movewindow and/or movewindowandfollow functions? I dont know if all app windows can be modal or modeless like vba userforms and dialogue boxes can be but it has occurred to me that it might be something like that preventing a window from being moved.

I've updated the script to fix your original bug (following the window not working). i don't have a windows computer to test on tat the moment...could you test that it's working? :-).
I'll think about how to change things for the "and follow" "no follow" idea.

My apologies I thought I had replied to this months ago. Yes it is working though I have kept using my modified version where the windows10.ahk file contains:
    .setMoveWindowToNextDesktop("<^<!<+right")   	; Ctrl + Alt + Shift + Right
    .setMoveWindowToPreviousDesktop("<^<!<+left")	; Ctrl + Alt + Shift + Left

and the two extra functions I added:
    .setMoveWindowToNextDesktopAndFollow("<^<!right")      ; Ctrl + Alt + Right
    .setMoveWindowToPreviousDesktopAndFollow("<^<!left")   ; Ctrl + Alt + Left

as well as relevant additions and changes to the windowMover.ahk & desktopManager.ahk files.

sorry i've been slow on this, been busy with other stuff. so this issue:

when the window is moved, and then the screen follows to the next desktop, the moved window is no longer the active window.

was a little annoying. After the window is moved, it loses focus and winactivate calls are ignored.  I've put a hack in that creates a new window, activates that new window and then activates the moved window. it takes half a second for that to happen though which is a little annoying but the best i can do for now.
@damagu

are there any situations, app types or app-window types which might cause problems for the movewindow and/or movewindowandfollow functions?

The only ones i'm aware of is the cmd prompt window as it doesn't allow you to do dll injection (which is how we are moving windows). is it always the same program that wont switch?

I made some more updates that i think will make moving desktops and windows less glitchy so i think this issue can now be closed. let me know if it's still an issue or just open a new bug.


Split actinia-gdi

Into

actinia-module-plugin (see https://github.com/mundialis/actinia-module-plugin/pull/1)
actinia-metadata-plugin (see https://github.com/mundialis/actinia-metadata-plugin/pull/1)
this actinia-gdi

Thanks for your nice work!
Would you mind to fix some PEP8 errors with autopep8 or mega-linter?

As this PR is already super large, I would prefer to do this in a separate PR.

Thx for review, I will merge now


Multiple camera support

https://github.com/Corrosive-Games/bevy-parallax/issues/23

Each Parallax use a RenderLayers
Remove the ParallaxResource and add a CreateParallaxEvent with the layers datas
Move the entities from ParallaxResource to ParallaxCameraComponent
Add a reference to the camera in almost everything
Add and update the examples

https://github.com/Corrosive-Games/bevy-parallax/assets/4960560/b27cd94b-8073-4130-9f8f-196609b0800e

Thanks for this! Great work!


apply_oe non-run

Currently, apply_oe.py (on dev) does not execute when called.  This must be a consequence of the recent click revision.  Noting here while we work on it.

This is a consequence of removing the main block.  Calls that previously looked like:
python apply_oe.py .....
should now look like:
isofit applye_oe .....

@pgbrodrick Based on previous discussions, I'm guessing you are working with a version of ISOFIT installed via $PYTHONPATH. If that is the case, you probably want to use $ python3 -m isofit apply_oe rather than $ isofit apply_oe, as the $ isofit executable will not exist in this situation.
I included some details about this in the PR description for https://github.com/isofit/isofit/pull/422#issue-2029561159.

This is resolved!


Bug: ripple effect on menu labels starts from the middle when clicking the icon

As the title says.
I think it's better to start the ripple from the area that the icon was pressed.
I think this could help:
http://stackoverflow.com/q/27225014/878126

Not a bug. It works as designed.

Why is it as designed? It's way far from the touch event. It should start from the touch event, just like on any other view.
When touching a FAB, the ripple starts from the first position of the touch event. This should be done even when the touch event started on another view, and causes the ripple on themselves.


feat(connector): Fiserv Authorize and Capture

Type of Change

[ ] Bugfix
[x] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates

Description
Authorize and capture flow
Additional Changes

[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context
Adding a new connector Fiserv

Closes #229.
How did you test it?
Ran it using postman

Checklist

[x] I formatted the code cargo +nightly fmt
[x] I addressed lints thrown by cargo clippy
[x] I reviewed submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

@SamraatBansal Please run the tests and attach a screenshot in the PR description.


Use Machine Learning to Extract Information from Documents

Tutorial URL: https://developers.sap.com/tutorials/cp-aibus-dox-swagger-ui.html
Please specify the step you are referring to
In the step "Upload to the service any document in PDF format that has content in headers and tables, such as an invoice, using the POST /document/jobs endpoint. You need to specify the following:"
it would be helpful to provide an example PDF

Hi Daniel,
I'll check if there's another option than creating a "sample code" repo to store the PDF example files. That's the only option I see right now and I considered this an overkill.
Best regards,
Juliana

Mh,, we cannot just have a download link on the web page? A new github repo does not make sense, agree. IF this cannot be done easily we can ignore it

I'll check and keep you posted.


typo: Fiexed -> Fixed

@nschonni : Thanks for your contribution! The author, @sethmanheim, has been notified to review your proposed change.

@rjagiewich : Thanks for your contribution! The author, @sethmanheim, has been notified to review your proposed change.

Verified editorial correction.


Scary protoc-3.0.0+ required message - really needed?

Is this message actually accurate and useful? We have some users who can't upgrade from older libprotoc versions .
We couldn't find protoc 3.0.0+ installed on your system. While this
won't prevent grpc from working, you won't be able to compile
and run any meaningful code with it.

It depends on what they really are going to do, but this is pretty accurate in most cases, since they 1) won't be able to properly run the C++ API, and 2) the plugins won't work.
Only some binding languages such as Node or PHP will have their own parsers. All of the others have their own protoc plugin which wouldn't be useful without protobuf installed:
https://github.com/grpc/grpc/tree/master/src/compiler

What about older protobuf?
On Tue, Jul 14, 2015, 3:33 PM Nicolas Noble<EMAIL_ADDRESS>wrote:

It depends on what they really are going to do, but this is pretty
accurate in most cases, since they 1) won't be able to properly run the C++
API, and 2) the plugins won't work.
Only some binding languages such as Node or PHP will have their own
parsers. All of the others have their own protoc plugin which wouldn't be
useful without protobuf installed:
https://github.com/grpc/grpc/tree/master/src/compiler
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/2446#issuecomment-121413031.

It wouldn't work as it doesn't have the API needed to run the plugins.

ok, thanks, that makes sense.
On Tue, Jul 14, 2015 at 3:54 PM Nicolas Noble<EMAIL_ADDRESS>wrote:

It wouldn't work as it doesn't have the API needed to run the plugins.
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/2446#issuecomment-121416947.

I will try to work this into a more solvable issue.


[Firefox] twMediaDownloader save file dialog issues

If a save file dialog is open (saving an image) and twMediaDownloader finishes downloading and produces a second save dialog, the contents of the two files will be swapped.
If file (first dialog) A was to be saved in /images/today/ and twMediaDownloader was going to save file (second dialog) Z to /images/twitter/, the contents of Z would be saved in /images/today/ with file A's name, and A would be saved in /images/twitter/ with file Z's name.
EDIT: This is more of an extreme problem than I initially thought, because if you have multiple twMediaDownloader downloads going, all the filenames get mixed up... I do not know how I am going to fix my archives at this point...
EDIT2: Within the zips contain a log file of what should be the name of the zip file. I am using that to correct my archives. I have confirmed 22 incorrectly named files thus far.
EDIT3: Some useful sqlite commands if you keep your Firefox history in places.sqlite:
SELECT * FROM moz_places WHERE id=(SELECT place_id FROM moz_annos WHERE content LIKE "[partial-archive-name]") - This will help find the original URL saved as your twitter archive name.
SELECT * FROM moz_places WHERE title LIKE "%-media.zip") - This will help you find the location of the file you accidentally saved with the wrong filename.

It really does but I don't use Matrix so I can't visit their support chat and I've read nothing on their bugzilla platform either. I don't think they test multiple dialogs at the same time because under normal use that is not a thing that happens.

Issue is specific to kmozillahelper. Apologies for the non-issue. Closing.


Better completition in search dialog

I think it would be nice to have better completition in the search dialog (s or S).  Specifically, tags could be autocompleted (if the word starts with +/-), also dates (with @) format, for example @2-d could expand to days etc.
To achieve this, it would be necessary to get a list of all existing tags. Is there a simple way to do this? I could try to hack the completition "engine" myself, but I don't understand much how the elfeed database works.
Thanks

I'm going to close this to keep the list of my issues under control.  I do not plan to work on this anymore.  Thanks for understanding!


add web-sys support

Instead of using html-sys, it should be possible to use web-sys as a backend instead, so we can build DOM nodes directly in the browser. I wonder if perhaps we should allow passing some type of impl Renderer argument around, so each node knows how to write to its backend? I'm unsure exactly how we want to do this, so we should first come up with a small API example of how we want to structure things before committing to any one design.

I see the wip notes for this in the README. Are you working on this anywhere?

Hi there, thanks for asking! Im currently not working on this, no. It'll require some design work, since it's essentially a duplicate backend to html-sys.
A good place to start would be to update the scraper to more accurately parse the WebIDL files for methods, and add them to the JSON.
Another good step is to come up with a plan to support both backends in the same repo. This is where I think the design work would come in, but it's also what would enable us to merge the feature.

By a duplicate back end, do you just mean an alternative to String to fold elements into (for the purpose of this issue, web_sys::Element)? If so, I suppose the additional methods you're talking about are the event handler attributes. Is that correct? If not, what is your vision for web-sys support? If so, what if we started by abstracting the requirements for the current Render trait?
Thinking from the perspective of someone who might want to implement a renderer with this library (but doesn't know too much about actually implementing a renderer), I think the parts I'd need are the tag of the element, the attributes and the children.
Basic support might be as simple as modifying the HtmlElement trait to something like the following:
trait HtmlElement {
    fn tag() -> &'static str;
    fn attributes(&self) -> Vec<(&'static str, AttributeValue)>;
    fn children<'a>(&'a self) -> Vec<DomNode<'a>>;
}

type AttributeValue = Cow<'static, str>;

enum DomNode<'a> {
    Element(&'a dyn HtmlElement),
    Text(&'a str)
}

AttributeValue could also be the generated enum from this issue.
This trait definition allows flexibility in the type definitions to easily develop abstract renderers while using the builders will allow the framework on top of the renderer to be type safe. I believe this also reflects the state of engines anyway. You can give any html element any value attribute and the browser will do just fine, it just might not have any effect on the dom. Same for children. For most elements, if a child is not valid, the browser will still render the page in quirks mode but it will not fail.
If we wanted to ensure the type safety provided by this project all the way to the boundary of a target type for renderers, we could generate an enum for all possible attributes of a given element and provide a trait to apply that enum to the target type:
trait Attribute<Target> {
    fn apply(&self, target: Target) -> Result<(), JsValue>;
}

I'm sure I'm missing some things but I believe this could support most renderers. Renderers could define their own way of folding elements into their target type as well as gather information for proper diffing of the elements.


Isn't weighted_pick() giving out random words?

Hi, does weighted_pick() return random characters?
with sampling_type=1, return(int(np.searchsorted(t, np.random.rand(1)*s))) looks like giving a random choice out of the array t. And that's what I'm having right now. Is it intentional? Or am I doing something wrong?

I figured it out. It chooses the next word randomly out of k-most probable words. Makes sense.

Now I got it. t = np.cumsum(weights) makes words with higher probability to have bigger interval just before itself and that makes the seemingly random choice to be weighted pick. Makes sense.


fix: update package.type to 'module'

Ooops, I hit "Rebase and Update" and it closed your PR instead. I guess it means it matched #891 🤷


Frustum culling and UI element issue

I have a scene with frustum culling set on the camera. If I create a UI element in the editor it is always displayed ( the yellow cog ). However, if I create a similar UI element in code ( the white cog) then the element will appear and disappear as I move the camera around with the 3 person controller. If I disable frustum culling then this issue doesn’t happen.
Here is the forum post with links to the test project and quick work around.
https://forum.playcanvas.com/t/frustum-culling-and-ui-element-issue/25252

@Kulodo Do you have a link to the project that still shows the issue?

I've commented out the quick fix from Leonidas now, so it is displaying the issue again.
https://playcanvas.com/project/913583/overview/culluitest
Here is the code https://playcanvas.com/editor/code/913583?tabs=78008457

Changing the code from:
    entity.name = 'DeveloperMenuScreenEntity';
    entity.addComponent('screen');
    entity.screen.screenSpace = true;
    entity.screen.scaleMode = pc.SCALEMODE_BLEND;
    entity.screen.scaleBlend = 0.5;
    entity.screen.referenceResolution = new pc.Vec2(1280, 720);

to
    entity.name = 'DeveloperMenuScreenEntity';
    entity.addComponent('screen', {
        screenSpace: true
    });
    entity.screen.scaleMode = pc.SCALEMODE_BLEND;
    entity.screen.scaleBlend = 0.5;
    entity.screen.referenceResolution = new pc.Vec2(1280, 720);

Works around the issue without needing to go through the whole render layer meshes


Add dotdotyew to the project list

I resolved the conflicts with the recent PR merged.

please change using yew to using Yew, uppercase for consistence.

thanks！


(proxy): add method to listXATransactions by page

Codecov Report

Merging #95 into dev will increase coverage by 0.06%.
The diff coverage is 62.85%.

@@             Coverage Diff              @@
##                dev      #95      +/-   ##
============================================
+ Coverage     53.45%   53.51%   +0.06%
  Complexity      385      385
============================================
  Files            42       42
  Lines          3414     3412       -2
  Branches        264      265       +1
============================================
+ Hits           1825     1826       +1
+ Misses         1404     1400       -4
- Partials        185      186       +1

Impacted Files
Coverage Δ
Complexity Δ

...ross/stub/fabric/proxy/ProxyChaincodeResource.java
55.43% <33.33%> (-0.24%)
10.00 <0.00> (ø)

...a/com/webank/wecross/stub/fabric/FabricDriver.java
58.58% <78.26%> (+0.39%)
55.00 <0.00> (ø)

Continue to review full report at Codecov.

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


Fetch latest GA contracts for SDK generation

This feature is requisite for https://github.com/Azure/autorest.csharp/issues/3596.
Due to the network failures we met constantly, we would like to reduce network calls if possible, details can be found in https://github.com/Azure/autorest/issues/4322.
Therefore, we would like to fetch the GA contracts of all RPs in one call instead of multiple calls for each RP.
Task breakdown

[ ] Create a dedicated branch to hold the GA contracts for all RPs in https://github.com/Azure/azure-sdk-assets
[ ] Update the GA contract folder in the above branch once a PR release a new GA version

[ ] tag it with the push commit for later possible usage
[ ] reuse the logic within test-proxy or extend it since no exact command with expecting functionality in place

[ ] Download the whole GA contracts of all RPs during SDK generation to a local git-ignore folder
[ ] During the CI run, we should download the GA contracts beforehand and send in the folder path to autorest.charp to avoid duplicated download

Given the missing member in new release version is the only case needing implementation from previous GA version, and it rarely happens, we will deal with it manually when it happens.
We decide to load the DLL of previous GA version, we can still get the declaration of all members to handle the breaking changes within generator.


Authenticate user on function description query

hey, @dang03
Authorization for GETting services ({path: '/services', method: 'GET'}) and functions ({path: '/functions', method: 'GET'}) is failing... is it ready on the UM? Also, do you distinguish when we do .../services/ and .../services/:uuid?

Hi @jbonnet
I've tested both and they return 200 OK, here are some details:

Services:
URL= POST sp.int3.sonata-nfv.eu:5600/api/v1/authorize
HEADERS= Content-type: application/json
Authorization: 'Bearer eyjj........'
BODY= {"path": "/services", "method": "GET"}

Functions:
URL= POST sp.int3.sonata-nfv.eu:5600/api/v1/authorize
HEADERS= Content-type: application/json
Authorization: 'Bearer eyjj........'
BODY= {"path": "/functions",  "method": "GET"}

In cases such .../functions/:uuid, the UM will not consider the :uuid yet, and it will ignore it.
Right now we don't have that level of permission granularity, but keep it in the GK as the new authorization mechanism will consider it soon.

Closed by PR #674


ci: longer timeout, break out lint checks to own yml

Summary

increases the network timeout for the node modules to be very long to prevent ETIMEDOUT errors
file naming lint
breaks out the prettier/eslint changes to another check, making it more obvious on the checks section what exactly is failing (and also because these do not need to be run on multiple OS's)
macOS -10.14 -> macOS-latest
runs the unit test only once per matrix combination

Checklist

[ ] Does your PR title have the correct title format?
Does your PR have a breaking change?:

@jooohhn I've gone an updated them all to ubuntu-latest, which will keep us up-to-date. Only concern here is if the latest has some critical error that causes stuff to break, but these are unit tests and not mission-critical if we get some unexpected failure; we can probably deal with that if we (ever) come to it?


Does not work with Teensy

Hi,
I've got a DHT22, running the DHT22Default example.
I'm trying to get this library to work with the Teensy 3.6 and I'm getting a standard error:
err=101
This is using a cloned library of this git so latest version I assume. The board works with the standard ADAFRUIT library but I'd prefer to use this one as I can access just the simple bits which would speed up the data collection. I've read that the Teensy is much more accurate with its delayMicroseconds and the CPU I'm running clocks at 180MHz whereas an arduino would be around 18MHz, maybe I should just slow down the transfer?
Thanks,
Rowan
UPDATE ***
After reading https://forum.pjrc.com/threads/16806-T3-FYI-Adafruit-DHT22-AM2302
I changed the delayMicroseconds(10) to (15) in your .cpp and (30) to (35) and got this output
Sample OK: 0 *C, 2 %
Now unfortunately I think this data is incorrect as it's definitely not 0*C!
I'll have another go tomorrow

The error code 101 is defined:
// Error to wait for start high signal.
#define SimpleDHTErrStartHigh 101

That because the start high signal is not arrived according to https://cdn-shop.adafruit.com/datasheets/DHT22.pdf

If Teensy is more accurate, I think it should work. I will do some research.

I note that there's a comment:
// NOTE: For working with a faster chip, like an Arduino Due or Teensy, you
// might need to increase the threshold for cycle counts considered a 1 or 0.
// You can do this by passing a 3rd parameter for this threshold. It's a bit
// of fiddling to find the right value, but in general the faster the CPU the
// higher the value. The default for a 16mhz AVR is a value of 6. For an
// Arduino Due that runs at 84mhz a value of 30 works.
// Example to initialize DHT sensor for Arduino Due:

DHT dht(DHTPIN, DHTTYPE, 25);

I think it's because it use for loop to simulate the delayMicroseconds, as the Teensy is a faster chip so it need to change the threshold. But we use delayMicroseconds and now that Teensy is much more accurate, I think the delayMicroseconds is also accurate, why should change the delay(10) to delay(15) and (30) to (35)?

I found it, it's because the data format is changed. Read Table 5：AM2302 Communication format specifier of http://akizukidenshi.com/download/ds/aosong/AM2302.pdf
I will fix it in v1.0.5, please try it when released.

Read #2


High-priority systems to ECS

Description
These are some systems that should be prioritized heavily for conversion to ECS/refactoring, since they interface with lots of other things:

[x] Alerts (#5559)
[x] Actions (#6791)
[x] Wires (#7699)
[x] Inventory (#5807)
[x] EntityStorage (#9291)
[x] Hands (#7081)
[x] Chat (#7337)
[x] Item/Clothing (#9706)
[x] Mind / Roles (https://github.com/space-wizards/space-station-14/pull/16826 and https://github.com/space-wizards/space-station-14/pull/19591)
[x] Objectives (#19967)

There are probably more that I can't think of but those are big (actions alone is blocking a lot of stuff from potentially being done)

What about hands and containers. Aren't those last few bastions of EC code in content.

Hands definitely need to be ECS-ed.

bastions of EC code in content.

Containers are currently in engine. Even if you move the logic in ContainerManagerComponent/ContainerHelpers into a system, for the most part I don't think it would significantly impact how systems use containers, so probably not as high priority as alerts, actions & hands?

s/Container/Inventory/ or whatever still uses inheritance to share functionality.

inventory and hands, yes. also entitystorage

@ElectroJr are hands partially ECSed? I saw #5634

Well once/if its merged they will be 20% more ECS. There's still a lot of work to do, and hands code is still pretty scuffed. But hopefully that PR will at least reduce the workload for a future refactor.
In reality, that PR started because I wanted to change hands in order to get some basic interactions predicted. I just wanna pick up items w/o the awkward delay. In the process, I just ended up moving quite a few functions to the shared hands system & removing some component messages.

Another high priority is to migrate everything that still uses Component Messages, and then Interface Events, in that order.

Oldchat.

I'm starting ECSing EntityStorage. Wish me luck.

wires is done via #7699

another one down #9291

@DrSmugleaf i was refactoring some objective condition stuff and got annoyed now i want to refactor it to be ecs
should i:

make objectives entities, their ids listed on the mind component
make objective conditions entities, their ids listed in the objective component
both of them

currently i am focusing on conditions

we did it reddit

High-priority systems to FLECS now


documentation is missing images

To Reproduce
Steps to reproduce the behavior:

Go to https://desk.draw.io/support/solutions/articles/16000067815-how-to-use-layers-
Images missing

Check your ad blocker....

@davidjgraph this is not an adblocker issue.
Have you even opened the link?

The page tries to to render https://github.com/jgraph/drawio/wiki/Getting-Support as an image...

Ah OK, I probably have a different host mapping. We'll take a look.


Add landing web page

Create board.html file- landing web page
Create projboard directory by < pipenv run python manage.py startapp projboard > command
Modify setting.py- add our app to INSTALLED_APPS
Modify urls.py- add the board to urlpatterns
Note: Most changes had been auto-generated.
Resolve #10

LGTM

Sorry Dismissed my approval, please fix CI errors

Hi Rawad,
Thank you about the review, I added a new commit a few minute ago.


181225853 Cannot edit a record which is for uninhab place (John)

Issue reported by johnt at 2020-09-28 12:30:53 UTC
Time: 2020-09-28T12:27:39+00:00
Session ID: 2d49da896b7cfa8b80be612ba2ced376
Problem Page URL: /freecen_csv_entries/5f71976be937903d470a3ceb?locale=en
Previous Page URL: https://test3.freecen.org.uk/freecen_csv_entries/5f71976be937903d470a3ceb/edit?locale=en
Reported Issue:
I had got a warning message on an uninhabited dwelling. I have tried to edit the record to set the message to true on line and got the error stating that the sex and many other fields are blank.

@johnt-freecen
On line editing is only for individual edits  not census  information or dwelling. That must be done off line.
Need to find a way of enforcing that for the edit so that this issue is not created

@johnt-freecen Added test to avoid online edit of an inhabited dwelling. Deployed to test3

Can @johnt-freecen take a look and test this to see if it is now fixed?

This can now be closed.
Regards
John
Sent from Mail for Windows 10
From: Rich Pomfret
Sent: 12 October 2020 17:21
To: FreeUKGen/FreeCENMigration
Cc: johnt-freecen; Assign
Subject: Re: [FreeUKGen/FreeCENMigration] 181225853 Cannot edit a record whichis for uninhab place (John) (#997)
Assigned #997 to @johnt-freecen.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks @johnt-freecen


[Snyk] Upgrade react-router-dom from 6.15.0 to 7.0.2

Snyk has created this PR to upgrade react-router-dom from 6.15.0 to 7.0.2.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

⚠ Warning: This PR contains major version upgrade(s), and may be a breaking change.

The recommended version is 76 versions ahead of your current version.

The recommended version was released 23 days ago.

[!IMPORTANT]

Warning: This PR contains a major version upgrade, and may be a breaking change.
Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

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

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

Summary by Sourcery
Enhancements:

Upgrade react-router-dom to version 7.0.2.

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)


atoma-vllm: the llm engine should prefer flash attention if batch size is 1

Prior to add this implementation, we need to test:

[ ] Test inference performance of flash attention vs paged attention with single batch inputs

Deprecated


Create ChatBot.md

Created a ChatBot.
📝 Description
Add a brief description.
💣 Is this a breaking change (Yes/No):

[ ] Yes
[x] No

🚧 How to migrate?
Don't need.
📝 Additional Information
lol

Hello, your PR does not meet the requirements. Please paste the agent or App link you created in markdown @krishgoel20


Add defaultValue

See https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement for docs on defaultValue, which provides an officially-supported solution to the "user types too fast" problem with input elements using value.

Cool, thanks!


Command::new("cargo-zigbuild") doesn't shutdown when aborting

let mut process = tokio::process::Command::new("cargo-zigbuild")
                .args(["zigbuild", "--bin", &bin, "--target", &target, release])
                .spawn().unwrap();

 tokio::time::sleep(Duration::from_secs(4)).await;
let res = process.kill().await;
println!("{res:?}");

process.wait().await.unwrap();

It prints Ok(()) to console, but continues running.
tried the following as well: (both std::process and tokio::process have the same issue)
Command::new("cargo-zigbuild").arg("build")
and
 Command::new("cargo").arg("zigbuild")

The following works:
Command::new("cargo").arg("build")

I asked the rust community, they think this behaviour is weird. This is what they suggested the issue was:

Perhaps they forgot to install this signal handler.

I need the correct behaviour for automating my builds, and allow it to abort on an external signal. thank you!

oh, my compilation is mac ventura 13.4 if that's useful.

You are welcome to investigate and send PRs to fix it.

For anyone else that encounters this you can use https://docs.rs/command-group/latest/command_group/index.html to spawn cargo-zigbuild in a process group which then can be killed. This is what a terminal does (and why ctrl-c works as expected). It may still be a good idea to add a ctrl-c handler the cargo-zigbuild to make this usecase easier.
For those that don't want to use command_group you can use the following.
// Set the process group to the child's process ID (works only on unix systems)
command.process_group(0);

...

// Perform the kill by sending a signal to the *process group* instead of just the one process.
signal::killpg(Pid::from_raw(child.id() as _), Signal::SIGINT).unwrap(); // note the signal used here can be changed if needed.

// continue with child cleanup like .wait()

This worked! Thank you so much!
I forked zigbuild and i tried for several hours, but i don't have enough experience to make this feature work from the inside.


Crashes in node 0.11

in node 0.11.14, I get the following error:
module.js:355
  Module._extensions[extension](this, filename);
                               ^
Error: Module did not self-register.
    at Error (native)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (./node_modules/runsync/index.js:32:15)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)

It looks like this polyfill isn't actually checking for the existence of execFileSync etc on child_process .

I should update add that this actually works fine when runsync was installed on node 0.11 - but when it was installed on node 0.10, and ran on node 0.11, it fails.
Why would it need to be compiled on 0.11 in order to work on 0.11?


bug: wrong RDOC/RFIP addresses and links in Math Wallet solution page

What
It looks like that the address and the links of both RDOC and RFIP are the same as the RIF Token.
Why

I would expect that the RDOC and RFIP addresses differ from the RIF token address

Refs

Math Wallet solution page

I've just found these addresses, but I'm not sure if they are the official ones.


add scale feature

I add a showScale option, and it can show some scales.

Do you like this ? we can make it cooler

This Feature is a really nice addition.


No support for "rolling upgrade" of global unit

When a global unit is launched in a cluster, all possible fleet agents start up a local instance, assuming the MachineMetadata condition is met. Now imagine that you want to upgrade that unit, maybe to launch a new version of a docker container, or just to tweak some of the systemd options. You have to destroy it, which causes the unit to stop on every node that was previously running it, and launch it all over again. This "full down, full up" can clearly be disruptive.
What can we do about this?

Document approaches to large-scale rolling upgrades with fleet (specifically with global units)
Provide built-in rolling upgrade semantics for global units

We use global units running on instances in autoscaling groups, as determined by fleet metadata. Since the number of instances fluctuates, it is not feasible to use myservice@X, since values of X are not known.
It is therefore a major problem for us that a unit update requires downtime on the entire group.
I feel as though a reasonable intermediate step would be for updates to [System] to, optionally, cause just an update of unit files on each instance, and we can then trigger systemctl restart as necessary in a rolling fashion. Perhaps in the future fleet can also handle that as well.
Changes to [X-Fleet] will have to happen in a different manner, probably with immediate effect.

We're facing a similar issue where we use global units in autoscaling groups and need a way to issue rolling upgrades.

+1 for this feature. We cannot restart our global units without downtime at the current state.

We use a workaround for this. I am sure it is not sufficient in all cases but you can also scale global units and run multiple sets of them at the same time. So when updating one slice, the other ones are still there. That works e.g. with haproxy quiet well, because it can share the same ports.

We using vulture for upgrades. It works only with units with docker containers.

@akaspin Could you improve the docs for vulture a bit? It's difficult to figure out how to set it up and how to use it. Does it require SkyDNS?

@zyndiecate I followed your advice and split my application into two global services, which I can upgrade independently without causing downtime for the entire app. Still I think it would be fantastic if CoreOS/systemd had built-in support for such a common operation as rolling upgrades.

@zyndiecate I followed your advice and split my application into two global services, which I can upgrade independently without causing downtime for the entire app.

Thanks for letting me know. I am glad it worked out for you.

Still I think it would be fantastic if CoreOS/systemd had built-in support for such a common operation as rolling upgrades.

Not sure. AFAIK this is not going to happen anyway, but lets see.

I have been wanting to ability to "symlink" records in etcd. I generally hold the etcd hierarchy as a filesystem in my mind and so having this capability seems like a natural fit.  This would make it very simple to set groups of units in etcd as "in production" or "upgrade candidate", without modifying their current state.
I suppose this could be implemented currently by just copying records, or making collections of pointer objects in a separate hierarchy, but that seems pretty kludgy and messy to keep synchronized. I'm not sure how feasible it is to natively support symbolic links in etcd, but I think it might make for a clean implementation here.

Hoping for this feature as well. Without it, is there any way at all to update the systemd options passed to a unit without stopping all of them and taking the service down?

I only know this https://www.freedesktop.org/software/systemd/man/systemctl.html#set-property NAME ASSIGNMENT...

For docker image updates I use systemctl over ssh to do a rolling update. It feels a bit wrong to restart a fleetd service using systemd but it does work. I'm not sure about the implications of doing this. Are there any fleet wizards that can tell me if this approach is right or [very] wrong?
It uses a grep string to match units, connects to the server using ssh and restarts the unit using systemctl. For this to work you would need public/private key based ssh access.
My script:
#!/bin/sh

if [ "$#" -ne 1 ]; then
  echo "Usage: $0 [regex] restart a list of units one by one" >&2
  exit 1
fi

regex=$@
result=$(fleetctl list-units | grep "$regex" | awk '{split($2,a,"/"); print $1 ":" a[2]}')
is_running=-1

if [ -z "$result" ]; then
  echo "Could not find any units matching $unit" >&2
  exit 1
fi

echo "This command will restart the following units:";
for word in $result; do
  echo $word
done
printf "Are you sure? Type y to continue: "
read answer
if [ $answer != "y" ]; then
  echo "User quit"
  exit
fi

for line in $result; do
  unit=$(echo $line | cut -d':' -f1)
  machine=$(echo $line | cut -d':' -f2)

  if [ $is_running -ne -1 ]; then
    printf "waiting 5 seconds before stopping next unit\n"
    sleep 5
  fi

  printf "stopping %s:%s\n" $unit $machine
  ssh -o "StrictHostKeyChecking=no" $machine "sudo systemctl stop $unit"

  printf "waiting for %s:%s to stop " $unit $machine;
  is_running=1
  while [ $is_running -ne 0 ]; do
    is_running=`fleetctl list-units | grep $unit | grep running | grep $machine | wc -l`;
    sleep 1;
    printf ".";
  done
  printf "\n"

  printf "starting %s:%s\n" $unit $machine
  ssh -o "StrictHostKeyChecking=no" $machine "sudo systemctl start $unit"

  printf "waiting for %s:%s to start " $unit $machine;
  while [ $is_running -eq 0 ]; do
    is_running=`fleetctl list-units | grep $unit | grep running | grep $machine | wc -l`;
    sleep 1;
    printf ".";
  done
  printf "\n"
done

We use a workaround for this. I am sure it is not sufficient in all cases but you can also scale global units and run multiple sets of them at the same time. So when updating one slice, the other ones are still there. That works e.g. with haproxy quiet well, because it can share the same ports.

@xh3b4sd How did you do this? Are you running multiple HAProxy instances that are listening on the same port on the host?

@simonvanderveldt correct. When HAProxy runs in Docker containers you will need --net=host. All bind to the same port. HAProxy will sort out the rest. As already mentioned. When you have two sets of global units, e.g. haproxy-1.service and haproxy-2.service, you can upgrade one global set without interrupting the second.


go.py: state.env_id throws exception when running tutorial example

In go.py
    def env_id(self) -> core.EnvId:
        try:
            size = int(self._size.item())
        except TypeError:
            size = int(self._size[0].item())
        return f"go_{size}x{size}"  # type: ignore

I"m new to the code, but it looks like the intent here was to pick the first state on the array if the state is vectorized.
On my system, if the state is vectorized.. this throws a ValueError, not a Type Error.. like below
import jax
import pgx
from pgx.experimental import act_randomly

batch_size = 9

env = pgx.make("go_9x9")

init = jax.jit(jax.vmap(env.init))
step = jax.jit(jax.vmap(env.step))
act_randomly = jax.jit(act_randomly)

key = jax.random.PRNGKey(42)
key, subkey = jax.random.split(key)
keys = jax.random.split(subkey, batch_size)

state = init(keys)
state.env_id

Traceback (most recent call last):
File "/home/duane/PycharmProjects/mctx_bench/.venv/lib/python3.10/site-packages/pgx/go.py", line 56, in env_id
size = int(self._size.item())
File "/home/duane/PycharmProjects/mctx_bench/.venv/lib/python3.10/site-packages/jax/_src/numpy/array_methods.py", line 81, in _item
return arr.item(*args)
ValueError: can only convert an array of size 1 to a Python scalar
Not sure what the fix is.. maybe
    def env_id(self) -> core.EnvId:
        if len(self._size) == 0:
            size = int(self._size.item())
        else:
            size = int(self._size[0].item())
        return f"go_{size}x{size}"  # type: ignore

I think this maybe..
    @property
    def env_id(self) -> core.EnvId:
        if self._size.ndim == 0:
            size = int(self._size.item())
        else:
            size = int(self._size[0].item())
        return f"go_{size}x{size}"  # type: ignore

Tested the above.. seems to work.

Hi, thank you for reporting a bug! 🙏
We released a new version which should resolve it.
Please let me know if you find another bug!


[BUG] monorepo support broken in version 3

Before creating a bug report please make check the following

[x] You have read our FAQ
[x] If you have used flutter. Please install correctly, run pub cache repair. Close the terminal and try again.
[ ] If you are on Windows. Make sure you are running the terminal as administrator or with developer permissions.
[x] Run fvm doctor if possible and add the output to the issue.

Describe the bug
When having a .fvmrc file in the root, and the flutter packages in subfolder. When you run "fvm use" it result in the error:
This does not seem to be a Flutter project directory
? Would you like to continue? (y/n) ›

According to this it should work, and it also worked on version 2. You can just say "y" but that does not work on CI tests
Desktop:

OS:  macos
FVM Version 3.0.3

Might keep the check just for pubspec and not just Flutter


Client.StartReceiver causes panic if Kafka connection is lost

https://github.com/cloudevents/sdk-go/blob/v2.0.0-RC2/v2/client/client.go#L192-L200
// Start the opener, if set.
if c.opener != nil {
	go func() {
		// TODO: handle error correctly here.
		if err := c.opener.OpenInbound(ctx); err != nil {
			panic(err)
		}
	}()
}

I'm just getting started trying to use the SDK with Kafka, and I'm trying to test how to recover from a lost connection. It seems that this panic causes my application to crash, and I'm wondering if there are plans to address the TODO.
If not, can you help with ideas for how to recover from the panic? Thank you for your time!

Hi @timjonesdev, thanks for spotting the issue! There is an hidden gem in the library we use for kafka i need to fix, I'll assign this issue to myself and i'll ping you when it's ready.

Check out the https://github.com/cloudevents/sdk-go/issues/488

Awesome! Thanks for the quick response!

I wanted to mention, this fixed my issue. I am now able to reconnect to Kafka once I restart it. Thanks again!


Remove duplicate metadata from page model

https://github.com/hydephp/develop/blob/0ef6c94fc38a3f544438eb84c9e97cdc890b67c4/packages/framework/src/Models/Support/Site.php#L43

Ties into https://github.com/hydephp/develop/issues/392

See https://github.com/hydephp/develop/issues/481
If we split out the metadata, we'll likely need/want to diff out any overlapping metadata so page specific metadata gets priority over the globals
Originally posted by @caendesilva in https://github.com/hydephp/develop/issues/481#issuecomment-1245769509

Closed, see https://github.com/hydephp/develop/issues/392#issuecomment-1282778351

Want to give this another shot for v1.0.


⚠ Bofrost.lu has degraded performance

In 231925c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 835 ms

Resolved: Bofrost.lu performance has improved in 9a1ea98 after 8 minutes.


Needs a license

I'm very appreciative of all the work you've done to create what appears to be a very robust BossBar API. However, you appear to have forgotten to include a license with the library, making it difficult to use legally. Can I suggest you add a license the program with the MIT license or some other permissive license so users can incorporate this code for whatever they wish? Thanks in advance.

I just saw there's a quasi-MIT license in the pom.xml. It'd be helpful if the license was more visible in a LICENSE file or something.

Done! :)


Create a page for themes with subdomain themes.typemill.net

same architecture as plugins page.

done at https://themes.typemill.net


Console coloring is off when artifact download is under way

Easy to reproduce: just invoke mvnd (I did it on maven-resolver, but I guess any project will do) and use -Dmaven.repo.local=foo to force build to download....
When download is happening (1st build), the output is WHITE (not green). -- more precisely, color is quickly going white-ok, kinda vibrating.
When download is NOT happening (ie. 2nd build using that param above): colorization is OK

The 3 blocks of the following code are not consistent wrt to the project id colouring:
https://github.com/apache/maven-mvnd/blob/1ec11ab3481f21284c820774d5ac4d05a4001176/common/src/main/java/org/mvndaemon/mvnd/common/logging/TerminalOutput.java#L767-L790


(WIP, CLOUD-179) Terminate the run if we get inconsistent data from AWS

If we query AWS for a resource (by id) that doesn't exist we will raise
an exception. Due to PUP-3656 that prevents prefetch but lets the
provider continue with incorrect data.
This changes that behaviour to stop the provider run if we discover
inconsistent data, it also provides information to help debug the
problem - although in many cases running a second time will fix the
issue.
Common causes of inconnsistency are:

what appears to be eventual consistency within AWS
other clients acting on the API at the same time

Note that this was done around self.instances rather than prefetch as listing resources using puppet resource doesn't actually touch prefetch and uses self.instances directly.


Enhance ux of readme.md for better understanding of new comers

Will work on this.
Please assign this issue to me.

sure @sreekeshiyer


[HOLD for payment 2023-07-24] [$1000] Web - Loader animation appears on clicking resend magic code

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Logout if you are logged in
Enter an email
Click continue and wait for 30seconds
Click resend code

Expected Result:
No loader animation on sign in button
Actual Result:
Loader animation on sign in button
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Version Number: 1.3.35-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/6fa127f6-a43b-4cd4-bee8-af5db7a43d58
https://github.com/Expensify/App/assets/93399543/b6e03afc-5b0b-4933-adf0-4060a6660c0e
Expensify/Expensify Issue URL:
Issue reported by: @chiragxarora
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688225638202929
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f28b124d7b31c045
Upwork Job ID:<PHONE_NUMBER>136752640
Last Price Increase: 2023-07-03

Agree with the  @gitvolo's proposal. think it's correct fix. because resendValidateCode doesn't require any loading animation on the frontend while calling api.

@samh-nl Thanks for the proposal. I don't your think you are solving the correct issue here. Your problem re-statement does not look so correct. I don't see what inconsistency you are referring to.

@bernhardoj Thanks for the proposal. Your RCA is correct. The three suggested solutions are similar (with option 2 and option 3 being exactly the same). They do the job well but also completely remove the user feedback. I think we should discuss the expected behaviour on Slack (posting in few mins).

@gitvolo Thanks for the proposal. Please always try to re-write the problem that we are solving on your own words. The RCA is correct. The solution makes sense but it's proposed by @bernhardoj already.

@samh-nl I don't see how that relates to this issue. The loader should show if something is being loaded and has nothing to do with errors.

As per the Slack discussion we should be good to go with removing the loading spinner. Let's go with @bernhardoj's proposal (option 1).
:ribbon: :eyes: :ribbon: C+ reviewed

Not overdue. @grgia ^

Good to go, @bernhardoj

Added a reminder to pay to my calendar.
Friendly reminder to get the BZ steps above addressed @s77rt - Thank you!

The PR that introduced the bug has been identified: https://github.com/Expensify/App/pull/14854
The offending PR has been commented on: https://github.com/Expensify/App/pull/14854#discussion_r1267334354
A discussion in #expensify-bugs has been started: Not needed. This is not really a bug but a design perspective, we could have caught that if it was brought to discussion with the design team.
Determine if we should create a regression test for this bug: No

Awesome, thanks @s77rt !

Reporting bonus paid @chiragxarora
C+ paid with bonus to @s77rt
@bernhardoj invited you to the Upwork Job and will close this out once we get payment over to you!

Thanks! Paid and contract ended 🚀
Great job everyone


cli: [refactor] rename outdated option internally

The Hbc.outdated boolean was in the way of my implementation of an
outdated scope for brew cask outdated, so I took the opportunity to:

rename the flag internally to cleanup_outdated
move the cleanup tests over to rspec and rework them to test in a
stubbed cleanroom environment
refactor the implementation of cleanup to make it a bit more
testable - most importantly: inject the cache location and outdated
config dependencies instead of looking them up from constants

Note that there's no change to the user-facing interface, it's still
brew cask cleanup --outdated

Incidentally, since we are separated from Homebrew, we can control our own cache, use our own separate dir, and won't need the tracker symlinks and subdir complexity in the future.
The cache dir is the only substantial constant left in homebrew-fork global.rb.  The main reason it hasn't been removed yet was the desire to have a little transition where we clean up our old cache.

Ah good point! Will have to keep that in mind as we further extricate ourselves.


CTD on v1.63

I am experiencing crashes to desktop on patch 1.63.

1.63 is a minor patch that doesn't affect redscript itself, you're likely experiencing an issue with some other mod, you should try following standard troubleshooting steps: https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-users/user-guide-troubleshooting/users-troubleshooting-after-a-game-update

I'm really sorry and could find the issue by scrubbing all mods and re-installing only the ones that were updated.

You might want to reopen this since the hotfix that dropped after 1.63 has broken redscript


Add CodeCov badge to README

Didn't think about this in the initial PR, sorry.
At least it's a good opportunity to test whether CodeCov now sends status updates ;-)
Preview:

Of course, once Travis build 3613 (the build for #1808 on master) has passed, the coverage badge will update itself.

Not sure if this actually already a good idea from a publicity POV. It kind of leaves the false impression that this is rather badly tested. I'd say it makes sense to work towards >50% coverage before actively advertising it.
But, BTW, shouldn't there be an additional CC check for this PR, like it happens in the DUB repository? I double-checked and this repository is enabled in the CC settings.

Not sure if this actually already a good idea from a publicity POV. It kind of leaves the false impression that this is rather badly tested. I'd say it makes sense to work towards >50% coverage before actively advertising it.

Fair point. Feel free to close this PR after we have verified that CodeCov sends the checks then ;-)

But, BTW, shouldn't there be an additional CC check for this PR, like it happens in the DUB repository? I double-checked and this repository is enabled in the CC settings.

CodeCov waits until Travis completes - after all, the respective build which generates the listing files (and uploads them to CodeCov) hasn't run yet:

Once the CIs have finished it should (hopefully) post status updates.

Ah okay, I thought that it would at least display a pending check.

Closing as it's unlikely to be merged without a significant effort to make the coverage %age go higher (it's currently 40ish percent).


pin mypy to 0.910

With latest release of mypy it broke the build.
See following github items for details:
https://github.com/samuelcolvin/pydantic/issues/3528
https://github.com/python/mypy/issues/6617#issuecomment-892438903
https://github.com/samuelcolvin/pydantic/pull/3175#issuecomment-914897604

If this works, be sure to create an item to remove it once the actual fix is in.


Can we have a separate file to save our settings?

In vscode or vim, we have latex.snip to save all our settings. Right now, all the settings are within the plug-in setting. I am wondering if we could have a separate file. Then, we can use vscode or sublime to edit it. This will be much more efficient.

Yes, I can consider adding this in a future release!
I've tried to make the snippets editor as usable / close to an IDE as possible. It contains syntax highlighting, line numbers, keyboard shortcuts, etc., so should be good enough for most purposes. Just wondering which features in vscode / sublime you're missing?

Wow, that's an ambitious idea. To be honest, I think editing with Vscode is enough for me.  Right now, I think the most important feature in Vscode and sublime is search and replace.
Besides, I meet some bugs recently. I was trying to type \otimes and \varphi in Latex. But I always get \o\times and \var\phi. I cannot find any options to stop the auto completion. Do you have any idea?

I'll try to issue a fix for those issues today.

Search and replace is available if you press Ctrl+F.

Search and replace is available if you press Ctrl+F.

Cool! Can we have a pop-out window for the editor? Right now, we can only see very few lines of the settings.

\otimes and \varphi are fixed in the next release. In the meantime you can create snippets for \otimes and \varphi, and place them at the top of your snippets or give them a higher priority.

Thanks! May I ask what snippets lead to the bug? I didn't find any snippets related to it.

Can we have a pop-out window for the editor? Right now, we can only see very few lines of the settings.

Ah, I see. This is out of scope at the moment, but any PRs to add this or the ability to save snippets in a separate file are welcome!

Thanks! May I ask what snippets lead to the bug? I didn't find any snippets related to it.

The issue was that varphi wasn't in the list of greek letters, and times appeared before otimes in the list of symbols. This meant "times" was matched before "otimes".
However otimes works on my machine even times is placed before otimes, so I'm not sure what's going on here.

I second this. Even though the embeded editor of this plugin is the smoothest one of all plugins I've used, but I think a great advantage of storing the config in a separate file is that we can backup and read the config more conveniently.
I know these two plugins store the config in a separate file:

Extended MathJax
vimrc-support

If this feature gets supported, it would be even better if we can specify the config file location XD

Sounds good! Thanks for linking those plugins, I'll have a look at them for reference. I'll definitely include an option to select where the config is stored!

I like this. It would also enable sharing of config files through github. This could be massive because the useful snippets vary depending on your field.

Seconding this, it could be very useful, especially to use the same snippets on mobile (plugin settings don't always sync) or on different vaults !  Also thanks a lot for the plugin, it's awesome !

Added in 1.6.0!

Hi @artisticat1, thanks for implementing this feature! It works like a charm. A small additional fr on this: could it read the settings file in a hidden directory like .config/?

Hi @artisticat1, thanks for implementing this feature! It works like a charm. A small additional fr on this: could it read the settings file in a hidden directory like .config/?

Sure, open a separate issue and I can look into this!


Runtime exception while migrating db from 1.0.0 -> 1.3.1

Hi, we're using quite an outdated version of cbl (1.0.0) and recently started testing the most recent release (1.3.1).
During the db migration, when Manager instance is created and the lib tries to migrate a document with an attachment, cbl throws a Runtime Exception (works fine if none of the migrated docs has an attachment).
Here are the last logs from the lib along with the error message from the stack trace
W/Database: No pending attachment for getDigest: sha1-zgPXo/erDm42FMuSQx265KQ6xrc=
V/Database: main CANCEL transaction (level 0)
..
com.android.tools.fd.runtime.BootstrapApplication: java.lang.RuntimeException: Database upgrade failed for: <db_name>
It seems that the Database.pendingAttachmentsByDigest is always empty in our case when reaching Database.installAttachment method.
Is there any scenario when this is an expected behaviour? The docs seem to be fine (not corrupted) and replicated to CouchDB, along with the attachment.

Hi @welniak,
Do you migrate CBL from 1.0.0? or 1.0.4?

Hi @hideki, I double checked and we're actually using at the moment a fork of cbl-android from 1.0.0 release branch and a fork of cbl-java-core 1.0.2 with couple of later commits merged.

Hi @welniak,
Question. I am writing sample app to reproduce this issue. But CBL 1.0.0-1.0.2 does not work with Android M (6.0.1) because of following error. Error that I am facing was fixed with 1.0.3. I am wondering what Android version you are using for your test with CBL1.0.2? or Your forked version has fix of this?
10-28 12:10:31.305 25520-25520/hideki.self.issue1023 E/AndroidRuntime: FATAL EXCEPTION: main
Process: hideki.self.issue1023, PID: 25520
java.lang.NoSuchFieldError: no "I" field "mConnectionPtr" in class "Landroid/database/sqlite/SQLiteConnection;" or its superclasses
   at com.couchbase.touchdb.TDCollateJSON.nativeRegisterCustomCollators(Native Method)
   at com.couchbase.touchdb.TDCollateJSON.registerCustomCollators(TDCollateJSON.java:11)
   at com.couchbase.lite.android.AndroidSQLiteStorageEngine.open(AndroidSQLiteStorageEngine.java:46)
   at com.couchbase.lite.Database.open(Database.java:911)
   at com.couchbase.lite.Manager.getDatabase(Manager.java:227)
   at hideki.self.issue1023.MainActivity.initDB(MainActivity.java:32)
   at hideki.self.issue1023.MainActivity.onStart(MainActivity.java:51)
   at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1237)
   at android.app.Activity.performStart(Activity.java:6268)
   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
   at android.app.ActivityThread.-wrap11(ActivityThread.java)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
   at android.os.Handler.dispatchMessage(Handler.java:102)
   at android.os.Looper.loop(Looper.java:148)
   at android.app.ActivityThread.main(ActivityThread.java:5417)
   at java.lang.reflect.Method.invoke(Native Method)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Note to Self:
This issue is reproducible with following sample app.
https://github.com/hideki/cbl-java-tests/tree/master/Issue1023
Error message:
10-28 16:05:34.208 3719-3719/? W/Database: No pending attachment for getDigest: sha1-LmsoqJJ6LOn4YS60pYnvrKbBd64=
10-28 16:05:34.214 3719-3719/? D/AndroidRuntime: Shutting down VM

 --------- beginning of crash
10-28 16:05:34.214 3719-3719/? E/AndroidRuntime: FATAL EXCEPTION: main
 Process: hideki.self.issue1023, PID: 3719
 java.lang.RuntimeException: Unable to start activity ComponentInfo{hideki.self.issue1023/hideki.self.issue1023.MainActivity}: java.lang.RuntimeException: Database upgrade failed for: db
     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
     at android.app.ActivityThread.-wrap11(ActivityThread.java)
     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
     at android.os.Handler.dispatchMessage(Handler.java:102)
     at android.os.Looper.loop(Looper.java:148)
     at android.app.ActivityThread.main(ActivityThread.java:5417)
     at java.lang.reflect.Method.invoke(Native Method)
     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
  Caused by: java.lang.RuntimeException: Database upgrade failed for: db
     at com.couchbase.lite.Manager.upgradeOldDatabaseFiles(Manager.java:799)
     at com.couchbase.lite.Manager.<init>(Manager.java:130)
     at hideki.self.issue1023.MainActivity.initDB(MainActivity.java:87)
     at hideki.self.issue1023.MainActivity.onStart(MainActivity.java:44)
     at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1237)
     at android.app.Activity.performStart(Activity.java:6253)
     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
     at android.app.ActivityThread.-wrap11(ActivityThread.java)
     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
     at android.os.Handler.dispatchMessage(Handler.java:102)
     at android.os.Looper.loop(Looper.java:148)
     at android.app.ActivityThread.main(ActivityThread.java:5417)
     at java.lang.reflect.Method.invoke(Native Method)
     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-28 16:05:34.215 682-1164/system_process W/ActivityManager:   Force finishing activity hideki.self.issue1023/.MainActivity

Note to Self:
It seems stored filename's lowercase-uppercase different causes migration failure.
1.0.x -> lowercase
1.3.1 -> uppercase

PR: https://github.com/couchbase/couchbase-lite-java-core/pull/1505

Hi @welniak,
Can you test migration scenario with 1.3.1-89 which is built from master branch?
http://files.couchbase.com/maven2/com/couchbase/lite/couchbase-lite-android/1.3.1-89/
Thanks!
Hideki

Hi @hideki,
I built cbl-java-core from master branch today (I already had to create a fork of 1.3.1 release due to other issue, so didn't use maven, I merged master into our current branch instead), the problem seems to be gone now, app doesn't crash during the migration anymore.
Thanks


Bring autocomplete drop down to the front

I am implementing the Autocomplete widget in my webapp, but the drop down isn't rendering properly.  If I use the same autocomplete in a static context, it works as expected, but because it’s a controlled component that relies on some other event in order to be rendered, it seems to be rendering in the back. I can use my arrow keys to select options but I cant see the pop up.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

It seems that the the autocomplete drop down renders behind my side panel window.
Expected Behavior 🤔

I should see the drop down.
Steps to Reproduce 🕹
Click on open drop down or start typing.

Screenshot of my app:

Demo of drop down not working (code example):
https://codesandbox.io/s/material-demo-fv075?file=/demo.js
Your Environment 🌎

Tech
Version

Material-UI Core
v4.9.10

Material-UI Lab
v4.0.0.alpha49

React
16.13.1

Browser
chrome

Please provide a full reproduction test case. This would help a lot 👷 .
A live example would be perfect. This codesandbox.io template may be a good starting point. Thank you!

Please provide a full reproduction test case. This would help a lot 👷 .
A live example would be perfect. This codesandbox.io template may be a good starting point. Thank you!

I have updated the post to include a full reproduction test case. Could you please reopen the issue?

@mohammad5055 You can customize the z-index of the popup.

@mohammad5055 You can customize the z-index of the popup.

@oliviertassinari How?


Linked documentation site (highlandjs.org) sends too much traffic to rawgit.com, impeding understanding

The documentation provided is flawed and difficult to read because of a big red banner across the screen:
http://highlandjs.org/
"This site or app is sending too much traffic to rawgit.com. Please contact its owner and ask them to use cdn.rawgit.com instead, which has no traffic limit."

Fixed by #271


chore: added system files to gitignore

Added assortment of files to .gitignore that are automatically generated by OS. List of files taken from this gist.

LGTM! ❤


Should git_path default to current repo?

this way it'd be easier to copy-paste the workflow file from one repo to another (a lazy question, yes).

If you don’t set it it assumes the current repository and branch that are checked out, yes. That variable is there if you want to run URL checker for a different repository then the action is running in. There is the same variable for branch.

So if I don't set it I need to first run the checkout action, now I get it :woman_facepalming: thanks and sorry


Meshail Unisex Salon and Spa!

Meshail Unisex salon is no ordinary salon, they provide an array of exceptional services to men and women! They’re clean, hygienic, affordable and take care of all your beauty and grooming needs for you!
Dedicated to Beauty, Style and Relaxation Meshail: A unisex salon is situated right in the heart of Pune city. It celebrates its own ambience with comfortable seating arrangements, latest equipment, hygienic settings and wonderful music.
The salon offers separate spaces to gents and ladies to maintain their privacy during beauty and SPA treatments. It specializes in Advanced facials, Skin polishing and Machine Treatments. Natural products: natures wonder are used to nourish the skin from within.
Meshail Unisex #Salon & Spa
The modern Indian woman has many responsibilities, from caring for her family to meeting deadlines at work. And every woman needs a place to escape. Naturals is that place for women. It is an oasis to detox, rejuvenate and relax!
Established 16 years ago, Naturals has revolutionized the beauty and franchising industry with over 550+ #salonsspread across India. We are happy about the fact that Naturals has created 400 women franchise partners and trained over 10000 staff. Thanks to our 30 lakh+ customers !!
Because when you look good, you feel good!
Naturals was founded by K. Veena, whose knowledge of the international beauty industry pioneered a new era in the hair and beauty care industry in India.
Today, Naturals is India’s most prominent chain of hair and beauty #salons. Thanks to our world class service, courteous staff and the loyal support from our patrons, Naturals now has 550+ salons across the sub-continent and aims to expand to 3000 salons by 2020.
Hair salons
Like dining at a restaurant, getting a haircut usually calls for 20% gratuity to the hairdresser. Tip more if you’re pleased with the service; if you’re not, feel free to bring it down to 5% or 10%. This is good etiquette regardless of whether the stylist is an employee, an independent contractor, or the salon owner.
Don’t forget about salon assistants—the people who shampoo your hair and assist with color services deserve a tip too. When we talked to Jason Hall, co-owner of Chicago’s Red 7 Salon, about salon etiquette, he said it helps to ask your stylist if they “tip out,” or give a portion of their tips to assistants. If they do, bump up your stylist’s tip to 22% or 23% to cover the difference. If they don’t, it’s polite to tip the assistant around $2, though more is always appreciated for exceptional service.
Hairstyling for weddings and other special events is a different story, however. Jason said a tip of 25%–30% is necessary for the extra effort these services require.
Meshail Unisex Salon & Spa in fc-road,Pune
Nail salons
If you’re happy with your manicure, then there’s not a much gray area about how much to tip at the nail salon. It’s customary for nail artists to receive 15%–20%. To avoid ruining their handiwork, it’s a good idea to pay and tip before they apply the polish so you won’t be fishing for your credit card with tacky nails. You can follow the same rule of thumb (er, big toe) concerning how much to tip for pedicures.
Waxing studios
Tipping 20% is standard practice for a bikini wax. Tip a little extra “if you have a lot of hair and your aesthetician does a little more than she should … like around the thigh area,” according to Anjelie Anzure, an aesthetician at Chicago’s Salon 1800.
Meshail Unisex Salon & Spa
Trips to the salon and spa should be a relaxing experience, not a stressful crash-course in etiquette concerning how much to tip your practitioners. And since salon tipping is a practice that’s both generally expected and rarely talked about, it can be hard to know the difference between being stingy and being overly generous. Below, we lay out how much to tip in a variety of salon and spa settings.
How much to tip: the basics
While every beauty service has its own tipping rates, there are a few basic rules of salon tipping etiquette that apply across the board:
Always tip on the non-discounted rate. Oimaa, Zingalalaa and other deals are a great way to save money on the service itself, but practitioners still give 100% regardless of your discount.
Give more for exceptional service. If your practitioner went out of his or her way to make your experience one of a kind, it’s nice to reward them for a job well done.
When in doubt, bring cash. Salons and spas differ in their payment systems: while some welcome tipping on a credit card, others might not have that ability. Cash is a sure-fire way to ensure your tip gets to where it’s going.

Thank you to not use public repository to make publicity


Adding join/leave to UDPSocket

It would be nice to add join/lease operations to the UDPSocket to facilitate the joining/leaving of multicast groups. Today the operation can be achieved by using setsockopt and could be already made a bit more user friendly by addressing the Issue  #125. However, the most user-friendly solution would be to add join/leave operations straight on the UDPSocket class.
Below a possible implementation for the functionality:
  private func createMembershipRequest(_ ip: String, _ ifaddr: String) -> ip_mreq {
        let group = inet_addr(ip)
        let iface = inet_addr(ifaddr)
        var imr =  ip_mreq()
        imr.imr_multiaddr.s_addr = group;
        imr.imr_interface.s_addr = iface
        return imr
    }

    public func join(group mcastAddr: String, iface ifname: String) throws {
        let imr = self.createMembershipRequest(mcastAddr, ifname)
        try self.descriptor.setOption(level: IPPROTO_IP, name: IP_ADD_MEMBERSHIP, value: imr)

    }

    public func leave(group mcastAddr: String, iface ifname: String) throws {
        let imr = self.createMembershipRequest(mcastAddr, ifname)
        try self.descriptor.setOption(level: IPPROTO_IP, name: IP_ADD_MEMBERSHIP, value: imr)

    }

Ciao, Kydos

This code looks good. Would you want to submit a PR to implement this feature?

 Let me finalise my contribution and then I'll do a Pull Request. Among other things I have a buffer a la java.nio.ByteBuffer to contribute along with send/rcv operations on the socket that operate on this ByteBuffer w/o allocating memory at each time.
I'll probably have things cleaned up and committed on my branch by later today.
-- Kudos

We've moved to a new, streaming TCP setup in Vapor 3. If you're interested in submitting code for that, please open a PR. Thanks!


Disable Kademlia random walk when --reserved-nodes is passed

Fix #6031
Disables automatically finding new peers when --reserved-nodes is passed.
Note that this behaviour is specific to the CLI. The network itself can still be configured to randomly walk the DHT even in reserved-only mode.

Something along the lines of sync_with_reserved_only would be easier for me to grasp. I don't think this should be the concern of this pull request though.

That would be an annoying breaking change unfortunately, but I guess we could introduce a second CLI option and deprecate the first one.

Something along the lines of sync_with_reserved_only would be easier for me to grasp. I don't think this should be the concern of this pull request though.

That would be an annoying breaking change unfortunately, but I guess we could introduce a second CLI option and deprecate the first one.

bot merge


WSL Still Fundamentally Broken and Inoperative on Windows 10:  "Invalid argument" on program launch from terminal/shell

Windows Build Number
Microsoft Windows [Version 10.0.19043.1151]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
Kernel version: 5.10.16
Distro Version
Ubuntu 18.04, Ubuntu 20.04. Problem confirmed on both up-to-date distributions
UPDATE: In addition, I have now confirmed that the problem exists on both Windows 10 Home and Windows 10 Education, which is Windows Enterprise plus some educational cruftware.
Other Software
Docker Desktop Windows. Current version.
Repro Steps
Follow any of the online instructions for installing Docker Desktop on Windows (Home) 10.

Enable Intel virtualization in BIOS (was already done)
Run Windows Update as many times as necessary to obtain most recent build
Enable required windows features in Windows Features
Install WSL 2 Ubuntu 20.04 (I currently have 18.04  to see if dropping back would help. It didn't.)
Install required kernel patch
Boot up WSL Ubuntu 20.04, set username and password, launches and works ok
Install Docker Desktop 3.5.2 (66501), with option for Install Windows component checked, succeeds
Install VSCode, but problem is not VSCode specific)
Run "code" command. Works first time. Thereafter is produces the error indicated under Actual Behavior below

Expected Behavior
The expected behavior is that I can run applications from a WSL 2 Ubuntu 20.04 (or 18.04 or whatever) terminal window. I do this all the time on my Windows 10 Professional machines at both home and work, but I need this to work on Windows HOME, as that's what almost all of my students use.
Actual Behavior
The actual behavior is that I invariably get the following message:
code .
/mnt/c/Program Files/Microsoft VS Code/Code.exe: Invalid argument

Note that I get this message when trying to run a variety of Windows programs
Diagnostic Logs
For what it's worth, I've got a PhD in computer science, expertise in software engineering. I've spent quite a few hours trying all manner of combinations and permutations to get WSL 2 and Docker for Window running on a completely up-to-date install of Windows 10 Home. It's always worth being skeptical of bug reports due to possible user error. I'm highly confident that this isn't user error. I could still be wrong, but I don't think so.

/logs

Also dmesg output would be helpful (and won't be included in the logs).


FIX reading eeglab overlapping epochs with possibly duplicated events

In rare cases when two consecutive epochs were overlapping (just by chance) some of the events could be duplicated across these epochs. Then ev_idx (see the code) would be increased by too much leading to bad latencies and sometimes also to an indexing error.
Example 1
It's easier to explain this using an example. Let's suppose we have epochs A and B, but they are ovelapping so that one of the events (event y) is present in both epochs:
epoch A contains:
event x at latency 0, event y at latency 223

epoch B contains:
event y at latency 0

(note: the latencies above are within-epoch with 0 being the time zeros - this is how EEG.epoch stores them)
Current implementation of the eeglab epoch reader does not assume duplicated events, so it just counts the occurrences of events and in this case even though there are 2 events in total the code would try to look at a third event in EEG.event structure. This leads to indexing error.
I fix it by using the urevent field of the event which contains unique event identifiers.
Example 2
Now lets add epoch C, with two additional events - z and q:
epoch A contains:
event x at latency 0, event y at latency 223

epoch B contains:
event y at latency 0

epoch C contains:
event z at latency -100, event q at latency 0

(note: the latencies above are within-epoch with 0 being the time zeros - this is how EEG.epoch stores them)
Now, even though event y is duplicated, we don't get an indexing error. This is because when looking at epoch B, mne reader thinks it is seeing the third event, but we have four events in total (so no indexing error). Then when looking at epoch C, there are two events, mne reader considers only the first one for storing the EEG.event latency, which it assumes to be the fourth event. We have four unique events in total so still no indexing error.
However, when taking the latency from EEG.event in epoch B it takes the latency of event z, not y and for epoch C it takes the latency of event g, not z.
Taking the latencies of different events is not a big problem as these latencies are taken from EEG.event which for epoched data stores the latency of the events with respect to the epoched concatenated data (so I don't think anyone actually relies on these valuese).
Which latencies we should take
I also changed the code to take the latency of epoch-centering event, not the first one. This is not important to the fix so I can revert this if you prefer it stayed as it was. However I'd argue for saving the latencies of epoch-centering event (the one with respect to which the epoching was done) as this is what mne does in other cases. Additionally the latencies should be taken with respect to the raw data (EEG.urevent.latency), not epoched-concatenated data (EEG.event.latency) - as this is the convention in mne events array. But this is a separate issue, maybe not worth changing. :)

Can you please push this branch to your fork, delete it from upstream, and re-open the PR?

@larsoner Oh, sorry, my bad. I'll fix that in the evening.


A few finishing touches on Pebble.js package

After this merge, I think we should be able to build a publish a (beta?) Pebble.js package.

:+1:


Dataset

Hi,I could not find the dataset vgg_face_data_rgb.npy,the link is not exist. Could you share it again?

Hi, previously I used the dataset link from https://github.com/bcmi/Awesome-Few-Shot-Image-Generation, but it seems this dataset link is not right currently:( I'll try to look for it on my previous server, but cannot guarantee being able to find it and might take some time.
If you find it in somewhere else, please also feel free to tell me. Thank you!

Hi, I have found the dataset and upload it in a new link in README:)


sallybot.exe in debug profile does not exist

Not sure whats wrong here, as it turns out google was not my best friend here. But I suspect I am on a newer version of visual studio. Appreciate any help and tips.

Redownload the program.cs and place in your Server's ID, and your bot's ID into the relevant sections in caps lock that cause errors in the IDE.


Annotation Improvement

Hello ulfryk,
I'd just fix a bug on my code but I had to fix some bugs on your package.json and bower.json :

Your package doesn't work with Angular 1.5 (or 1.5 is bugged)
Your version of Karma is bugged too. Change version fix them.

I didn't write more unit test because I don't like CoffeeScript  :) but a thinks you can write test. The added features isn't very complicated and you know this language better than me !
I think, the TSHint configuration is a best practice, but this configuration is too strict to encourage a developer to work on your component :/ (I waist 1 hour just for fix my with TSHint ... XD )
Best regards :)
Romain

Hello Ulfryk,
Did you see my last update ?

@Romakita - sorry for delay, I have a lot of hard work with other things. Just give me few days ;)

@Romakita - sorry for delay - just few last fixes :)