the icon doesn't change in tint2

I run syncthing-tray with
./syncthing-tray -target="http://localhost:8384"
As expected, in my tint2 panel a red icon appears, and almost immediately it turns blue. However, there are no further changes in the icon's state, although in the console I get a lot of messages like this:
2015/09/29 12:28:06 main.go:345: updating status
2015/09/29 12:28:06 main.go:375: connected 3
2015/09/29 12:28:06 main.go:390: ul+dl
2015/09/29 12:28:06 trayhost.go:113: Setting icon /tmp/trayhosticon100407285 (id: 8)
2015/09/29 12:28:07 main.go:345: updating status
2015/09/29 12:28:07 main.go:375: connected 3
2015/09/29 12:28:07 main.go:390: ul+dl
(and the icon /tmp/trayhosticon100407285  is correct).

Not sure if I can do something about that. Sounds like a bug in trayhost or tint2 similar to the bug I see in ubuntu, there the icon is updated but the text is not updated any more even if my program definately sends to command to update it.

I see. For whatever it's worth, I think it's not tint2 since dropbox and wicd-gtk icons work fine. I use openbox without gnome/kde/xfce/etc. so if trayhost is doing something fancy, instead of the freedesktop system tray protocol, then indeed trayhost could be at fault (still I'm puzzled that the icon is red at the start, and then it does change to blue, so maybe it's something else altogether...)
And BTW - you say "text is not updated", does it mean there should be a tooltip? I don't have any tooltips (and again dropbox and wicd-gtk have correct tooltips).

there should be a menu when right clicking. Mouseover at least exists for me on windows (just says syncthing-tray, so nothing important if it is not there), Ubuntu also does not show that, but the other icons I have there also don't show anything so maybe that is a Ubuntu thing.
I just see that setIcon can return an error, looks like I ignored that...
You can try this release to see if it prints something other than  after the state (ul+dl, idle etc) or if it works since I updated trayhost even if the few commits sound like bugfixes for OSX and not for Linux (also a lot of other things changed here and stuff might be broken, I'm in the middle of changing things there, but for a test this should not matter) https://www.dropbox.com/s/rbq7x26kyutoocj/syncthing-tray?dl=0 (64bit version, hope you don't need 32).

I actually need 32 :-)

ok next try: https://www.dropbox.com/s/5k7hblehebtkj6n/syncthing-tray-linux32.tar.gz?dl=0

After first 2015/09/29 15:04:25 trayhost.go:116: Setting icon /tmp/trayhosticon234072791 (id: 6)
the icon became empty and stayed this way (also after gettin back to idle)

another try: https://www.dropbox.com/s/5k7hblehebtkj6n/syncthing-tray-linux32.tar.gz?dl=0
empty icon sounds like the file does not exist, try something like this with the new version (path has to exists, otherwise it will crash)
./syncthing-tray -icondir="/home/alex/trayhost-icons"
If that also does not work I have no idea what is going on there...

It doesn't work on my main computer. However it works on two other machines which also have tint2 (it's possible that the old version would also work on these two computers).
In case it's of relevance, my main computer is a bit old and doesn't have much more than pure openbox (e.g. it doesn't have any qt libs etc). And in any case thanks for trying!


openai-whisper-cpp: fix darwin build & add file for metal

Description of changes

Compilation failed on darwin due to missing the MetalKit framework. I also added ggml-metal.metal to the bin-directory on darwin because otherwise the metal backend won't work as-is and a warning is printed. There is still a warning about not finding default.metallib, but it doesn't stop it from working.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

I transcribed the jfk.wav sample file with the main whisper binary.

Add a :+1: reaction to pull requests you find important.

Is /bin/ the necessary place for that file? We should avoid 'polluting' the PATH if not.

@hughobrien I updated the PR to avoid putting the metal file into the bin directory.

Result of nixpkgs-review pr 278694 run on x86_64-linux 1

1 package built:

openai-whisper-cpp


--quack mode

At Carbonfact we would love to be able to have the option of running views locally with DuckDB. That would provide speedier iterations. We could also imagine pushing this, by calculating stuff with DuckDB, and pushing the tables to BigQuery for serving. For instance see this.

https://davidgasquez.com/duckdb-bq-storage/

Hi @MaxHalford,
Thank you for this excellent suggestion. I'm excited to take on this issue and implement the DuckDB integration for local processing with the option to push results to BigQuery. This feature will indeed provide faster iterations and more flexibility for our data processing pipeline 🎉
Here's a summary of the actions I plan to take:

Add a new --use-duckdb option to the CLI for running views locally with DuckDB.
Implement a DuckDBClient class that will handle local query execution and view materialization.
Add a --push-to-bigquery option to allow pushing processed data to BigQuery after local computation.
Leverage PyArrow extensively in this implementation:

Use PyArrow as an efficient intermediate format between DuckDB and BigQuery.
Utilize PyArrow's high-performance data transfer capabilities.
Take advantage of PyArrow's seamless integration with pandas for easy data manipulation.

Implement a push_to_bigquery method in the Runner class to handle the data transfer process.
Update the documentation to explain how to use these new features, including any necessary setup for DuckDB and BigQuery.
Add comprehensive unit tests to ensure the reliability of the new functionality.

I'll keep you updated on the progress :)

This extension looks promising


Cannot run deployed application (winrt::hresult_error when debugging)

Windows build number: 10.0.18362
Windows Terminal version (if applicable): Cloned from latest commit as of writing
Visual Studio 2019

I was successful in building three days ago, but I had to reinstall Windows on my machine, and now when I deploy the app and try to run it, I don't get any window showing up at all.
When I try debugging on Visual Studio, I get the following error:
Exception thrown at 0x00007FF8A990A839 in WindowsTerminal.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x000000C5D358DDF8. occurred
Output > Debug:
'WindowsTerminal.exe' (Win32): Loaded 'C:\Users\Mertcan\dev\Terminal\src\cascadia\CascadiaPackage\bin\x64\Debug\AppX\WindowsTerminal.exe'. Symbols loaded.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.Debug.UWPDesktop_14.0.27508.1_x64__8wekyb3d8bbwe\msvcp140d.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.Debug.UWPDesktop_14.0.27508.1_x64__8wekyb3d8bbwe\vcruntime140d.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Users\Mertcan\dev\Terminal\src\cascadia\CascadiaPackage\bin\x64\Debug\AppX\ucrtbased.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'.
The thread 0x870 has exited with code 0 (0x0).
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Users\Mertcan\dev\Terminal\src\cascadia\CascadiaPackage\bin\x64\Debug\AppX\TerminalApp.dll'. Symbols loaded.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\umpdc.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\cryptsp.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Users\Mertcan\dev\Terminal\src\cascadia\CascadiaPackage\bin\x64\Debug\AppX\Microsoft.UI.Xaml.Markup.dll'. Symbols loaded.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\twinapi.appcore.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\rmclient.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\threadpoolwinrt.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\Windows.UI.Xaml.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\iertutil.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\BCP47Langs.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\dcomp.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\OneCoreUAPCommonProxyStub.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Storage.ApplicationData.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\propsys.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\mssprxy.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\StructuredQuery.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\Windows.StateRepositoryPS.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.18362.30_none_a1435978519dce7f\comctl32.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Storage.Search.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\cldapi.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\fltLib.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\edputil.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Web.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Users\Mertcan\dev\Terminal\src\cascadia\CascadiaPackage\bin\x64\Debug\AppX\TerminalSettings.dll'. Symbols loaded.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Users\Mertcan\dev\Terminal\src\cascadia\CascadiaPackage\bin\x64\Debug\AppX\TerminalControl.dll'. Symbols loaded.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\DWrite.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\d3d11.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\d2d1.dll'.
'WindowsTerminal.exe' (Win32): Loaded 'C:\Windows\System32\DXCore.dll'.
c:\users\mertcan\dev\terminal\src\renderer\dx\dxrenderer.cpp(1420)\TerminalControl.dll!00007FF85081CE44: (caller: 00007FF850819CB7) Exception(1) tid(f80) 8007000E Not enough memory resources are available to complete this operation.
    Msg:[Failed to find the requested font] [Microsoft::Console::Render::DxEngine::_GetProposedFont(face)]
c:\users\mertcan\dev\terminal\src\renderer\dx\dxrenderer.cpp(1553)\TerminalControl.dll!00007FF850928E7D: (caller: 00007FF850819CB7) ReturnHr(1) tid(f80) 8007000E Not enough memory resources are available to complete this operation.
    Msg:[c:\users\mertcan\dev\terminal\src\renderer\dx\dxrenderer.cpp(1420)\TerminalControl.dll!00007FF85081CE44: (caller: 00007FF850819CB7) Exception(1) tid(f80) 8007000E Not enough memory resources are available to complete this operation.
    Msg:[Failed to find the requested font] [Microsoft::Console::Render::DxEngine::_GetProposedFont(face)]
] [Microsoft::Console::Render::DxEngine::_GetProposedFont]
c:\users\mertcan\dev\terminal\src\cascadia\terminalcontrol\termcontrol.cpp(1090)\TerminalControl.dll!00007FF8507E1E49: (caller: 00007FF8507FC11D) Exception(2) tid(f80) 8007000E Not enough memory resources are available to complete this operation.
    [winrt::Microsoft::Terminal::TerminalControl::implementation::TermControl::GetProposedDimensions(dxEngine->UpdateFont(desiredFont, actualFont))]
Exception thrown at 0x00007FF8A990A839 in WindowsTerminal.exe: Microsoft C++ exception: wil::ResultException at memory location 0x000000C5D358AE90.
Exception thrown at 0x00007FF8A990A839 in WindowsTerminal.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF8A990A839 in WindowsTerminal.exe: Microsoft C++ exception: wil::ResultException at memory location 0x000000C5D358C410.
Exception thrown at 0x00007FF8A990A839 in WindowsTerminal.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF8A990A839 (KernelBase.dll) in WindowsTerminal.exe: WinRT originate error - 0x80004005 : 'c:\users\mertcan\dev\terminal\src\cascadia\terminalcontrol\termcontrol.cpp(1090)\TerminalControl.dll!00007FF8507E1E49: (caller: 00007FF8507FC11D) Exception(2) tid(f80) 8007000E Not enough memory resources are available to complete this operation.
    [winrt::Microsoft::Terminal::TerminalControl::implementation::TermControl::GetProposedDimensions(dxEngine->UpdateFont(desiredFont, actualFont))]'.
Exception thrown at 0x00007FF8A990A839 in WindowsTerminal.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x000000C5D358DDF8.

(Please tell me if there is another way of providing better debug information, as I am quite inexperienced with using Visual Studio.)

the real meat of the exception is here:
c:\users\mertcan\dev\terminal\src\renderer\dx\dxrenderer.cpp(1420)\TerminalControl.dll!00007FF85081CE44: (caller: 00007FF850819CB7) Exception(1) tid(f80) 8007000E Not enough memory resources are available to complete this operation.
    Msg:[Failed to find the requested font] [Microsoft::Console::Render::DxEngine::_GetProposedFont(face)]
c:\users\mertcan\dev\terminal\src\renderer\dx\dxrenderer.cpp(1553)\TerminalControl.dll!00007FF850928E7D: (caller: 00007FF850819CB7) ReturnHr(1) tid(f80) 8007000E Not enough memory resources are available to complete this operation.
    Msg:[c:\users\mertcan\dev\terminal\src\renderer\dx\dxrenderer.cpp(1420)\TerminalControl.dll!00007FF85081CE44: (caller: 00007FF850819CB7) Exception(1) tid(f80) 8007000E Not enough memory resources are available to complete this operation.
    Msg:[Failed to find the requested font] [Microsoft::Console::Render::DxEngine::_GetProposedFont(face)]
] [Microsoft::Console::Render::DxEngine::_GetProposedFont]
c:\users\mertcan\dev\terminal\src\cascadia\terminalcontrol\termcontrol.cpp(1090)\TerminalControl.dll!00007FF8507E1E49: (caller: 00007FF8507FC11D) Exception(2) tid(f80) 8007000E Not enough memory resources are available to complete this operation.
    [winrt::Microsoft::Terminal::TerminalControl::implementation::TermControl::GetProposedDimensions(dxEngine->UpdateFont(desiredFont, actualFont))]
Exception thrown at 0x00007FF8A990A839 in WindowsTerminal.exe: Microsoft C++ exception: wil::ResultException at memory location 0x000000C5D358AE90.
Exception thrown at 0x00007FF8A990A839 in WindowsTerminal.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF8A990A839 in WindowsTerminal.exe: Microsoft C++ exception: wil::ResultException at memory location 0x000000C5D358C410.
Exception thrown at 0x00007FF8A990A839 in WindowsTerminal.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF8A990A839 (KernelBase.dll) in WindowsTerminal.exe: WinRT originate error - 0x80004005 : 'c:\users\mertcan\dev\terminal\src\cascadia\terminalcontrol\termcontrol.cpp(1090)\TerminalControl.dll!00007FF8507E1E49: (caller: 00007FF8507FC11D) Exception(2) tid(f80) 8007000E Not enough memory resources are available to complete this operation.
    [winrt::Microsoft::Terminal::TerminalControl::implementation::TermControl::GetProposedDimensions(dxEngine->UpdateFont(desiredFont, actualFont))]'.
Exception thrown at 0x00007FF8A990A839 in WindowsTerminal.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x000000C5D358DDF8.

What font is set in your profiles.json? If it doesn't exist, the app will crash without warning currently. See #550

The thing is, I never got to launch the app, therefore did not edit profiles.json file. If the app is deployed into %LOCALAPPDATA% there is only a 0KB wdt.exe file in there that I can find.

The profiles.json should be under "%LOCALAPPDATA%\Packages\WindowsTerminalDev_8wekyb3d8bbwe\RoamingState" does this folder exist and is there a profiles.json with correct content?

Yes there is this folder, and a profiles.json with the following content:
{"defaultProfile":"{09dc5eef-6840-4050-ae69-21e55e6a2e62}","initialRows":30,"initialCols":120,"alwaysShowTabs":true,"showTerminalTitleInTitlebar":true,"experimental_showTabsInTitlebar":false,"profiles":[{"guid":"{0fa7ef23-e38b-47a0-87bc-39f22ee8c2ff}","name":"PowerShell","background":"#012456","colorscheme":"Campbell","historySize":9001,"snapOnInput":true,"cursorColor":"#FFFFFF","cursorShape":"bar","commandline":"powershell.exe","fontFace":"Courier New","fontSize":12,"acrylicOpacity":0.5,"useAcrylic":false,"closeOnExit":true,"padding":"0, 0, 0, 0"},{"guid":"{3735a482-0d20-4f1e-9cef-735ffe93a19a}","name":"cmd","colorscheme":"Campbell","historySize":9001,"snapOnInput":true,"cursorColor":"#FFFFFF","cursorShape":"bar","commandline":"cmd.exe","fontFace":"Iosevka","fontSize":12,"acrylicOpacity":0.4,"useAcrylic":true,"closeOnExit":true,"padding":"0, 0, 0, 0"},{"guid":"{09dc5eef-6840-4050-ae69-21e55e6a2e62}","name":"WSL","colorscheme":"Solarized Dark","historySize":9001,"snapOnInput":true,"cursorColor":"#FFFFFF","cursorShape":"bar","commandline":"C:\\Users\\Mertcan\\Downloads\\Arch\\Arch.exe","fontFace":"Iosevka","fontSize":12,"acrylicOpacity":0.6,"useAcrylic":true,"closeOnExit":true,"padding":"0, 0, 0, 0"}],"schemes":[{"name":"Campbell","foreground":"#F2F2F2","background":"#0C0C0C","black":"#0C0C0C","red":"#C50F1F","green":"#13A10E","yellow":"#C19C00","blue":"#0037DA","purple":"#881798","cyan":"#3A96DD","white":"#CCCCCC","brightBlack":"#767676","brightRed":"#E74856","brightGreen":"#16C60C","brightYellow":"#F9F1A5","brightBlue":"#3B78FF","brightPurple":"#B4009E","brightCyan":"#61D6D6","brightWhite":"#F2F2F2"},{"name":"Solarized Dark","foreground":"#FDF6E3","background":"#073642","black":"#073642","red":"#D30102","green":"#859900","yellow":"#B58900","blue":"#268BD2","purple":"#D33682","cyan":"#2AA198","white":"#EEE8D5","brightBlack":"#002B36","brightRed":"#CB4B16","brightGreen":"#586E75","brightYellow":"#657B83","brightBlue":"#839496","brightPurple":"#6C71C4","brightCyan":"#93A1A1","brightWhite":"#FDF6E3"},{"name":"Solarized Light","foreground":"#073642","background":"#FDF6E3","black":"#073642","red":"#D30102","green":"#859900","yellow":"#B58900","blue":"#268BD2","purple":"#D33682","cyan":"#2AA198","white":"#EEE8D5","brightBlack":"#002B36","brightRed":"#CB4B16","brightGreen":"#586E75","brightYellow":"#657B83","brightBlue":"#839496","brightPurple":"#6C71C4","brightCyan":"#93A1A1","brightWhite":"#FDF6E3"}]}

What Font is Iosevka? This is not the default profiles.json, but looks like an old one instead, where you used a font that isn't installed on your machine anymore.

The thing is, I never got to launch the app, therefore did not edit profiles.json file.

"C:\\Users\\Mertcan\\Downloads\\

It looks a lot like you've edited the profiles.json file . . .
and I'm going to guess that this is the problem:
"fontFace": "Iosevka",

Can you open the Iosevka font and see what its full name is? You might need to use its full name, which could be something like Iosevka Regular or Iosevka Medium.

Well, this is embarassing. I take full blame for not reading through the profiles.json file...
However,
I truly haven't edited this file after formatting and rebuilding Windows Terminal. Does this app download settings from previous installs / cloud? I did in fact set the font to Iosevka before formatting, but had not done this in this install of Windows.
I can confirm that changing the font variable fixes this problem. I am keeping this open to confirm whether my profiles.json file is from an older install, a moderator can close this issue if they choose to do so. Thanks a lot for everyone's help and their time.

@mertcanekiz We've seen a couple of these in the wild. Since we put the settings into the RoamingState directory, Windows holds on to them; this occasionally even happens across installs.
Glad we got it sorted! I'll close this, but we'll look at whether this is part of our long term strategy.
Regardless, things like this will be helped by #622.


Cant access Nuscenes record for vision object detection walkthrough

{"code":"SignatureDoesNotMatch","message":"The request signature we calculated does not match the signature you provided. Check your Secret Access Key and signing method. Consult the service documentation for details.","requestId":"a94a4abc-208b-4f40-aa22-6f6a8d71507f"}

ref： https://github.com/ApolloAuto/apollo/issues/15601#issuecomment-2522084339


Fixed typo in "Utilities"

Signed-off-by: Stephen R. Walli<EMAIL_ADDRESS>

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "patch-2" git@github.com:stephenrwalli/infrakit.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842353667576
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


Handling for modifierExtension and implicitRules

Section Number Identify the most specific section number the issue occurs (e.g. 4.1.2)
Issue Describe your issue. Don't write a book, but do include enough to indicate what you see as a problem.
Resource.implicitRules and Resource.modifierExtension require that the consumer understand their contents in order to safely process the Resource. Since we are not defining these in mCSD, should mCSD profile these to 0..0 to improve interoperability?
Proposed Change Propose a resolution to your issue (e.g., suggested new wording or description of a way to address the issue). The committee might simply accept your suggested text. Even if they don't, it gives a good sense of what you are looking for. Leaving this blank means you can't imagine how to resolve the issue, which makes it easier for the committee to admit they can't imagine how to resolve it either and leave it unresolved.
For all profiled Resources in mCSD, set the maximum cardinality of implicitRules and modifierExtension to 0.
Priority:

Medium: Significant issue or clarification. Requires discussion, but should not lead to long debate.

Discussed on PC review call.  Will incorporate this in pull request before face to face.


windows11  RN 初始化项目后下载第三方库后报错

通过 react-native init 初始化项目后再下载 第三方库 例如 react-native-elements出现如下情况:
node

真机上

之后按照 node 上面的提示操作:
提示1与4不是内部或外部命令，也不是可运行的程序或批处理文件; -- 没有这个命令
提示2与3, 没有效果
没办法只有去安装 react-native-safe-area-context,
安装完成后出现以下报错:

环境是没什么问题呀???
这个是环境配置

但是我把文件名改成了驼峰命名，并且重新初始化一个项目，然后下载 react Navigation 按照教程修改运行报错信息没变化
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':react-native-safe-area-context'.

Could not resolve all artifacts for configuration ':react-native-safe-area-context:classpath'.
Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10.
Required by:
project :react-native-safe-area-context
Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10.
Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.6.10/kotlin-gradle-plugin-1.6.10.pom'.
org.apache.http.ssl.SSLInitializationException: E:lib\security\cacerts (ϵͳ�Ҳ���ָ����·����)

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 8s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':react-native-safe-area-context'.

Could not resolve all artifacts for configuration ':react-native-safe-area-context:classpath'.
Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10.
Required by:
project :react-native-safe-area-context
Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10.
Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.6.10/kotlin-gradle-plugin-1.6.10.pom'.
org.apache.http.ssl.SSLInitializationException: E:lib\security\cacerts (ϵͳ�Ҳ���ָ����·����)

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 8s
at makeError (E:\reactRative\test\node_modules\execa\index.js:174:9)
at E:\reactRative\test\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (E:\reactRative\test\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (E:\reactRative\test\node_modules\@react-native-community\cli\build\index.js:192:9)

Could not get resource 就是标准的翻墙问题（如果你有代理，那就是你的代理对命令行没有生效，需要额外配置）


Implement Language Server Protocol for ytt

Write a Language Server Protocol for ytt files (i.e. Starlark within YAML).
(TODO: there is a lot that can be packed into an LSP; enumerate the features so that we can prioritize and tackle.)
(Potentially) Useful Resources:

https://github.com/juliosueiras/terraform-lsp
https://github.com/mauve/vscode-terraform
https://github.com/Microsoft/tolerant-php-parser
https://github.com/dagger/cuelsp

Related Issues:

#13
#214

Related Conversations:

"Has anyone found a workaround for keeping syntaxically correct k8s spec files annotated with ytt directives and thus avoid invalid warnings from IDEs?"
#carvel (~2022-07-06)

"... it’s [atom] that complains about the two fields existing..."
#carvel (~2020-10-12)

@pivotaljohn - are there any plans to implement this?

there are no items in backlog for this, but feel free to give it a try and we could also discuss in our next carvel community meeting.


Update README.md

a small grammar improvement

@dcblogdev Thanks for this correction. I'll merge your PR soon.


Added browser support for Macos major browser

Including safari and Firefox , still struggling on safari

mac选手自己写一个，你要想干我就把任务assign给你（（（（
You can do it by yourself. If so, I will assign this issue to you XD

mac选手自己写一个，你要想干我就把任务assign给你（（（（ You can do it by yourself. If so, I will assign this issue to you XD

加了一个firefox的，safari好像不太行，它弹出窗口后是不允许输入的
added firefox


Open Front Camera Directly in Android

According to the readme this package doesn't support opening directly to the front-facing camera on Android.

Any plans to support this in the future? Is it even possible on Android?

It's possible.
But we have no plan on doing it in Android since it's badly supported with native camera

what a pity...really hope it can be suported...

Any update on this? I want to open the front camera directly in Android.

use


Include variance_combinations in the output of jenks.jenks()

It seems to me that we should include variance_combinations in the output of jenks.jenks() instead of discarding the data. This would allow one to compute the goodness of variance fit, for example.
I suggest:
(...)
lower_class_limits, variance_combinations = jenks_matrices(data, n_classes)
(...)
return {'breaks':kclass, 'variance_combinations':variance_combinations}

That sounds like a good idea but would change the interface significantly. I'd accept a pull request if you wanted to make it a separate function.

How about adding a parameter varInResults to the list of arguments? If true, the function would return the dict with the breaks and variance. Otherwise, it would return the breaks as it currently does. This parameter would default to False for backwards compatibility.

:+1: sounds good to me, probably should follow the numpy convention and name it return_variance_dict


Release of v8

Hi, any news on the release of v8 ?

Hello @nhaberl,
v8 is in the works already, and everything is going according to plan.
It will be released by end of this month.
Stay connected, cheers! :)

👀

Hello @nhaberl,
Thanks for your patience and for following up.
Here you go v8.0 enjoy and please let me know your feedback.
Have a nice day, cheers! :)


No matching online runner with label: {label_name}, even though such a runner exists

Description
Hello,
I have a Runner to run Gitea Actions with. This has worked in the past, but abruptly stopped working after some time. The Actions are supposed to run after each commit, but they either stay in the "Waiting" state without any logs, or I can see the error message in the UI that says "No matching online runner with label", even though that label exists on the Runner. I tried with several different labels, but in every case the Job could not find the runner with label.
Looking forward to any help that you could provide.
Gitea Version
1.21.5
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
2024/03/22 11:45:42 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/settings/actions/runners for [IP], 200 OK in 13.5ms @ setting/runners.go:98(setting.Runners)
2024/03/22 11:45:43 ...eb/routing/logger.go:102:func1() [I] router: completed POST /api/actions/runner.v1.RunnerService/FetchTask for [IP], 200 OK in 35.3ms @ :1(http.Handler.ServeHTTP-fm)
2024/03/22 11:45:45 ...eb/routing/logger.go:102:func1() [I] router: completed POST /api/actions/runner.v1.RunnerService/FetchTask for [IP], 200 OK in 34.8ms @ :1(http.Handler.ServeHTTP-fm)
2024/03/22 11:45:46 .../context_response.go:68:HTML() [D] Template: user/settings/runner_edit
2024/03/22 11:45:46 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/settings/actions/runners/4 for [IP], 200 OK in 16.3ms @ setting/runners.go:135(setting.RunnersEdit)
2024/03/22 11:45:47 ...eb/routing/logger.go:102:func1() [I] router: completed GET /admin/actions/runners for <IP_ADDRESS>:0, 200 OK in 15.6ms @ setting/runners.go:98(setting.Runners)
2024/03/22 11:45:47 ...eb/routing/logger.go:102:func1() [I] router: completed POST /api/actions/runner.v1.RunnerService/FetchTask for [IP], 200 OK in 34.8ms @ :1(http.Handler.ServeHTTP-fm)
2024/03/22 11:45:48 ...eb/routing/logger.go:102:func1() [I] router: completed GET /admin/actions/runners for <IP_ADDRESS>:0, 200 OK in 16.5ms @ setting/runners.go:98(setting.Runners)
2024/03/22 11:45:48 ...d/actions/runners.go:137:RunnerDetailsEditPost() [D] RunnerDetailsEditPost success: /user/settings/actions/runners/4
2024/03/22 11:45:48 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/settings/actions/runners/4 for [IP] 303 See Other in 7.6ms @ setting/runners.go:155(setting.RunnersEditPost)
2024/03/22 11:45:49 .../context_response.go:68:HTML() [D] Template: user/settings/runner_edit
2024/03/22 11:45:49 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/settings/actions/runners/4 for [IP], 200 OK in 15.9ms @ setting/runners.go:135(setting.RunnersEdit)
2024/03/22 11:45:49 ...eb/routing/logger.go:102:func1() [I] router: completed POST /api/actions/runner.v1.RunnerService/FetchTask for [IP], 200 OK in 35.0ms @ :1(http.Handler.ServeHTTP-fm)
Screenshots

Git Version
1.21.5
Operating System
Linux
How are you running Gitea?
It is ran through a Docker container.
Database
None

The owner of the repository is an organization or yourself or other users? As the runner type is individual.

It belongs to an organization, and no - I cannot see the runner under individual repositories (even though the logs state of the screenshot that I attached to my first post is available, under the Actions tab for each repo). The runner is also Idle in admin/actions/runners.

Your screenshot displayed the runner belongs to some repository because its type is individual.
In admin/actions/runners, it will displayed all runners on this instances but you have to check the scopes while the type.

It belongs to an organization

Then you need an organization or repository level runner, the runner you are using is individual.
For more information, you can see the document here:
https://docs.gitea.com/usage/actions/quickstart#set-up-runner
https://docs.gitea.com/usage/actions/act-runner#runner-levels
But, it seems that the description of individual level runner is missing in docs. 😕

As the Gitea instance admin, can I have access to a runner that another user has created to change its type?
Maybe because the docs are missing, but I am not sure how to change the type of an existing runner. From admin/actions/runners I can see that the type of my runner is individual but when I click the edit icon for that runner I can only change its description, or delete this runner.

As the Gitea instance admin, can I have access to a runner that another user has created to change its type? Maybe because the docs are missing, but I am not sure how to change the type of an existing runner. From admin/actions/runners I can see that the type of my runner is individual but when I click the edit icon for that runner I can only change its description, or delete this runner.

Type cannot be changed.

The issue is resolved, by recreating the runner with type: organisation. Thanks for moving me into the right direction!


Add secondary cache and wrap cache data with expiration time, so that…

… we are not depending on the cache's own expiration time.
Implementations are the same as what we improved sand-ruby in R31.

[ ] @johnny-lai
[ ] @abdulchaudhrycoupa
[ ] @supriya

AMER-M-611:sand-go johnwu$ go test ./... -cover -v
=== RUN   TestSandGo
Running Suite: Sand Suite
=========================
Random Seed:<PHONE_NUMBER>
Will run 67 of 67 specs

••••••time="2021-08-23T14:17:49+08:00" level=warning msg="Sand request: retrying after 1 sec on 401"
time="2021-08-23T14:17:50+08:00" level=warning msg="Sand request: retrying after 2 sec on 401"
••••time="2021-08-23T14:17:52+08:00" level=warning msg="Sand request: retrying after 1 sec on 401"
•time="2021-08-23T14:17:53+08:00" level=warning msg="Sand request: retrying after 1 sec on 401"
time="2021-08-23T14:17:54+08:00" level=warning msg="Sand request: retrying after 1 sec on 401"
•time="2021-08-23T14:17:55+08:00" level=warning msg="Sand request: retrying after 1 sec on 401"
••••time="2021-08-23T14:17:56+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: oauth2: server response missing access_token"
time="2021-08-23T14:17:56+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: oauth2: server response missing access_token"
••••time="2021-08-23T14:17:56+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: oauth2: server response missing access_token"
•time="2021-08-23T14:17:56+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: oauth2: cannot fetch token: 404 Not Found\nResponse: "
•time="2021-08-23T14:17:56+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: oauth2: cannot fetch token: 404 Not Found\nResponse: "
time="2021-08-23T14:17:56+08:00" level=warning msg="Sand token: retrying after 1 sec because of error: oauth2: cannot fetch token: 404 Not Found\nResponse: "
time="2021-08-23T14:17:57+08:00" level=warning msg="Sand token: retrying after 2 sec because of error: oauth2: cannot fetch token: 404 Not Found\nResponse: "
•time="2021-08-23T14:17:59+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: Post \"\": unsupported protocol scheme \"\""
•••••••••time="2021-08-23T14:17:59+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: Post \"\": unsupported protocol scheme \"\""
time="2021-08-23T14:17:59+08:00" level=error msg="Post \"\": unsupported protocol scheme \"\""
•time="2021-08-23T14:17:59+08:00" level=error msg="Service failed to verify the token: Post \"\": unsupported protocol scheme \"\""
•time="2021-08-23T14:17:59+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: Post \"\": unsupported protocol scheme \"\""
time="2021-08-23T14:17:59+08:00" level=warning msg="Sand token: retrying after 1 sec because of error: Post \"\": unsupported protocol scheme \"\""
time="2021-08-23T14:18:00+08:00" level=warning msg="Sand token: retrying after 2 sec because of error: Post \"\": unsupported protocol scheme \"\""
time="2021-08-23T14:18:02+08:00" level=error msg="Post \"\": unsupported protocol scheme \"\""
••time="2021-08-23T14:18:02+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: oauth2: cannot fetch token: 404 Not Found\nResponse: "
••••time="2021-08-23T14:18:02+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: oauth2: cannot fetch token: 404 Not Found\nResponse: "
••••time="2021-08-23T14:18:02+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: oauth2: cannot fetch token: 404 Not Found\nResponse: "
••••time="2021-08-23T14:18:02+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: oauth2: cannot fetch token: 404 Not Found\nResponse: "
••••time="2021-08-23T14:18:02+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: oauth2: cannot fetch token: 404 Not Found\nResponse: "
••time="2021-08-23T14:18:02+08:00" level=error msg="Error response from the authentication service: 500 - "
•time="2021-08-23T14:18:02+08:00" level=warning msg="Received a token with <= 3s expiration time from Sand: 0000-12-31 23:59:57 +0000 UTC"
time="2021-08-23T14:18:02+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: Received a token with <= 3s expiration time from Sand: 0000-12-31 23:59:57 +0000 UTC"
•time="2021-08-23T14:18:02+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: oauth2: cannot fetch token: 403 Forbidden\nResponse: "
••2021/08/23 14:18:02 http: TLS handshake error from <IP_ADDRESS>:64044: tls: client offered only unsupported versions: [304 303]
2021/08/23 14:18:02 http: TLS handshake error from <IP_ADDRESS>:64045: tls: client offered only unsupported versions: [304 303]
time="2021-08-23T14:18:02+08:00" level=warning msg="Sand token: retrying after 0 sec because of error: Post \"https://<IP_ADDRESS>:64043\": remote error: tls: protocol version not supported"
•2021/08/23 14:18:02 http: TLS handshake error from <IP_ADDRESS>:64049: tls: client offered only unsupported versions: [304 303]
••••••••
Ran 67 of 67 Specs in 13.044 seconds
SUCCESS! -- 67 Passed | 0 Failed | 0 Pending | 0 Skipped
--- PASS: TestSandGo (13.06s)
PASS
coverage: 89.7% of statements
ok  	github.com/coupa/sand-go	13.438s	coverage: 89.7% of statements
=== RUN   TestCache
Running Suite: Cache Suite
==========================
Random Seed:<PHONE_NUMBER>
Will run 15 of 15 specs

•••••••••••••••
Ran 15 of 15 Specs in 0.021 seconds
SUCCESS! -- 15 Passed | 0 Failed | 0 Pending | 0 Skipped
--- PASS: TestCache (0.02s)
PASS
coverage: 100.0% of statements
ok  	github.com/coupa/sand-go/cache	0.223s	coverage: 100.0% of statements
AMER-M-611:sand-go johnwu$


MBMAN

Website Link

@PrajwalMbman First stage of verification passed, official domain is facebook.com as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://www.facebook.com/mbmanofficial/

Also you can check https://mbman.edu.np/ and  https://mbman.edu.np/computer-engineering/ for verification.

@PrajwalMbman Thank you for your patience while waiting for a review and processing your request. Pull request merged.


How to request all objetcs

There is a way to request all objects of an Entity, I know that the max limit is 100, but I don't want to send two queries to get 101 results

@aitorcarrera Can you ask this on StackOverflow and post a link to it here?


Simplify dockerfile

The previous version of the dockerfile saught to solve a size problem caused by torch. Torch is an implicit dependency from the sdk and is required for embeddings. The GPU version of torch is huge. And would break app runner if we tried to include it, we only need the cpu version so we hard coded the installation for that in the dockerfile.
Aside from looking a little messy, this made it difficult to install dependencies outside of docker, and managing dependencies this way leaves extra room for versioning issues.
This moves the torch dependency to poetry so it can be more explicitly, and more consistently, managed. Note that this requires accounting for mac specific torch install behaviour.
I built the image locally and the size did not increase in size, i want to double check this is true in the container registry too. Would also appreciate reviewers confirming this doesnt interfere with their local setup.
Description
Please include:

a summary of the changes
links to any related issue/ticket
any additional relevant motivation and context
details of any dependency updates that are required for this change

Proposed version
Please select the option below that is most relevant from the list below. This
will be used to generate the next tag version name during auto-tagging.

[ ] Skip auto-tagging
[x] Patch
[ ] Minor version
[ ] Major version

Visit the Semver website to understand the
difference between MAJOR, MINOR, and PATCH versions.
Notes:

If none of these options are selected, auto-tagging will fail
Where multiple options are selected, the most senior option ticked will be
used -- e.g. Major > Minor > Patch
If you are selecting the version in the list above using the textbox, make
sure your selected option is marked [x] with no spaces in between the
brackets and the x

Type of change
Please select the option(s) below that are most relevant:

[ ] Bug fix
[ ] New feature
[ ] Breaking change
[ ] GitHub workflow update
[ ] Documentation update
[x] Refactor legacy code
[ ] Dependency update

How Has This Been Tested?
Please describe the tests that you added to verify your changes.
Reviewer Checklist

[x] The PR represents a single feature (small driveby fixes are also ok)
[x] The PR includes tests that are sufficient for the level of risk
[x] The code is sufficiently commented, particularly in hard-to-understand areas
[x] Any required documentation updates have been made
[x] Any TODOs added are captured in future tickets
[x] No FIXMEs remain

I currently have test failures locally - looking at this now


Windows 7 and 10 install fails

I have attempted to install meteor on Windows 7 and 10 with similar results.  I have suspect the path variable yet it appears to be more complex.

Hi @thomasrivette, I don't own any Windows devices but some users have shared a solution for these environments: https://github.com/PEM--/meteor-helper#how-to-launch-meteor-on-windows-with-an-appropriate-path

Thanks for your help!  Any other recommendations?
On Sun, Dec 20, 2015 at 12:05 PM, Pierre-Eric Marchandet <
<EMAIL_ADDRESS>wrote:

Hi @thomasrivette https://github.com/thomasrivette, I don't own any
Windows devices but some users have shared a solution for these
environments:
https://github.com/PEM--/meteor-helper#how-to-launch-meteor-on-windows-with-an-appropriate-path
—
Reply to this email directly or view it on GitHub
https://github.com/PEM--/meteor-helper/issues/55#issuecomment-166135475.

--
Thomas Rivette
407 242 1263
<EMAIL_ADDRESS>

It didn't work for you? Try to launch Meteor on the command line (the Console, if my memory serves me well). If it fails, you should find some help on Meteor's forum.

yes - not working.  I posted something on the forum.  the create ran
directly from the ".meteor" directory and created the simple-todo directory
and elements"css, html and js" in addition to the ".meteor" subdirectory.
when I cd to the simple-todo subdir and execute meteor it responds 'meteor'
is not recognized as an internal or external command.  which indicates that
the path i am able to view in th ht eadvanced setting and entered as
c;\users\thomas rivette\appdata\local" isn't working, which is what I
would expect as correct per the information posted.
Do you know where the log file is located?
On Sun, Dec 20, 2015 at 1:05 PM, Pierre-Eric Marchandet <
<EMAIL_ADDRESS>wrote:

It didn't work for you? Try to launch Meteor on the command line (the
Console, if my memory serves me well). If it fails, you should find some
help on Meteor's forum https://forums.meteor.com.
—
Reply to this email directly or view it on GitHub
https://github.com/PEM--/meteor-helper/issues/55#issuecomment-166141663.

--
Thomas Rivette
407 242 1263
<EMAIL_ADDRESS>

If the command doesn't start, only the OS can trigger a log. When meteor is launched, it simply displays its log on the STDOUT and STDERR of the process that has executed it.
Sounds like a PATH problem to me. Guys using the same OS as yours should be able to help you out better that I can. Let's hope that someone will help you out on Meteor's forum.

I see forum dialog that introduces atom...not sure I understand the
implication as I am familiar with atom as an editor...
On Sun, Dec 20, 2015 at 1:34 PM, Pierre-Eric Marchandet <
<EMAIL_ADDRESS>wrote:

If the command doesn't start, only the OS can trigger a log. When meteor
is launched, it simply displays its log on the STDOUT and STDERR of the
process that has executed it.
Sounds like a PATH problem to me. Guys using the same OS as yours should
be able to help you out better that I can. Let's hope that someone will
help you out on Meteor's forum.
—
Reply to this email directly or view it on GitHub
https://github.com/PEM--/meteor-helper/issues/55#issuecomment-166146060.

--
Thomas Rivette
407 242 1263
<EMAIL_ADDRESS>

Actually, if you can't execute Meteor on the command line, there's nothing that Atom can do: it only means that the OS doesn't know where the meteor command is.
My guess is that most of the discussion about Atom on the forum are related to creating hybrid apps.
You should post a clear message: "I can't run Meteor on Windows 7 or 10" and explain what happens when you're are using meteor create, cd into it and launch meteor. Assuredly, someone has stumbled on this :wink:


[BEAM-6777] Let HealthzServlet respond actual health information of SDK harnesses

SdkHarnessRegistry will mark any SDK harness as unhealthy if its client is unregistered due to broken gRPC connection or response with error status from SDK harness.
HealthzServlet will reply with health information by calling SdkHarnessRegistry.sdkHarnessesAreHealthy() when pinged by the health checker.
r: @angoenka
cc: @aaltay
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---

---
---

Java

Python

---

---
---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

Tested manually by running a Python streaming pipeline against the updated Dataflow execution engine. Found that the VM was able to be restarted when the runner harness receives and error from SDK harness or the gRPC channel between them is broken.

R: @lukecwik

Run Java_Examples_Dataflow PreCommit

Run Java_Examples_Dataflow PreCommit


(Port from GPU) Reset fbo on ResizableChanged on macOS

Port of https://github.com/runelite/runelite/commit/2e34cbc
All credits go to Adam.

What's the behavior that this fixes?

It's part of a series of fixes that are related to the stretched mode plugin:

https://github.com/runelite/runelite/commit/bb43d232bb594c6e062e3342fa7db1b53f594c11
https://github.com/runelite/runelite/commit/637ee563d622fa187b2e4537ade86979bad1dbc9
https://github.com/runelite/runelite/commit/2e34cbcbe100db843e64f22da48e7335f459e873

Okay cool. :+1:

keyosk's comment gives good background, but these changes aren't just applicable to stretched mode. Currently, switching resizable modes at all (regardless of the stretched mode plugin status) bugs out the screen until the window size is changed.
For example, here's what happens when I switch from fixed mode to resizable on master (despite appearances, stretched mode is not on in this screenshot):


Allow Arrays for Firewall Ip

It would be great from a typing / code sprawl perspective to be able to supply an array for the 'source:' flag of an iptables rule and have the package expand that to a set of rules one for each source entry. Instead of having to to duplicate the entry for each network source so instead of:
'069 accept tftp requests on specified interfaces - RedNet UDP':
chain: 'INPUT'
source: '<IP_ADDRESS>/20'
proto: 'udp'
dport: '69'
action: 'accept'
'069 accept tftp requests on specified interfaces - BlueNet UDP':
chain: 'INPUT'
source: '<IP_ADDRESS>/20'
proto: 'udp'
dport: '69'
action: 'accept'
You would just have:
'069 accept tftp requests on specified interfaces':
chain: 'INPUT'
source:
- '<IP_ADDRESS>/20'
- '<IP_ADDRESS>/20'
proto: 'udp'
dport: '69'
action: 'accept'
Even more typing could be eliminated by allowing an array for the protocol and dport entries as well but the main stumbling block I've hit is the source entries so far.

You should poke the "puppet/firewall" module developers and ask for this feature there. If they add support for it then it'll automatically get picked up here.

In fact there's a ticket already opened for this on their bug tracker. I'd suggest poking them and letting them know you're interested in it.

Sounds good, I'll +1 the request.

I don't want to reopen this issue but do you have any idea how hieratic firewall management will meld with something like garthr-docker (https://github.com/garethr/garethr-docker) which has to make adjustments to iptables to make docker work as desired?

It's really going to depend on what those modifications are, but generally speaking I don't see why they would interfere with each other.


BUG: scipy.spatial.ConvexHull does not allow deep-copy when setting incremental=True

Describe your issue.
Hi, Scipy team,
I got a problem when working with scipy.spatial.ConvexHull class. After creating an instance of ConvexHull object with flag incremental=True, trying to copy.deepcopy yields TypeError: self._qh cannot be converted to a Python object for pickling. The error does not appear when incremental=False. Minimal reproducing code is attached in the Reproducing Code Example textbox.
Full error message:
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "$...my_path...$\Python\Python38\lib\copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "$...my_path...$\Python\Python38\lib\copy.py", line 270, in _reconstruct
    state = deepcopy(state, memo)
  File "$...my_path...$\Python\Python38\lib\copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "$...my_path...$\Python\Python38\lib\copy.py", line 230, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "$...my_path...$\Python\Python38\lib\copy.py", line 161, in deepcopy
    rv = reductor(4)
  File "stringsource", line 2, in scipy.spatial._qhull._Qhull.__reduce_cython__
TypeError: self._qh cannot be converted to a Python object for pickling

My environment setup:
System: Windows 10 Home
CPU: Intel i7-10700
Python version: 3.8.6
Scipy version: 1.8.0 installed with Pycharm
Numpy version: 1.21.4 installed with Pycharm
I appreciate it if you look into this issue. Feel free to relabel it. Thank you!
Reproducing Code Example
from scipy.spatial import ConvexHull
import copy

# random non-degenerate input
hull1 = ConvexHull(np.array([[0, 1,3], [2,3,4], [8,-1,9], [2,4,0]]), incremental=True)
hull2 = copy.deepcopy(hull1)

Error message
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "$...my_path...$\Python\Python38\lib\copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "$...my_path...$\Python\Python38\lib\copy.py", line 270, in _reconstruct
    state = deepcopy(state, memo)
  File "$...my_path...$\Python\Python38\lib\copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "$...my_path...$\Python\Python38\lib\copy.py", line 230, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "$...my_path...$\Python\Python38\lib\copy.py", line 161, in deepcopy
    rv = reductor(4)
  File "stringsource", line 2, in scipy.spatial._qhull._Qhull.__reduce_cython__
TypeError: self._qh cannot be converted to a Python object for pickling

SciPy/NumPy/Python version information
1.8.0 1.21.4 sys.version_info(major=3, minor=8, micro=6, releaselevel='final', serial=0)

Note that this isn't specific to ConvexHull--all incremental=True cases below fail. _qh looks like a C pointer, which is probably why it is a pain to pickle sometimes. The reason this works when incremental=False didn't immediately jump out at me.
diff --git a/scipy/spatial/tests/test_qhull.py b/scipy/spatial/tests/test_qhull.py
index 597837297..8ebf63550 100644
--- a/scipy/spatial/tests/test_qhull.py
+++ b/scipy/spatial/tests/test_qhull.py
@@ -794,6 +794,24 @@ class TestConvexHull:
         expected = np.array([True, False, False, False], dtype=bool)
         assert_equal(hull.good, expected)

+
+    @pytest.mark.parametrize("class_obj", [
+        qhull.ConvexHull,
+        qhull.Voronoi,
+        qhull.Delaunay,
+    ])
+    @pytest.mark.parametrize("incremental", [False, True])
+    def test_pickle(self, class_obj, incremental):
+        # test for gh-16190
+        points = np.array([[0.2, 0.2],
+                           [0.2, 0.4],
+                           [0.4, 0.4],
+                           [0.4, 0.2],
+                           [0.3, 0.3]])
+        obj = class_obj(points=points,
+                        incremental=incremental)
+        obj_copied = copy.deepcopy(obj)
+
 class TestVoronoi:
     def test_masked_array_fails(self):
         masked_array = np.ma.masked_all(1)

Another report of the pickling proble, on stackoverflow: https://stackoverflow.com/questions/76361414/is-there-a-way-to-save-pre-calculated-voronoi-diagrams-with-incremental-option-t


Document reauthentication

@amandle added reauthentication in #583, need to add documentation to auth/README.md in the 2.0.0 branch.

This should have been closed a while ago.


Python: ImportError: No module named compiler.ast

root@root:/home/kobida# npm install sharp

><EMAIL_ADDRESS>install /home/kobida/node_modules/sharp
> node-gyp rebuild

Traceback (most recent call last):
  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>
    import gyp
  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>
    import gyp.input
  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>
    from compiler.ast import Const
ImportError: No module named compiler.ast
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack     at ChildProcess.emit (events.js:160:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.9.0-5-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/kobida/node_modules/sharp
gyp ERR! node -v v9.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^0.11.0 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^0.11.0 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^0.11.0 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-01-11T02_51_28_732Z-debug.log

This problem relates to local Python installations. Please subscribe #186 for updates about a possible Python-less future.


Can't find the link to download the apache-skywalking-bin-es7.tar.gz or apache-skywalking-bin-es7.zip

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
according the doc backend-storage.md
I can't find the link to download the apache-skywalking-bin-es7.tar.gz or apache-skywalking-bin-es7.zip.
Can any one tell me?
Thank~

Bug

Which version of SkyWalking, OS and JRE?

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

Because they are not released yet. They are new features in 6.6.0

ES7.0+can't be supported by skywalking 6.5,  which has some errors when starting up. Hopefully skywalking 6.6 soon release.

We have unfinished features in 6.6.0, we will try to release in the next month.


[Bug Report] "null" When playing YT playlist

Hi, I have the following error, When you add a youtube playlist the queue.
http://prntscr.com/uwfe95
Any solution?

Dupe of #500


Fix handling RequestSlash with nonascii characters in query string.

Fix #631

@auvipy: Thanks for trying to contribute, but these reviews are more noise than actually useful. Whoever ends up merging the PR can easily rebase it before doing so (and also re-run the tests).


Mount workflow controller configmap as a volume

We deploy our workflow controller in a different cluster with the one running the workflow workloads. In the old way we had to create the controller configmap in the workloads cluster rather than the controller cluster, which is not expected.
With mounting the configmap as a volume of the workflow controller deployment, the configmap could be in the same cluster with the controller.

@alexmt resolved, do not watch configmap if configPath is set

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Hou Junjie seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

This PR has had no activity in 1 year. Closing.


Deprecate CheckUserAdminMixin and HasUserAdmin

This form of permission checking is best done in IAM. ObjectPermissionsModelAdminMixin from django-rules does a great job already.
If people want to strictly limit access to objects to certain users, they can override get_queryset()

Since it is relatively a common use case we can perhaps keep them around without the has_xxx_permission methods

With this change, these mixins will only be used to remove access to users who don't pass the check, not just merely limit access. To merely limit access other methods should be used such as ObjectPermissionsModelAdminMixin.


Incorporate common/modifiers

No need to actually change any file there, as none of them references tags.


Social icons

ticket in response to #151 where we're chatting about which icons should stay and which should go.
currently in designs:

twitter
youtube
email
chrome developers
chromium

should be in designs:

twitter
youtube
???

Essentially
Let's avoid filling this area up for no reason and/or forgetting people. Curious if we have analytics about social icon performance, like click rates. Maybe we can make this decision data driven? Curious too what the minimal icons are that marketing thinks are most important.

Might be worth reaching out to Harleen?

@harleenkbatra08 what do you think? We're talking about the icons to display at the very bottom-left of the page https://master--cds2019.netlify.com/devsummit/.
I think Twitter & YouTube might be enough. They're both relevant to the event.

Sounds good. I think we have an email id for queries as well. Can get it
from @vschupmann perhaps?
On Fri, Aug 2, 2019 at 10:12 AM Jake Archibald<EMAIL_ADDRESS>wrote:

@harleenkbatra08 https://github.com/harleenkbatra08 what do you think?
We're talking about the icons to display at the very bottom-left of the
page https://master--cds2019.netlify.com/devsummit/.
I think Twitter & YouTube might be enough. They're both relevant to the
event.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChrome/devsummit/issues/208?email_source=notifications&email_token=ALHVD53LTLQIY6CPQTKM7TLQCP3BRA5CNFSM4IIWALI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3NFUXA#issuecomment-517626460,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALHVD54F3MQFZFIE2HDKGBTQCP3BRANCNFSM4IIWALIQ
.

--

•  *Harleen Batra
•  *Developer PMM - Chrome
•  +44<PHONE_NUMBER>

HTH!
That email alias is<EMAIL_ADDRESS>

cool, so twitter, youtube and email? rad. 👍

Yes please
On Fri, 2 Aug 2019 at 21:45, Adam Argyle<EMAIL_ADDRESS>wrote:

cool, so twitter, youtube and email? rad. 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChrome/devsummit/issues/208?email_source=notifications&email_token=ALHVD545FSNOH2YVUSLKTZTQCSMH3A5CNFSM4IIWALI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3OZSDA#issuecomment-517839116,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALHVD56ITBEJEIDUTIKOML3QCSMH3ANCNFSM4IIWALIQ
.

--

•  *Harleen Batra
•  *Developer PMM - Chrome
•  +44<PHONE_NUMBER>

designs are updated. do we want to assign/transition this to eng now or make a new ticket?


Disabled toggle all options on search

Disabled toggle all options on search. To reduce confusion what the toggle button does while searching. #8

Disable toggle all options button on search demo:

Wow! That's amazing.


Document time arrays

This PR:

updates and completes the tutorial on defining time arrays
adds API documentation for TimeArray objects
makes various stylistic changes required to document the class attributes and methods

2f9698afcc8a60bc140ff2a49253bea3fafbafd1 and efc5777cbdfa0f7790558ed369c239fbb9075abd are just copy-pasted. I recommand reviewing without these 2 commits.
Related to https://linear.app/dynamiqs/issue/DYN-147/improve-timearray-support.

LGTM, thanks for the corrections ! Feel free to merge.

 It's great, thanks a lot for the work 😍


Update site.json

Typos?

No typos in CI!
https://github.com/conedevelopment/sprucecss-eleventy-documentation-template/blob/main/.github/workflows/test.yml


[WIP] FluentAvaloniaTheme updates v1.2, part 2

This PR is a major change to the way FluentAvaloniaTheme works and features several breaking changes:

Use MicroCom WinRT interop and reduce amount of undocumented API calls used for Windows system resources
Changes to resources:
--LightResources.axaml, DarkResources.axaml, and BaseResources.axaml are now ResourceDictionary types, rather than Styles
--AccentColors, ContentControlThemeFontFamily, and SymbolThemeFontFamily are now defined inside FluentAvaloniaTheme and not exposed in any resource dictionaries (they still work exactly the same, however).
--FluentAvaloniaTheme now searches App level resource dictionary (App.axaml) before it searches the Fluent theme resources allowing you to override values now. Note that the app level styles collection is not searched, only the resource dictionary (App.Resources)
breaking change Properties have been renamed:
-- UseSegoeUIOnWindows is now UseSystemFontOnWindows
-- GetUserAccentColor is now UseUserAccentColorOnWindows
-- DefaultToUserTheme is now UseSystemThemeOnWindows
NEW: SkipControls property added: this property is a semicolon delimited string that will let you skip certain controls when templates are loading. For example, if you never use the DataGrid or the NavigationView, you can specify those controls here and the templates will not be loaded when FluentAvaloniaTheme initializes. This is a startup value only and more on how this works will come later...
In order to allow the above to work, Controls.axaml was removed and a list of all control templates is provided in text file format, which is parsed at load
breaking change CustomAccentColor property removed as you can now override SystemAccentColor and its variants directly in App.axaml. However, you will need to generate the light/dark shades yourself.

More features may be added, still experimenting with what I can do. So far, the new method does not seem to have any significant performance impacts (before loading all resources/styles was about 0.5-0.7s, now its 0.6-0.7, and can be improved by skipping controls you never use). Skipping controls not only benefits memory and initial load time, but also means fewer Style selectors are iterated over when templates are applied.

I feel as if you should keep CustomAccentColor as in my applications I have the ability for the user to select from a list of accent colors for customization.

I feel as if you should keep CustomAccentColor as in my applications I have the ability for the user to select from a list of accent colors for customization.

Note that I'm not removing the ability to set a custom accent, just transferring the responsibility. Now that you can override resources at the app level, you can provide the accents there. The downside is that you'll have to generate the light/dark variants yourself, but that's trivial. However, this now gives anyone full access to how they want the variants generated.
If you want to supply custom color, add to App level resource dictionary
Application.Current.Resources.Add("SystemAccentColor", myColor);
or update via
Application.Current.Resources["SystemAccentColor"] = myUpdatedColor;
& repeat for variants
If you want to return to default, just remove them (note that the remove feature on AvaloniaDictionary isn't functional and a recent PR fixed that)

I feel as if you should keep CustomAccentColor as in my applications I have the ability for the user to select from a list of accent colors for customization.

Note that I'm not removing the ability to set a custom accent, just transferring the responsibility. Now that you can override resources at the app level, you can provide the accents there. The downside is that you'll have to generate the light/dark variants yourself, but that's trivial. However, this now gives anyone full access to how they want the variants generated.
If you want to supply custom color, add to App level resource dictionary
Application.Current.Resources.Add("SystemAccentColor", myColor);
or update via
Application.Current.Resources["SystemAccentColor"] = myUpdatedColor;
& repeat for variants
If you want to return to default, just remove them (note that the remove feature on AvaloniaDictionary isn't functional and a recent PR fixed that)
EDIT: After some thinking, I've decided to go ahead and keep this property. Both options are now available, you can set CustomAccentColor and get the same behavior as before, or you can directly override them to your liking.

Thanks for keeping the property :) looking forward to this update!


Generic Prop Animation (PR 2/4)

For #2363
Change List

Handle LayerPropAnimation in prop creation
Check animation states in layerManager.needsUpdate
Update animation props in layer._initialize and layer._update
Use prop animation in heatmap example

Coverage decreased (-0.06%) to 59.02% when pulling 4d4e18698a57b737e0f92fa5fc880bd4b0e25ab6 on animation-2 into 9b3a1ec09369c4d76ed777b3f6c85877adb903e7 on animation-1.

Coverage decreased (-0.06%) to 59.02% when pulling 4d4e18698a57b737e0f92fa5fc880bd4b0e25ab6 on animation-2 into 9b3a1ec09369c4d76ed777b3f6c85877adb903e7 on animation-1.


Deployment - Connect GitHub repository is empty on Choose organization

I have a github repo that I've forked so both my origin and remote have values.
origin  https://github.com/diberry/js-e2e-express-server.git (fetch)
origin  https://github.com/diberry/js-e2e-express-server.git (push)
upstream        https://github.com/Azure-Samples/js-e2e-express-server.git (fetch)
upstream        https://github.com/Azure-Samples/js-e2e-express-server.git (push)

In VS Code for the app service, which I've already deployed once and ran locally so the code runs in both places. I selected the Azure app service then selected Deployments then selected Connect to a GitHub Repository. The 1/3 form item is empty for Choose organization.

If I enter my fork name, 'diberry', as the value, the entire tab closes.

Yeah we don't check your local remotes at all for this, so that's probably unrelated. I think we ask you to connect your Azure account to GitHub and we use that login to list the organizations. @diberry does that sound familiar - and did you set up the right account? It probably would've pointed you to the Azure portal in the browser to do that
@nturinski for any other ideas as he authored this flow

Hi @diberry
Everything that @ejizba said is correct.
The GitHub experience for App Service relies on a source token that we are getting from Azure.  If you check this link https://github.com/settings/applications, you should see Azure App Service being authorized.

If you don't see this app being authorized in your settings, it's possible that a different GitHub account was authorized.  Otherwise, your GitHub username and all of your orgs should be displayed at the step shown in your screenshot.  There could be something glitched in Azure in which case, you can try revoking access and going through the authentication process again.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Use existing Mironfile.from_file method

The code in .from_dir duplicated the .from_file code, so we can use the .from_file method instead.
Also, there's no need to reference Mironfile explicitly in the Mironfile class, so Mironfile.new can be new.

I believe the failure is unrelated, since it happens on master too.

:+1: Sorry for not seeing this earlier (apparently Github does not have you "watch" repositories you create..?)... Anyway.. I fixed the failing test on master -- would you be willing to rebase?

Sure, I just rebased.

:+1: LGTM - thanks for the PR!


[FEATURE]: Better optmizer for llm training

Describe the feature
I want to continue pre-training llama 2 70b using my own data. My data is about 1b tokens. I have read Fine-tuning Llama 2 70B using PyTorch FSDP . In this blog, the authors said the minimal hardware requirement is 8 a100 80GB node. It seems too cost for me. Is there any method to train with less resources? Here the resources I mean mainly the GPU memory.
$ accelerate estimate-memory meta-llama/Llama-2-70b-hf
┌────────────────────────────────────────────────────────┐
│  Memory Usage for loading meta-llama/Llama-2-70b-hf  │
├───────┬─────────────┬──────────┬───────────────────────┤
│ dtype │Largest Layer│Total Size│  Training using Adam  │
├───────┼─────────────┼──────────┼───────────────────────┤
│float32│   3.19 GB   │256.29 GB │         1.0 TB        │
│float16│    1.6 GB   │128.15 GB │       512.59 GB       │
│  int8 │  817.02 MB  │ 64.07 GB │       256.29 GB       │
│  int4 │  408.51 MB  │ 32.04 GB │       128.15 GB       │
└───────┴─────────────┴──────────┴───────────────────────┘
I have searched some papers and related methods.

better distributed algorithms
This includes 1). DeepSpeed Zero DP and pytorch FSDP; 2). DeepSpeed Zero Offload 3). Pipeline Parallel 4). Tensor Parallel. As for less GPU memory. All of these methods can't cut down GPU memory from 512GB to 256GB except CPU offload. But it will slow down training speed very much.

quantization
Many quantization methods have been proposed to speed inference. But None can be used for pretraining for full fine tuning. Some methods such as QRoLA can be used to fine tuning with PEFT. But that's not my goal. It seems that training must at least 16bit(mixing precision training).

memory efficient optimizer
Adam seems to be the standard optimizer for llm training. There are many reasons including: 1) Other people do it successfully so I must do like them. 2) Comparing with sgd, it need less hyper parameter tuning. 3) Training LLM is very time(money) consuming, so don't waste time try other method(this reason is somewhat like number 1). But in the deep learning community(esp CV), many think sgd may find better solution.
As DeepSpeed Zero paper says. Most of the memory is used by optimizer states.
Even using adaptive optimizer, there have been some memory efficient optimizers proposed but not gain interesting of llm comunity.
lion optimizer
lomo optimizer
Adafactor already implemented by pytorch.
CAME: Confidence-guided Adaptive Memory Efficient Optimization code here

So In my opinion, using memory efficient optimizer to replace adam/adamw is a good direction. Could colossalAI integrate better optimizer with fsdp/deep speed? Because for 70b model, even the parameter can not be loaded in a gpu. So we need model parallel or parameter sharding.

Thank you for your suggestion, it's beneficial for the development of ColossalAI.


Replace EUPATH has active ingredient by RO one

Replace
http://purl.obolibrary.org/obo/EUPATH_0000061	has active ingredient
by
http://purl.obolibrary.org/obo/RO_0002248	has active ingredient

This is going in the release candidate.


Separate the Rcp data type into embedded and background

This PR is preparing further work for simplifying Rpc calls:

all the creation of Rpc have been reduced to either Rpc::embedded or Rpc::background
a &mut Rpc is passed around instead of Context + CommandGlobalOpts and have Rpc recreated in different places
this allows a simplification of the Rpc type which doesn't need a lifetime parameter anymore, nor to to embark an optional TcpTransport

This goes towards implementing this story.

@etorreborre
Won't re-creating the RPC instance re-initialize the embedded node multiple times? It could even spawn sub-process multiple times, does it have known side effects?

It shouldn't. The Rpc instance is instantiated once at the top-level then passed down as many times as necessary. Eventually anyway this will be replaced with a NodeManager instance.


Set content type

Set Content-Type for default and JSON.

resolve #79

I'm thinking we should also enforce the default charset for JSON should be UTF-8.
@andyjeffries What's your opinion to change Content-type for JSON from application/json to application/json; charset=utf-8

I agree with this in principle, however my only concern is - if that's the default, how will users change it?

In request.rb:
def call(explicit_parameters=nil)
  (...)
  if object_is_class?
    @object.send(:_filter_request, :before, @method[:name], self)
  else
    @object.class.send(:_filter_request, :before, @method[:name], self)
  end

  append_get_parameters
  prepare_request_body_type
  (...)
end

Move append_get_parameters and prepare_request_body_type before if object_is_class?, this way the header is defined but can be overridden using before_request:
# In model
before_request :change_content_type

def change_content_type(name, request)
  if name == :save
      request.headers["Content-Type"] = "application/json"
    end
end

Not such a fan of that - as before_request may well be used by lots of people to mess around with the request params before the body is generated.  A better solution may be to only set the Content-Type header if it's not already set?  That way people can still tweak it in a before_request.

P.S. I take it you saw the two failing tests now? ;-)

Yes, it was my mistake.
Setting up content-type type only if not defined seems to be a perfect solution.

Thanks for this, merged in.


Notes on running bandcamp-downloader on windows

I ran into some trouble getting this to work on windows. This is my attempt to help anyone else that may also run into issues that won't be obvious with the current Usage recommendations.
This was ultimately the command line I used.
python N:\media\music\bandcamp-downloader\bandcamp-downloader.py --cookies N:\media\music\bandcamp-downloader\bandcamp-cookies.txt --directory N:\media\music\Bandcamp --filename-format "{artist}\{artist} - {title}" --format flac my_username

Here's how to get past pain points
I downloaded the zip [https://github.com/easlice/bandcamp-downloader/archive/refs/heads/master.zip] extracted to it a folder and ran pip install . as the setup suggests. A nice trick is you can use explorer to navigate to a directory, then in the address bar type "cmd". This will launch a command prompt already pointed to that directory so no cd and copy+paste needed.
Frankly the browser_cookie3 thing looks like a pain to deal with. I just used this firefox extension to generate a cookie file, which I also already use with yt-dlp: https://github.com/hrdl-github/cookies-txt
I simply open bandcamp, login, and then click the extension, selecting "current site". Renamed it from cookies.txt to bandcamp-cookies.txt, and dropped it in my bandcamp-downloader folder.
Adding python to the beginning of the command was needed for my system. Who knows why.
One thing windows users should take note, is that all forward slashes / (as used in unix based systems) need to be replaced with backslashes \. This also means changing the filename format from '{artist}/{artist} - {title}' to "{artist}{artist} - {title}". If you don't change to a backslash, then bandcamp-downloader becomes confused and won't download things into separate folders, it will instead just add what was supposed to be the folder name to the front of the file "YOB-YOB - The Unreal Never Lived.zip"
Notice I also replaced the single quotes with double quotes, as single didn't seem to work. If I don't I get bandcamp-downloader.py: error: unrecognized arguments: {title}' my_username which I presume means cmd.exe doesn't understand single quotes.
Thank you easlice so much for making and maintaining this tool. I'm able to quickly and easily archive my now 211 albums, as well as see what's no longer downloadable from my last archive session (the Francis Bebey Albums seem to  have been messed with for some reason). That's the biggest downside of bandcamp I've learned, items paid for can just disappear for any reason, no explanation, and no accountability.

Thanks for the report, info like this is really appreciated! Especially on systems like Windows where I don't really run things and so have less familiarity with.
I can probably fix some of this, particularly the forward and backslashes. The quote thing is odd to me, but I can look into that too.
And yeah, honestly, I'm not super happy with browser_cookie3, as it seems to break a lot and be a but tough to use, but I'm also not sure what a better option is, ultimately, for a general audience. It's one of those things where I wish bandcamp just had an API or something and you could get an access token or something like that.
Thanks for the info about generating a cookie, I might add a link to this issue in the README about it.

Thanks for the info about generating a cookie, I might add a link to this issue in the README about it.
Please do! :D
This is allowing me to use it on WSL2, but an additional note/reminder saying the cookies need to be in the Netscape HTTP Cookie file format would also be great if you could

Thanks to you both! 💜

FWIW, setup on Windows went flawlessly for me, Powershell, no WSL, Python 3.11.9, using pip install, Windows 11


[Gekidou MM-47765] Add horizontal padding to empty results

Summary
This PR fixes a styling issue when no results exist for Messages or FIles searches.
Before :

After :

Details

Ticket Link
Checklist

[ ] Added or updated unit tests (required for all new features)
[ ] Has UI changes
[ ] Includes text changes and localization file updates
[ ] Have tested against the 5 core themes to ensure consistency between them.

Device Information
This PR was tested on:
Screenshots

Release Note

Based on the screenshot @jfrerich it looks like the text is now left aligned instead of centered?

Based on the screenshot @jfrerich it looks like the text is now left aligned instead of centered?

I believe this is currently a limitation of the <FormattedText> component.   Wonder if we have a case where we use the the FormattedText component that wraps and maintains a centered alignment.

Is this what you want?

Is this what you want?

Yep, that's what I'm looking for :)


Add contributing.md file to add steps to contribute

Add contributing.md to the repo. Also if possible that to Contribute page of the repo below the list of contributors

@m-aditya do you want me to assign this to you?

Sure!


Ellipsis change color and don't match Home/Music library/Recents

OS: Elementary OS 0.4.1
GPMDP Version: 4.5.0
Issue Descriptions: The ellipsis color below Home/Music library/Recents changes when scrolling, seemingly to contrast the color of the background, but none of the other icons update.

I saw https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/2759, should this be raised on the theme repository instead?

please raise over on the theme repository. Thanks


Correct TypeError for numpy>1.17

We got this error:
TypeError: 'numpy.float64' object cannot be interpreted as an integer

This arrives for recent numpy version where the number of point must be an integer.
I so propose here to add a int function on all the linspace of the lib to avoid such error.

One should probably fix the calling code to only allow these methods to be called with an integer but on the other hand converting this to an integer here seems like a safe fix


Does it work?

Use the published package in some project and verify that it really works.
After that, create a v1.0.0 release (see CONTRIBUTING.md)

It does work <3


Squash database migrations before releasing v1.0

Every time we are modifying the database schema (by modifying models) a migration containing a piece of code is generated. Due to the high development of Peering Manager there are multiple files generated over the time.
We can compress all of these migrations into one if the database remains consistent while applying them. We could probably do this for each stable release (once will have one).

Any plan when 1.0 will be released? Currently, we see heavy development and no stable database scheme.

When it's ready 😄
To be honest I'd like to implement some basic features and get a stable database scheme (which depends on previously mentioned features) before freezing for the 1.0.0.
If some people want to help, bug triage and bug fixes is the best way to do so. But I don't force anyone since it takes time 😄

I completely understand that. We are about to implement peering-manager for our infrastructure but aiminig for a stable version. I expect there will be no way to go from the recent dev to a coming 1.0.0? That's why we are aiming a start with a stable release :)

You should be able to go from dev to stable without any troubles. Squashing database migrations will just here to optimize the process to apply them. This process should not break any existing databases. Talking about this makes me think that it might be a good idea to provide a way to dump the database and restore it before 1.0.0.


Option to disable quote paring

VSCode Version: Stable
OS Version: Windows 10

Steps to Reproduce:

Select anything
Press a quote type

Does this issue occur when all extensions are disabled?: Yes
Please provide an option to disable this behavior

Without having to disable bracket pairing as well, I don't like this behavior but I want bracket pairing 😞

You can turn this off by setting "editor.autoClosingBrackets": false.


Generated R class is not accessible from Kotlin code

Maybe the R.class can be build as an android_library() and then included as a dependency of java-deps.
I tried it but the resulting $(classpath :java-deps) turns out empty.

Same issue, is there a solution or workaround for this?

Nothing. Stuck with Gradle for now.

@andrzejtokarski this repo has a workaround for it, very hacky (as also mentioned by the author) but I tried and it generated the R.java for me. I'm stuck in another issue right now.


Invalid argument from Unix.kill

Trying to run this code:
let () =
  let process =
    process "bash" [ "-c"; "for i in `seq 1 5` ; do echo $i ; sleep 1 ; done" ]
    |> run_in_background
  in
  ignore process

results in this exception
Uncaught exception:

  (Unix.Unix_error "Invalid argument" kill "")

Raised by primitive operation at Feather.terminate_child_processes.(fun) in file "feather.ml", line 626, characters 13-38
Called from Stdlib__list.iter in file "list.ml", line 110, characters 12-15
Called from Stdlib.at_exit.new_exit in file "stdlib.ml", line 554, characters 59-63
Called from Stdlib.do_at_exit in file "stdlib.ml" (inlined), line 560, characters 20-61
Called from Std_exit in file "std_exit.ml", line 18, characters 8-20

I'm not sure what "invalid argument" means from Unix.kill but I bet it'd be easy to fix if we knew...

This seems to happen when you don't wait on processes you started in the background, which isn't a great thing to do in general. Maybe we should make the default to wait before exiting?

I have at least one use case where I want to completely detach a background process, i.e. use a feather script as a "lancher" for a long-term background application. Currently this works because of this exception (and so the child process is not killed and continues to run).
Waiting by default should be good, but I wonder if it is doable to provide a means to completely detach a child process (in this case of course nothing can be collected).

I just ran into this issue. I think the problem is simply that the arguments to Unix.kill are the wrong way around:
https://github.com/charlesetc/feather/blob/495fb4d027503107ece462f22111e73d4f4d084c/src/feather.ml#L638
https://v2.ocaml.org/api/Unix.html#VALkill:

kill pid signal sends signal number signal to the process with id pid.


wrong routing to 404

i am using 5.4 to apply to my laravel 5.4 project
i just do some simple tests.
php artisan infyom:api_scaffold District
name string,30 text
required

and routing shows correctly
GET|HEAD  | districts | districts.index | App\Http\Controllers\DistrictController@index
however, when i visit /districts, it redirects to 404

@fmchan can you share some more information on this? as it looks like some configuration problem of your local server as well. Reopen this issue, if you are still facing it, because nobody reported this kind of problem.

@fmchan can you share some more information on this? as it looks like some configuration problem of your local server as well. Reopen this issue, if you are still facing it, because nobody reported this kind of problem.

i have figured out that there was other route conflicting with this route. problem solved


Re structure examples

Everything looks good to me. My only question is whether it is ok to have spaces in the domain name in the info file? For example, will this work  on the command line ? (I guess it should with quotation marks...)

Go ahead and merge, we can fix this later. I am just glad to get rid of so many files in the main :)

Oh for sure, It got messy. I also don't think it is much of a problem we do not support a CLI now, it is just parsing of argv...
If we decide to support CLI then we can easily make it compatible.


Added Assembla integration.

This adds integration with Assembla task management https://www.assembla.com/

Thank you for your contribution.


Unexpected behavior when saving

If you have a policy with a backslash in your policy name, then the policy xml won't save locally.
Example:
Touch - /Library/Scripts/~~~/.DEPNotifySetupDone
Touch ~/.skipbuddy
Additionally, if you have a colon in your policy name,  the policy will save with a backslash instead of a comma. this doesn't seem to affect migrations, just the saving functionality.
Example:
Install - Apple Software Updates - AutoLogin: Lab -> Install - Apple Software Updates - AutoLogin/ Lab

Hoping you meant forward slash, /, rather than backslash , .  Addressed in v5.9.3

oops, yeah i meant forward slash. thank you!


Editor will not allow mixed case file names

The new editor wil not allow creation of mixed case file names:

However the editor is parsing the imports with case sensitivity, and files created elsewhere and opened into the project can be mixed case:

The file naming restriction seems arbitrary, and when people are copying code from examples which are mixed case this will cause confusion.
Suggest the refusal to allow mixed cases is dropped.

Hi @DaveAtKitronik, thanks for the feedback.
The intention of the check in the create file dialog was to guide students towards conventional Python naming as documented in PEP8 when creating modules. I think some guidance here is helpful but it's interesting to learn that it causes an issue here. I'll have a chat with the team.
If you already have this module as a file with the KitronikMoveMotor.py name and open it in the editor then it should work well. It's just the create dialog that has this restriction. For example, if I drag the copy at https://github.com/KitronikLtd/micropython-microbit-kitronik-MOVE-motor/blob/master/KitronikMOVEMotor.py in then all works well. That version has the micro:bit module comments at the top, so the editor knows to open it as an additional module not the main file. This works via drag and drop or the open dialog. Those options can also open a main.py file at the same time my dragging or selecting multiple both so could be a good option for your users.
If the module doesn't have the special comment at the top then the process to open it is documented here.

Whilst recommending / guiding towards lowercase filenames is fine, banning the creation of camelCase.py or PascalCase.py seems incorrect and overly strict. There is cognitive dissonance with modules (which could be camelCased), and the interpreter is case sensitive.
How do you 'drag and drop' a module? I cannot get that to work - is it documented somewhere?

I've revised our support documentation around adding modules to the editor for the V3 editor: https://support.microbit.org/support/solutions/articles/19000106811-adding-a-module-to-the-python-editor
If your modules have the magic header (as the one on your GitHub does) then you can drag and drop them into the editor from e.g. the Downloads folder or use the Open button and you should get a good experience where they're identified as modules and added alongside the main code. You can drag and drop or Open more than one file at once, so your users could open an example main.py alongside the KitronikMOVEMotor module in one step. Another option is an example hex file that already contains a main.py and the module.
On the "Create file" issue, we've discussed this and plan to relax the validation so that users who need to create modules with non-lowercase names can still click "Create". We'll still show the message to guide newer users towards PEP8 style names.

Now live on https://python.microbit.org in v3.0.5. Closing.


mount information not shown in "storage Driver" view for volumes that are in "active" state.

Rancher Version: Build from master
Server version - Build from master
rancher/storage-nfs:v0.2.0
Steps to reproduce the problem:
Create a service using volumes from rancher-nfs volume driver with the following yml
version: '2'
services:
  nginx1:
    image: nginx
    volumes:
    - foo1:/tmp
  nginx2:
    image: nginx
    volumes:
    - foo2:/mydata1

volumes:
  foo1:
    driver: rancher-nfs
    external: false
  foo2:
    driver: rancher-nfs
    external: false

once the service is started , goto Infrastructure->storage view to see all the volumes created.
Volume is shown in "active" state but no "Mounts" are listed.

Tested with 1.2.0-pre4-rc9.
Mount information shown in "storage Driver" view for volumes that are in "active" state.


[Feature] Adjust K8s monitoring entity structure.

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
By leveraging the latest layer concept, the k8s monitoring structure should be updated too. FYI @mrproliu
Currently, the service is the cluster, the k8s node is the instance, and the endpoint is the endpoint. As group is available for cluster, and the k8s-cluster:: has been replaced by layer already, we should consider

cluster as group
K8s service as service
K8s pod as instance if pod metric is available. I can see it in the metric graph as labels.
K8s node as endpoint

Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Fiexed.


Shrink images to more decent size

Image sizes are now shrinked to width of 1600 pixels.

Would using something like https://github.com/mozilla/mozjpeg make these even smaller?