_site breaks, whereas _site-dev works correctly for internal href

With this template...

...and markdown front matter referencing two internal jpg assets colocated in one subdirectory,
_site has the correctly transformed src attribute, but the href attribute is passed through unchanged and its referenced jpg is not copied over.
As a result: _site-dev works as intended at this anchor tag, but _site yields a 404 Error.

with the latest release, we now serve _site-dev no longer as a subdirectory but as the root-dir... e.g. the URLs for dev and build output should be exactly the same.
I think this should solve your issue as well. If not feel free to reopen or creating another issue 🤗

with the latest release, we now serve _site-dev no longer as a subdirectory but as the root-dir... e.g. the URLs for dev and build output should be exactly the same.
I think this should solve your issue as well. If not feel free to reopen or creating another issue 🤗


Result overlapping menubar on Fairphone 3plus

This calculator is all I was looking for except this tiny flaw. <3

Hey @Hackbroetchen , thanks for reporting that. It might be due to the screen size or a weird padding issue, I will check if that's the case. Let me know if you any other issues.

@Hackbroetchen I tested it on a Pixel 3 that has a lower screen size than yours. Your fairphone 3plus by specification appears to be 5.65 with a resolution of 1080 x 2160. The Pixel 3 has the same, although I can't reproduce the issue there:

@Hackbroetchen Can you specify your phone size and resolution? Or is this page right: Fairphone 3+ Specs

That is correct. Thank you for the quick reaction.
I installed /e/os (1.6-r-20221129238947-stable-FP3) that is android 11. Maybe that has to do with that. Maybe someone else that has the same issue and can share his phone specs.

Thanks for the update, seems like a layout issue or something associated with the rom. Could you test this apk and let me know if that fixed it:
https://www.mediafire.com/file/u8j203f341y9dfs/yetCalcLytTest.apk/file

Changes nothing.
But I experimented  a bit and found out that when I decrease the display size option from "default" to "small" the issue goes away.

Although it squiched the buttons a bit:

This might be a way to reproduce the issue on your device because setting screen size to "large" worsens it.
Turning on gesture navigation solves it as well.

That's how the buttons should actually look tho. Seems setting small resolves most issues for you. When I first tested on pixel 3, it was on default and had no problems. The issue does occur when the size is large, larger. I have a doubt here as well about your display size, it seems to have 5 options for the slider but small is at the middle and as per your response default should be higher. This means there's large which is at the last. However, what about the options at leftmost, is it like smaller, smallest? Your display setting being "small" appears as default to me considering your screen size.
Anyway, thanks for the report.


anki: "Segmentation fault: 11" on macOS

@the-kenny
Issue description
Installed anki on macOS. When I run anki from the Terminal, I get

Segmentation fault: 11

and a window saying "python quit unexpectedly" (see Report at the bottom of this issue).
Steps to reproduce
From command line:
nix-env -iA nixpkgs.anki
anki

Technical details
Results from nix-shell -p nix-info --run "nix-info -m":
 - system: `"x86_64-darwin"`
 - host os: `Darwin 16.7.0, macOS 10.12.6`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 1.11.16`
 - channels(andersriutta): `"nixos-17.09.3254.967e40787c5, nixpkgs-18.09pre140705.090b7cc8f1b"`
 - channels(root): `"nixpkgs-18.03pre122585.b212125b541"`
 - nixpkgs: `/Users/andersriutta/.nix-defexpr/channels/nixpkgs`

The "python quit unexpectedly" error report:
Process:               python2.7 [37680]
Path:                  /nix/*/python
Identifier:            python2.7
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        bash [691]
Responsible:           python2.7 [37680]
User ID:               501

Date/Time:             2018-05-22 19:34:43.678 -0700
OS Version:            Mac OS X 10.12.6 (16G1314)
Report Version:        12

Time Awake Since Boot: 1700 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   CoreFoundation                	0x000000010bc4dd94 CFStringGetLength + 4
1   QtCore                        	0x000000010d44b8ae QCFString::toQString(__CFString const*) + 46
2   QtCore                        	0x000000010d44b9c3 QCFString::operator QString() const + 67
3   QtGui                         	0x000000010e241d6f QApplicationPrivate::appName() const + 287
4   QtGui                         	0x000000010e242443 qt_init(QApplicationPrivate*, int) + 1395
5   QtGui                         	0x000000010e2b74f9 QApplicationPrivate::construct() + 201
6   QtGui                         	0x000000010e2b76cb QApplication::QApplication(int&, char**, int) + 91
7   QtGui.so                      	0x000000010dc4c2a4 init_type_QApplication(_sipSimpleWrapper*, _object*, _object*, _object**, _object**, _object**) + 196
8   sip.so                        	0x000000010c87d563 sipSimpleWrapper_init + 195
9   libpython2.7.dylib            	0x000000010ba6702c wrap_init + 12
10  libpython2.7.dylib            	0x000000010ba07e61 PyObject_Call + 97
11  libpython2.7.dylib            	0x000000010bab3f54 PyEval_CallObjectWithKeywords + 164
12  libpython2.7.dylib            	0x000000010ba1d3e9 wrapperdescr_call + 217
13  libpython2.7.dylib            	0x000000010ba07e61 PyObject_Call + 97
14  libpython2.7.dylib            	0x000000010baabfca PyEval_EvalFrameEx + 9530
15  libpython2.7.dylib            	0x000000010baa9803 PyEval_EvalCodeEx + 1635
16  libpython2.7.dylib            	0x000000010ba2e504 function_call + 372
17  libpython2.7.dylib            	0x000000010ba07e61 PyObject_Call + 97
18  libpython2.7.dylib            	0x000000010ba150f2 instancemethod_call + 178
19  libpython2.7.dylib            	0x000000010ba07e61 PyObject_Call + 97
20  libpython2.7.dylib            	0x000000010ba66f9f slot_tp_init + 175
21  libpython2.7.dylib            	0x000000010ba630e9 type_call + 313
22  libpython2.7.dylib            	0x000000010ba07e61 PyObject_Call + 97
23  libpython2.7.dylib            	0x000000010baabfca PyEval_EvalFrameEx + 9530
24  libpython2.7.dylib            	0x000000010bab4631 fast_function + 337
25  libpython2.7.dylib            	0x000000010baabdd9 PyEval_EvalFrameEx + 9033
26  libpython2.7.dylib            	0x000000010bab4631 fast_function + 337
27  libpython2.7.dylib            	0x000000010baabdd9 PyEval_EvalFrameEx + 9033
28  libpython2.7.dylib            	0x000000010baa9803 PyEval_EvalCodeEx + 1635
29  libpython2.7.dylib            	0x000000010baa9192 PyEval_EvalCode + 34
30  libpython2.7.dylib            	0x000000010bad69ed PyRun_FileExFlags + 157
31  libpython2.7.dylib            	0x000000010bad6510 PyRun_SimpleFileExFlags + 816
32  libpython2.7.dylib            	0x000000010baeaa8c Py_Main + 3452
33  libdyld.dylib                 	0x00007fffc336c235 start + 1

Thread 1:
0   libsystem_kernel.dylib        	0x00007fffc349b44e __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffc358548e _pthread_wqthread + 1023
2   libsystem_pthread.dylib       	0x00007fffc358507d start_wqthread + 13

Thread 2:
0   libsystem_kernel.dylib        	0x00007fffc349b44e __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffc358548e _pthread_wqthread + 1023
2   libsystem_pthread.dylib       	0x00007fffc358507d start_wqthread + 13

Thread 3:
0   libsystem_pthread.dylib       	0x00007fffc3585070 start_wqthread + 0
1   ???                           	0x6d68537365636e65 0 +<PHONE_NUMBER>799412837

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x6e35c5cc0da700bc  rbx: 0x006e6f6874797065  rcx: 0x0000000000000000  rdx: 0x0000000000003fd0
  rdi: 0x006e6f6874797065  rsi: 0x006e6f6874797065  rbp: 0x00007fff5420bb30  rsp: 0x00007fff5420bb30
   r8: 0x0000000000000000   r9: 0x0000000000000f6d  r10: 0x0000000000000001  r11: 0x0000000000000003
  r12: 0x0000000000000001  r13: 0x000000010d5b73b0  r14: 0x00007fff5420bb80  r15: 0x00007fff5420bb80
  rip: 0x000000010bc4dd94  rfl: 0x0000000000010206  cr2: 0x0000700006067c38

Logical CPU:     2
Error Code:      0x00000000
Trap Number:     13

I looked into this a while back and ultimately could not find the issue. I think it has something to do with mixing CoreFoundation SDKs (10.9 vs 10.11).

Yeah, it's confusing. Do you know whether it works on v10.11?

Actually can you try the suggestion in #21681? I think that still works.

I ran this from the command line:
DYLD_FRAMEWORK_PATH=/System/Library/Frameworks `nix-build '<nixpkgs>' -A anki --no-out-link`/bin/anki

and this time, Anki did open. However, I got a message in the terminal:

2018-05-24 16:56:57.564 python[724:8044] modalSession has been exited prematurely - check for a reentrant call to endModalSession:

and Anki displayed this message:

Could these issues be unrelated to the initial issue? When I couldn't get Anki working via Nix, I installed it using the Anki for Mac DMG. Is there a lockfile or something that could be causing these new messages?

Appears to be the message from here in the code.

Yeah try this:
rm -rf ~/Library/Application\ Support/Anki2

Thanks. I tried deleting the Anki2 directory, and I got the normal setup prompts (language, etc.) without the "Please ensure..." message. But when I closed and re-opened, I got the "Please ensure..." message again.

I also got the "Please ensure..." message when I tried starting Anki with with an option specifying my profile:

DYLD_FRAMEWORK_PATH=/System/Library/Frameworks nix-build '<nixpkgs>' -A anki --no-out-link/bin/anki -p andersriutta

When I open Anki while holding down shift (skip automatic syncing and addon loading), I get an Import window, but I don't get the "Please ensure..." message.
Maybe related: inside the DMG from ankiweb, there are files like

Anki.app/Contents/Info.plist (has variables like PyRuntimeLocations and PythonExecutable)
Anki.app/Contents/Resources/__boot__.py
Anki.app/Contents/Resources/ankiqtmac.py

Do we need to start Anki using those files instead of just running the command you specified?

The keepassxc package is an example of a QT application that works well on macOS. Anything from there that would be applicable to this Anki package?

I updated the anki package (https://github.com/NixOS/nixpkgs/pull/221229), and now it doesn't even build on macOS at all :grimacing:
Anki these days uses "qtwebengine" to render basically everything, and, well, I believe both qt5's and qt6's qtwebengine are broken (see https://github.com/NixOS/nixpkgs/issues/183383 for qt5, I don't know that there's an issue for qt6's).
Once nixpkg's qtwebengine builds on macOS, it's possible anki will work, but the first step is qtwebengine.


Return reference on iterator indirection/subscript

MatConstIterator_ should return const reference instead of value for compatibility with STL iterators.
The following code compiles with this commit, accessing the elements without copying:
#include <algorithm>
#include <opencv2/core.hpp>

int main(int argc, char* argv[]) {
	class Foo {
		Foo(const Foo&) = delete;
	};
	const cv::Mat_<Foo> mat;
	std::for_each(mat.begin(), mat.end(), [](const Foo&) {});
	return EXIT_SUCCESS;
}

There is no support for custom datatype in cv::Matx_ by design. It is just a generic wrapper over cv::Mat (with cv::Mat datatypes).

The issue is independent of the datatype. Generic code, like the following function Foo, compiles fine for STL containers and non-const cv matrices. But with a const cv matrix it fails with returning reference to temporary because MatConstIterator_ returns by value, while STL iterators and MatIterator_ return by reference.
OpenCVs iterators should be compatible with STL:

http://www.cplusplus.com/reference/iterator/RandomAccessIterator/
Constant iterators [...]; Dereferencing them yields a reference to a constant element (such as const T&).

#include <opencv2/core.hpp>

template <typename Container>
const typename Container::value_type& Foo(Container& container) {
	return *container.begin();
}

int main(int argc, char* argv[]) {
	const cv::Mat1b mat(1, 1);
	Foo(mat);
	return EXIT_SUCCESS;
}

:+1:


dart2js: error when creating InvocationMirror (wrong kind)

We seem to have a bug in how we generate the invocation mirrors for noSuchMethod when:

the method name starts with get
for some reason we don't have the reflectiveName available

(basically when we hit this codepath)
The check for whether the shortName is a getter prefix makes us mark the method as a getter (._kind == 1). So, even though the arguments are populated correctly internally (._arguments is correct) accessing the positionalArguments results empty.
Here is a simple repro:
import 'package:expect/expect.dart';

confuse(x) { return x; return x; }

class MA {
  noSuchMethod(i) => Expect.equals(i.positionalArguments.length, 1);
}

main() {
  //print(#getFoo);
  confuse(new MA()).getFoo('a');
}

The length ends up being 0, if you comment out the print statement in main, or if you change getFoo to foo, then the length is 1.

A bisect reveals that this broke recently in dd41983
I'll keep digging in, but @herhut-ggl @floitschG let me know if already know the source of the issue.

While that change is not modifying the behavior of how we interpret shortNames, it seems that the change added new names to the list that weren't included before.
For the same program, here is the diff in the list of shortNames/longNames before and after the change:
--- before	2015-07-13 13:09:57.931389529 -0700
+++ after	2015-07-13 13:09:56.815388466 -0700
@@ -1,26 +1,49 @@
   shortNames:
+  '$add',
+  '$gt',
+  '$index',
+  '$lt',
+  '$sub',
+  '',
   'call$0',
   'call$1',
   'call$2',
   'call$3',
+  'forEach$1',
   'get$_contents',
   'get$_name',
   'get$hashMapCellKey',
   'get$hashMapCellValue',
+  'get$length',
   'get$memberName',
   'get$namedArguments',
   'get$positionalArguments',
+  'getFoo$1',
+  'matchAsPrefix$2',
   'set$_contents',
   'set$hashMapCellValue',
+  'startsWith$1',
+  'substring$1',

 longNames:
+  '+',
+  '-',
+  '<',
+  '>',
+  '[]',
   '_contents',
   '_contents=',
   '_name',
   'call',
+  'forEach',
+  'getFoo',
   'hashMapCellKey',
   'hashMapCellValue',
   'hashMapCellValue=',
+  'length',
+  'matchAsPrefix',
   'memberName',
   'namedArguments',
   'positionalArguments',
+  'startsWith',
+  'substring',

It seems we have a boolean check that is being done inconsistently between the compiler and the runtime. This used to be consistent before https://github.com/dart-lang/sdk/commit/dd41983945b4ccbae5f4670c6235265444a16c31, but now it's inconsistent in cases like getFoo.
Before the change isTrivialNsmHandler was returning false for getFoo because it matched the "getter" pattern test and type was 0:
if (internalName.startsWith(namer.getterPrefix[0])) return type == 1;

After the change, the new check:
if (internalName is GetterName) return type == 1;

doesn't apply because internalName is not a getter. So the isTrivialNsmHandler function eventually returns true further down.
The JS runtime is using a check similar to what we did in isTrivialNsmHandler before this change:
for (var j = 0; j < shortNames.length; j++) {
  var type = 0;
  var shortName = shortNames[j];
  if (shortName[0] == "${namer.getterPrefix[0]}") type = 1;

Because we used to filter out all names that looked like getters, we didn't hit this issue before. Now that the tests are slightly different, we end up checking getFoo here.
I can see two ways of fixing this: make the filtering stronger as it was before, or change the runtime code to improve the test of getters. This proposed CL that does the latter: https://codereview.chromium.org/1232423004/


Sadly no further logs were collected at this run, so we don't know the exception.

fortunately reproduced:
[2017-09-23 14:45:01.4333 7] DEBUG: Stratis.Bitcoin.Utilities.AsyncLoop+<>c__DisplayClass12_0+<<StartAsync>b__0>d.MoveNext BlockStore.DownloadAndStoreBlocks threw an unhandled exception: System.NullReferenceException: Object reference not s
et to an instance of an object.
   at Stratis.Bitcoin.Features.BlockStore.LoopSteps.ProcessPendingStorageStep.<PushBlocksToRepository>d__7.MoveNext() in C:\StratisBitcoinFullNode\Stratis.Bitcoin.Features.BlockStore\LoopSteps\ProcessPendingStorageStep.cs:line 1
63
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Stratis.Bitcoin.Features.BlockStore.LoopSteps.ProcessPendingStorageStep.<ProcessWhenInIBD>d__4.MoveNext() in C:\StratisBitcoinFullNode\Stratis.Bitcoin.Features.BlockStore\LoopSteps\ProcessPendingStorageStep.cs:line 101
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Stratis.Bitcoin.Features.BlockStore.LoopSteps.ProcessPendingStorageStep.<ExecuteAsync>d__2.MoveNext() in C:\StratisBitcoinFullNode\Stratis.Bitcoin.Features.BlockStore\LoopSteps\ProcessPendingStorageStep.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Stratis.Bitcoin.Features.BlockStore.BlockStoreStepChain.<Execute>d__2.MoveNext() in C:\StratisBitcoinFullNode\Stratis.Bitcoin.Features.BlockStore\BlockStoreLoopStep.cs:line 45
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Stratis.Bitcoin.Features.BlockStore.BlockStoreLoop.<DownloadAndStoreBlocks>d__36.MoveNext() in C:\StratisBitcoinFullNode\Stratis.Bitcoin.Features.BlockStore\BlockStoreLoop.cs:line 263
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Stratis.Bitcoin.Features.BlockStore.BlockStoreLoop.<<StartLoop>b__35_0>d.MoveNext() in C:\StratisBitcoinFullNode\Stratis.Bitcoin.Features.BlockStore\BlockStoreLoop.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
   at Stratis.Bitcoin.Utilities.AsyncLoop.<>c__DisplayClass12_0.<<StartAsync>b__0>d.MoveNext() in C:\StratisBitcoinFullNode\Stratis.Bitcoin\Utilities\AsyncLoop.cs:line 129

The issue was caused by context.PendingBlockPairToStore being null when checking to see if the hashes matched before pushing to the repository. PendingBlockPairToStore can be null when the next chained block doesn't exist in pending storage.
We need to get the last block in the stack's hash and then use that when pushing to the repo, therefore that check wasn't really necessary.


Two independent maps on screen

I want to display two independent maps on the top and bottom of one  screen, but after looking at the code, I find that there are global variables in the namespace primitives, which should be a problem. I would like to ask if there is any good solution to this problem

There should be no problem with running two or more Map instances at the same time. The 'primitives' namespace is a debugging utility that isn't intended for production use. If you try to use multiple Map instances and encounter a problems, please file an issue for that specific case.


Poor column drag performance with table sidebar open

Description
Table column drag performance can be really poor to "unusable" when a user has a high number of columns and the table sidebar open. It looks like the sidebar is re-drawing on every single grid render/mouse move.
Steps to reproduce
from deephaven import time_table
cols = []
for i in range(500):
    cols.append("column" + str(i) + " = i")
hundreds_of_cols = time_table("PT1S").update_view(cols).reverse()

Using the above table, open the table side bar and go to the organize columns screen. Click on table column in the table and drag it around.
Expected results
Table remains snappy and responsive while dragging.
Actual results
Table is laggy, with frequent pauses that can be greater than 500ms-1000ms. (Which on a ticking table can be near constant).
Additional details and attachments

Versions
Engine Version: 0.31.0
Web UI Version: 0.54.0
Java Version: 21.0.1
Barrage Version: 0.6.0

The issue is when the columns are actually swapped, not on render/move. If you drag slowly without swapping the columns it's fine. We trigger a onMovedColumnsChanged as soon as the drag past happens (not on drop). This triggers a re-render in the visibility menu

yes, that assessment seems correct

class VisibilityOrderingBuilder extends Component -> PureComponent, which will reduce renders, but it still sucks when columns actually move.

Should probably limit the size of this placeholder.

This might partly be dndkit performance:
https://github.com/clauderic/dnd-kit/issues/1194#issuecomment-1696704815
From an August issue posted on dnd-kit, they have a refactored experimental branch that should help reduce re-renders. No idea when it will land though, and may not entirely fix it.
Current recommended mitigation is to keep the table drag pending until dropped so it doesn't trigger the list to be re-ordered while it is dragging past each column. Be sure to check that a browser disconnect/exit while dragging doesn't leave you in a broken state after this change (as I believe that was the reason for the current behaviour or committing the drag position immediately).


pass onTransitionStart's return value back to caller

Use case: If we want to wait for an async call to complete before proceeding with the navigation
Transitioner checks to see if value is promise, and if so it waits.
https://github.com/react-navigation/stack/blob/676bc3b45a7715edecd13530ae3b39ee1fe48833/src/views/Transitioner.tsx#L204

The implemention of stack is going to change very soon. I'd not recommend relying on these props.
https://github.com/react-navigation/stack/pull/131
Also this feels like the wrong place to put async logic. Why not do the async call first before triggering the navigation?

We want to use the opportunity before navigating to a screen to fetch down some additional content to store offline and use on the screen.  The scenario we hope to accomplish is somewhat more complex than how I explained it, but looking at onTransitionStart, I was under the impression that it would wait on async actions to complete.

I was under the impression that it would wait on async actions to complete.

I don't know the original intention behind the await. But I doubt that it waits for the new screen to mount after onTransitionStart was already called. Have you tested it?

The react navigation gets invoked in such a way that we have no means of examining where the route leads to before the transition starts
We want to use the opportunity before navigating to a screen to fetch down some additional content to store offline and use on the screen

It sounds like the way your code is structured, and it should be possible to restructure it to achieve what you want. I feel the most maintainable way is to make a screen fetch it's own data rather than fetching it before navigating, and waiting for unknown amount of time (network can be slow) before navigating isn't a great UX either.
Anyway, I'm closing this because transitioner is going away and whatever this will enable will break very soon.


Modal card pages with factbox pane are artificially limited to 1 column of fields

Describe the bug
If a Card page is opened modally (with Page.RunModal(), etc.) and has its factboxes pane revealed, the web client forces it to only render 1 column of fields, even if enough space is available, which looks awful on any sufficiently wide screen.
This means as developers we can't have the expected/desired layout on such modal pages, and we have to (if even possible) rewrite code, which in previous versions of BC just behaved as we expected, to work around this new bug in rendering.
BC15 (and maybe 16, not tested) was fine with this and just worked as expected, although there the factboxes must be revealed via a mysterious "<" button instead of the usual "i"...
To Reproduce
page 50100 Test
{
    actions
    {
        area(Processing)
        {
            action(RunNonModal)
            {
                ApplicationArea = All;
                Caption = 'Run Non-Modal';
                Image = ViewPage;

                trigger OnAction()
                var
                    Customer: Record Customer;
                begin
                    Customer.FindFirst();
                    Page.Run(Page::"Customer Card", Customer);
                end;
            }

            action(RunModal)
            {
                ApplicationArea = All;
                Caption = 'Run Modal';
                Image = ViewPage;

                trigger OnAction()
                var
                    Customer: Record Customer;
                begin
                    Customer.FindFirst();
                    Page.RunModal(Page::"Customer Card", Customer);
                end;
            }
        }
    }
}

Expected behavior
We expect that a modal card will render basically the same as a non-modal one, except the obvious difference that it will need to be closed in a different way. That is: it should render the same number/distribution of columns for the same page width, not artificially force one.
Screenshots
BC17, Customer Card, run modally, with factboxes collapsed:

ditto, run modally, with factboxes fully expanded:

Note that in the process of animating the expansion of the factbox pane, BC briefly shows the expected result in modal mode, as captured in this lucky screenshot:

ditto, but run non-modally, and stably showing both factboxes and 2 columns as expected:

BC15, modal, working as expected (apart from the "i" button to reveal being replaced by "<"...):

5. Versions:

AL Language: 6.1.381323

Business Central: GB Business Central 17.2 (Platform 17.0.19353.20198 + Application 17.2.19367.19525)

Hi @dtkb! Thank you for the great repro! I might be wrong, but it seems like this is not a development tools issue, but more of a runtime/web client issue. Am I missing something?

Hi @dtkb! Thank you for the great repro! I might be wrong, but it seems like this is not a development tools issue, but more of a runtime/web client issue. Am I missing something?

Yeah, I guess so. I didn't have anywhere better to report it, and it is causing us quite a problem with affected pages. Are you able to forward it? I don't know if it's in scope of what our partner will forward to MS; I know next to nothing about that side of things.
Just to check today, I created a new BC 17.x sandbox container to see if it still persists in the latest release, and it does: I see the same results in GB Business Central 17.3 (Platform 17.0.20458.21149 + Application 17.3.20469.21180)

Yeah, I guess so. I didn't have anywhere better to report it, and it is causing us quite a problem with affected pages. Are you able to forward it? I don't know if it's in scope of what our partner will forward to MS; I know next to nothing about that side of things.
Just to check today, I created a new BC 17.x sandbox container to see if it still persists in the latest release, and it does: I see the same results in GB Business Central 17.3 (Platform 17.0.20458.21149 + Application 17.3.20469.21180)


go/build: Import() fails for packages using modules and version greater than 1

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
tip
Does this issue reproduce with the latest release?
n/a
What operating system and processor architecture are you using (go env)?
darwin/amd64
What did you do?
build.Import() returns an error when trying to load a package from a module with version greater than 1.
cannot find package "github.com/foo/bar/v2" in any of:
...

I got to this indirectly through this:
import (
	"go/ast"
	"go/importer"
	"go/types"
)

func foo() {
	cfg := types.Config{
		Importer: importer.For("source", nil),
	}
	_, err := cfg.Check(...)
}

Where cfg.Check returned:
could not import github.com/foo/bar/v2 (cannot find package "github.com/foo/bar/v2" in any of:
...

What did you expect to see?
The go/* packages in the stdlib work the same way as vgo with the ability to load packages from versioned modules.
What did you see instead?
The errors listed above

CC: @alandonovan @ianthehat @rsc

The answer is to use golang.org/x/tools/go/packages, under development now. If you find any problems using that package, please file new issues against it. Thanks very much.

I take it back - that's the long term answer but we can provide a short-term answer. I reopened this as #26504.


Add timeout back into client settings

Right now, the timeout is hard-coded to 12s.  There are use-cases in which we want to give the API longer to respond.  We may want to disallow timeouts shorter than 12s, since that can produce 503s.
This is an option that used to exist in the opencensus-based exporter.

Fixed by https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/pull/369


Fpv 2.0 - reworking all the classes and adding pytest framework for more reliable coding

This uses inheritance to cut down on repeated code, as well as providing a test framework to make sure each unique piece does in fact work.

.

.

.


fix: pin uncontrollable to preserve es5 output

Uncontrollable, a React Bootstrap dependency released a new version 7.2.0 yesterday that publishes in es6. This is causing downstream problems in microfrontends that do not transpile Paragon. Pinning uncontrollable to 7.1.1 in Paragon will likely solve the issue in the near term since React Bootstrap's package.json requires "uncontrollable": "^7.0.0",

Coverage remained the same at 87.223% when pulling 7c51fc5908ec7c323326b6422a4bbfba68dee1e5 on abutterworth/pin-uncontrollable into 75a17090279a449120f4dce44670d85efee96c3b on master.

Coverage remained the same at 87.223% when pulling 7c51fc5908ec7c323326b6422a4bbfba68dee1e5 on abutterworth/pin-uncontrollable into 75a17090279a449120f4dce44670d85efee96c3b on master.

When renovate creates a PR to update to 7.2.0 of uncontrollable, you may want to figure out how to just leave a note in it and close it or something so we don't accidentally update.

When renovate creates a PR to update to 7.2.0 of uncontrollable, you may want to figure out how to just leave a note in it and close it or something so we don't accidentally update.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Kubeadm kubelet integration doc

Part of kubernetes/kubeadm#849
/cc @kubernetes/sig-cluster-lifecycle-pr-reviews
orginal PR:
https://github.com/kubernetes/website/pull/9123
since i cannot push to @luxas branch here are my editorial fixes and also i've moved the file to setup/independent.

/assign @Bradamant3
/assign @neolti123

/assign @neolit123

thanks for the review, @stewart-yu
i've added the edits as a new commit.

@stewart-yu
good catch. the doc wasn't using a template as well.
waiting on the preview again and will verify if the formatting is fine.

@stewart-yu
i've applied some formatting fixes. the document looks much better now.

/lgtm
/cc @tengqm @zacharysarah
for approve

@neolit123 PTAL at the copyedit commit I just added on top of yours. I changed the structure of the file a bit and reworked the prose. Let me know if I accidentally changed any technical meaning with my changes and I'll iterate. Thanks!

@neolit123 Thanks, I've just pushed a new commit to address your comments. PTAL!

@mistyhacks
added a commit with two typo fixes:
https://github.com/kubernetes/website/pull/9652/commits/52b1f06366dedb879bcae90fd0b16a1ada108749
this is good to go.
LMK if you want me to squash the commits?


[FEATURE] Add cross button to close the share dialog box

Description
Below attached image describes that shareProfile dialog box doesn't have close button or cross icon to close the dialog box. I would love to work on this feature , please assign  me to contribute on this feature.
cons - Without Close icon this dialog box doesn't close and the user has to click come other side on the screen to close the dialog box.
Screenshots

Additional information
[UPDATE] -> I have added the close button feature which closes ShareProfile dialog box while clicking upon the cross icon. Please do let me know if this feature is allowed to implement on this project . Thank you :)

No response

hi i can fix this issue can you assign it to me

hi i can fix this issue can you assign it to me

i alread fixed it ... i am waiting maintainers to assign me

Ok

Pull request merged


DiscordAPIError: Missing Access

Cause unknown, currently investigating.
Have found no information about error online. Only lead is that it appears to happen when the bot joins certain guilds.
EDIT: This also appears to occur when adding reactions to messages (guild text channels only, DMs work fine).
EDIT 2: This issue has been closed as no new occurrences have been recorded over multiple months.
EDIT 3 (Feb 2019): I managed to successfully replicate this by accident. I replicated it by attempting to send messages to a channel that exists, but the bot does not have "read messages" permissions for. I will add an error message explaining this to users that encounter the error.

I have not encountered this issue in recent months, however this issue still appears to be gaining a fair amount of views. Unfortunately, I am not sure what the cause is or what fixed it, nor was I ever able to replicate it. It simply went away like it never happened.
For those reading, if you find a fix or any helpful information, please post it here for other developers that find their way here. Thanks.
See also: Opcodes and Status Codes ("Missing Access" is code 50001)

I have made adjustments regarding this error. Refer to commit 320219a and "EDIT 3" in the description of this issue.


Same error regardless of input

Challenge http://www.freecodecamp.com/challenges/bonfire-symmetric-difference has an issue. Please describe how to reproduce it, and include links to screen shots if possible.
No matter what the input I give for the function, the bonfire says, "Expected [3, 4, 5] to deeply equal [3, 4, 5]."  Thus, if my input is "sym([7, 8, 9], [4, 6, 7], [1, 2, 3])", the bonfire fails and says, "Expected [3, 4, 5] to deeply equal [3, 4, 5]."  My code appears to work in repl.it. I've provided my solution below:
function sym(args){
    var arr = [];
    for(var i in arguments){
        var units = arguments[i];
        for(var j = 0; j < units.length; j++){
            arr.push(units[j]);
        }
    }
    return counting(arr);
}

function counting(arr){
    var count = {};
    var result = [];
    var i;
    var j;
    for(i = 0; i < arr.length; ++i){
        if(!count[arr[i]])
        count[arr[i]] = 0;
        ++count[arr[i]];
    }
    for(j in count){
        if(count[j] === 1){
            result.push(+j);
        }
    }
     return result;
}
sym([5, 2, 1, 4], [4, 6, 3, 9], [1, 3, 4, 8]);

fix is up on staging.


URL for enterprise user API includes the organization name as part of the FQDN

Shouldn't something like https://carto.com/u/cdbsol-admin/api/v1/organization/solutionscdb/users be enough, rather than https://solutionscdb.carto.com/u/cdbsol-admin/api/v1/organization/solutionscdb/users?
Having the organization name as part of the FQDN requires onprem customers to set up a DNS record for each or their organizations, and in general suffers from the same problems we tried to avoid when we introduced our domainless URLs (http://cartodb.readthedocs.io/en/latest/configuration.html#domainless-urls). And we already have the organization name in the path anyway.

Just to be clear: you're saying that omitting the subdomain from the url doesn't already work? If so, it's a bug.
The API should work the same wether you provide a subdomain or not, provided you specify the orgname in the path of course.

ok, so then yes, it's a bug ;-)

Interesting! Thanks for reporting, I'll have a look soon.

Ok, so If I understood correctly from my chat with systems: this can't be done without major implications. You might wan't to have a chat with someone over there as this is off-limits to the EUMAPI concern 🙈
Close this issue if you have no further questions!

Not critical, so I'm closing


Move WIKI to mhulse.github.io

Just seems like a better place for those things. Wiki should be info specific to a repo. Most of the wiki pages here are general tips/tricks.

Done; WIKI is now specific to this code.


@orta: Specifies no layout for category feeds.

Fixed the layout warnings with this advice.
Tested locally by running
PRODUCTION="YES" bundle exec jekyll build -d _gh-pages

without warnings.

Interesting :+1:


5.5.0: WhatsApp wants "up to date Chrome"

WhatsApp does not load, message: "please update Chrome"
Your Environment

Ferdi Version used: 5.5.0-gm portable
Operating System and version: Win10, up to date

@VOOM108 Thank you for the report and sorry for the inconvenience. We noticed this regression via https://github.com/getferdi/ferdi/issues/536 and are addressing it as quick as possible 🙏 Thanks for bearing with us!


No sound in recording

Doesn't appear to be any sound with the recording. No source in pavucontrol.

Yes, sound capturing isn't implemented.

I used your program to produce https://www.youtube.com/watch?v=rTeLIFru-Eg
Would be a lot easier to sync if it had audio. Thank you.

I'll see what I can do.

@kaihendry Hi again, I have done some work in the audio-wip branch. It would be good if more people could test it before I merge. If you want to try it, use the -a option to enable audio.
There is however a "strange" issue: if there is no audio being played when the recorder is started, the audio stream gets ~1 second behind the video stream. There seem to be no sync problems if an audio is already playing when starting wf-recorder. It would be good if you could also confirm this behavior.

Another update: I now resolved the problems I had. You can record the default audio device (in my case the mic) with just the -a flag, and you can also select the device to capture from with either -a<devname> or --audio=<devname>, where devname can be found from pactl list sources

https://s.natalian.org/2019-03-28/test-vaapi.mkv
https://s.natalian.org/2019-03-28/no-vaapi.mp4
Seems to work! Well done. -a alone uses the default which is good. :bowing_man:

Thanks for testing!

I've just spent several hours making this wrong, and only after reading this I did come to realization there musn't be a space between -a and the device. Which is not what the --help says:
-a, --audio [DEVICE]

I've just spent several hours making this wrong, and only after reading this I did come to realization there musn't be a space between -a and the device. Which is not what the --help says:
-a, --audio [DEVICE]


Remote Write: fix checkpoint reading

Fix ReadCheckpoint to ensure that it actually reads all the contents of each segment in a checkpoint dir, or returns an error.
Signed-off-by: Callum Styan<EMAIL_ADDRESS>Another piece to fixing #5424 and #5389 along with Brian's tsdb changes: https://github.com/prometheus/prometheus/commit/1099999a79472d69f301fe42c40bb8493c62af64
However I'd rather readSegment in the WAL watcher was not able to take in the existing Reader rather than LiveReader.
cc: @brian-brazil @tomwilkie

@brian-brazil bump

:+1:

I've been running a build of this PR (including Brian's changes) locally and I've gotten this panic a couple times:
Apr 06 14:39:49 my-host prometheus[19149]: ts=2019-04-06T14:39:49.5887504Z caller=dedupe.go:111 component=remote level=info queue=0:http://<IP_ADDRESS>:7201/api/v1/prom/remote/w
Apr 06 14:39:49 my-host prometheus[19149]: panic: close of closed channel
Apr 06 14:39:49 my-host prometheus[19149]: goroutine 183 [running]:
Apr 06 14:39:49 my-host prometheus[19149]: github.com/prometheus/prometheus/storage/remote.(*shards).stop(0xc03ee227e0)
Apr 06 14:39:49 my-host prometheus[19149]:         /Users/my.user/Work/github/prometheus/storage/remote/queue_manager.go:585 +0x59
Apr 06 14:39:49 my-host prometheus[19149]: github.com/prometheus/prometheus/storage/remote.(*QueueManager).Stop(0xc06a8da340)
Apr 06 14:39:49 my-host prometheus[19149]:         /Users/my.user/Work/github/prometheus/storage/remote/queue_manager.go:325 +0x236
Apr 06 14:39:49 my-host prometheus[19149]: github.com/prometheus/prometheus/storage/remote.(*Storage).ApplyConfig(0xc0001525b0, 0xc0020d6270, 0x0, 0x0)
Apr 06 14:39:49 my-host prometheus[19149]:         /Users/my.user/Work/github/prometheus/storage/remote/storage.go:106 +0x3f4
Apr 06 14:39:49 my-host prometheus[19149]: main.reloadConfig(0x7ffe37d62d0b, 0x2e, 0x24df6e0, 0xc0007f0270, 0xc0002d0b80, 0x7, 0x7, 0x0, 0x0)
Apr 06 14:39:49 my-host prometheus[19149]:         /Users/my.user/Work/github/prometheus/cmd/prometheus/main.go:742 +0x285
Apr 06 14:39:49 my-host prometheus[19149]: main.main.func13(0xc000129770, 0x125)
Apr 06 14:39:49 my-host prometheus[19149]:         /Users/my.user/Work/github/prometheus/cmd/prometheus/main.go:565 +0x4ed
Apr 06 14:39:49 my-host prometheus[19149]: github.com/oklog/oklog/pkg/group.(*Group).Run.func1(0xc0002e8180, 0xc0002e80c0, 0xc000252030)
Apr 06 14:39:49 my-host prometheus[19149]:         /Users/my.user/Work/github/prometheus/vendor/github.com/oklog/oklog/pkg/group/group.go:38 +0x27
Apr 06 14:39:49 my-host prometheus[19149]: created by github.com/oklog/oklog/pkg/group.(*Group).Run
Apr 06 14:39:49 my-host prometheus[19149]:         /Users/my.user/Work/github/prometheus/vendor/github.com/oklog/oklog/pkg/group/group.go:37 +0xbe
Apr 06 14:39:50 my-host systemd[1]: prometheus.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 06 14:39:50 my-host systemd[1]: prometheus.service: Failed with result 'exit-code'.
Apr 06 14:41:20 my-host systemd[1]: prometheus.service: Service hold-off time over, scheduling restart.
Apr 06 14:41:20 my-host systemd[1]: prometheus.service: Scheduled restart job, restart counter is at 2.
Apr 06 14:41:20 my-host systemd[1]: Stopped Prometheus TSDB service.
Apr 06 14:41:20 my-host systemd[1]: Started Prometheus TSDB service.

I've also noticed RSS gradually increasing (from 9 GB to 25 GB in 2 days).

@bismarck pls file an issue for that.

@cstyan @brian-brazil Hi, I have run into the dropped sample for series that was not explicitly dropped via relabelling issue mentioned in #5389 with prometheus' version v2.8.2.
I want to know what's the problem under the hood, how this PR fix that? And could I resolve this issue after bump the version to v2.9.x or higher?


[shared_preferences] fix typo

Replaced macOS with Android
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the CLA.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[x] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Good catch on that typo. Make sure you sign the cla, as mentioned by the bot above.
Also, the version change, and changelog can be fixed with a simple command mentioned here https://github.com/flutter/plugins/tree/main/script/tool#update-changelog-and-version

Thanks for the contribution! You haven’t checked off any of the items in the PR checklist above, so I’m assuming this is a work in progress and am marking it as a Draft. Please review the checklist, updating the PR as appropriate, and when that’s complete please feel free to mark the PR as ready for review.

I updated the changelog.

@HosamHasanRamadan It looks like you used two different email addresses for the two commits, and have only signed the CLA for one of them. You'll need to either amend the commit or sign for the other address before we can review this.

@HosamHasanRamadan It looks like you used two different email addresses for the two commits, and have only signed the CLA for one of them. You'll need to either amend the commit or sign for the other address before we can review this.

Done.

Thanks! This will just need a version change, as explained in our contributing docs.

Done


Don't try to modify an immutable QueryDict object.

Addresses #4282
And, to further speculation about how this hasn't been discovered until now, there are times when the QueryDict is not immutable, such as when part of a multipart response. Perhaps in the "normal" use-case, it is mutable? Regardless, this should deal with it.
Also, sorted and cleaned up the imports for clarity.

Coverage increased (+0.2%) to 87.998% when pulling b25a5f210d34e15ca313a88a1fd86cef8e647d9f on mkoistinen/fix_4282 into 1ba08f0f395851360a526728fb3b18598831c45a on support/3.0.x.

Coverage increased (+0.2%) to 88.006% when pulling b25a5f210d34e15ca313a88a1fd86cef8e647d9f on mkoistinen/fix_4282 into 1ba08f0f395851360a526728fb3b18598831c45a on support/3.0.x.

Coverage increased (+0.2%) to 87.998% when pulling b25a5f210d34e15ca313a88a1fd86cef8e647d9f on mkoistinen/fix_4282 into 1ba08f0f395851360a526728fb3b18598831c45a on support/3.0.x.

Coverage increased (+0.2%) to 88.006% when pulling b25a5f210d34e15ca313a88a1fd86cef8e647d9f on mkoistinen/fix_4282 into 1ba08f0f395851360a526728fb3b18598831c45a on support/3.0.x.


Change license to BSL

To create a sustainable business over OSS, we're considering changing our source code license from MIT to the Business Source License version 1.1 (BSL 1.1). This license allows software providers like us to control how their source code is commercialized while still publishing the source code to the community. The BSL 1.1 was originally introduced by the founders of MySQL and MariaDB, and first applied to MariaDB products in 2013. It was updated and clarified in 2017 as version 1.1, after consultation and advice from Bruce Perens, co-founder of the Open Source Initiative (OSI).
BSL 1.1 is a source-available license that sets three tenets to the license, some of which are customizable and specified by each licensor.

BSL v.1.1 will always allow copying, modification, redistribution, non-commercial use, and commercial use in a non-production context.

By default, BSL does not allow for production use unless the licensor provides a limited right as an “Additional Use Grant” – this piece is customizable and explained below.

BSL provides a Change Date usually between one to four years in which the BSL license converts to a Change License that is open source, which can be GNU General Public License (GPL), GNU Affero General Public License (AGPL), Apache, etc.

At Elegant, we have defined our Additional Use Grant to allow BSL-licensed Elegant licensed work when your application uses the Licensed Work with a total of less than three generated images for any purpose.. We have set the Change Date to four (3) years, and the Change License to Apache License, Version 2.0.

For more information about the BSL and its comparison with other licenses, please read the following:

https://mariadb.com/bsl-faq-adopting/
https://mariadb.com/bsl-faq-mariadb/

A draft BSL LICENSE we consider is as follows:
Business Source License 1.1

License text copyright (c) 2022 MariaDB Corporation Ab, All Rights Reserved.
“Business Source License” is a trademark of MariaDB Corporation Ab.

Parameters

Licensor:             IKIGAI Ventures BV
Licensed Work:        pwa-asset-generator version 7.0.x
                      The Licensed Work is (c) 2023 IKIGAI Ventures BV
Additional Use Grant: You may use the Licensed Work when your application
                      uses the Licensed Work with a total of less than three
                      generated images for any purpose.

Change Date:          TBD (3 years after 7.0.x release)

Change License:       Apache License, Version 2.0

For information about alternative licensing arrangements for the Software,
please visit: https://elegant.app

Notice

The Business Source License (this document, or the “License”) is not an Open
Source license. However, the Licensed Work will eventually be made available
under an Open Source License, as stated in this License.

For more information on the use of the Business Source License for Elegant
products, please visit the Elegant Business Source License FAQ at
https://elegant.app/bsl-faq-elegant.

For more information on the use of the Business Source License generally,
please visit the Adopting and Developing Business Source License FAQ at
https://mariadb.com/bsl-faq-adopting.

-----------------------------------------------------------------------------

Business Source License 1.1

Terms

The Licensor hereby grants you the right to copy, modify, create derivative
works, redistribute, and make non-production use of the Licensed Work. The
Licensor may make an Additional Use Grant, above, permitting limited
production use.

Effective on the Change Date, or the fourth anniversary of the first publicly
available distribution of a specific version of the Licensed Work under this
License, whichever comes first, the Licensor hereby grants you rights under
the terms of the Change License, and the rights granted in the paragraph
above terminate.

If your use of the Licensed Work does not comply with the requirements
currently in effect as described in this License, you must purchase a
commercial license from the Licensor, its affiliated entities, or authorized
resellers, or you must refrain from using the Licensed Work.

All copies of the original and modified Licensed Work, and derivative works
of the Licensed Work, are subject to this License. This License applies
separately for each version of the Licensed Work and the Change Date may vary
for each version of the Licensed Work released by Licensor.

You must conspicuously display this License on each original or modified copy
of the Licensed Work. If you receive the Licensed Work in original or
modified form from a third party, the terms and conditions set forth in this
License apply to your use of that work.

Any use of the Licensed Work in violation of this License will automatically
terminate your rights under this License for the current and all other
versions of the Licensed Work.

This License does not grant you any right in any trademark or logo of
Licensor or its affiliates (provided that you may use a trademark or logo of
Licensor as expressly required by this License).

TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
AN “AS IS” BASIS.

MariaDB hereby grants you permission to use this License’s text to license
your works, and to refer to it using the trademark “Business Source License”,
as long as you comply with the Covenants of Licensor below.

Covenants of Licensor

In consideration of the right to use this License’s text and the “Business
Source License” name and trademark, Licensor covenants to MariaDB, and to all
other recipients of the licensed work to be provided by Licensor:

1. To specify as the Change License the GPL Version 2.0 or any later version,
   or a license that is compatible with GPL Version 2.0 or a later version,
   where “compatible” means that software provided under the Change License can
   be included in a program with software provided under GPL Version 2.0 or a
   later version. Licensor may specify additional Change Licenses without
   limitation.

2. To either: (a) specify an additional grant of rights to use that does not
   impose any additional restriction on the right granted in this License, as
   the Additional Use Grant; or (b) insert the text “None”.

3. To specify a Change Date.

4. Not to modify this License in any other way.


Remove extra space from hacker.ingverb

Seems like spaces here are against convention
cc @sjzhu

Actually, having spaces would be preferred, but I don't mind merging this for consistency's sake. :)


Sortable doesn't work with Chrome 62

Sortable.js with latest Chrome 62 beta does not work. Maybe it's not relevant, since it is beta, however might be worth checking out. Just to be sure 62 won't  break anything when released in October.
Reproduction is simple. Just try http://rubaxa.github.io/Sortable/, using Version 62.0.3202.18 (Official Build) beta (64-bit) on Windows 10.

Hmmm....

@laacz try master.

Yes. Master fixed this issue.

We still have issues with master on Chrome 62.
If we download the example from master, it is broken in Chrome 62 (can only drag one position), but it works in Chrome 61.
However, the version running on http://rubaxa.github.io/Sortable/  does work on Chrome 62.
Maybe recent commits broke it again?

Same here. Going back to 1.6.0 fixed it (but there's a fix on 1.6.1 which I do need...)
I guess it's a bug on Chrome 62 but I couldn't find anything suspicious on the Chrome updates blog.

Thank you @RubaXa for the fixes in master :)


Update mail Message with helper messageId

Added helper function messageId() to retrieve X-Message-ID function from the headers of the swift message.

Seems like something went wrong here with branching


socket issue

Hi,
I'm trying this gem, I'm having issue while setup the gem. My kafka and ksql are hosted into a docker-compose environment.
No problem when using curl:
Ksql [main] ⚡ curl -sX GET "http://ksql:8088/info" | jq '.'
{
  "KsqlServerInfo": {
    "version": "5.4.7",
    "kafkaClusterId": "8iRkPI5kQOWciOGXzvbPYw",
    "ksqlServiceId": "default_"
  }
}

But in rails console (ruby 3.1.1):
[1] pry(main)> Ksql.config
=> Ksql::Configuration {
  :host => nil
}
[2] pry(main)> Ksql.configure {|c| c.host = 'http://ksql:8088'}
=> "http://ksql:8088"
[3] pry(main)> Ksql.config
=> Ksql::Configuration {
  :host => "http://ksql:8088"
}
[4] pry(main)> Ksql::Client.info
#<Thread:0x00007fa094dfc410 /usr/local/bundle/gems/net-http2-0.18.4/lib/net-http2/client.rb:112 run> terminated with exception (report_on_exception is true):
/usr/local/bundle/gems/net-http2-0.18.4/lib/net-http2/client.rb:134:in `callback_or_raise': Socket was remotely closed (SocketError)
	from /usr/local/bundle/gems/net-http2-0.18.4/lib/net-http2/client.rb:119:in `rescue in block (2 levels) in ensure_open'
	from /usr/local/bundle/gems/net-http2-0.18.4/lib/net-http2/client.rb:113:in `block (2 levels) in ensure_open'
/usr/local/lib/ruby/3.0.0/socket.rb:452:in `__read_nonblock': end of file reached (EOFError)
	from /usr/local/lib/ruby/3.0.0/socket.rb:452:in `read_nonblock'
	from /usr/local/bundle/gems/net-http2-0.18.4/lib/net-http2/client.rb:145:in `block in socket_loop'
	from /usr/local/bundle/gems/net-http2-0.18.4/lib/net-http2/client.rb:142:in `loop'
	from /usr/local/bundle/gems/net-http2-0.18.4/lib/net-http2/client.rb:142:in `socket_loop'
	from /usr/local/bundle/gems/net-http2-0.18.4/lib/net-http2/client.rb:114:in `block (2 levels) in ensure_open'
SocketError: Socket was remotely closed
from /usr/local/bundle/gems/net-http2-0.18.4/lib/net-http2/client.rb:134:in `callback_or_raise'
Caused by EOFError: end of file reached
from /usr/local/lib/ruby/3.0.0/socket.rb:452:in `__read_nonblock'

Could you advise where should I look to fix that?
Thank you.

Hi @ook, thanks for your feedback.
By looking at the stack trace, it seems like the host is refusing the connection from the Client, I've quickly tested the client under Ruby 3.1.1 and I'm not facing any issue.
Also, I don't quite get how's it possible that your KsqlServerInfo version says "5.4.7", when the latest release of ksqlDB is 0.25.1.
Please, make sure your local environment is properly set up.
Here's a Docker Compose file you can start working with:
---
version: '2'

services:
  zookeeper:
    image: confluentinc/cp-zookeeper:7.0.1
    container_name: zookeeper
    ports:
      - "2181:2181"
    environment:
      ZOOKEEPER_CLIENT_PORT: 2181
      ZOOKEEPER_TICK_TIME: 2000

  broker:
    image: confluentinc/cp-kafka:7.0.1
    container_name: broker
    depends_on:
      - zookeeper
    ports:
      - "29092:29092"
    environment:
      KAFKA_BROKER_ID: 1
      KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181'
      KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
      KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://broker:9092,PLAINTEXT_HOST://localhost:29092
      KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
      KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS: 0
      KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
      KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1

  ksqldb-server:
    image: confluentinc/ksqldb-server:0.25.1
    container_name: ksqldb-server
    depends_on:
      - broker
    ports:
      - "8088:8088"
    environment:
      KSQL_LISTENERS: http://<IP_ADDRESS>:8088
      KSQL_BOOTSTRAP_SERVERS: broker:9092
      KSQL_KSQL_LOGGING_PROCESSING_STREAM_AUTO_CREATE: "true"
      KSQL_KSQL_LOGGING_PROCESSING_TOPIC_AUTO_CREATE: "true"

Thank you for your quick response.
I was using image confluentinc/cp-ksql-server:5.4.7 (so, totally outdated based on https://docs.ksqldb.io/en/latest/operate-and-deploy/ksql-vs-ksqldb/ )
Using the new ksqldb-server image works far better…
Thank you for you work, I'm closing.


Fix broken link

Good catch. I should probably check through our guidelines and other places, too.


Expired SSL Cert on https://www.googleplaymusicdesktopplayer.com/

Checklist:

[ x] I have checked that there are no issues with similar or the same content

The website https://www.googleplaymusicdesktopplayer.com/ has an expired ssl cert.

I got the same issue

@MarshallOfSound Any chance you can kick this server?

Given that the certificate is now valid I believe the server has been sufficiently kicked


[CoreFoundation] Replace use of strlcpy/strlcat with our own functions.

These can use strlcpy and strlcat if we have them, but we mustn't go defining strlcpy or strlcat because (a) those names are reserved, and (b) doing so without explicitly testing for their presence runs the risk of build failures from trying to define them when they already exist.
rdar://137567627

@swift-ci Please test Linux platform

@swift-ci Please test Windows platform

We need the Windows build to pass, though...

C:/Users/swift-ci/jenkins/workspace/swift-corelibs-foundation-PR-windows/swift-corelibs-foundation/Sources/CoreFoundation/internalInclude/CoreFoundation_Prefix.h(203,68): error: function-like macro '__GLIBC_PREREQ' is not defined
  203 | #if TARGET_OS_MAC || TARGET_OS_WASI || (defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 38))
      |                                                                    ^

Oops, yes, that's wrong. Will fix and re-spin the tests.

@swift-ci Please test Linux platform

@swift-ci Please test Windows platform

Hopefully fixed that one. That'll teach me to try to be clever and use the nice macro (the problem being that, of course, you can't use function macros in an expression if they're undefined, even after testing whether they're defined and doing an &&).

@swift-ci Please test Windows platform


Can't connect without knowing the port?! 0 at .../Chrome/DevToolsProtocol.pm line 317.

With a running Chrome browser already open, when I run this program (Ubuntu 20.04, perl version 5.30, Chrome Version 89.0.4389.114 (Official Build) (64-bit)) :
use strict;
use warnings;
use Log::Log4perl qw(:easy);
use WWW::Mechanize::Chrome;
Log::Log4perl->easy_init($ERROR);
my $mech = WWW::Mechanize::Chrome->new(
    autoclose => 0,
    tab       => 'current',
);

the constructor WWW::Mechanize::Chrome->new() aborts with
Can't connect without knowing the port?! 0 at /home/hakon/perlbrew/perls/perl-5.30.0/lib/site_perl/5.30.0/Chrome/DevToolsProtocol.pm line 317.

See also this question on stackoverflow.

Some more information:

If I close google-chrome by clicking the close button in the upper right corner of each open chrome window, and then run the script again, the script is opening a new chrome window but then I get the same error.
If I instead choose "Exit" from the Chrome menu and then run the script again, I do not get the error.

So my guess is that there is some sort of chrome server still running in the first case, whereas in the second case the server is also shut down. And this is needed for the script to run properly ?

I am facing the same issue.


Fix $NIX_SHELL detection

In recent versions of Nix, NIX_SHELL is no longer set to 1 but "pure" or "impure".  This means that the prompt would no longer change.  This change accommodates for both cases (I'm pretty sure).

Thanks :)


Issue#2296: Add number of rows assertion to 2d arrays

Check List:

Fixes: #2296
Unit tests : YES
Javadoc with a code example (on API only) : YES
PR meets the contributing guidelines

Following the contributing guidelines will make it easier for us to review and accept your PR.
Follow up to PR #2316
I cherry picked his/her commit and then I corrected the implementation + renamed method name to the agreed one + added unit tests

macOS build fails with some unrelated test I believe:
'''
Error:  Failures:
8274
Error:    FutureAssert_failsWithin_Test.should_fail_if_future_completes_within_given_timeout_Duration:85 [The code under test should have raised an AssertionError]
8275
Expecting actual not to be null
8276
[INFO]
8277
Error:  Tests run: 17713, Failures: 1, Errors: 0, Skipped: 18
'''

Thanks @WojciechZankowski and @SekarMylsamy!


Update package metadata

Depends on #22
(Tests will be a mess until this branch is rebased on top of the CI/CD pipeline PR.)

I rebased this so tests should be green in a few seconds. Once this is merged, I will create a new release (I will bump the minor version because we "dropped" support for some previously "supported" Python versions).


vim_configurable: Only run patchelf on gvim if gvim was built

Motivation for this change
Previously, the vim_configurable derivation ran patchelf unconditionally on $out/bin/vim and $out/bin/gvim. At some point recently, this started to fail when Vim was being built without GUI support (in which case $out/bin/gvim does not exist). This PR adds a check so that patchelf is not run on gvim unless the file actually exists.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 92357 1

2 packages built:
- vimHugeX (vim_configurable)
- vimacs

I think my solution was more elegant at https://github.com/NixOS/nixpkgs/pull/91150/files but whatever

@doronbehar Ah, I hadn’t seen your PR when I created mine 😕 My apologies.


Additional stopword lists

Are you aware of the stopwords-json project which already has freely-licensed json-format lists of stopwords for 50 different languages? Importing these would be an easy way to expand the list of languages supported here without recreating the lists for each language from scratch.
I have also created some scripts to manage stoplist creation as part of the more-stoplists project (which has now been merged into stoplists-json). Some of these may be useful for your work. In addition there is a stopword-trainer by Espen Klem that can create stoplists based on a set of documents.
Other stopword projects / sources of freely-licensed stopwords that you might want to check out if you haven't already:

https://github.com/6/stopwords-json
https://github.com/fergiemcdowall/stopword
https://github.com/stopwords-iso

Thanks for bringing this up.
As long as as there is no licensing issues, I'm fine with having them in txt format in here as well.
Feel free to send pull requests for them, any pull request is welcome ;)


guzzle/guzzle is abandoned

Package guzzle/guzzle is abandoned, you should avoid using it. Use guzzlehttp/guzzle instead.
Might want to look into this before it becomes serious

We are, thanks

more than one year passed, are you still looking into this?


Manually specify emails to ZAP?

If an email is reported to an admin that it is malicious or contains phishing/spoofed content, is there a way for us to go into our portal and manually kick off ZAP to find the emails that have been inboxed for various mailboxes in the organization and have them ZAP'ed quickly?
I know when doing analysis in the protection.office.com portal, the tools are there to find Similar Emails, and if we are able to identify one bad email based on user reporting, it would be great to be able to quickly tell Microsoft to look for the message ID, find similar emails and ZAP them quickly.
Is this possible currently, and if not, do you know if there is a roadmap for this to potentially be put into place?

@wickid187 Thank you for your email. There is no automatic way to Zap them as of now.  The best possible way to do this currently is to Search and purge them via content search - https://docs.microsoft.com/en-us/microsoft-365/compliance/search-for-and-delete-messages-in-your-organization?view=o365-worldwide
Hope this helps!
Thanks
Sri

@yogkumgit This is more of a technical query not related to a document. The issue can be closed.
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @wickid187 Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


--parallel_attempts on osx causes crash around file writing

_config.transient.reportfile is NoneType?
(garak) 20:32:33 x1:~/dev/garak [feature/replay-extra-len] $ python3 -m garak -m test.Repeat --parallel_attempts=20 -p continuation
garak LLM security probe v<IP_ADDRESS>.post1 ( https://github.com/leondz/garak ) at 2024-01-18T20:32:58.878473
📜 reporting to runs/garak.b4fac7cc-c453-4ba2-bd80-3d1be401b83b.report.jsonl
🦜 loading generator: Test: Repeat
🕵  queue of probes: continuation.ContinueSlursReclaimedSlurs80
probes.continuation.ContinueSlursReclaimedSlurs80:   0%|                                                                                | 0/285 [00:00<?, ?it/s]multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/Users/lderczynski/anaconda3/envs/garak/lib/python3.11/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
                    ^^^^^^^^^^^^^^^^^^^
  File "/Users/lderczynski/dev/garak/garak/probes/base.py", line 97, in _execute_attempt
    _config.transient.reportfile.write(json.dumps(this_attempt.as_dict()) + "\n")
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'write'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/lderczynski/dev/garak/garak/__main__.py", line 13, in <module>
    main()
  File "/Users/lderczynski/dev/garak/garak/__main__.py", line 9, in main
    cli.main(sys.argv[1:])
  File "/Users/lderczynski/dev/garak/garak/cli.py", line 475, in main
    command.probewise_run(generator, probe_names, evaluator, buffs)
  File "/Users/lderczynski/dev/garak/garak/command.py", line 212, in probewise_run
    probewise_h.run(generator, probe_names, evaluator, buffs)
  File "/Users/lderczynski/dev/garak/garak/harnesses/probewise.py", line 108, in run
    h.run(model, [probe], detectors, evaluator, announce_probe=False)
  File "/Users/lderczynski/dev/garak/garak/harnesses/base.py", line 92, in run
    attempt_results = probe.probe(model)
                      ^^^^^^^^^^^^^^^^^^
  File "/Users/lderczynski/dev/garak/garak/probes/base.py", line 131, in probe
    for result in attempt_pool.imap_unordered(
  File "/Users/lderczynski/anaconda3/envs/garak/lib/python3.11/multiprocessing/pool.py", line 873, in next
    raise value
AttributeError: 'NoneType' object has no attribute 'write'

may be caused by #646


Allow to run expensive tasks on a different Executor

Motivation:
It is sometimes benefitial to run specific tasks on a different thread then the EventLoop. For example certificate verification / retrieval might take some time and so block the EventLoop
Modifications:
Be able to run these tasks on a different Executor.
Result:
Allow the same pattern as we do with our native SSL impl in netty itself

This also fixes https://github.com/netty/netty-incubator-codec-quic/issues/212


Menu 'Window' missing localized strings

The 'Window' menu itens are not localized:
https://github.com/daisy/ace-gui/blob/93d21af49c7c5fdeb1f5ca1f3bbaa4ebd3d26cf8/src/main/menu.js#L356-L392

Duplicate: https://github.com/daisy/ace-gui/issues/45


[Docs] Discussion: either remove or curate the LearningResources site.

Right now, looking at the history the last "content update" to the "Learning Resources page has been https://github.com/reduxjs/redux/pull/3232 in 2018.
That was pre-RTK - and yet, we link to these resources as a first entry point.
My suggestion would be to either

remove the page altogether
Thich would be a shame for some timeless gems like

Dan's initial Egghead course that does a very good job at explaining the contents - but as he states himself show how it works, not how to use it
the "build your own redux" course

remove most contents, annotate the rest as "old" or "just showing concepts" and ping the authors of what was there if they have newer courses including RTK that we can link.

Yeah, the intent was to point to other resources outside our docs to provide some variety in explanations, but those really are outdated at this point.
I know that Jamund Ferguson recently did a "React-Redux hooks" course on Egghead ( https://app.egghead.io/playlists/modernizing-a-legacy-redux-application-with-react-hooks-c528 ) which ought to be useful.  Dave Ceddia's https://daveceddia.com/redux-tutorial/ is solid too.  Beyond that, I haven't been keeping tabs on meaningful resources for RTK + hooks.

Did some updates in #4098 , but we can do more if there's other changes that need to be made.


[Bug]: [vite-node] [plugin:vite:vue] [VITE_ERROR] /components/ui/avatar/AvatarImage.vue

Environment
Developement/Production OS: MacOs
Node version: v18.16.1
Package manager<EMAIL_ADDRESS>Radix Vue version: 0.1.32
Vue version: 3.0.0
Nuxt version: 3.7.1
Nuxt mode: universal
Nuxt target: server
CSS framework<EMAIL_ADDRESS>Browser: Chrome 90.0.4430.212

Link to minimal reproduction
https://stackblitz.com/edit/nuxt-starter-wbuhpq?file=app.vue
Steps to reproduce

Installing a new component using the shadcn-vue CLI: npx shadcn-vue@latest add button

After the button has been successfully installed, it maps to the wrong path: @/lib/registry/default/ui/avatar and then I correct it to: @/components/ui/avatar

I go ahead and use it in my app.vue file as shown below :

<script setup lang="ts">
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'
</script>

<template>
  <Avatar>
    <AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
    <AvatarFallback>CN</AvatarFallback>
  </Avatar>
</template>

When I start my dev server by running pnpm dev it throws this error:

[08:07:23]  WARN  [nuxt] Two component files resolving to the same name UiAvatar:

/home/projects/nuxt-starter-4b4eme/components/ui/avatar/index.ts
/home/projects/nuxt-starter-4b4eme/components/ui/avatar/Avatar.vue

When I navigate to localhost:3000, I get the following error:

500
[vite-node] [plugin:vite:vue] [VITE_ERROR] /components/ui/avatar/AvatarImage.vue

at /components/ui/avatar/AvatarImage.vue
Describe the bug
Whenever I add a new component using the shadcn-vue CLI and start up my server, I get the following errors:
[08:07:23]  WARN  [nuxt] Two component files resolving to the same name UiAvatar:

/home/projects/nuxt-starter-4b4eme/components/ui/avatar/index.ts
/home/projects/nuxt-starter-4b4eme/components/ui/avatar/Avatar.vue

When I navigate to localhost:3000, the whole application has crashed and I get this error:
500
[vite-node] [plugin:vite:vue] [VITE_ERROR] /components/ui/avatar/AvatarImage.vue

at /components/ui/avatar/AvatarImage.vue
Expected behavior
I should see the output of whichever component I copied. For example, if I copied the Avatar component, I should see the avatar UI component rendered in the browser.
Conext & Screenshots (if applicable)
[08:07:23]  WARN  [nuxt] Two component files resolving to the same name UiAvatar:

/home/projects/nuxt-starter-4b4eme/components/ui/avatar/index.ts
/home/projects/nuxt-starter-4b4eme/components/ui/avatar/Avatar.vue

@selemondev  this should be due to Nuxt3 autoImport feature, which might messed up the imports.

After the button has been successfully installed, it maps to the wrong path: @/lib/registry/default/ui/avatar and then I correct it to: @/components/ui/avatar

I've added shadcn-vue in an existing Vite + Tailwind project, and successfully set up components.json and all steps outlined in the installation guide. However when doing npx shadcn-vue@latest add select or any other, it adds the Select component but completely ignores the configured components.json in the project root dir.
E.g. tailwind.cssVariables would be set to false, but the added component and its files would use CSS variables instead of Tailwind classes. Same for the path to the helpers import and any other configured setting.

@selemondev  could you check if this issue still happening? 😁

@zernonia I still get the same error as above but this time in the terminal I get the following error:  ERROR  Cannot read properties of undefined (reading 'sys') (x4)

The new issue seems to be related to https://github.com/radix-vue/shadcn-vue/issues/70

Thanks, it worked. Can we reference that in the docs as a temporary solution until it's fixed so that devs might not have to wonder what's wrong?

Awesome @selemondev ! Could you help contributing by adding that text in Nuxt installation section? 😁

Sure ✨

Can I close this @selemondev  and we will track the Nuxt3 issue you mentioned above here? 😁

OK.

SOLUTION: you have to install typescript dependency

SOLUTION: you have to install typescript dependency

We documentated it here.


feat: show link to release notes

This assumes that the tag on the github repo has a 'v' prefix, which isn't required. I don't think we have enough information from BCR to know any better however.
Fixes #35

@mattem points out that rules_jvm_external and rules_python both don't have the "v" prefix.
I guess we'll have to update ruleset metadata to tell us where release notes are located, which is a BCR change I'll have to propose...
Maybe we should revert this for now?


Which Assistants API versions each regions suppot V1 or V2?

https://github.com/MicrosoftDocs/azure-docs/blob/9d74c89231a4ebea7ca24489a657dea33cdd9b97/articles/ai-services/openai/concepts/models.md?plain=1#L298
Could you please add Assistants API supported V1 or V2 ?
Regards,

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

ID: 1fead2fa-467b-42f8-0d15-2f56c344f800
Version Independent ID: bad5156a-3874-bff7-f8b3-41d3da334b86
Content: Introduction to Azure Kubernetes Service (AKS) Automatic (preview) - Azure Kubernetes Service
Content Source: articles/aks/intro-aks-automatic.md
Service: azure-kubernetes-service
GitHub Login: @sabbour
Microsoft Alias: asabbour

@tsuzaki430
Thanks for your feedback! We will investigate and update as appropriate.

@tsuzaki430
Thank you for bringing this to our attention.
I've delegated this to content author @sabbour, who will review it and offer their insightful opinions.

Thanks for this issue, @tsuzaki430
Yes assistants v2 is usable in all of the same regions as v1. I'll add that to the documentation
#please-close

thanks messages and kindly support


Could parallelization be added?

If I add the ability to pass in multiple DXF files for converting, I could easily parallelize that. is there a way to parallelize if it's only operating on one file? such as iterating over the DXF elements in parallel?

So I did a quick test, importing rayon, and adding a .par_bridge into the iterating over the drawing entities. Since the iteration happens over non-mutable references there are no real issues with sending it across thread boundaries. It my quick rough tests I found on more complex drawings I was getting about a 5-7% improvement in performance, although in very simple ones I saw a decrease by maybe 2%. This would make sense because on the simple drawings the overhead of setting up the threads is more than the benefit gained.
The question is the extra possible complexity (and I would assume bigger executable size from pulling in rayon, but I didn't check) worth the small performance benefit? Of course there may be other way to utilize parallelization and improve the performance more, this was just a super quick test to check my assumptions, and see if there were any pain points that I hadn't considered.


Downgrading JQuery and JQuery UI due to a security vulnerability

Vulnerability reports shows that  jQuery versions on or above 1.4.0 and below 1.12.0 (version 1.12.3 and above but below 3.0.0-beta1 as well) are vulnerable

FYI: this is the reason why only 1.12.2 is not vulnerable
https://github.com/jquery/jquery/issues/2432#issuecomment-403761229

jquery-ui.js has version 1.12.1
https://github.com/concrete5/concrete5/blob/b796a150ddc986923133712383b8dd3f28875a22/concrete/js/jquery-ui.js#L1
But the jquery-ui.css has version
https://github.com/concrete5/concrete5/blob/308e0cfacac522dd39bc920b55be1ca5dd8d5633/concrete/css/jquery-ui.css#L1
I think the CSS also supposed t obe 1.12.1, but it got changed by the [skip ci] Automatic assets rebuilding
jquery-ui.css  changes history

Totally forgot we needed to upgrade the jquery-ui.less from 1.11.4 to 1.12.1. I just submitted a new PR with this update.


Server panic when closing log window of a running pipeline

Component
server, web-ui
Describe the bug
When exiting the log view of an active pipeline, the server panics with the following message:
panic: Write called after Handler finished
goroutine 778 [running]:
net/http.(*http2responseWriter).write(0xc000010068, 0x18, 0x0, 0x0, 0x0, 0x1252ef6, 0x18, 0x1179f20, 0x7f169831f101, 0x7f169831f200)
        /usr/local/go/src/net/http/h2_bundle.go:6364 +0x1f7
net/http.(*http2responseWriter).WriteString(0xc000010068, 0x1252ef6, 0x18, 0x7f169831f200, 0xc000010068, 0x7f169831f101)
        /usr/local/go/src/net/http/h2_bundle.go:6357 +0x55
io.WriteString(0x7f169831f1e0, 0xc000010068, 0x1252ef6, 0x18, 0xc000010068, 0x7f169831f101, 0x7f169831f1c0)
        /usr/local/go/src/io/io.go:309 +0x74
github.com/gin-gonic/gin.(*responseWriter).WriteString(0xc000a8e400, 0x1252ef6, 0x18, 0x7f169831f1c0, 0xc000a8e400, 0xc0000a8101)
        /woodpecker/src/github.com/woodpecker-ci/woodpecker/vendor/github.com/gin-gonic/gin/response_writer.go:85 +0x7a
io.WriteString(0x7f169831f1a0, 0xc000a8e400, 0x1252ef6, 0x18, 0xc000a8e400, 0xc000118a00, 0x0)
        /usr/local/go/src/io/io.go:309 +0x74
github.com/woodpecker-ci/woodpecker/server/api.LogStreamSSE.func2(0x1429690, 0xc000724200, 0xc00052ee70, 0xc000620600, 0x1434af8, 0xc000a8e400, 0xc00060a0d0)
        /woodpecker/src/github.com/woodpecker-ci/woodpecker/server/api/stream.go:199 +0x185
created by github.com/woodpecker-ci/woodpecker/server/api.LogStreamSSE
        /woodpecker/src/github.com/woodpecker-ci/woodpecker/server/api/stream.go:179 +0x6f9

System Info
woodpecker: 0.15.0
Chromium: 99.0.4844.82

Additional context
No response
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A join our Discord Chat Server.

Interestingly enough, this only happens with TLS (using let's encrypt) is enabled via WOODPECKER_LETS_ENCRYPT=true

ok so we have to priorize #360 as bugfix too ...

Is there a workaround to this in the short term without disabling TLS? Is it avoided by just not watching the log output?


Fix FTP tests

Codecov Report

Merging #915 (2c87acf) into master (3863c85) will increase coverage by 0.05%.
The diff coverage is n/a.

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[jmx2dsl] ClassNotFoundException: org.xbill.DNS.Resolver when importing a JMX that contains a DNSCacheManager

Hi,
I get an exception using the jmx2dsl tool when importing a JMX file that contains a DNSCacheManager test element:
  <DNSCacheManager guiclass="DNSCachePanel" testclass="DNSCacheManager" testname="DNS Cache Manager" enabled="true">
    <collectionProp name="DNSCacheManager.servers">

    </collectionProp>
    <collectionProp name="DNSCacheManager.hosts">

    </collectionProp>
    <boolProp name="DNSCacheManager.clearEachIteration">false</boolProp>
    <boolProp name="DNSCacheManager.isCustomResolver">false</boolProp>
  </DNSCacheManager>
  <hashTree/>

This is a zip that contains the JMX file:
buyer.zip
And here is the resulting stack trace:
java -jar jmx2dsl.jar Buyer.jmx
java.lang.IllegalArgumentException: Problem loading XML from:'/home/ubuntu/Dev/workspaces/jmeter-java-dsl-sample/Buyer.jmx'.
Cause:
ClassNotFoundException: org.xbill.DNS.Resolver

 Detail:com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception     : java.lang.NoClassDefFoundError
cause-message       : org/xbill/DNS/Resolver
first-jmeter-class  : org.apache.jmeter.save.converters.TestElementConverter.unmarshal(TestElementConverter.java:98)
class               : org.apache.jmeter.save.ScriptWrapper
required-type       : org.apache.jmeter.save.ScriptWrapper
converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
path                : /jmeterTestPlan/hashTree/hashTree/DNSCacheManager
line number         : 47
version             : 0.57
-------------------------------

The JMX is imported without issue if I remove the DNSCacheManager test element.

Thank you for taking time to try it and report the issue.
Support for DNSCacheManager is currently not included in the DSL, and corresponding dependencies have been removed to reduce size, but we can easily release a patch version to avoid such error. You can, until the patch version is released, use as workaround something like:
java -cp /Applications/jmeter/5.4.3/lib/dnsjava-2.1.9.jar:jmx2dsl.jar us.abstracta.jmeter.javadsl.jmx2dsl.Jmx2Dsl buyer.jmx

In any case, you will get several unsupported() occurrences since some of the the features that you use in the test plan are either not yet supported by the DSL (like DNSCacheManager, AuthorizationManager & ConstantTimer) or are not yet covered by the converter (CsvDataSet, IfController, UniformRandomTimer, RegexExtractor & ForeachController).
We can easily add support for such elements or you can try sending a pull request. Let us know your thoughts.

We released a patch version which now includes the dnsjava jar, so you shouldn't get any longer the exception. Let us know about your needs regarding missing conversion.
I have an additional question: I have never had to use DnsCacheManager, do you use it for some particular reason?

Thanks for adding the support for the DNSCacheManager.
Without it the dns cache is not cleaned between each thread and therefore the individual response times are distorted.

That is really interesting, thank you for the info. For the record, we didn't add support for DNSCacheManager yet (no conversion is done over it, and no DSL element has been implemented), the release (a patch version) only avoids the exception when converting the test plan.


etcdserver, auth: turn Quorum on in requests of auth checking

The auth information shouldn't be stale. Turning on the Quorum flag
for the request would be required for consistent auth.

This is going to make auth even more expensive. I guess it is fine to just use get. If one peer is not synced, you will not get any sensitive data anyway. User should first enable auth, then put data. This order of actions will be the same with or without quorum get.

However, roles can be granted to existing paths. In such a case, sensitive data can be read based on stale auth state, I think.

@mitake In that case, yes, there is an issue. But I think user should always deny all path, then enable some paths not verse.

@xiang90 the scheme will require unconditional disabling permission under / when a user enables auth. It seems to be very big change which breaks compatibility.
I'll do a benchmark and share the result for showing overhead introduced by this PR (I'm not sure the overhead is huge or not).

@mitake

the scheme will require unconditional disabling permission under / when a user enables auth. It seems to be very big change which breaks compatibility.

That is basically what users really should do if they want security.

The problem will be fixed in the v3 protocol.


Content for setup.md

https://ioos.github.io/bio_mobilization_workshop/setup.html
Do we want to put anything in the setup page for the workshop?
Typically this contains information on how to install software packages required for the lesson. See Software Carpentry R setup page. I think adding a section for RStudio and a section for Python would be helpful for those who stumble upon the site.

Sounds good 👍

closed with #14


Date-time format validation fails

I am working with Flask and your flask_expects_json plugin. I have the following schema:
    {
        "type": "object",
        "properties": {
            "last_access":{
               "format": "date-time"
             },
            "username":{"type": ["string", "null"]},
            "role": {"type": ["integer", "null"]}
        },
        "required": [ "last_access", "username","role"]
    }

and then I use @expects_json(schema, check_formats=True).
Each time I test the "date-time" format validation, it allows me to pass invalid values using wrong formats and fails with 500 errors due to a SQL error. But if I change the format to  ipv4 or email, everything works fine.  Am I doing something wrong or this is a bug in the validation date-time format?

Hi @richgar1982
Have you managed to solve the issue? I think about changing the library for something like cerberus.

Format checking can be enabled by an argument as documented here: https://github.com/Fischerfredl/flask-expects-json#format-checking

Hi @Fischerfredl
We have seen the README, however, this description is ambiguous

My bad, i see you have already tried that. I have reproduced the issue.
The python jsonschema library ignores formats, which requirements have not been satified. This is stated here in a note along with the reasoning: https://python-jsonschema.readthedocs.io/en/stable/validate/#validating-formats

If the following packages are not installed when using a checker that requires it, validation will succeed without throwing an error, as specified by the JSON Schema specification.

See the table there for which format requires which package to be installed. After running pip install rfc3339-validator the date-time format validation worked for me.


Experiment Analysis doc

🚀 Deployed on https://63e53870eefa0e12ae745e1a--cozy-fox-0defec.netlify.app


Close File Browser on File Open

Hello,
Thanks for making a slick package to make Atom better.
Is there a way/setting that i am not seeing that allows the file browser to hide (auto F-10) when opening a file?
I like keeping the browser full height to see everything easier and being able to have it hide when opening a file would be awesome.
Thanks
Matt

Hi @matthewaprice,
I don't understand what your are trying to do.
Can you make screenshot and be more explicit ?
Thank you for your feedback and using my package :)


[main] Update community files

Cron -knative-prow-robot
/cc we don't use Prow
/assign we don't use Prow
Produced by: knative-sandbox/knobots/actions/update-community
Details:

Codecov Report

Merging #298 (1ac9c0c) into main (e87d573) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #298   +/-   ##
=======================================
  Coverage   80.65%   80.65%
=======================================
  Files          20       20
  Lines         765      765
=======================================
  Hits          617      617
  Misses        134      134
  Partials       14       14

Continue to review full report at Codecov.

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

this repo shouldn't have aliases


Add meta tags: better support for search engines & sharing

General information
Associated issues:

#136

Checklist
Author:

[x] One or more reviewers have been assigned.
[ ] N/A: Automated tests have been included in this pull request, if possible, for the new feature(s) or bug fix.
[x] The associated GitHub issues are included (above).
[x] Notes have been included (below).

Reviewers:

[ ] All automated checks are passing (green check next to latest commit).
[ ] At least one reviewer has signed off on the pull request.  Reviewers have two business days to review the pull request, after which the author may merge in the pull request unilaterally.

Notes
Notes re. the content of the pull request that would give context to reviewers or serve as a  general record of the changes made.  Add a screenshot or video to demonstrate your new feature(s), if possible.

Add description tag for search engines.
Add keywords for search engines -- sometimes used.
Add OpenGraph tags for sharing in iMessage, Slack, email, etc. (card image).
Add og.jpg placeholder card image for OpenGraph cards.  It matches the home page, so we should update this image when we update the image there.

Email card example:

Slack card example:

iMessage card example:


python38Packages.virtualenv-clone: 0.5.4 -> 0.5.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.virtualenv-clone is: "Script to clone virtualenvs"
meta.homepage for python38Packages.virtualenv-clone is: "https://github.com/edwardgeorge/virtualenv-clone"
meta.changelog for python38Packages.virtualenv-clone is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

/nix/store/3rprcbn1a3jwlbyrckp4pcgb2w53nbv9-python3.8-virtualenv-clone-0.5.6/bin/virtualenv-clone passed the binary check.

/nix/store/3rprcbn1a3jwlbyrckp4pcgb2w53nbv9-python3.8-virtualenv-clone-0.5.6/bin/.virtualenv-clone-wrapped passed the binary check.

2 of 2 passed binary check by having a zero exit code.

2 of 2 passed binary check by having the new version present in output.

found 0.5.6 with grep in /nix/store/3rprcbn1a3jwlbyrckp4pcgb2w53nbv9-python3.8-virtualenv-clone-0.5.6

found 0.5.6 in filename of file in /nix/store/3rprcbn1a3jwlbyrckp4pcgb2w53nbv9-python3.8-virtualenv-clone-0.5.6

directory tree listing: https://gist.github.com/6c94b9cd3653160addfda8792d3a02b1

du listing: https://gist.github.com/b84f606de6ad307b9c11b7eb34655a8c

Rebuild report (if merged into master) (click to expand)

24 total rebuild path(s)

6 package rebuild(s)

6 x86_64-linux rebuild(s)
6 i686-linux rebuild(s)
6 x86_64-darwin rebuild(s)
6 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
pew
pipenv
python38Packages.virtualenv-clone
python38Packages.virtualenvwrapper
python39Packages.virtualenv-clone
python39Packages.virtualenvwrapper

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3rprcbn1a3jwlbyrckp4pcgb2w53nbv9-python3.8-virtualenv-clone-0.5.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python38Packages.virtualenv-clone https://github.com/r-ryantm/nixpkgs/archive/bd28b13dbd20b55a0e24e68c5719718e0f59574f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3rprcbn1a3jwlbyrckp4pcgb2w53nbv9-python3.8-virtualenv-clone-0.5.6
ls -la /nix/store/3rprcbn1a3jwlbyrckp4pcgb2w53nbv9-python3.8-virtualenv-clone-0.5.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

6 packages built:

pew
pipenv
python38Packages.virtualenv-clone
python38Packages.virtualenvwrapper
python39Packages.virtualenv-clone
python39Packages.virtualenvwrapper

Maintainer pings

Result of nixpkgs-review pr 134878 at bd28b13d run on aarch64-linux 1

6 packages built successfully:

pew
pipenv
python38Packages.virtualenv-clone
python38Packages.virtualenvwrapper
python39Packages.virtualenv-clone
python39Packages.virtualenvwrapper

2 suggestions:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/development/python-modules/virtualenv-clone/default.nix:23:3:
   |
23 |   meta = with lib; {
   |   ^

warning: python-include-tests
Consider adding a checkPhase for tests, or if not feasible, pythonImportsCheck.
Near pkgs/development/python-modules/virtualenv-clone/default.nix:25:0:
   |
25 |     description = "Script to clone virtualenvs";
   | ^


help

please explain how to bring up his in vim
please help me :)

There aren't enough details here to provide any useful help. I suggest you follow the README. If you have trouble, describe your steps and what exactly the problem is.

@Bayu12345677 Come on man.. see the readme... just clone the package.. and Vundle hasn't maintained for years. Move to vim-plug...

okay will I try im just asking how to activate his snippet in vim whether need keyblindings or directly active with his own

@Bayu12345677 have you copy paste the vundle into _vimrc? Follow the step....
It's directly active/loaded because you load it using rtp.. see https://renenyffenegger.ch/notes/development/vim/options/runtimepath
you see
set rtp+=~/.vim/bundle/Vundle.vim

It directly load the folder, on https://github.com/VundleVim/Vundle.vim/tree/master/autoload because you set it by cloning the folder to your home directory with Vundle.vim folder... see step 2...
I suggest you go with https://github.com/junegunn/vim-plug rather than vundle, as vundle already dead.
and you can leverage the https://github.com/neoclide/coc.nvim with lot of VS Code auto complete
(If you want any intellisense like in VS Code but on very very old hardware)


Avoid unnecessary Dictionary conversions in GDScriptInstance::validate_property

Updated GDScriptInstance::validate_property to only convert PropertyInfo to Dictionary if _validate_property function is found.
This can make Node.duplicate around 4-5x faster for nodes that have gdscript attached, when the script doesn't override _validate_property.  Compared with scripts below:
TestClass:
class_name TestClass extends Node2D

var a
var b
var c
var d

#func _validate_property(property: Dictionary) -> void:
#	pass

Main Scene:
extends Node

func _ready():
	var node := TestClass.new()
	var start := Time.get_ticks_msec()
	for i in 1000:
		add_child(node.duplicate())
	var end := Time.get_ticks_msec()
	print("%dms" % (end - start))

Old:
139ms
238ms (_validate_property uncommented)

New:
28ms
239ms (_validate_property uncommented)

This probably fixes/improves #97829.

@dalexeev Is the issue you mention a blocking issue for merging this PR or something that should be handled separately?

@clayjohn It is not a blocking issue.

Thanks!