[+orion] Bug 'hangman input o taking it as i and fills the gap'

The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.

user: hangman input o taking it as i and fills the gap
sugaroid: Oops, seems like you missed a letter.

[ ﹏ I ﹏ ﹏ ﹏ ﹏ ﹏ ﹏ ] Life: 💙💙💙
+---+
|   |
0   |

/|\  |
|
|
=========

This was by mistake. My sincere apologies 🙏!

Lol


proxy tls error

env_.venv\Lib\site-packages\aiohttp\connector.py:942: RuntimeWarning: An HTTPS request is being sent through an HTTPS proxy. This support for TLS in TLS is known to be disabled in the stdlib asyncio (Python <3.11). This is why you'll probably see an error in the log below.
It is possible to enable it via monkeypatching. For more details, see:

https://bugs.python.org/issue37179
https://github.com/python/cpython/pull/28073

You can temporarily patch this as follows:

https://docs.aiohttp.org/en/stable/client_advanced.html#proxy-support

https://github.com/aio-libs/aiohttp/discussions/6044
_, proto = await self._create_proxy_connection(req, traces, timeout)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Exception in callback <bound method SSLProtocol.connection_made of <winloop.loop.SSLProtocol object at 0x00000278E76A6AE0>>

Connecting to an https site via an http proxy, how to fix this error?

@madrassomrn To get around this issue I would try using the aiohttp_socks library for now, I will be sure to implement the solution directly for this problem without the workaround I have provided to you in the future.

@madrassomrn To get around this issue I would try using the aiohttp_socks library for now, I will be sure to implement the solution directly for this problem without the workaround I have provided to you in the future.

With this library, I can’t change the proxy per request, or is it not possible there?

@madrassomrn it's not possible to swap proxies without disconnecting from one and then swapping however, I am planning though to write a test to the tests folder for hosing a temporary http proxy to attempt to make a request from to make sure winloop knows how to handle this stuff correctly on aiohttp itself so I can see where the problem exactly is coming from.


[Bug]  task count of Need fault tolerance is not zero while workflow count of Need fault tolerance is zero

Search before asking

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

What happened
task count of Need fault tolerance is not zero while workflow count of Need fault tolerance is zero

What you expected to happen
the tasks of  state  "Need fault tolerance" is already completed ,so it should be set its real state.
How to reproduce
kill master node and worker node when workflow is shceduled
Anything else
No response
Version
dev
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

branch: 2.0.2-prepare

I'll deal with it

I'll deal with it

Not a front-end bug

I'll deal with it

Not a front-end bug

ok

@zwZjut Is  this issue need to be moved to branch dev?


ImfAttribute symbol visibility not quite right

Here is an excerpt illustrating the issue.
Here, Imf_3_0::Attribute has inconsistent visibility versus the derived class.
[ 33%] Building CXX object src/lib/OpenEXR/CMakeFiles/OpenEXR.dir/ImfStringVectorAttribute.cpp.obj
ImfStringVectorAttribute.cpp
C:\Projects\Lucasfilm\openexr\src\lib\OpenEXR\ImfStringVectorAttribute.cpp(80): warning C4275: non dll-interface class 'Imf_3_0::Attribute' used as base for dll-interface class 'Imf_3_0::TypedAttribute<Imf_3_0::StringVector>'
C:\Projects\Lucasfilm\openexr\src\lib\OpenEXR\ImfAttribute.h(28): note: see declaration of 'Imf_3_0::Attribute'
C:\Projects\Lucasfilm\openexr\src\lib\OpenEXR\ImfStringVectorAttribute.h(29): note: see declaration of 'Imf_3_0::TypedAttribute<Imf_3_0::StringVector>'

Here we are attempting to export something that can't be exported.
C:\Projects\Lucasfilm\openexr\src\lib\OpenEXR\ImfStringVectorAttribute.cpp(80): warning C4251: 'Imf_3_0::TypedAttribute<Imf_3_0::StringVector>::_value': class 'std::vector<std::string,std::allocator<std::string>>' needs to have dll-interface to be used by clients of class 'Imf_3_0::TypedAttribute<Imf_3_0::StringVector>'
C:\Projects\Lucasfilm\openexr\src\lib\OpenEXR\ImfStringVectorAttribute.h(28): note: see declaration of 'std::vector<std::string,std::allocator<std::string>>'

@meshula - can you provide a bit more detail? I presume this is under MSVC, but what version? I do not see this when compiling with mingw, and didn't see any warnings of the sort in the msvc builds as part of the CI, but I may have missed them.

The CI is weirdly clean. I just did a clean pull to verify.
git@github.com:openexr/openexr.git
mkdir build
cd build
cmake ../openexr -G "Visual Studio 16 2019" -Ax64 -DCMAKE_INSTALL_PREFIX=./install
cmake --build . --target install --config Release

There is an enormous amount of warning spew compared to what we see in the CI, including the dll-interface warning. Here is the tiniest of excerpts as confirmation.
C:\Projects\Lucasfilm\openexr\src\lib\OpenEXR\ImfAttribute.h(28): message : see declaration of 'Imf_3_0::Attribute' [C:\Projects\Lucasfilm\build\src\lib\OpenEXR\OpenEXR.vcxproj]
C:\Projects\Lucasfilm\openexr\src\lib\OpenEXR\ImfChannelListAttribute.h(25): message : see declaration of 'Imf_3_0::TypedAttribute<Im
f_3_0::ChannelList>' [C:\Projects\Lucasfilm\build\src\lib\OpenEXR\OpenEXR.vcxproj]
C:\Projects\Lucasfilm\openexr\src\lib\OpenEXR\ImfChannelListAttribute.cpp(136,104): warning C4251: 'Imf_3_0::TypedAttribute<Imf_3_0::
ChannelList>::_value': class 'Imf_3_0::ChannelList' needs to have dll-interface to be used by clients of class 'Imf_3_0::TypedAttribu
te<Imf_3_0::ChannelList>' [C:\Projects\Lucasfilm\build\src\lib\OpenEXR\OpenEXR.vcxproj]
C:\Projects\Lucasfilm\openexr\src\lib\OpenEXR\ImfChannelList.h(89): message : see declaration of 'Imf_3_0::ChannelList' [C:\Projects\
Lucasfilm\build\src\lib\OpenEXR\OpenEXR.vcxproj]
  ImfFloatAttribute.cpp
C:\Projects\Lucasfilm\openexr\src\lib\OpenEXR\ImfFloatAttribute.cpp(28,66): warning C4275: non dll-interface class 'Imf_3_0::Attribut
e' used as base for dll-interface class 'Imf_3_0::TypedAttribute<float>' [C:\Projects\Lucasfilm\build\src\lib\OpenEXR\OpenEXR.vcxproj
]
C:\Projects\Lucasfilm\openexr\src\lib\OpenEXR\ImfAttribute.h(28): message : see declaration of 'Imf_3_0::Attribute' [C:\Projects\Luca
sfilm\build\src\lib\OpenEXR\OpenEXR.vcxproj]
C:\Projects\Lucasfilm\openexr\src\lib\OpenEXR\ImfFloatAttribute.h(25): message : see declaration of 'Imf_3_0::TypedAttribute<float>'
[C:\Projects\Lucasfilm\build\src\lib\OpenEXR\OpenEXR.vcxproj]
  ImfFrameBuffer.cpp

[
spew.txt
](url)
I've attached spew.txt so you can see it in its full glory.

@meshula, were you able to determine anything further regarding the Imf_3_0::Attribute symbol visibility?

I am investigating whether there's a build setting issue with things (cmake setting? preprocessor definitions?) not propagating from OpenEXR to Imath, as that seems to be the root cause, but haven't got a result yet.

I can confirm, the amount of warnings went through the roof with MSVC builds.
As I see it is not an easy setting fix. The core of the issue for some of them is that the class "Attribute" is not exported under MSVC (IMF_EXPORT_TYPE is defined as empty in ImfExport.h), whereas the classes deriving from "Attribute" are.
For example in ImfFloatAttribute.cpp:
template class IMF_EXPORT_TEMPLATE_INSTANCE TypedAttribute<float>;

where IMF_EXPORT_TEMPLATE_INSTANCE ends up being declspec(dllexport) under MSVC, hence the warning. In fact, this is exactly what the warning is telling us (copied from above):
ImfFloatAttribute.cpp(28,66): warning C4275: non dll-interface class 'Imf_3_0::Attribute' used as base for dll-interface class 'Imf_3_0::TypedAttribute<float>'

As I see most of C4275 is caused by the class "Attribute".
The other DLL related warning is C4251. I have 482 warnings of C4275 and 386 warnings of C4251, each having additional "see declaration ..." lines in the warning log, so those two take up a significant portion of the warning log.
I just noticed #983 which summarizes the issues as well.

Update: @ignus2 @kdt3rd It runs out the macro set ups are all correct as is, in terms of making OpenEXR and Imath functional as shared libraries under MSVC. Attempting to resolve the reported warnings leads to a new issue, which is that the classes Attribute is templated on, also need to be class exported. However, in ImathVec, we delete the specializations on normalize for integer, because they are non-sensical. If we class export the Vec template, the compiler generates an error, not a warning, because class exporting a template force instantiates all the members. Later in the file we delete them, and the compiler does not allow that to override the class export, and compilation fails. VecN::normalize is not the only case of a problem, but it's illustrative.
Unless anyone has a clever idea, I think they only reasonable resolution is to suppress the 4275 and 4251 warnings, as I have proposed in https://github.com/AcademySoftwareFoundation/openexr/pull/983.

#983 is currently a draft, can you turn it into a reviewable/mergeable PR? If we want this for the 3.0 release it needs to go in asap.

@meshula The main question I'd have is why are TypedAttribute etc. specializations class-exported? That seems to be the cause of the warnings primarily.

The rules are vague and hard to parse~ https://docs.microsoft.com/en-us/cpp/cpp/general-rules-and-limitations?view=msvc-160 ~ They're class exported for typeid comparisons under gcc/clang, doesn't necessarily mean they need to also class exported under msvc. We've tried a number of permutations of macros to satisfy for all platforms, including attempting not class exporting on msvc. This is the only combo so far, that works on all platforms. If there's a permutation that is warning-clean on windows, and macros can be platform-jiggered to work that would be great ~ we just haven't found that combo by reading or experimentation yet~!
Definitely open to a PR, if you've got a solution. I'm sure the solution once found will be head smackingly obvious in retrospect, but, currently stumped :)


ssapy requires large data files to work

ssapy init imports simple, which defines ssapy orbit. The function signature includes a call to ssapy_prop, meaning that this gets run on import. This function populates all the planets by reading out of the data files. The way this is setup, you have the probably inadvertent result that in order to use any part of ssapy, you have to have downloaded all the lfs files.

Need to be more explicit about accessing the data files, can't just do this implicitly

Talk to Travis Yaegar about how simple.py is used


Can you use ES6 modules in vue config yet?

What problem does this feature solve?
It's the new decade (almost) and config still relies on ancient CommonJS module syntax.
Is it possible to use the new(ish) ES6 modules in the config instead?
In webpack you can use webpack --config-register esm.
Is a similar feature in vue-clie yet?
(Related: https://github.com/vuejs/vue-cli/issues/4477)
What does the proposed API look like?
Same as webpack? I don't know, just pipe config-register back to webpack?

ES6 modules are still experimental in the most recent versions of Node.js.

Dang. I got confused by this page:
https://nodejs.org/api/modules.html
Turns out I should be looking here:
https://nodejs.org/api/esm.html


Pass tickValues prop to axes

Add xAxisTickValues and yAxisTickValues props to charts which will get passed down to XAxis and YAxis components as the tickValues prop.
Only one of *AxisTickValues, *AxisTickInterval, *AxisTickCount can be used at a time. This should probably be documented somewhere, but I wasn't sure where. Maybe a custom propTypes validator?

Thanks!  I've been meaning to do this.


Screen capture exception

When the observer is running along with Balabolka, the following exception is thrown during the first screen capture
Exception thrown: 'System.BadImageFormatException' in libjpeg-turbo-net.dll
Exception thrown: 'System.TypeInitializationException' in SpeakFasterObserver.dll
An exception of type 'System.TypeInitializationException' occurred in SpeakFasterObserver.dll but was not handled in user code
The type initializer for 'SpeakFasterObserver.ScreenCapture' threw an exception.
'SpeakFasterObserver.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\PrivateAssemblies\Runtime\Microsoft.VisualStudio.Debugger.Runtime.NetCoreApp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[5352] SpeakFasterObserver.exe' has exited with code -1 (0xffffffff).

I have seen the same issue. @TeamGleasonDev  would know more about it.
Workaround is to turn off screenshot capture (assuming you are ok with just looking at keystrokes)

System.ArgumentException
HResult=0x80070057
Message=Parameter is not valid.
Source=System.Drawing.Common
StackTrace:
at System.Drawing.Graphics.GetHdc() in //src/libraries/System.Drawing.Common/src/System/Drawing/Graphics.cs:line 338
at System.Drawing.Graphics.CopyFromScreen(Int32 sourceX, Int32 sourceY, Int32 destinationX, Int32 destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation) in //src/libraries/System.Drawing.Common/src/System/Drawing/Graphics.Windows.cs:line 252
at SpeakFasterObserver.ScreenCapture.CaptureDesktop(Boolean workingAreaOnly) in C:\Users\joncamp\source\repos\joncamp\SpeakFaster\Observer\SpeakFasterObserver\ScreenCapture.cs:line 86
at SpeakFasterObserver.ScreenCapture.Capture(String path, String timestamp) in C:\Users\joncamp\source\repos\joncamp\SpeakFaster\Observer\SpeakFasterObserver\ScreenCapture.cs:line 141
at SpeakFasterObserver.FormMain.CaptureScreenshot(String timestamp, String filePath) in C:\Users\joncamp\source\repos\joncamp\SpeakFaster\Observer\SpeakFasterObserver\FormMain.cs:line 209
at SpeakFasterObserver.FormMain.screenshotTimer_Tick(Object sender, EventArgs e) in C:\Users\joncamp\source\repos\joncamp\SpeakFaster\Observer\SpeakFasterObserver\FormMain.cs:line 136
at System.Windows.Forms.Timer.OnTick(EventArgs e) in //src/System.Windows.Forms/src/System/Windows/Forms/Timer.cs:line 173
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) in //src/System.Windows.Forms/src/System/Windows/Forms/Timer.cs:line 354
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam) in //src/System.Windows.Forms/src/System/Windows/Forms/NativeWindow.cs:line 372
at Interop.User32.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.Interop.Mso.IMsoComponentManager.FPushMessageLoop(UIntPtr dwComponentID, msoloop uReason, Void* pvLoopData) in //src/System.Windows.Forms/src/System/Windows/Forms/Application.ComponentManager.cs:line 345
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(msoloop reason, ApplicationContext context) in //src/System.Windows.Forms/src/System/Windows/Forms/Application.ThreadContext.cs:line 1111
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(msoloop reason, ApplicationContext context) in //src/System.Windows.Forms/src/System/Windows/Forms/Application.ThreadContext.cs:line 975
at System.Windows.Forms.Application.Run(Form mainForm) in /_/src/System.Windows.Forms/src/System/Windows/Forms/Application.cs:line 1198
at SpeakFasterObserver.Program.Main() in C:\Users\joncamp\source\repos\joncamp\SpeakFaster\Observer\SpeakFasterObserver\Program.cs:line 25
This exception was originally thrown at this call stack:
System.Drawing.Graphics.GetHdc() in Graphics.cs
System.Drawing.Graphics.CopyFromScreen(int, int, int, int, System.Drawing.Size, System.Drawing.CopyPixelOperation) in Graphics.Windows.cs
SpeakFasterObserver.ScreenCapture.CaptureDesktop(bool) in ScreenCapture.cs
SpeakFasterObserver.ScreenCapture.Capture(string, string) in ScreenCapture.cs
SpeakFasterObserver.FormMain.CaptureScreenshot(string, string) in FormMain.cs
SpeakFasterObserver.FormMain.screenshotTimer_Tick(object, System.EventArgs) in FormMain.cs
System.Windows.Forms.Timer.OnTick(System.EventArgs) in Timer.cs
System.Windows.Forms.Timer.TimerNativeWindow.WndProc(ref System.Windows.Forms.Message) in Timer.cs
System.Windows.Forms.NativeWindow.Callback(System.IntPtr, Interop.User32.WM, System.IntPtr, System.IntPtr) in NativeWindow.cs
System.Windows.Forms.Application.ComponentManager.Interop.Mso.IMsoComponentManager.FPushMessageLoop(System.UIntPtr, Interop.Mso.msoloop, void*) in Application.ComponentManager.cs
...
[Call Stack Truncated]

Could be this: https://social.msdn.microsoft.com/Forums/en-US/c6f33dfe-3ec1-4f17-9e3c-8497f48d4190/parameter-is-not-valid-after-being-valid-for-millions-of-iterations?forum=vbgeneral
'''
System.ArgumentException
HResult=0x80070057
Message=Parameter is not valid.
Source=System.Drawing.Common
StackTrace:
at System.Drawing.Graphics.GetHdc() in //src/libraries/System.Drawing.Common/src/System/Drawing/Graphics.cs:line 338
at System.Drawing.Graphics.CopyFromScreen(Int32 sourceX, Int32 sourceY, Int32 destinationX, Int32 destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation) in //src/libraries/System.Drawing.Common/src/System/Drawing/Graphics.Windows.cs:line 252
at SpeakFasterObserver.ScreenCapture.CaptureDesktop(Boolean workingAreaOnly) in C:\Users\joncamp\source\repos\joncamp\SpeakFaster\Observer\SpeakFasterObserver\ScreenCapture.cs:line 86
at SpeakFasterObserver.ScreenCapture.Capture(String path, String timestamp) in C:\Users\joncamp\source\repos\joncamp\SpeakFaster\Observer\SpeakFasterObserver\ScreenCapture.cs:line 141
at SpeakFasterObserver.FormMain.CaptureScreenshot(String timestamp, String filePath) in C:\Users\joncamp\source\repos\joncamp\SpeakFaster\Observer\SpeakFasterObserver\FormMain.cs:line 209
at SpeakFasterObserver.FormMain.screenshotTimer_Tick(Object sender, EventArgs e) in C:\Users\joncamp\source\repos\joncamp\SpeakFaster\Observer\SpeakFasterObserver\FormMain.cs:line 136
at System.Windows.Forms.Timer.OnTick(EventArgs e) in //src/System.Windows.Forms/src/System/Windows/Forms/Timer.cs:line 173
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) in //src/System.Windows.Forms/src/System/Windows/Forms/Timer.cs:line 354
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam) in //src/System.Windows.Forms/src/System/Windows/Forms/NativeWindow.cs:line 372
at Interop.User32.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.Interop.Mso.IMsoComponentManager.FPushMessageLoop(UIntPtr dwComponentID, msoloop uReason, Void* pvLoopData) in //src/System.Windows.Forms/src/System/Windows/Forms/Application.ComponentManager.cs:line 345
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(msoloop reason, ApplicationContext context) in //src/System.Windows.Forms/src/System/Windows/Forms/Application.ThreadContext.cs:line 1111
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(msoloop reason, ApplicationContext context) in //src/System.Windows.Forms/src/System/Windows/Forms/Application.ThreadContext.cs:line 975
at System.Windows.Forms.Application.Run(Form mainForm) in /_/src/System.Windows.Forms/src/System/Windows/Forms/Application.cs:line 1198
at SpeakFasterObserver.Program.Main() in C:\Users\joncamp\source\repos\joncamp\SpeakFaster\Observer\SpeakFasterObserver\Program.cs:line 25
This exception was originally thrown at this call stack:
System.Drawing.Graphics.GetHdc() in Graphics.cs
System.Drawing.Graphics.CopyFromScreen(int, int, int, int, System.Drawing.Size, System.Drawing.CopyPixelOperation) in Graphics.Windows.cs
SpeakFasterObserver.ScreenCapture.CaptureDesktop(bool) in ScreenCapture.cs
SpeakFasterObserver.ScreenCapture.Capture(string, string) in ScreenCapture.cs
SpeakFasterObserver.FormMain.CaptureScreenshot(string, string) in FormMain.cs
SpeakFasterObserver.FormMain.screenshotTimer_Tick(object, System.EventArgs) in FormMain.cs
System.Windows.Forms.Timer.OnTick(System.EventArgs) in Timer.cs
System.Windows.Forms.Timer.TimerNativeWindow.WndProc(ref System.Windows.Forms.Message) in Timer.cs
System.Windows.Forms.NativeWindow.Callback(System.IntPtr, Interop.User32.WM, System.IntPtr, System.IntPtr) in NativeWindow.cs
System.Windows.Forms.Application.ComponentManager.Interop.Mso.IMsoComponentManager.FPushMessageLoop(System.UIntPtr, Interop.Mso.msoloop, void*) in Application.ComponentManager.cs
...
[Call Stack Truncated]
'''


iOS: reject promise on cancel to ensure JS Promise is settled

Resolves #14
I also encountered this issue.
I improved upon the suggested solution, the rejection is called after the dismiss is completed.
With the original suggestion solution this sample code would cause an Alert to appear and disappear. Now it appears after the multi image picker has been completely dismissed
try {
      const response = await MultipleImagePicker.openPicker();
      console.log('RESPONSE', response);
      return response;
    } catch (e) {
      console.log(e);
      Alert.alert('CANCELLED');
    }

edit: I force-pushed to fix a copy/paste error that made it through.

Fixed the merge conflict!

Thank you for your contribution. But I found an unnecessary variable: cancelled. I added a reject code PICKER_CANCELLED which is in version 0.4.7 on both iOS and Android. If I made a mistake, please tell me. I will close this merge request.

Thanks for the reply! I will try and take a look in the next week or so to confirm my code is unnecessary now 👍


[stable/nginx-ingress] Reverting PR 10849

Signed-off-by: Harshal Shah<EMAIL_ADDRESS>
What this PR does / why we need it:
This PR reverts #10849
We had tested this 10849 with --force and it worked for us but this can be a production issue where loadbalancers can get recreated.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #10849

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md

Please just remember if this is done on Production instances, the loadbalancer will get recreated and so you can see some blips in connectivity until the DNS is updated with new LoadBalancer IP.

@harshal-shah not everyone has DNS that auto-updates to the new loadbalancer. Even when they do, this causes serious downtime.
This should not happen in a "stable" branch. Anything that's related to external connectivity should be more carefully tested.

This whole situation is a nightmare. There is no clear non-breaking upgrade path and early adopters of helm are now stuck on a dated version of nginx-ingress. 👎🏼👎🏼

This PR does more then just revert PR 10849; in PR 10849 only the following 3 service resources are updated:

stable/nginx-ingress/templates/controller-metrics-service.yaml
stable/nginx-ingress/templates/controller-stats-service.yaml
stable/nginx-ingress/templates/default-backend-service.yaml

However, this pull request (#10993) reverts the 3 above plus adds an extra update to another service:

stable/nginx-ingress/templates/controller-metrics-service.yaml

stable/nginx-ingress/templates/controller-stats-service.yaml

stable/nginx-ingress/templates/default-backend-service.yaml

stable/nginx-ingress/templates/controller-service.yaml   <---- This one should not have been changed, which is causing the upgrade problems

I'll submit to undo that change


Needs a license

I am partial to MIT for its simplicity. It is also the license used by both Dropzone and SlickGrid.
It would read like so:
Copyright (c) 2014 Center For Open Science

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

attn: @JeffSpies @jakerose27 @xferguson : Any objections to this?

Was this ever decided? There doesn't seem to be a license attached to the repo/project. Seems like a long time to go without. I still think MIT is the way to go.

Good catch! Osf.io is apache2. @sloria, can we update this one?

On Jul 23, 2017, at 2:50 AM, Alexander Ferguson<EMAIL_ADDRESS>wrote:
Was this ever decided? There doesn't seem to be a license attached to the repo/project. Seems like a long time to go without. I still think MIT is the way to go.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Done.


undefined method `user_omniauth_authorize_path' on users/sign_in

I'm getting this error when I try to log in on my local dev environment (master branch). I just completed a git merge from origin, and ran bundle, so everything should be totally up to date at this point. Am I missing something? Anyone else encountering this?
NoMethodError in Devise::Sessions#new
undefined method `user_omniauth_authorize_path' for #<#Class:0x007fefae029888:0x007fefae013c18>
Extracted source (around line #22):
<%= link_to "Sign in with Google", user_omniauth_authorize_path(:google_oauth2)%>
Screenshot:

I'm getting the same error for both logging in and signing up.


Fix management plane .NET SDK generation link

In the management plane SDK release app, the link to the generation for the.NET SDK is wrong as it is tragetting DPG. The right link is: https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/78/Mgmt-.NET-SDK-release-process?anchor=generating-.net-sdk

Fixed and deployed to DEV


Feature/45722 create page layout header footer

Add header and footer with menus

Please update favicon.ico with Admiralty icon.


Vite

Is your feature request related to a problem? Please describe.
Visual testing forces us to depend on Webpack massive dependency graph even though we’re using Vite for everything else. In addition Webpack build is much slower.
Describe the solution you'd like
Align visual testing with rest of the storybook ecosystem and let user use either "@storybook/builder-vite"  or     "@storybook/builder-webpack".
Describe alternatives you've considered
N/A

Is your workaround to add an additional Webpack configuration?
Currently our yarn build-archive-storybook generates a build with an undefined viewport error for all stories.


Tweak page style for resource-bin-packing

Changes made:

Wrap long lines for future change tracking;
Decorate 'resources', 'shape' with coding style to avoid confusion;
Simplify titles which are too long;
Reformat the node scoring section;
Fixed the incorrect syntax hint for 'yaml' where were actually JSON.

/kind cleanup

Page preview:
https://deploy-preview-25073--kubernetes-io-master-staging.netlify.app/docs/concepts/scheduling-eviction/resource-bin-packing/

/approve


[question]

Why was a list chosen for the WILLSKEY store?  The main thing I notice is that device are duplicated in the will list, and I'm wondering if there was some reason for this decision that I'm not aware of.

I didn't create this package so I dunno the main reason behind this choice, would you try to submit a PR to fix this issue?


EES-4643 Convert from Load Test to gRPC enum using map

Use map instead of switch to convert LT enums to gRPC enums. Maps to convert in other direction are initialised as well, but not used right now. Will be used in the upcoming PR with Create method implementation.

+1


Implement Ser+De for Saturating

This implementation is heavily inspired by the existing trait implentation for std::num::Wrapping<T>.
fix #2708

std::num::Saturating<T> was added in Rust version 1.74 which is above the minimum supported version of Serde. How should we handle this?

I've added the rustversion crate to version-gate the implementation so that it also compiles for older Rust versions.

We do version detection in build.rs: https://github.com/serde-rs/serde/blob/74d06708ddff495161187ea490c4616291216346/serde/build.rs#L64 Please use that scheme to register a new cfg and put your new additions behind such a cfg

(also once done, please rebase and squash your commits)

(also once done, please rebase and squash your commits)

Done. Thanks for the clarifications!

your use case where these impls are going to be needed.

I'm making a game for a virtual 16 bit architecture with number semantics that saturate at 2^16-1 because that's the maximum level you can achieve for different stats.

@oli-obk I have updated the deserialization code so that it maps exceedingly large or small values to the MAX and MIN values of the target type.

@oli-obk I have incorporated your requests and suggestions and squashed everything into one commit

Thanks!


Add files via upload

@phuocitk20 First stage of verification passed, official domain is nbkqna.edu.vn 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.

@phuocitk20 Regrettably, this request has signs of fraud. Please apply with the official document at https://www.jetbrains.com/shop/eform/students (use Official document tab). I have to close the request without merging.


Link image with "url_prefix" can't display, only display with "base_directory"

I use laravel-filemanager with the server and have a problem as follows,
The image after upload is not displayed with the "url_prefix" link but only the test with the "base_directory" link,
Link does not display "http: //pro.okara.local/filemanager/photos/shares/tintuc/28072016/5799c59c52170.jpg"
The link displays "http: //pro.okara.local/uploads/photos/shares/tintuc/28072016/5799c59c52170.jpg"
Above the local, both threads display the correct image

Please try v2.0.0, and remember to run php artisan storage:link and set APP_URL in .env.


Incorrect default value in docs for indent_blankline_char_blankline

Actually, I don't know what is incorrect, maybe that's a bug in code :slightly_smiling_face:
https://github.com/lukas-reineke/indent-blankline.nvim/blob/c4c203c3e8a595bc333abaf168fcb10c13ed5fb7/doc/indent_blankline.txt#L165-L171
Looks like it defaults to g:indent_blankline_char in practice, as it works as intended only when I explicitly specify in config
char_blankline = ""

:+1: default is g:indent_blankline_char


Add Weave Net FAQ item about multicasting and kubernetes

From @abuehrle

We should add a section to the Weave Net docs (possibly a FAQ item or even a whole topic) about multicasting and Weave Net:
cluster to cluster multicasting limitations
pod to pod what's supported and what's not and caveats
ideal situation for multicast

-maybe encourage PRs from the community to update it
from @bboreham:
Our multicast support is a behaviour that falls out of faithfully emulating a layer 2 switch.
Within the Weave network it just works; you’d have to make special efforts to stop it.
However what some people want is to route multicast traffic in and out of the cluster. We don’t have any special support for that; it would need some external bridging technology.

Hello,

However what some people want is to route multicast traffic in and out of the cluster. We don’t have any special support for that; it would need some external bridging technology.

That's exactly what most people are looking for (me included). Any ideas/suggestions on how to achieve it with Weave Net? An example would be helpful and constructive.
Thanks.

Something like mrouted or quagga.
I'm afraid my experience with these things is that the documentation is impenetrable.


[application-gateway] unable to update url-path-map for rule

Describe the bug
When I try to update an existing agw rule so that it uses a different url-path-map the change is not applied.
command used : az network application-gateway rule update --resource-group rg-valo-test --gateway-name agw-valo-test --name vnet-valo-test-rqrt --url-path-map "maintenance-upm"
output:
{
  "backendAddressPool": null,
  "backendHttpSettings": null,
  "etag": "W/\"b110ee35-0a69-41b7-af03-058b8ba91bbc\"",
  "httpListener": {
    "id": "/subscriptions/b183a344-c7ff-44c3-bd41-abeaa2ec03e5/resourceGroups/rg-valo-test/providers/Microsoft.Network/applicationGateways/agw-valo-test/httpListeners/vnet-valo-test-https-front-lstn",
    "resourceGroup": "rg-valo-test"
  },
  "id": "/subscriptions/b183a344-c7ff-44c3-bd41-abeaa2ec03e5/resourceGroups/rg-valo-test/providers/Microsoft.Network/applicationGateways/agw-valo-test/requestRoutingRules/vnet-valo-test-rqrt",
  "name": "vnet-valo-test-rqrt",
  "priority": null,
  "provisioningState": "Succeeded",
  "redirectConfiguration": null,
  "resourceGroup": "rg-valo-test",
  "rewriteRuleSet": null,
  "ruleType": "PathBasedRouting",
  "type": "Microsoft.Network/applicationGateways/requestRoutingRules",
  "urlPathMap": {
    "id": "/subscriptions/b183a344-c7ff-44c3-bd41-abeaa2ec03e5/resourceGroups/rg-valo-test/providers/Microsoft.Network/applicationGateways/agw-valo-test/urlPathMaps/vnet-valo-test-upm",
    "resourceGroup": "rg-valo-test"
  }
}

expected output (urlPathMap.id has changed):
{
  "backendAddressPool": null,
  "backendHttpSettings": null,
  "etag": "W/\"b110ee35-0a69-41b7-af03-058b8ba91bbc\"",
  "httpListener": {
    "id": "/subscriptions/b183a344-c7ff-44c3-bd41-abeaa2ec03e5/resourceGroups/rg-valo-test/providers/Microsoft.Network/applicationGateways/agw-valo-test/httpListeners/vnet-valo-test-https-front-lstn",
    "resourceGroup": "rg-valo-test"
  },
  "id": "/subscriptions/b183a344-c7ff-44c3-bd41-abeaa2ec03e5/resourceGroups/rg-valo-test/providers/Microsoft.Network/applicationGateways/agw-valo-test/requestRoutingRules/vnet-valo-test-rqrt",
  "name": "vnet-valo-test-rqrt",
  "priority": null,
  "provisioningState": "Succeeded",
  "redirectConfiguration": null,
  "resourceGroup": "rg-valo-test",
  "rewriteRuleSet": null,
  "ruleType": "PathBasedRouting",
  "type": "Microsoft.Network/applicationGateways/requestRoutingRules",
  "urlPathMap": {
    "id": "/subscriptions/b183a344-c7ff-44c3-bd41-abeaa2ec03e5/resourceGroups/rg-valo-test/providers/Microsoft.Network/applicationGateways/agw-valo-test/urlPathMaps/maintenance-upm",
    "resourceGroup": "rg-valo-test"
  }
}

az version: 2.0.80
When used with the --debug flag it seems the PUT request is valid (or at least it is what i would expect it to be), so it might be an issue server-side. The return code is 200 while it doesn't show anything as changed.

@MyronFanQiu, please help take a look, thanks.

Hey there,
have you been able to reproduce it or see where it comes from ?

@winthrop28 Looks like it's service issue. Could you take a look and verify to see whether we can update these fields or not?

@winthrop28 any update?

@kalioz I am seeing a very issue when trying to update the backend address pool of an app gateway rule using
"az network application-gateway rule update -g RGNAME --gateway-name APPGWNAME -n RULENAME --address-pool $NewBackendPool.Id" .
The command runs, doesn't throw an error, but no change is observed in the app gateway config when I refresh my view of it either in CLI or Portal. This appears to be the same as what you are facing in principal. Was there any update from @yonzhan or @MyronFanQiu at all?

Hey there @BCOps ,
That's kind of the issue i have.
I ended up updating the existant urlPathMap instead of trying to update the rule, which is messier but the only thing i could do to make it work.
no update from anyone on this thread, I guess few people are impacted by this :)

@winthrop28 @MyronFanQiu
Any update on this? We're running into the same issue. Both Azure CLI and Azure powershell have this issue


Scroll down button after intro-animation

I have written 'Scroll Down' for now but I want to make it into an arrow that tells you to basically scroll down

What if you make it some sort of an animation suggestion that the 'Scroll down" indicator shows after 2 or 2.5 seconds after the page is shown, which gives the user an suggestion to scroll further.

What if you make it some sort of an animation suggestion that the 'Scroll down" indicator shows after 2 or 2.5 seconds after the page is shown, which gives the user an suggestion to scroll further.

Humu Humu🧐 big brain activity this, I shall take it into accound kind ma'am


DFP-34X-2C2 - Multiple VLAN not working

Hi, Need some guidance how to set/config the DFP-34X-2C2 with VLAN 10 Internet and VLAN 20 IPTV. Currently configured as Transparent Mode and VLAN 10 able to get IP address except VLAN 20.
Firmware : M110_sfp_ODI_2M110_sfp_ODI_220923
omcicli mib get 84
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
VlanTagFilterData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
EntityID: 0xe102
FilterTbl[0]: PRI 0,CFI 0, VID 10
FwdOp:  0x10
NumOfEntries: 1
=================================
EntityID: 0xe103
FilterTbl[0]: PRI 0,CFI 0, VID 20
FwdOp:  0x10
NumOfEntries: 1
=================================
EntityID: 0xe10bFilterTbl[0]: PRI 0,CFI 0, VID 10
FilterTbl[2]: PRI 0,CFI 0, VID 20
FwdOp:  0x10
NumOfEntries: 2

Try creating a second bridge. Include SFP in it.
Then create necessary Vlans in the same bridge. All Vlans and Multicast will be in the same bridge.
And configure IMGP proxy, etc.

I didn't do it myself. But in our city there is a ISP who provides Internet (vlan 30), IPTV (vlan 20+broadcast) & SIP (vlan 10) services.
If you create a Vlan 30 on SFP interface, it will get IP. But by creating a Vlan 20 on the same interface there will be nothing. DHCP client will not assign an IP.
The point is that our ISP VLAN 20 only works with broadcast traffic. They cannot be split.
One of the ways I read about was to create a second bridge ("bridge2") to include SFP. Then create Vlan 20 and Vlan 30 on interface "bridge2". You would also connect them to bridge "bridge2". That way you will have a broadcast and two vlans in the bridge.
In this configuration our ISP was able to set ip on both vlan. You should also try it.

I have the same problem here with 3 different models of Mikrotik, only one vLAN works at the same time. It doesn't matter what configuration I do or if I leave it in 1G or 2.5G mode.
I don't have other equipment from another brand to test if the problem is with the DFP-34X-2C2 or with the Mikrotik. I also have 3 different DFP-34X-2C2 and they all have the same problem.
When I activate 2 vlans (one for internet and one for TV) I even lose access to the SFP configuration web page.
Only way to make it work is not using the IPTV vLAN.


fix: fix event drop issue

Summary

So this PR should

Fix the original losing events problem which has been reverted https://github.com/amplitude/Amplitude-TypeScript/pull/673
Stop accumulating events which are caused by the https://github.com/amplitude/Amplitude-TypeScript/pull/673

Checklist

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

Currently, in flush, we empty the queue. We should not be emptying the queue there too right?

Currently, in flush, we empty the queue. We should not be emptying the queue there too right?

  async flush(useRetry = false) {
    // Skip flush if offline
    if (this.config.offline) {
      this.config.loggerProvider.debug('Skipping flush while offline.');
      return;
    }
    const list: Context[] = [];
-    const later: Context[] = [];
-    this.queue.forEach((context) => (context.timeout === 0 ? list.push(context) : later.push(context)));
-    this.queue = later;
    if (this.scheduled) {
      clearTimeout(this.scheduled);
      this.scheduled = null;
    }

    const batches = chunk(list, this.config.flushQueueSize);

    await Promise.all(batches.map((batch) => this.send(batch, useRetry)));
  }

Reponse

This should be const list = this.queue.filter((context) => context.timeout === 0); instead of update the queue. We only want to send out the events timeout === 0.

Currently, in flush, we empty the queue. We should not be emptying the queue there too right?

  async flush(useRetry = false) {
    // Skip flush if offline
    if (this.config.offline) {
      this.config.loggerProvider.debug('Skipping flush while offline.');
      return;
    }
    const list: Context[] = [];
-    const later: Context[] = [];
-    this.queue.forEach((context) => (context.timeout === 0 ? list.push(context) : later.push(context)));
-    this.queue = later;
    if (this.scheduled) {
      clearTimeout(this.scheduled);
      this.scheduled = null;
    }

    const batches = chunk(list, this.config.flushQueueSize);

    await Promise.all(batches.map((batch) => this.send(batch, useRetry)));
  }

This should be const list = this.queue.filter((context) => context.timeout === 0); instead of update the queue. We only want to send out the events timeout === 0.

@Mercy811

Currently, in flush, we empty the queue. We should not be emptying the queue there too right?

  async flush(useRetry = false) {
    // Skip flush if offline
    if (this.config.offline) {
      this.config.loggerProvider.debug('Skipping flush while offline.');
      return;
    }
    const list: Context[] = [];
-    const later: Context[] = [];
-    this.queue.forEach((context) => (context.timeout === 0 ? list.push(context) : later.push(context)));
-    this.queue = later;
    if (this.scheduled) {
      clearTimeout(this.scheduled);
      this.scheduled = null;
    }

    const batches = chunk(list, this.config.flushQueueSize);

    await Promise.all(batches.map((batch) => this.send(batch, useRetry)));
  }

This should be const list = this.queue.filter((context) => context.timeout === 0); instead of update the queue. We only want to send out the events timeout === 0.

One more thing to note - if there are 5 events in the queue and the first event was throttled, there is no point in sending the remaining 4 since we lose out on the ordered sending criteria. So if a request is throttled, we just need to wait and try again later.

@Mercy811

Currently, in flush, we empty the queue. We should not be emptying the queue there too right?

  async flush(useRetry = false) {
    // Skip flush if offline
    if (this.config.offline) {
      this.config.loggerProvider.debug('Skipping flush while offline.');
      return;
    }
    const list: Context[] = [];
-    const later: Context[] = [];
-    this.queue.forEach((context) => (context.timeout === 0 ? list.push(context) : later.push(context)));
-    this.queue = later;
    if (this.scheduled) {
      clearTimeout(this.scheduled);
      this.scheduled = null;
    }

    const batches = chunk(list, this.config.flushQueueSize);

    await Promise.all(batches.map((batch) => this.send(batch, useRetry)));
  }

This should be const list = this.queue.filter((context) => context.timeout === 0); instead of update the queue. We only want to send out the events timeout === 0.

Oh yes, we should keep the line to update list.

Other clean up will be covered in other pr.

Remove the timeout to await on the result before sending other events
Flush events should happen serially. Promise.all should be a for-loop
Clean up the logic to only schedule the event based on the queue.


OLLAMA-MODELS  does not work for system ollama.service

ollama show --modelfile
The default model_path is in /usr/share/ollama/.ollama/models, as mentioned in the document.
(base) root@x:~# ollama ls
NAME                    ID              SIZE    MODIFIED
deepseek-coder:33b      acec7c0b0fd9    18 GB   3 weeks ago
deepseek-coder:6.7b     ce298d984115    3.8 GB  3 weeks ago
gemma:latest            cb9e0badc99d    4.8 GB  19 hours ago
llava:34b-v1.6          3d2d24f46674    20 GB   3 weeks ago
yi:34b-chat             5f8365d57cb8    19 GB   3 weeks ago

(base) root@x:~# ollama show gemma --modelfile
# Modelfile generated by "ollama show"
# To build a new Modelfile based on this one, replace the FROM line with:
# FROM gemma:latest

FROM /usr/share/ollama/.ollama/models/blobs/sha256:2c5f288be750bf8ee4c7d6e9afc9563f9685f570a8c7924d829c773c8401d584
TEMPLATE """<start_of_turn>user
{{ if .System }}{{ .System }} {{ end }}{{ .Prompt }}<end_of_turn>
<start_of_turn>model
{{ .Response }}<end_of_turn>
"""
PARAMETER stop "<start_of_turn>"
PARAMETER stop "<end_of_turn>"

systemctl status ollama
When I did not add the OLLAMA_MODELS env in the service configuration file, Ollama's system service can run normally.
(base) root@x:~# systemctl status ollama
● ollama.service - Ollama Service
     Loaded: loaded (/etc/systemd/system/ollama.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2024-02-22 17:21:06 CST; 3h 47min ago
   Main PID: 57912 (ollama)
      Tasks: 113 (limit: 629145)
     Memory: 2.6G
        CPU: 16min 43.111s
     CGroup: /system.slice/ollama.service
             └─57912 /usr/local/bin/ollama serve

Add Environment
After adding, the system service cannot run normally.
[Unit]
Description=Ollama Service
After=network-online.target

[Service]
ExecStart=/usr/local/bin/ollama serve
User=ollama
Group=ollama
Restart=always
RestartSec=3
Environment="PATH=..."
Environment="OLLAMA_HOST=<IP_ADDRESS>:11434"
# Environment="OLLAMA_MODELS=/path/to/models"

[Install]
WantedBy=default.target

systemctl daemon-reload
systemctl restart ollama

(base) root@x:~# systemctl status ollama
● ollama.service - Ollama Service
     Loaded: loaded (/etc/systemd/system/ollama.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Thu 2024-02-22 21:15:39 CST; 79ms ago
    Process: 1002136 ExecStart=/usr/local/bin/ollama serve (code=exited, status=1/FAILURE)
   Main PID: 1002136 (code=exited, status=1/FAILURE)
        CPU: 31ms

What are the permissions and ownership of OLLAMA_MODELS? The ollama process is run as ollama/ollama. If the models path does not allow rwx for ollama, the process will fail to start

@QIN2DIM please make sure /path/to/models is owned by user ollama (or at least writable by that user/group) if you want to continue to run it as a system service.

Same issue. I've already made /path/to/models chmod 777.  It's also in #3438.

@winglet0996 I have solved this issue.
[Unit]
Description=Ollama Service
After=network-online.target

[Service]
ExecStart=/usr/local/bin/ollama serve
User=root  # important
Group=root  # important
Restart=always
RestartSec=3
Environment="PATH=/root/.cargo/bin:/usr/local/cuda-11.7/bin:/eam/gsfctl:/eam/conda/bin:/eam/conda/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
Environment="OLLAMA_HOST=<IP_ADDRESS>:11434"
Environment="OLLAMA_MODELS=/path_to/ollama/.ollama/models"
Environment="NO_PROXY=localhost,<IP_ADDRESS>,.example.com"

[Install]
WantedBy=default.target

@winglet0996 I also struggled with this. Thanks to the advice in #680 I finally made it work after many futile attempts.
For me, the missing piece that finally made it work was passing OLLAMA_MODELS in the shell to ollama serve:
$ OLLAMA_MODELS=/path_to/ollama_models/ ollama serve
$ ollama run llava

It's embarrassing how long I struggled to just set this dumb little flag to redirect the models root. I was certain this was a bug none of the smart people writing code here were willing to acknowledge.
@QIN2DIM I'm sure you're stuff is running fine now as root, but give this a shot...
Make sure the user ollama has execute permissions on the folders from the root of where you're storing models all the way down. You can chown and chmod all day, but if the user doesn't have execute perms on each of the parent folders, it'll never work. In my case, the command was:
sudo chmod 755 /path /path/to /path/to/relocated
then, after that, as long as you've already done this...
sudo chown -R ollama:ollama /path/to/relocated/models
sudo chmod -R 775 /path/to/relocated/models
The trigger for me was the output from sudo -u ollama ls /path/to/relocated/models still generated permission errors even though I set ownership and mode correctly.

What did the trick for me was to put a space before the variable like so :
Environment=" OLLAMA_MODELS=path/to/models"
instead of :
Environment="OLLAMA_MODELS=path/to/models"
I was using systemctl edit ollama and adding variables with this just appends it to the list, without space, so needed to add that space in the Environment value that is given.

I am a rookie with Ubuntu and Ollama but got this to work by using a Ai service. Maybe it can help someone.

Guide to Configure Ollama Service with Custom Model Directory
This guide details the steps taken to configure the Ollama service on Ubuntu to use a custom directory for storing models and temporary files. The setup involves using a mounted external drive.
Step 1: Create the Directory Structure
First, create the necessary directories on the mounted drive where the models and temporary files will be stored.

Create directories for models and temporary files:
sudo mkdir -p /media/dan/185497C35497A254/ollama/models
sudo mkdir -p /media/dan/185497C35497A254/ollama/tmp

Set initial ownership and permissions:
sudo chown -R ollama:users /media/dan/185497C35497A254/ollama
sudo chmod -R 775 /media/dan/185497C35497A254/ollama

These commands ensure that the directories are owned by the ollama user, with group write permissions for the users group.

Step 2: Set Correct Permissions on Parent Directories
To allow the ollama user to access the custom directories, the permissions for all parent directories must be correctly set.

Change permissions on /media, /media/dan, and /media/dan/185497C35497A254:sudo chmod 755 /media
sudo chmod 755 /media/dan
sudo chmod 755 /media/dan/185497C35497A254

This ensures that the ollama user can traverse the directories leading up to the target location.

Step 3: Update Permissions and Ownership for the Ollama Directory
Further configure the permissions and ownership for the directory used by Ollama.

Set ownership of the ollama directory to the ollama user:
sudo chown -R ollama:ollama /media/dan/185497C35497A254/ollama

This makes the ollama user the owner of the directory structure.

Set permissions to ensure the directory is accessible:
sudo chmod -R 775 /media/dan/185497C35497A254/ollama

This grants read, write, and execute permissions to the owner and group, and read and execute permissions to others.

Step 4: Configure the Ollama Service
Modify the ollama.service file to set the necessary environment variables for the custom directories.

Edit the /etc/systemd/system/ollama.service file and add the environment variables:
[Unit]
Description=Ollama Service
After=network-online.target

[Service]
ExecStart=/usr/local/bin/ollama serve
User=ollama
Group=ollama
Restart=always
RestartSec=3
Environment="PATH=/home/dan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
Environment="OLLAMA_MODELS=/media/dan/185497C35497A254/ollama/models"
Environment="OLLAMA_TMPDIR=/media/dan/185497C35497A254/ollama/tmp"
WorkingDirectory=/home/dan

[Install]
WantedBy=default.target

Save the file and exit.

Step 5: Reload and Restart the Service

Reload the systemd configuration to apply the changes:
sudo systemctl daemon-reload

Restart the Ollama service:
sudo systemctl restart ollama

Verify the service status:
sudo systemctl status ollama

The service should now be active and running without errors.

Conclusion
By following these steps—creating the directories, setting correct permissions, and configuring the service file—you can successfully configure the Ollama service to use a custom directory for models and temporary files.


Include index_name column in index for tables used in sorting

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Improves performance for queries that may involve sorting with search params
Fixes #[issue number]
Description
Clear and concise code change description.
Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type
Choose one: (Bug fix | Feature | Documentation | Testing | Code health | Builds | Releases | Other)
Screenshots (if applicable)
Checklist

[ ] I have read and acknowledged the Code of conduct.
[ ] I have read the Contributing page.
[ ] I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
[ ] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
[ ] I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
[ ] I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

Given query
SELECT a.resourceId
FROM ResourceEntity a
         LEFT JOIN DateIndexEntity b
                   ON a.resourceUuid = b.resourceUuid AND b.index_name = '_lastUpdated'
         LEFT JOIN DateTimeIndexEntity c
                   ON a.resourceUuid = c.resourceUuid AND c.index_name = '_lastUpdated'
WHERE a.resourceType = 'Encounter'
GROUP BY a.resourceUuid
HAVING MAX(IFNULL(b.index_from, 0) + IFNULL(c.index_from, 0)) >= -9223372036854775808
ORDER BY IFNULL(b.index_from, -9223372036854775808) DESC, IFNULL(c.index_from, -9223372036854775808) DESC;

previous query generated was
QUERY PLAN
|--SEARCH a USING INDEX index_ResourceEntity_resourceType_resourceId (resourceType=?)
|--SEARCH b USING INDEX index_DateIndexEntity_resourceUuid (resourceUuid=?) LEFT-JOIN
|--SEARCH c USING INDEX index_DateTimeIndexEntity_resourceUuid (resourceUuid=?) LEFT-JOIN
|--USE TEMP B-TREE FOR GROUP BY
`--USE TEMP B-TREE FOR ORDER BY

this changes to
QUERY PLAN
|--SEARCH a USING INDEX index_ResourceEntity_resourceType_resourceId (resourceType=?)
|--SEARCH b USING COVERING INDEX index_DateIndexEntity_resourceUuid_index_name_index_from (resourceUuid=? AND index_name=?) LEFT-JOIN
|--SEARCH c USING COVERING INDEX index_DateTimeIndexEntity_resourceUuid_index_name_index_from (resourceUuid=? AND index_name=?) LEFT-JOIN
|--USE TEMP B-TREE FOR GROUP BY
`--USE TEMP B-TREE FOR ORDER BY

And testing in a database with 166293 resources and 137517 encounters, the previous query plan took
Run Time: real 4.606 user 0.675157 sys 0.889591

while the updated takes
Run Time: real 4.120 user 0.533021 sys 0.707809

In a database with 125206 resources and 109654 tasks,
query
SELECT a.resourceId
FROM ResourceEntity a
         LEFT JOIN DateIndexEntity b
                   ON a.resourceUuid = b.resourceUuid AND b.index_name = '_lastUpdated'
         LEFT JOIN DateTimeIndexEntity c
                   ON a.resourceUuid = c.resourceUuid AND c.index_name = '_lastUpdated'
WHERE a.resourceType = 'Task'
GROUP BY a.resourceUuid
HAVING MAX(IFNULL(b.index_from, 0) + IFNULL(c.index_from, 0)) >= -9223372036854775808
ORDER BY IFNULL(b.index_from, -9223372036854775808) DESC, IFNULL(c.index_from, -9223372036854775808) DESC;

previously took
Run Time: real 3.124 user 0.451723 sys 0.499627

compared to
Run Time: real 3.032 user 0.383676 sys 0.493447

@LZRS is this intended to be a draft PR ?
Can you attach an issue with it ?

@LZRS is this intended to be a draft PR ? Can you attach an issue with it ?

I've added this issue


I can't install

I get a message like the one below, saying that the installation was unsuccessful.
Please check.

I upgraded to obsidian 1.6.5 and the problem disappeared.

Yes, I configured my plugins to work on the latest Obsidian versions


Acrylic turns off when Window is Inactive

Your Windows build number: 10.0.18890.1000
What you're doing and what's happening: Acrylic transparency is turned on in config and working when window is active.  Turns back on when window becomes active.
What's wrong / what should be happening instead: Acrylic transparency should likely remain on. Especially in multiple monitor instances, where the window may remain at the front of the stack used for monitoring. Transparency is typically used to show when something is inactive or disabled. So transparency on when active and transparency off when inactive is the opposite of what is expected.

This is an intended feature of Windows 10 Acrylic I think https://docs.microsoft.com/en-us/windows/uwp/design/style/acrylic#usability-and-adaptability

Oh look at that, it is, my bad. So this is a none issue since it's outside of this projects control. Apparently it's a "don't" to use acrylic for large portions of the app, it's supposed to be used for menu and title bars, etc, and I see why. Seeing as it's an option to turn on and off in terminal I'm just going to close this issue. Though would be nice if Acrylic worked on inactive windows.

is there another means to achieve transparency without acrylic at this point so transparency is possible on inactive windows? The traditional windows console has the means to set a static opacity so I can have a separate terminal on each monitor all maintaining simultaneous transparency when running wsl just like I do when I'm running in a native nix env. I see that it's simply not possible with acrylic but is that really the only means for transparency at the moment?  I know it's a weird hang up but having the transparency drop out when i switch terminal windows throws me off enough to keep me using the old console for the time being.

@NOFUNEVER I don't think we actually have the blur % in the json currently, only the transparency %. That'd be a relatively easy starter issue if someone wanted to hop on it :)
I really don't know if there's a non-acrylic way to do transparency. I'm sure there's some way to do it with DWM/Composition tricks, but I can't say for sure.

Perhaps have an opacity slider and a check box to enable Acrylic.  So the two works together.  Acrylic off but the opacity down to 50%.
When opacity slider is below a certain amount, then a glow or outline appears around the text for legibility

the x410 app stais transparent and blurry when inactive too 🤔

I understand this is an intended behavior - is there any way to make this not happen?

We can't do this, unfortunately! System policy dictates that acrylic is only allowed on the actively focused window. Once the terminal loses focus, the system takes acrylic away from us. ☹
https://github.com/microsoft/terminal/issues/1747#issuecomment-507505693

And all these other threads: #2326 #1886 #1747 #1546 #1505 #1099 #2698

You guys probably need some bot to clear duplicated issues 😄

this 100% needs to b changed upstream as a nr 1 priority together with al the unstopable titlebarbloat shenanigans in windows.
This specific isue just needs to change to only not work when some other ap is in fulschreen.

where do i go complain to have people change the system policy ?

@NicTanghe The issue you want to follow is over here:https://github.com/microsoft/microsoft-ui-xaml/issues/491

We can't do this, unfortunately! System policy dictates that acrylic is only allowed on the actively focused window. Once the terminal loses focus, the system takes acrylic away from us. ☹
#1747 (comment)

And all these other threads: #2326 #1886 #1747 #1546 #1505 #1099 #2698

Yet another case where Microsoft does things in inexplicably strange ways that diminish the UX.  I want Terminal to work exactly the opposite of how it currently does.  I want the background to go opaque when Terminal has focus so I can easily read it, and go semi-transparent when I switch away so that it doesn't 100% obscure what is behind it while it's just "taking up space" and I'm not directly interacting with it.  I hate that as soon as I click to type in the window suddenly everything is harder to read.

geee still not fixed? pfeww...


"@ai" email address wont match

the .ai TLD has an MX record, allowing for email to be delivered to recipient@ai.
However this email regex will fail to match it as (([0-9a-z][-0-9a-z]*[0-9a-z]*.)+[a-z0-9][\-a-z0-9]{0,22}[a-z0-9]) does not match "ai"
the correct regex would match the first group 0 or more times ((([0-9a-z][-0-9a-z]*[0-9a-z]*\.)*)

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

ID: 202e3f9f-a12a-53de-9069-fd469e3dbebc
Version Independent ID: fd3699bb-4881-b6b4-1275-43eed3d5f626
Content: How to: Verify that Strings Are in Valid Email Format
Content Source: docs/standard/base-types/how-to-verify-that-strings-are-in-valid-email-format.md
Product: dotnet
Technology: dotnet-standard
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

@ViktorHofer, @maryamariyan please comment


Write operation ids as hex instead of bytes

Thrift responses include operationId and sessionId guids as byte arrays. We print these in our logs and include them in ServerOperationError responses. But they aren't human readable. We can use Python's built-in UUID library to convert them into human-readable hex strings. In the case of query ids, these can be directly tied back to Databricks Query History API responses.

I implemented this is one spot here: https://github.com/databricks/databricks-sql-python/pull/159 with the get_session_id_hex method. But we're still writing out bytes-like GUIDs in numerous other places in the code base such as here, here, and here.


Update PyPi?

Hi guys,
so I'm going to use this for my computer science coursework, and I noticed that the git files have 'hide_char' in the Text widget, but the build on PyPi doesn't have this yet. Does anyone know when that will be updated?
Thanks for the help

I've been thinking about refreshing PyPI, but wanted to try to sort the reduced dependencies issue first.
While you're waiting you could probably use the git install from pip. See https://stackoverflow.com/questions/8247605/configuring-so-that-pip-install-can-work-from-github

The problem I have is that I don't have admin access in school where I'm going to be using it, sorry to bother you but it would be great if you could provide a wheel of the github version because I'm able to get those installed. Thanks for the quick response and I must say I really like how easy this library is, is there any list of things I could do to contribute?

As per your other issue, I've answered the final question on how you could help...  And I think we're nearly there now on the reduced dependencies...  So hopefully not long now.
If you can't wait, you can always build the wheel yourself.  Simply run pip install wheel, then python setup.py bdist_wheel and you have the wheel ready for use in the dist directory.

I've been attempting to install with the following command: pip install<EMAIL_ADDRESS>or pip install git+https://github.com/peterbrittain/asciimatics.git@master and I'm getting an index out of range error.  Here is the stack trace
Collecting git+https://github.com/peterbrittain/asciimatics.git@master
  Cloning https://github.com/peterbrittain/asciimatics.git (to master) to /tmp/pip-HiLQv3-build
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-HiLQv3-build/setup.py", line 24, in <module>
        while long_description[0] != "ASCIIMATICS":
    IndexError: list index out of range

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-HiLQv3-build/

You get the same error when attempting to run python setup.py bdist_wheel. Seems like a simple fix. I'm able to get it to build with the following change:
diff --git a/setup.py b/setup.py
index 3b42b91..ea8a611 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ here = path.abspath(path.dirname(__file__))
 # Get the long description from the relevant file and strip any pre-amble (i.e. badges) from it.
 with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
     long_description = f.read().split("\n")
-while long_description[0] != "ASCIIMATICS":
+while len(long_description) > 0 and long_description[0] != "ASCIIMATICS":
     long_description = long_description[1:]
 long_description = "\n".join(long_description)

That's not really fixing the real problem, but it will get it building if necessary, like @Michal-Gagala will potentially be needing.

@Eeems I don't see those issues for either command when I run them on my machine...  What environment are you using - e.g. versions of pip, python, OS, etc.?

@peterbrittain Windows 10 pro, Python 2.7, latest version of pip. I was running the build from cygwin, which may make
a difference.

OK...  That would be it - looks like the stuff to clean up the README doesn't work on Windows.

@peterbrittain Just confirmed that it works

v1.9.0 is now public.


Bumped Kubernetes version to 1.20.11 and updated patches

Issue #, if available:
Description of changes:

Added new patches
Removed some patches
Updated descriptions
Bumped version to 1.20.11

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold
I think I messed something up

/unhold


Opt re-entry call to orchestrated backends

Current orchestration setup hypothesis that the simulation loop will be orchestrated. In an hybrid system, we need an efficient re-entry call
DoD: erase all overhead to executing orchestration after one call

Current solution:

cache CSDFG
optimization arg transformation prior to CSDFG call to make a straight-to-so execution with minimal penalty (incurring the risk of data swap between calls)


Feature Request: az containerapp scale command

Is your feature request related to a problem? Please describe.
When working with multiple services that process messages from a queue, it is convenient to be able to quickly scale a container app to zero instances for testing a local, dev version of the service.
Describe the solution you'd like.
By providing a way to quickly scale a container app to zero from the command line it is possible to stop the deployed container app from consuming messages and run up the service locally to debug/test local code changes as part of the overall system.
Describe alternatives you've considered.
Alternatively, az containerapp stop/az containerapp start would work for this scenario if it provided a way to start/stop a container app without deleting it.
Additional context.
I've used a similar approach with services deployed to Kubernetes via the kubectl scale deployment command (https://kubernetes.io/docs/reference/kubectl/cheatsheet/#scaling-resources).

Similar to #618, #376 but specifically looking for CLI support

Adding a start/stop API https://github.com/microsoft/azure-container-apps/issues/664#issuecomment-1477305679

+1 for this feature request. It would be great during development/cold-start testing to be able to easily scale down to 0 replicas via API/CLI.

Adding a start/stop API #664 (comment)

This is great, however I just want to be able to scale down 0, but still have the "app running" to a new replica is automatically started on a HTTP request to the app.
If you could add an argument to START API like replicas=0, that would allow us to specify the initial number of replicas to start it would be good enough for me perform a STOP + START?replicas=0.


DataFrame.load_csv!/2 seems to fail on certain options

After downloading a CSV from the web, I want to load it into a DataFrame.

Loading the CSV directly from memory using DataFrame.load_csv!/2 results in a RuntimeError.
Storing the CSV binary in a temporary file, and then loading it using DataFrame.from_csv!/2 works fine.

My assumption was that load_csv! and from_csv! should behave somewhat identical (except touching disk)
Below code with load_csv!/2 gives me
%RuntimeError{
   message: "load_csv failed:
       %RuntimeError{
         message: "Polars Error: found more fields than defined in 'Schema'
        Consider setting 'truncate_ragged_lines=true'.

Here's a quick repro for LiveBook:
Mix.install([
  {:req, "~> 0.5.6"},
  {:explorer, "~> 0.9.0"},
  {:kino_explorer, "~> 0.1.21"},
  {:iconv, "~> 1.0"}
])

require Explorer.DataFrame, as: DF
require Explorer.Series, as: S

url = "https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/hourly/precipitation/recent/stundenwerte_RR_01078_akt.zip"

%Req.Response{status: 200, body: zip} = Req.get!(url: url)

csv = zip |> Enum.into(%{}, fn {name, content} ->
  {to_string(name), :iconv.convert("iso8859-15", "utf-8", content)}
end)
|> Enum.find(fn {name, _} -> String.starts_with?(name, "produkt") end)
|> elem(1)

csv_opts = [
  header: true,
  delimiter: ";",
  infer_schema_length: 10,
  nil_values: for(n <- 0..10, do: String.duplicate(" ", n) <> "-999"),
  dtypes: [
    {"STATIONS_ID", {:u, 16}},
    {"MESS_DATUM", :string},
    {"QN_8", {:u, 16}},
    {"  R1", {:f, 32}},
    {"RS_IND", {:f, 32}},
    {"WRTR", {:f, 32}}
  ],
]

try do
  DF.load_csv!(csv, csv_opts)
rescue
  err -> IO.puts("load_csv!/2 resulted in #{inspect err}")
end

File.write!("1.csv", csv)
df = DF.from_csv!("1.csv", csv_opts)
IO.puts("from_csv!/2 works well")
df |> DF.dtypes()

Maybe that's not a bug but a user error on my side. Is there a better place to ask that question?

Which version are you using? We had a bug for this but it was fixed on 0.9.1, try forcing ~> 0.9.1 instead.

Thanks, @josevalim , that works perfectly in v0.9.1... Closing this issue


add support for groovy-language-server, update instructions accordingly

Added support for groovy-language-server @ https://github.com/prominic/groovy-language-server
I added it to the 'working' list, though I haven't tested all features yet, the autocomplete and preview etc seems to work nicely. I'm not sure what the criteria are. I have only tested running groovy/install.py manually, and then adding the snippet I added to the README to the .vimrc (I didn't try with the project root install.py script, but a cursory look doesn't indicate it should be incompatible).
Thanks a lot for the helpful software!

This change is

Thanks for the pull request. I haven't tested groovy, but this looks fine. I'm not going to merge it immediately to give @puremourning a chance to comment if he wants.

Thanks for the PR !


Formatting lost when logging exception text to a database

When logging exceptions to SQL Server formatting is lost on the exception text. Using this directive to format the exception the text is written into the database as a one line string, all newlines being removed.
<parameter name="@Exception" layout="${exception:format=ToString:maxInnerExceptionLevel=5}" />

However, the same format string used to log to a file preserves the exception formatting, and so keeps things readable.
Losing the formatting makes it much harder to read the exception details.

I will look at this, this week.

Hi @stuarthallows
I think this already possible with the Separator parameter. (default: space).


Release a version to NPM?

It would be useful for adoption if we had a version published, even if it's a development version with known and unknown bugs.

We publish a beta version quite often. (See all versions via https://www.npmjs.com/org/lionweb)
Do you require a beta-release for a specific feature that's not in an official release yet?

Maybe we should release a standalone executable, that is much easier for people not familiar with the JS ecosystem and nodejs.

Maybe we should release a standalone executable, that is much easier for people not familiar with the JS ecosystem and nodejs.

Agreed, and even though npx @lionweb/cli <command> is a lot of work, it does rely on NPM (so Node.js).
That was the great thing about implementing this in Deno instead of Node.js: Deno can generate executables out-of-the-box.
pkg might be something to check out.

pkg has been deprecated.  But there are several other we might use. Or move to node 21, since then it is native functionality in nodejs.

I just saw that no releases are listed and no npm badge is present, so I wrongly assumed that no published version exists.

So we should fix this and list the releases and add an npm badge.

It's a one-liner in the Readme.md file for each published package; the following Markdown
[![NPM Version](https://img.shields.io/npm/v/%40lionweb%2Fcore?label=%40lionweb%2Fcore)
](https://www.npmjs.com/package/@lionweb/core)

produces this:

I've generated the above with the online tool at https://shields.io/badges/npm-version and then made it into a link to the published package. Once you've generated it, you don't have to change it for newer versions (unless you add or remove a package, or rename a package).

Added a couple of badges here: https://github.com/LionWeb-io/lionweb-typescript/tree/feature/badges
I'd like to add a badge for the GitHub Action test.yaml but haven't succeeded so far.

This might help: https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge

Oh, wait: already did the GitHub Action badge. Closing this issue.


encoding error

mp3-tagger seems to lack support of diacritics.
I can save string such as "Cesky Rozhlas" to artist, but "Český Rozhlas" throws
UnicodeEncodeError: 'latin-1' codec can't encode character
I cant figure out how to convert the string properly to save it

This is a problem with python and it's rubbish binary encoding.


Gen Reconciler: Here is an example of Reconciler and Controller in pkg/client/reconciler/...

This takes most of the resources generated and moves them to the client dir, including NewImpl.

/close
in favor of https://github.com/knative/sample-controller/pull/167


CUDA out of memory on Spider

Hi,
Thanks for sharing the code. I found when training on Spider, CUDA out of memory error keeps occuring even though I have set the batch size of both train and dev in parse_args.py to 1. Any idea on that?

Hi. I am getting the same cuda error. Did you manage to resolve it?

@realningzheng


Jdk9

Coverage decreased (-0.03%) to 61.38% when pulling db8059e6e3e955bfb12237b390fbce8ebbaca19b on jdk9 into ef85909e64bd230c03d83a8a5ce9e46b86ab423c on master.


Get grain size samples from beach

Go to the beach and collect 5 sand samples (i.e., ziploc bag), try for different grain sizes

I have gone to the Sediment analysis lab and have run samples from kure beach that have already been sieved.


add rbfchange

hi. ttilley.
i wrote add win32 code.
using gem "rb-fchange"
"rb-fchange" https://github.com/stereobooster/rb-fchange

sorry. mistake.


feat(setup): improve support for internal/external URLs

Since a few versions back, Home Assistant supports setting internal and external instance URLs right from the interface. This is something we can make use of during setup!

For the manual setup flow
Before this PR, we just used whatever the user typed in as the internal base URL. Now both URLs can be auto-configured using the discovery_info call we already make to check for a valid instance.
For better user feedback, it's now possible to click on the "continue" button when there has been an error, and it will display some diagnostics information to hopefully help solve the issue.
For the mDNS zero-conf flow
Before this PR, we used the discovered IP and port as the internal URL, and the base_url property given back as the remote URL. This property is now deprecated and replaced by the internal/external URL pair, which we now use and will improve reliability.
Closes #376
Closes #358 by improving reliability + adding a feedback popup

Posted new comment on
https://github.com/outadoc/home-slide-android/issues/358
I do not use seperate URLs for external and internal which appears to be the assumption here.

This shouldn't be a problem, if you only have one URL it's the one that will be used.

Ok, should take a look at my comment though as there is an issue with login and the error messages mentions the urls, but the java error seems to point to an issue it is having with the ssl cert.


Updates gitignore to include frontend-plugin generated stuff

retest this please

retest this please

@ligangty  It looks like one of the ftests failed with a missing .groovy extension on one of the rules. Is this related to the Indy issue you filed?

retest this please

@jdcasey yes it is, and I've submitted a new fix for that. Changed some other ftests.

retest this please

retest this please


fix(theme): fix header color on Customise Drawer page

This PR fixes #189

I love how all three of us are getting credited for this 2 line change... :laughing: :facepalm:


Add the NO_AUTH option to the API server

This pull request resolves https://github.com/tektoncd/results/issues/292.
This feature makes the built-in Kubernetes RBAC authorization check optional. In
larger clusters with high activity users may  turn-off the RBAC authorization
check which improves the Results API's performance significantly.

/test tekton-results-unit-tests

@dibyom  and @adambkaplan  I rebased onto main and dismissed your reviews. Can you take a look again,  please?


CASMCMS-8302 - add timeout to allow more time for post-upgrade hooks to complete.

Summary and Scope
This increases the helm timeout value so the console-operator and console-node post-install hooks have more time to complete on large systems where there are a lot of files that need ownership and permissions changes.
Issues and Related PRs

Partly Resolves CAST-31309
Resolves CASMCMS-8302

Testing
This is a manifest only change, so it really can't be tested outside of a system upgrade.
Risks and Mitigations
This should be a low risk change as it only adds an option to the manifest and this option is used in other places successfully for the same purpose.
Pull Request Checklist

[X] Version number(s) incremented, if applicable
[X] Copyrights updated
[X] License file intact
[X] Target branch correct

/backport release/1.3 release/1.2


feat: Textarea, add endAdornment

Description
Recent mockup required that a Textarea allows an endAdornment.

Adds stories for this example
Preview
https://user-images.githubusercontent.com/3367393/154340513-a3a62063-2d01-421d-a23d-c271109dca08.mp4

NB: CI is broken while waiting for:

https://github.com/traefik/faency/pull/294

@seedy when you have a chance, please update the PR since the linked PR has been merged

fix: kill css incompatible error #294

@paulocfjunior Done, thanks :+1:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


CMS

It would be nice to have a section of the application that acts as a very basic CMS.

"Pages" are written using markdown
Support image uploading
Allow pages to be assigned to games
Maybe these pages get synced to the launcher for offline access for installed games?

Current issues:

[ ] Deleting a page doesn't update the tree
[ ] Page content isn't rendered
[ ] No input to tie page to specific game
[ ] Unknown error when trying to delete a page (last page?)


2428 Maximum Sum of an Hour Glass : cpp solution added

2428 Maximum Sum of an Hour Glass : cpp solution added of Leetcode.
Please mark this as Hacktober Fest accepted.

this is amazing @Umm-E-Kulsum  .
thanks for the contribution in my repo and please share this in social media and tag me on twitter


Feature/account

add methods like verifySignupSetPasswordLong, verifySignupSetPasswordShort from feathers-authentication-management to validate enforcePasswordPolicy in account service => create method

Hi, first of all thanks for your contribution, which seems to be relevent. However, I noticed that you probably use different lint rules as there are commas, semi-colons, quotes, etc. in your file, could you fix it ? I also wonder if you would be able to add some tests again this new methods ? The relevent file is https://github.com/kalisio/kdk/blob/master/test/api/core/account.test.js.
Let me know what you think.

Hi, first of all thanks for your contribution, which seems to be relevent. However, I noticed that you probably use different lint rules as there are commas, semi-colons, quotes, etc. in your file, could you fix it ? I also wonder if you would be able to add some tests again this new methods ? The relevent file is https://github.com/kalisio/kdk/blob/master/test/api/core/account.test.js.
Let me know what you think.

Sorry for different lint rules, It would be easier when .prettierrc is on the root.


No way to set maxAttempts for queued Notifications

Laravel Version: 5.6
PHP Version: 7.2.2

Description:
Illuminate/Notifications/SendQueuedNotifications does not have the $tries property, so maxAttempts is always null when Notifications are queued. Failed notifications are retried without limit.
Please consider implementing the $tries property for this Class like what done for SendQueuedMail in this old Pull Request : https://github.com/laravel/framework/pull/18103

Think this is something we can add yeah. Feel free to send in a PR.

To the 5.7 branch I mean.


refactor(components, protocol-designer, app): move MenuList from app to  components

Overview
move MenuList from app to components
move Tooltip from app to components and rename components/tooltip into LegacyTooltip.
There are a few components that use LegacyTooltip in app. They will be updated later.  (issued a ticket RSQ-147)
close AUTH-629

Test Plan and Hands on Testing

Changelog

Review requests

Risk assessment
medium since this PR touches a lot of files

this will be followed by another PR


To tool or not to tool

Kiota is currently distributed as a tool, and I'm guessing that most people will install it as a global tool. This means that you have a single instance on your machine. The C# generated code contains conditional code that depends on language features. i.e. nullable reference types. As .NET evolves, there will probably be new cool things that can be leveraged. As these are added, it will increase the complexity of the tool; i.e adding more and more options.
Two developers on the same team may then run different versions of the tool depending on when it was installed. This in turn may result in differently generated code, something that may cause some confusion. Developers may have to support older applications that depend on tool functionality that was removed in newer versions. You may then end up with some applications needing the newest tool version whilst others need an older version. Both developers and build servers need to be aware of this; increases management.
The tooling infrastructure supports local tools, but in order to use this you need perform additional steps such as setting up a manifest. What happens if a tool is installed both locally and globally? What happens if a tool is installed globally, but not locally restored?
NSwag which is the other big contender in this space doesn't use a tool. They have a number of nuget packages where some include a console application. This approach allows each application to control what version to reference.; it's also possible to use wildcards so that you get the latest update. Older applications can stick with a version that support their language features. New applications can leverage all the new features developed by Microsoft. The Kiota code can be multi-targeted and generate code relevant for the target.
<PackageReference Include="NSwag.CodeGeneration.CSharp" Version="13.16.*" />
By using standard nuget packages, the IDE provides a list of packages that have updates available. When running dotnet tool list on my machine, no tools where listed. I'm running VS2022 preview, so I have a preview SDK that may impact things. The tool is installed since I'm able to generate code.
C:\temp>dotnet tool list
Package Id      Version      Commands      Manifest
---------------------------------------------------

C:\temp>

Kiota generates a lock file that contains the version of kiota when last generated and the settings.
This allows two things:

assuming the lock file is committed to the source control, which we recommend, people would see the change of version in the diff.
kiota emits a warning when updating a client to a different generation.

The other aspect is that a binary breaking change in the generation result would mandate a major version bump for kiota. Which circumvents some of the scenarios you're describing.
As you said, the tool can also be installed locally. Or people can rely on other distribution mechanisms like docker images etc to rapidly switch between versions to match their projects.
For kiota to be a referenceable package, it'd need to be a source generator or something similar. While that'd be an improvement to the dotnet ecosystem, it wouldn't do much to others. And our biggest blocker down this path is the fact that these mechanisms are relying on net standard 2.0 with the related drawbacks in terms of available APIs and performance

The netstandard2.0 requirement for source generators is something I'm not happy about either.
NSwag uses .NET version specific assemblies, and have figured out a workaround by calling the dotnet command.
https://github.com/RicoSuter/NSwag/blob/master/src/NSwag.ApiDescription.Client/NSwag.ApiDescription.Client.targets
https://github.com/RicoSuter/NSwag/blob/master/src/NSwag.MSBuild/NSwag.MSBuild.props

Yes, this approach can be brittle over time (no guarantee dotnet will be present, or the same version as expected when building CLI arguments). But it's most likely better than having to port down everything else. Or wait that Visual Studio modernizes the extensibility story which is probably going to take some time and only be available on the latest version of the IDE, educing the potential audience.
I believe all the questions on this thread have been answered, should we close it?


New translations for german and french

Description
User came to Oxygen support asking for "Notice" translation in  and proposes "Hinweis".
Possible Solution
We have changed certain vars for german and french (variable id = value):

Notices title = "Hinweises"
Notice = "Hinweis"
Caution = "VORSICHT"
Remember = "Erinnern"
Notices title = "Notices"
Notice = "Notice"

Additional Context

@xephon2 any comments about making these changes?

@raducoravu Looks like there are a few duplicate entries in the list above.
The correct German plural for Notices is Hinweise — no trailing “s”.

@infotexture the duplicates are the french versions, I already reviewed them.

@raducoravu, @infotexture
Signal words are defined in the technical standards ANSI Z535.6 and IEC 82079. They are also named on the German Wikipedia site Sicherheitshinweis. The correct values are:

English
German
Meaning

Danger
Gefahr
Indicates a hazardous situation that, if not avoided, WILL result in death or serious injury.

Warning
Warnung
Indicates a hazardous situation that, if not avoided, COULD result in death or serious injury.

Caution
Vorsicht
Indicates a hazardous situation that, if not avoided, could result in minor or moderate injury.

Notice
Hinweis
Indicates a situation that, if not avoided, can result in property damage.

Note: The correct German ANSI term for Notice is Hinweis, but this is no good translation. A safety note of level Notice is used to refer to a material damage. Hinweis is a term which is usually used for useful information. But if want to explain to your user how he can avoid damage of his 1,000,000 USD machine, this is more than just a useful information. Therefore it is common practice to use the term Achtung instead of Hinweis for Notice. But the correct term is Hinweis. The DITA-OT should stick to the standard (even if the standard is not good).

You can find an overview of all ANSI Z535 signal words (in several languages) here (slide 21): Neue ANSI Z535 - Vom vernünftigen Umgang mit Sicherheitshinweisen.
org.dita.base/xsl/common/strings-de-de.xml

ID
Current Value
Should be changed to
Explanation

Danger
GEFAHR
no change needed
The term is usually capitalized.

Warning
Warnung
WARNUNG
The term is usually capitalized.

Caution
ACHTUNG
VORSICHT
Please use the correct ANSI Z535.6/IEC 82079 term.

Note
Anmerkung
no change needed

Notes
Anmerkungen
no change needed

Remember
Hinweis
Merke
This is the imperative of merken which is the direct translation of to remember.

*org.dita.pdf2/cfg/common/vars/de.xml

ID
Current Value
Should be changed to
Explanation

Notice
<!--TODO:Notice-->
HINWEIS
This string should be stored in org.dita.base. All safety levels should be kept in the base plugin!

Notices title
<!--TODO:Notices title-->
Hinweise

@xephon2 Thanks for the review & references. I've updated the German translations in #3883 accordingly.

All safety levels should be kept in the base plugin!

That does look like something that should be aligned, but it's probably best treated as a separate issue.
I'll discuss with the team and submit a separate PR.

You can find an overview of all ANSI Z535 signal words (in several languages) here (slide 21): Neue ANSI Z535 - Vom vernünftigen Umgang mit Sicherheitshinweisen.

@jlacour31 According to this reference, ANSI Z535 suggests the French “Notice” translation should be “AVIS”.
Shall we make that change here too?

@infotexture, @xephon2 we changed the french translation for notice accordingly.

The imperative form "Merke" reads rather unusual, old-fashioned, some may even think it's a typo, Merke(l). Perhaps something like "Nicht vergessen" would be more applicable in technical documentation.

Germans may have different opinions on the most appropriate translation of the Remember string, but the changes in #3883 address the original issue, so this should have been closed when #3883 was merged for 3.7.1. (I'll do that now.)
Overriding strings is a common plug-in use case that provides a solution for situations like this where users would prefer a different translation than that which DITA-OT provides by default.
@Schelmenzunft If you feel strongly that the default translation of the Remember string should be changed, I suggest filing a separate issue, which we can use to discuss pros and cons of each alternative, and decide what's best if consensus emerges there.


Site (partially) down

Apologies if you're aware but the main landing page (https://yihui.org) seems to be down. Other pages such as https://yihui.org/litedown/ are accessible though.

Yes, I was aware of it but failed to figure out the reason last night and gave up in the end since it was too late in the night. I'm  trying to fix it again now. Thank you very much for the report!

Fixed now. Thanks again!


Pierce debug

Do we need all these commits (including 3 merge commits) for a bug fix? Can you squash and rebase?


Option to list FMs removed from the archive (for their metadata)

I’ve just noticed that AngelLoader keeps the metadata (comments, ratings, level completions etc.) of an FM after it was deleted from the archive. Taking this one step further, could you add an option to show these deleted FMs if there’s metadata saved for them?
I would find this useful when I wasn’t sure if I’d played a particular FM (or if I liked it) or not while browsing TTLG forums or thiefmissions.com, because this way I would be reminded just by looking at AngelLoader without having to download the FM again.

Absolutely, can do.


Installing PHP7.1

I am trying to install PHP7.1 and get the following error message:

The following packages have unmet dependencies:
php7.1 : Depends: libapache2-mod-php7.1 but it is not going to be installed or
php7.1-fpm but it is not going to be installed or
php7.1-cgi but it is not going to be installed
php7.1-cli : Depends: php7.1-opcache but it is not going to be installed
Depends: libc6 (>= 2.29) but 2.24-11+deb9u4 is to be installed

I added the following code in the DOCKERFILE:

RUN apt-get update -qq && apt-get install -yqq
apt-transport-https
ca-certificates
software-properties-common
&& apt-get update
&& LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php

RUN apt-get update && apt-get -f install -y
php7.1 php7.1-common php7.1-cli

Has anybody solved this problem yet?

Seeing the same issue, pretty sure this is what's causing the issue:

Depends: libc6 (>= 2.29) but 2.24-11+deb9u4 is to be installed

Not sure how to solve it...

I think you are trying to run workload on the Jenkins master. You rather want to use agents for builds.
See https://stackoverflow.com/questions/47651682/what-does-the-agent-mean-in-jenkins
If you do so, you will be able to design your own Docker image with just PHP, using simply https://hub.docker.com/_/php
I think this addresses the question. Thanks!

No, that's not the case. I'm trying to install php7.2 using base Docker image jenkinsci/jnlp-slave (which uses Debian).
FROM jenkinsci/jnlp-slave

RUN apt-get update && apt-get install php7.2

Then this is not the right repository for such issue, this one is for https://hub.docker.com/r/jenkins/jenkins/.
Thank you!


Guide

Is there a guide somewhere to help get moving quickly on styling RiotGear components to match a particular website theme?

Are you talking about these components https://github.com/RiotGear/rg or the components in this repo?

The later. Appologies in retrospect it looks like this issue should be in a different repo.

We've got to still create a website which will have all the docs. I'll close this issue. Reopen it if you need to


Update documentation link URL for integrations in all manifests

Description:
Our website has changed the URL structure for integrations. This PR updates all manifests.
Related issue (if applicable): fixes #
Pull request with documentation for home-assistant.io (if applicable): n/a
Example entry for configuration.yaml (if applicable): n/a
Checklist:

[ ] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Sorry for the massive ping/review requests on this... That happens automatically.

Does this update the scaffold template too?

@balloob No, it does not. I've splitted this into 2 PR's. A big, but simple repetitive one (this one) and one for everything else: #27117
Just for keeping easier to review.


Demand for a Release Automation Script

The lycheeJS releases got a bit complicated. We need an automation script for that purpose. Currently, the following tasks need to be done (mostly manually):

Everything inside the RELEASE Guide.

Execute sudo ./bin/configure.sh --sandbox in /opt/lycheejs

Checkout lycheeJS-library repo to /opt/lycheejs/projects/lycheejs-library

Execute ./bin/package.sh

Create and push version tag with syntax "2016.x.0" to github

bower publish

npm publish (with token)

Done.

Checkout lycheeJS-website repo to /opt/lycheejs/projects/lycheejs-website

Execute ./bin/package.sh

Done.

As of @5c92f9ccd05ab64fe7ddbbc479a5265fca53b758 the initial do-release.sh script has been implemented.
TODO

Update runtimes (and fix shitty Info.plist file)
Rebuild lycheejs-website
Rebuild lycheejs-examples

The lycheejs-library and lycheejs-website are both now auto-released using the bin/maintenance/do-release.sh script. The bin/maintenance/do-update.sh script is also ready.
The Info.plist files still need to be fixed by the runtime/html-nwjs/update.sh.


panic:runtime error: invalid memory address or nil pointer dereference when filter tags

influxdb ver == 1.5.0
with previous version 1.4.x, I can add grafana template with below query and filter tags
SHOW TAG VALUES WITH KEY = "a" where "b" =~ /xxx/
but with influxdb 1.5.0, I got errors:
ERR: SHOW TAG VALUES WITH KEY = a WHERE b =~ /xxx/ [panic:runtime error: invalid memory address or nil pointer dereference]

Duplicate of #9548 and will be fixed in 1.5.1.


Add language-specific language settings

Although vscode has (as of recently) language-specific editor settings, I would like to request language-specific language settings i.e. the ability to override definitions in a language's language-configuration.json file (found in vscode/extensions/[language]/).
For example let's say I would like to set the backtick as a "surrounding pair" character in pug, so I can select some text and mark it as an es6 string literal by hitting backtick (like I can do in JavaScript), and not have the backtick character replace the selection: ideally, as a setting, this would require only something like this in my "User Settings" file, to override pug's surroundingPairs definition:
  "[pug]": {
    "surroundingPairs": [
      ["{", "}"],
      ["[", "]"],
      ["(", ")"],
      ["`", "`"],
      ["'", "'"],
      ["\"", "\""]
    ],
  },

I think this is best handled by tweaking the pug surrounding pairs. Surrounding pairs for a language should be based on the syntax of said language. So, if ` are used for strings in pug, then ` should be in the surrounding pairs.