[BUG] CLI: Azure Auth provider options are not correctly sorted, the options should be reverse order

Rancher Server Setup
Rancher version: v2.9-d2fa8a7d6116c48a814ee7983af522d614461e49-head
Installation option (Docker install/Helm Chart): HA / Docker
Describe the bug
On CLI the options are not sorted properly, AzureADProvider displaying first and then the localProvider. The options should be reverse
CLI: Azure Auth provider options are not correctly sorted, the options should be reverse.
I connected to OpenLDAP and i run the CLI the Auth providers list coming in the order as below
Auth providers:
0 - localProvider
1 - openLdapProvider
Select auth provider:
Ex:
kubectl get pods -A
INFO[0000] Saving config to /Users/XXXXXXX
https://xxxxxx/v3-public/authProviders
Auth providers:
0 - localProvider
1 - openLdapProvider
Select auth provider:

When I connected to AzureAd and i run the CLI the Auth providers list coming in the order as below(Constancy is missing)
https://xxxxx/v3-public/authProviders
Auth providers:
0 - azureADProvider
1 - localProvider
Select auth provider:
Expected: The sorting order should be the same like openLdap auth
Steps to reproduce:

Provision rancher v2.9-head
Enable AzureAD
Download CLI version v2.9.0-rc4 from https://github.com/rancher/cli/releases/tag/v2.9.0-rc4
Setup the path and run rancher from the terminal : rancher
Export kubeconfig for the local cluster
Run : kubectl get pods -A
Check for the Options to select from CLI

Result
a. The options coming as below
https://xxxxx/v3-public/authProviders
Auth providers:
  0 - azureADProvider
  1 - localProvider
   Select auth provider:
Expected: The sorting order should be the same like openLdap auth

b. Missing consistency with other auth providers
Expected Result
a. The options should be reversed and should display as  below
Auth providers:
  0 - localProvider
  1 - azureADProvider
  Select auth provider:

Additional context

The options functionality is working as expected, i.e when i select 0 the AzureADProvider flow is initiated

This issue is not a blocker for 2.9.0, so we are moving it to 2.10.0

Guessing the sorting is just alphabetical and azure happens to come before local, just like openldap comes after local.
Is the desire/requirement here to have local always listed in the 0th position, followed by the enabled external provider?

Guessing the sorting is just alphabetical and azure happens to come before local, just like openldap comes after local.
Is the desire/requirement here to have local always listed in the 0th position, followed by the enabled external provider?

I think the expected result would be to show the local as first, and then the following providers alphabetically.
cc: @samjustus

This defect is fixed on CLI version v2.10.0-rc1 and v2.10-head; I completed validations and looks good to me.
TCs executed:

Make sure the AzureAd options are sorted out
Make sure the OpenLdap options are sorted out
Make sure the ActiveID options are sorted out
Make sure the upgraded rancher options for AzureAD are sorted out

Release Note
When using the Rancher CLI, the prompt to choose an auth provider will now always have the local provider in the first position.


Update controller-gen to v0.14.0

This PR updates controller-gen to v0.14.0 in order to get rid of a bug impeding the make manifest and make generate commands
k6-operator $ make manifests
/my/local/path/controller-gen "crd:maxDescLen=0" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa0e4be]

goroutine 49 [running]:
go/types.(*Checker).handleBailout(0xc000db0600, 0xc000adbd40)
        /usr/lib/go/src/go/types/check.go:367 +0x88
panic({0xbc8860?, 0x12b48a0?})
        /usr/lib/go/src/runtime/panic.go:770 +0x132
go/types.(*StdSizes).Sizeof(0x0, {0xdc4c18, 0x12bd060})
        /usr/lib/go/src/go/types/sizes.go:228 +0x31e
go/types.(*Config).sizeof(...)
        /usr/lib/go/src/go/types/sizes.go:333
go/types.representableConst.func1({0xdc4c18?, 0x12bd060?})
        /usr/lib/go/src/go/types/const.go:76 +0x9e
go/types.representableConst({0xdcaff0, 0x1287f90}, 0xc000db0600, 0x12bd060, 0x0)
        /usr/lib/go/src/go/types/const.go:92 +0x192
go/types.(*Checker).arrayLength(0xc000db0600, {0xdc92a0, 0xc0001b9aa0?})
        /usr/lib/go/src/go/types/typexpr.go:510 +0x2d3
go/types.(*Checker).typInternal(0xc000db0600, {0xdc78c0, 0xc000322b40}, 0xc00032ec30)
        /usr/lib/go/src/go/types/typexpr.go:299 +0x49d
go/types.(*Checker).definedType(0xc000db0600, {0xdc78c0, 0xc000322b40}, 0x10?)
        /usr/lib/go/src/go/types/typexpr.go:180 +0x37
go/types.(*Checker).typeDecl(0xc000db0600, 0xc00032ec30, 0xc000d11640, 0x0)
        /usr/lib/go/src/go/types/decl.go:615 +0x44d
go/types.(*Checker).objDecl(0xc000db0600, {0xdd04b8, 0xc00032ec30}, 0x0)
        /usr/lib/go/src/go/types/decl.go:197 +0xa7f
go/types.(*Checker).packageObjects(0xc000db0600)
        /usr/lib/go/src/go/types/resolver.go:681 +0x425
go/types.(*Checker).checkFiles(0xc000db0600, {0xc000080f30, 0x1, 0x1})
        /usr/lib/go/src/go/types/check.go:408 +0x1a5
go/types.(*Checker).Files(...)
        /usr/lib/go/src/go/types/check.go:372
sigs.k8s.io/controller-tools/pkg/loader.(*loader).typeCheck(0xc000227440, 0xc000254080)
        /my/local/path/pkg/mod/sigs.k8s.io/controller-tools@v0.13.0/pkg/loader/loader.go:286 +0x36a
sigs.k8s.io/controller-tools/pkg/loader.(*Package).NeedTypesInfo(0xc000254080)
        /my/local/path/pkg/mod/sigs.k8s.io/controller-tools@v0.13.0/pkg/loader/loader.go:99 +0x39
sigs.k8s.io/controller-tools/pkg/loader.(*TypeChecker).check(0xc000e390b0, 0xc000254080)
        /my/local/path/pkg/mod/sigs.k8s.io/controller-tools@v0.13.0/pkg/loader/refs.go:268 +0x2b7
sigs.k8s.io/controller-tools/pkg/loader.(*TypeChecker).check.func1(0x39?)
        /my/local/path/pkg/mod/sigs.k8s.io/controller-tools@v0.13.0/pkg/loader/refs.go:262 +0x53
created by sigs.k8s.io/controller-tools/pkg/loader.(*TypeChecker).check in goroutine 37
        /my/local/path/pkg/mod/sigs.k8s.io/controller-tools@v0.13.0/pkg/loader/refs.go:260 +0x1c5
make: *** [Makefile:91: manifests] Error 2

It also simplifies the installation process for controller-gen

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

Hi @TheoBrigitte, I don't think there was a report of such a bug. Can you please expand on how to repeat the bug?

To my understanding the tools needed are go and make
Here is my environment
$ go version
go version go1.22.0 linux/amd64
$ make --version
GNU Make 4.4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ uname -a
Linux x1 5.15.154-1-MANJARO #1 SMP PREEMPT Wed Apr 10 19:10:26 UTC 2024 x86_64 GNU/Linux

How to reproduce
$ rm $(which controller-gen)
$ make manifests
<same error as above>

OK, thanks. It seems it happens with Golang 1.22: k6-operator is at 1.21 now.
For reference:

https://github.com/kubernetes-sigs/controller-tools/issues/880
https://github.com/golang/go/issues/65637

I'll need to look into those in detail before returning to this PR. It'd be nice if there was another workaround...
But Go 1.21 should work.


Error whilst cabal installing: []' of kind * -> *' is not fully applied

When running cabal install first-class-patterns-<IP_ADDRESS>, I get the error:
Data\Pattern\Base\Difference.hs:36:44:
    `[]' of kind `* -> *' is not fully applied
    In the kind `[] -> *'
    In an expression type signature: forall (t :: [] -> *). D t []
    In the expression:
        ghc-prim:GHC.Prim.coerce (zeroD :: CoerceD t []) ::
          forall (t :: [] -> *). D t []

I also get this with first-class-patterns-{0.3.2,0.3.1,0.3.0}. With 0.2.0 I get dependency issues, and with 0.1.0 I get The INLINE pragma for default method 'f' lacks an accompanying binding (where f is in {closure, assoc, rightIdent}).
I'd love to install and use this, but I can't :( Is this a known issue? (/how do I get past it?)

What version of GHC are you using?  I'm guessing 7.10?

7.8.3. Might that be the problem?

Hmm, I would expect it to work on 7.8.3.  I will try to look into it, though I may not be able to get to it for a while.  I am not really using first-class-patterns any more.

That's fair enough. I though I'd ask, at least. What're you using in preference? Regular patterns, or something else?

Yes, I just do regular pattern matching.  The ideas embodied in this
library are super cool, and long ago I had some ideas of how I might use
it, which is why I took over maintaining it.  But in practice I find that I
don't really use it.  Though perhaps if I thought harder I could find
places where it would be useful, and I haven't used it just because I am so
used to the alternative that I didn't really think of it.
On Fri, May 22, 2015 at 10:10 AM Bertie Wheen<EMAIL_ADDRESS>wrote:

That's fair enough. I though I'd ask, at least. What're you using in
preference? Regular patterns, or something else?
—
Reply to this email directly or view it on GitHub
https://github.com/reinerp/first-class-patterns/issues/3#issuecomment-104669458
.

Uploaded to hackage as <IP_ADDRESS>.  It builds for me, let me know how it works.

Installed perfectly. Thanks!


Switch to HalfKA feature set.

inference is not especially efficient at the moment (eager updates + still autovectorised + no evaluation caching), so it only gains in LTC:
ELO   | -0.49 +- 2.23 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=16MB
LLR   | -2.97 (-2.94, 2.94) [0.00, 3.00]
GAMES | N: 48992 W: 12875 L: 12944 D: 23173
https://chess.swehosting.se/test/2434/

ELO   | 7.67 +- 4.38 (95%)
SPRT  | 40.0+0.40s Threads=1 Hash=128MB
LLR   | 2.95 (-2.94, 2.94) [0.00, 3.00]
GAMES | N: 12098 W: 3162 L: 2895 D: 6041
https://chess.swehosting.se/test/2439/

this is epoch 12 btw, found here: https://github.com/cosmobobak/viridithas-networks/releases/tag/zhudun


feat: Allow buildkit timeout to be configurable

This was needed for me to get everything to run. I'd imagine other users might benefit from this as well.

@hezhizhen Great suggestions! Updated.

PTAL @hezhizhen

LGTM

Thanks for your contribution! :tada: :+1:
And Thank @hezhizhen for the review.


Create greetings.yaml

Added for #20

Could you please add the labels to it considering its technicalities.

Any updates? Please assign this PR to me.


你好 请问该书配套的PPT在哪？

还在制作中，完成后会发布。
-Wanxiang (http://ir.hit.edu.cn/~car/)
On Wed, Aug 25, 2021 at 12:53 PM Kong kazheng @.***>
wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/HIT-SCIR/plm-nlp-code/issues/4, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAKRGCCMEA36YANW4HIW3LT6RZMBANCNFSM5CYG46MA
.

谢谢关注，PPT已经制作完成，请于 https://github.com/HIT-SCIR/plm-nlp-code下载！


What is FaceReconModel.pb in the code?

Hi,
Thanks for sharing your source code. There is FaceReconModel.pb in base.model.py It seems that it should be in data folder. Where can I find it?

Sorry we didn’t make it clear, it is the pre-trained model from https://github.com/microsoft/Deep3DFaceReconstruction, please refer to their project page for the necessary files.
We will update the readme file in the future.

Sorry we didn’t make it clear, it is the pre-trained model from https://github.com/microsoft/Deep3DFaceReconstruction, please refer to their project page for the necessary files.
We will update the readme file in the future.

Found it! Thank you very much.


Install doesn't work

Hello,
I tried to install turbodbc with python3 -m pip install turbodbc command and it fails (python3.6 / centos 7) and I get this error message :
 /usr/include/python3.6m/datetime.h: At global scope:
  /usr/include/python3.6m/datetime.h:200:25: attention : ‘PyDateTimeAPI’ defined but not used [-Wunused-variable]
   static PyDateTime_CAPI *PyDateTimeAPI = NULL;
                           ^
  g++ -pthread -shared -Wl,-z,relro -g build/temp.linux-x86_64-3.6/src/turbodbc_arrow/arrow_result_set.o build/temp.linux-x86_64-3.6/src/turbodbc_arrow/python_bindings.o build/temp.linux-x86_64-3.6/src/turbodbc_arrow/set_arrow_parameters.o -Lbuild/lib.linux-x86_64-3.6 -L/home/infoger/.local/lib/python3.6/site-packages/pyarrow -L/usr/lib64 -lodbc -larrow -larrow_python -lturbodbc.cpython-36m-x86_64-linux-gnu -lpython3.6m -o build/lib.linux-x86_64-3.6/turbodbc_arrow_support.cpython-36m-x86_64-linux-gnu.so -Wl,-rpath,$ORIGIN -Wl,-rpath,$ORIGIN/pyarrow
  /usr/bin/ld : ne peut trouver -larrow_python
  collect2: erreur: ld a retourné 1 code d'état d'exécution
  error: command 'g++' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for turbodbc

Would you know what is the cause please ?
Thanks in advance
Christophe

Hello again,
I solved my issue by doing that :
$ cd /user/lib64
$ ln -s /<user_path>/.local/lib/python3.6/site-packages/pyarrow/libarrow_python_flight.so.600 libarrow_python_flight.so
$ ln -s /<user_path>/.local/lib/python3.6/site-packages/pyarrow/libarrow_python.so.600 libarrow_python.so
$ python3 -m pip install turbodbc
Defaulting to user installation because normal site-packages is not writeable
Collecting turbodbc
  Using cached turbodbc-4.3.0.tar.gz (81 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: pybind11>=2.2.0 in ./.local/lib/python3.6/site-packages (from turbodbc) (2.8.1)
Building wheels for collected packages: turbodbc
  Building wheel for turbodbc (setup.py) ... done
  Created wheel for turbodbc: filename=turbodbc-4.3.0-cp36-cp36m-linux_x86_64.whl size=11566826 sha256=0f3a9deea4de91ec1a08191b419fabd36904a3ef6707b886ac6650f8f6d7d89f
  Stored in directory: /<user_path>/.cache/pip/wheels/ba/88/f1/e0387034de92fa44b8304693c2c148541aaacea7cf21d74237
Successfully built turbodbc
Installing collected packages: turbodbc
Successfully installed turbodbc-4.3.0

Cheers,
Christophe


Find document modified region

I’m trying to implement md syntax color in Eclipse, and I need to identify a damaged region, meaning the smallest possible region that was affected by user modification
The idea is to parse only this region, and then to color only its text according to the result of the parsing
I’ve tried to use first double enter before user modification start, and first double enter after user modification end, it works great (very fast) but not for code regions, for fenced code block for example, the double enter can be inside the block, but the parser has only this region and doesn’t know about it
Also for fenced code block, if put by the user, it can transform everything until the end of the document in fenced code block
So the question is how to find where to start and end the (smallest possible) region which contains the modification part in a way that after parsing that, it would be such as the whole document was parsed (the unmodified beginning and end parts of the document would look the same)

@iuscl-ide, markdown uses indentation and prefixes based on context so the safest bet is to walk the AST up until you get the document level element and use its text range. Walk AST up until node.getParent().getParent() == null then use this node as the minimal element to re-parse.
That way if you modify an item nested into several indenting or prefixed elements you will still have the text properly parsed.
You can also implement a more intelligent algorithm but it will be a PITA to debug. Lots of combinations that will need to be tested.


Clock covers the text when rotated sideways

What happened:
Clock covers the text when rotated sideways

Version: 1.0 (1)
Operating system: iOS 9.3.1
Model: iPhone 6
Memory: 97% (591 MB used out of 607 MB)
Capacity: 70% (38.7 GB used out of 55.6 GB)
Locale: en_US
Network: AT&T LTE (4G)
WiFi: Connected
Logs:

URL: http://buglife.com/apps/metric-time/reports/1
Reported via Buglife

okay, so I am trying to add two constraints, one to horizontally center the clock, and one to make sure it stays some distance away from the top, however. I keep running into an issue where constraints cannot all be satisfied, and so it breaks the constraint that I just created:
2016-04-18 19:22:04.270 Metric Time[1519:447809] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
	(1) look at each constraint and try to figure out which you don't expect;
	(2) find the code that added the unwanted constraint or constraints and fix it.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x15e670e70 h=--& v=--& Metric_Time.View:0x15e692e70.midX == + 115>",
"<NSLayoutConstraint:0x15e5048c0 Metric_Time.View:0x15e692e70.centerX == UIView:0x15e6953e0.centerX>",
"<NSAutoresizingMaskLayoutConstraint:0x15e55fd30 h=-&- v=-&- 'UIView-Encapsulated-Layout-Left' H:|-(0)-[UIView:0x15e6953e0]   (Names: '|':UIWindow:0x15e688ed0 )>",
"<NSLayoutConstraint:0x15e54e750 'UIView-Encapsulated-Layout-Width' H:[UIView:0x15e6953e0(320)]>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x15e5048c0 Metric_Time.View:0x15e692e70.centerX == UIView:0x15e6953e0.centerX>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

I have looked through all my code and cannot find out where it is creating those other three conflicting constraints. Any help would be appreciated.

Updated screenshots for the latest commit c7c8e5af1e2756f7db7ff36106c827bc56cb5de4

http://stackoverflow.com/a/36707830/3033386

issue fixed in commit 04c859ef74776e7d06100f00337b1c4575bc76c5

Updated screenshots:


Compiling json object from string via newtonsoft causes if helper to fail

I am attempting to inflate a newtonsoft JObject from a json string and then use an if helper in my template to render certain pieces of code.  However, the condition for the if helper is never evaluated properly.  It seems that as I step through the hb code, the value of the helper arg is always undefined.  See the following unit tests to see the issue -
[Test]
public void BasicIf_WithParsedJsonObject_TrueNonLiteral()
{
    var jsonTrue = @"{ ""Group"" : { ""basic_bool"" : true } }";

    var source = "{{Group.basic_bool}} Hello, {{#if Group.basic_bool}}Bob{{else}}Sam{{/if}}!";
    var template = Handlebars.Compile(source);
    var trueData = JObject.Parse(jsonTrue);

    Console.WriteLine(trueData);
    var resultTrue = template(trueData);
    Assert.AreEqual("true Hello, Bob!", resultTrue);
}

[Test]
public void BasicIf_WithParsedJsonObject_TrueLiteral()
{
    var jsonTrue = @"{ ""Group"" : { ""basic_bool"" : 'true' } }";
    var source = "{{Group.basic_bool}} Hello, {{#if Group.basic_bool}}Bob{{else}}Sam{{/if}}!";
    var template = Handlebars.Compile(source);
    var trueData = JObject.Parse(jsonTrue);

    Console.WriteLine(trueData);
    var resultTrue = template(trueData);
    Assert.AreEqual("true Hello, Bob!", resultTrue);
}

Note that in the unit test template, I am rendering the value contained within the basic_bool field correctly, it just doesn't seem to evaluate correctly in the helper.
Thanks

Handlebars.Net does not natively understand JObjects. There are two approaches to solving this:

You can use {{Group.basic_bool.Value}} - a JObject property returns a JToken which has a .Value property which returns the actual underlying value.
You can use JsonConvert.DeserializeObject<dynamic>("json") instead of JObject. That produces an ExpandoObject which behaves more like you are probably expecting. There are examples of that in the DynamicTests class in the unit test project.

That's perfect.  I've been able to prove that out in the unit tests.  Thanks!


Bromdev

What is this quality of a pull request? No title, branch name means nothing, no jira ticket, no tests, no description

Sir, we do not have Jira.


Min/Max/Close buttons should be 32px

I see the minimize, maximize and close buttons (https://github.com/microsoft/terminal/blob/main/src/cascadia/TerminalApp/MinMaxCloseControl.xaml) are 36 px in height, the standard window title bar height is 32 px. This creates an inconstancy

I mean:

Once you get to customizing the content in the titlebar, it's up to each developer to do whatever they'd like. Our tabs create 36px of space at the top of the window. It's actually weirder if the caption buttons were only 32 px tall, because there'd be this 4px dead space beneath them.


Add entry for jdk 21 into Github Actions building matrix

The main purpose of this pull request is to add an entry for building the project using JDK 21 with and update of github actions tools for checkout and build project

@manovotn  Sorry I missed that,  thanks so much


Using nativefier under Linux mint to build an exe(win32) is done successfully. But the generated exe can't run.

Homework

[ ] I looked at nativefier --help and https://github.com/jiahaog/nativefier/blob/master/docs/api.md
[ ] I searched existing issues, open & closed. Yes, my question is new.
[ ] I'm using the latest version available at https://github.com/jiahaog/nativefier/releases

Your question
Using nativefier under Linux mint to build an exe(win32) is done successfully. But it can't run.
Wine was installed and PATH was configured as well.
Steps to reproduce
Build command:
nativefier -n "test1" -p "win32"  "https://www.google.com"
But when I run the generated exe, it's done with errors:
002b:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
002b:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
002c:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0xdafb08,0x00000008,(nil)) Unknown information class
002b:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
002b:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x142e745c0, 0xb5e120, 0xb5e138) stub.
002b:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0xb5e150, 16) stub
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22f334, (nil) 0x22f330
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22f334 (nil) 0x22f330) returning a dummy value (current locale)
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22f334, 0x22f310 0x22f330
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22f334 0x22f310 0x22f330) returning a dummy value (current locale)
002b:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0034:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA,<PHONE_NUMBER>75FDA0
002b:fixme:ntdll:NtQueryVolumeInformationFile 0x200: volume info not supported
002b:fixme:winsock:WSALookupServiceBeginW (0x22ef70 0x00000ff0 0x22efe8) Stub!
002b:fixme:iphlpapi:NotifyAddrChange (Handle 0x22f128, overlapped 0x10251a0): stub
002b:fixme:win:GetPointerDevices (0x22eab4 (nil)): partial stub
002b:fixme:win:GetDisplayConfigBufferSizes (0x2 0x22eab4 0x22eab0): stub
0038:fixme:wtsapi:WTSRegisterSessionNotification Stub<PHONE_NUMBER>010056 0x00000001
003e:fixme:security:CreateRestrictedToken<PHONE_NUMBER>0002BC, 0x0, 4,<PHONE_NUMBER>B3E080, 19,<PHONE_NUMBER>B3EC30, 5,<PHONE_NUMBER>B43370, 000000000BA1EC20): stub
003e:fixme:advapi:SetEntriesInAclW unhandled access mode 4
003e:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
003e:fixme:security:CreateRestrictedToken<PHONE_NUMBER>0002BC, 0x0, 0,<PHONE_NUMBER>000000, 0,<PHONE_NUMBER>000000, 9,<PHONE_NUMBER>B3ECD0, 000000000BA1EB90): stub
003e:fixme:advapi:SetEntriesInAclW unhandled access mode 4
003e:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
003e:fixme:sync:NtSetInformationJobObject stub: 0x2bc 4 0xba1eec8 4
003e:fixme:process:CreateProcessInternalW Creating a process with a token is not yet implemented
003e:fixme:process:CreateProcessInternalW Unsupported attribute 0x20002.
002b:fixme:win:RegisterDeviceNotificationW (hwnd=0x1005e, filter=0x22ee48,flags=0x00000000) returns a fake device notification handle!
002b:fixme:dwmapi:DwmIsCompositionEnabled<PHONE_NUMBER>22D04C
002b:fixme:win:RegisterTouchWindow (0x10064 00000002): stub
0038:fixme:wtsapi:WTSRegisterSessionNotification Stub<PHONE_NUMBER>010058 0x00000000
002b:fixme:dwmapi:DwmSetWindowAttribute<PHONE_NUMBER>010064, 2,<PHONE_NUMBER>22D4F4, 4) stub
003c:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
003c:fixme:file:ReplaceFileW Ignoring flags 2
002b:fixme:time:QueryThreadCycleTime (0xfffffffffffffffe,0x22c700): stub!
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22cab4, (nil) 0x22cab0
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22cab4 (nil) 0x22cab0) returning a dummy value (current locale)
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22cab4, 0x22ca90 0x22cab0
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22cab4 0x22ca90 0x22cab0) returning a dummy value (current locale)
Context

Nativefier: 10.1.0
Node.js: 12.9.1
Npm:6.10.2
OS: Linux mint 19

@fintechee I cannot reproduce the issue, here I was able to successfully build your Google app from Arch and run under Windows 10. With that, closing, feel free to come back with additional info or someone confirming the bug, and I'll re-open.

Thank you for your reply.
If you want to reproduce it, please build a windows exe under linux(my dev is linux mint OS).
The build is done successfully, but it can't be run.
If you build linux executable under linux OS, it can be done successfully(both build and run)


Feat/soft delete

Hi,
I added the option for soft for both InMemory and Relational, need to add Redis
I made it optional, and also I prevent getting the URL if the URL was soft deleted, please let me know what you think
I've merged the release branch to prevent conflicts in the future, that made the PR a bit hard to follow, my new Impl starts at:
"Merge remote-tracking branch 'origin/release/0.2.0' into release/0.2.0"
#79

@lesagi please see Snir comments

Hi, Snir was updated yesterday, it was WIP, not can be reviewed again, thanks for the heads up!


Refactor commit logic out of StreamingDataflowWorker

StreamingDataflowWorker is a rather large class
For maintainability it would be helpful in the long run to encapsulate different pieces of the worker harness logic into their own class.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @scwhittle still working on the tests but curious about initial thoughts.
also opted to offload the thread management to executors instead of using raw threads. This may allow us to play around with the thread pool implementation to possibly increase performance (i.e work stealing thread pool).
Thanks!

@scwhittle ready for a look! thanks

fyi today is release cut. What is the status of this PR? I see the comments are all replied? CC: @scwhittle @m-trieu

There are still some open comments.  This is part of work to support direct path which won't be ready for the cut. So I don't think this should hold up the cut.

ready for another look @scwhittle thanks!

presubmit failure is due to flaky test (working on a PR to fix) and not related.

test flakiness attempted to be fixed here #30572

@scwhittle any more comments here? Thank you!

added drain (fail work and clear queues) when we close the SEWorkCommitter
will need this for direct path. in non direct path mode we would never call stop (except when we call stop on the entire harness in StreamingDataflowWorker) so it will not affect that code path. @scwhittle

Run Java PreCommit

test failures should be fixed in https://github.com/apache/beam/pull/30572 since it removes arbitrary waiting from the tests (replaced with countdownlatch as event triggers)

The other PR is merged, woudl like to verify this passes now

Run Java PreCommit

wooh! looks good


Wrong @SerializedName in V1CredentialXxxRequest

Dear developers,
we are using the Bosch Aca-py client to build a controller that connects to another agent and issues a credential to that agent.
When using V1CredentialOfferRequest.java to call the method issueCredentialSendOffer on AriesClient we encounter a problem with the serialization of this object to JSON.
From the specification Hyperledger Aries RFC 0036 it is expected that the credential definition id contained in the request should be serialized to cred_def_id but in V1CredentialOfferRequest.java the code says
    @SerializedName(value = CredDefId.CREDENTIAL_DEFINITION_ID, alternate = CredDefId.CRED_DEF_ID)
    private String credentialDefinitionId;

which means that the credential definition id will be serialized to a JSON attribute with key credential_definition_id.
(Same for  V1CredentialProposalRequest).
Currently, we patched these classes locally but this is not a solution, of course.
Please let us know how to proceed.
Thanks in advance,
Hans.

I have fixed it in the main branch, but haven't created a release yet. I will do this once I merge the 0.7.0-pre.3 changes. If you need something urgently I can create a patch release for you.


upgrade to framework v2.0

Using the migration instructions from Zendesk and the app_scaffold, this pr updates the application to v2.0 of the ZAT framework.
Follow the README.md for testing instructions.

👍


Smart Navigation to URLs

Instead of navigating to the URLs in an old way just write ./YourPathURL
Example : instead of navigating to https://demoqa.com/elements just write :- ./elements

closed by #795


Fail the nox-cross-arch-all job if any matrix job fails

Otherwise this job will be skipped, just like when the matrix jobs are skipped, resulting in a passed check when it should have failed.

I fixed the comment in the template and migration script, so it needs another approval.


Avoid force: true in cypress tests

Fixes https://issues.redhat.com/browse/CCXDEV-8128.

Codecov Report

Merging #303 (d540681) into master (47d9845) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #303   +/-   ##
=======================================
  Coverage   85.58%   85.58%
=======================================
  Files          24       24
  Lines         964      964
  Branches      349      349
=======================================
  Hits          825      825
  Misses        139      139

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 46b0f13...d540681. Read the comment docs.

@ikerreyes, the build seems to be passed without errors. WDYT?

:tada: This PR is included in version 1.4.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


remove pqw2ijk and update maneuver to use rotation matrix

The same trick used in #669 can be used in maneuver and then pqw2ijk can be removed.


Allow detecting a '0' duration heartbeat as a success

Before, 0 was overloaded to mean both failure and a near-instant heartbeat.
Add a bool to get the additional 'failure' meaning.
I don't have any sorta repro for actually seeing a 0 there, but I've seen some logs indicating this might be possible, and it seems like a correctness improvement to me at least.
Leaving this in draft for the second since this is backwards incompatible, so probably means a v2 bump :/

@jrobsonchase, if you want to double check the v2 bump looks right and makes sense too, I'd appreciate it!
The only changes ended up being to imports since the README doesn't actually reference an import path anywhere, and we're not really that worried about changelogs or such with this more-or-less-internal package.
Once we have a v2 here, it should be easy enough to update the ngrok-go repo, and internal uses.

Or actually, I'm confident enough that I append /v2 right that I'll carry forward the previous review.
I'll merge this, tag v2, and get related update PRs out.

Yeah, looks right enough to me :+1:


Python Argument Error

MCEdit Unified bug report template. For MCEdit 2.0 bugs see here : https://github.com/mcedit/mcedit2
Description of Issue: receive this error when trying to edit an existing world. When I try to also create a new world in MCedit then open in Minecraft it works but then when I go back to reopen in MCedit it fails again with this error.
I have tried reinstalling this with a fresh copy and also using a completely different PC. Can't seem to get any world to open from the Bedrock Minecraft edition.
MCEdit Version: <IP_ADDRESS>
Minecraft Version the world was last opened in: 1.12.2
Operating System: Win10 64bit
A screenshot or full text of the error from the console:

How to reproduce:
Open any level.dat from the Windows 10 Bedrock Edition
Read before submitting
If we are not able to reproduce the error, we may ask for you to submit a world so we can test it. Same process for schematics.
If you have included enough information for each section, please delete the above header and all the text below.

Im running into this problem too. Do you have addons enabled on the world?

Im running into this problem too. Do you have addons enabled on the world?


Load local copy of draft schemas

If you refer to a draft schema in a $ref (as the common test suite does)
json-schema will load it from json-schema.org even though the gem
contains a local copy.
This change patches JSON::Validator#load_ref_schema to check whether a
$ref refers to a draft schema before trying to load from the web, and if
so parsing and serving up the local copy.
I've also replaced the local copy of draft3 with the exact version found
online (only whitespace was different).

This sounds like a minor change but it's necessary in order to clear the schema cache between tests in the common test suite.


Speedometer are cutting the start and end number.

Hello
First all, I would like to congratulate you for the nice work. I'm newbie in kivy and I using your project to do speedometers. Very nice work, and, please, don't stop to improve this project, it is amazing. Maybe a good idea is to put in the kivy project libs for other people use it too - I don't know how, maybe into the  garden?
Anyway, I think found a bug, where the first number and end number do not show very well, like as the numbers are cutting it. I attached a picture of demo1 that I'm referencing. Look the number 0 and the 200. They do not show very well.

Or is that just a configuration?
Thank you so much

Hello and thank you.
I'm aware of the existence of the Kivy garden, and I'm working to turn this speedmeter into a flower.
The reason the first and last numbers don't show well is that they're of the same color as the background. If the numbers or the background where of a different color, most likely you'll get the result you're expected.
I don't intent to change that right now, however I mark your question as a feature request and may add a boolean to add some space around the first and last number in the future.

Hello.

I'm aware of the existence of the Kivy garden, and I'm working to turn this speedmeter into a flower.

That will be great!

The reason the first and last numbers don't show well is that they're of the same color as the background. If the numbers or the background were of a different color, most likely you'd get the result you're expected.

Understood. I see there, different color show entire number, but still with line inside the start and end number.

I don't intent to change that right now, however I mark your question as a feature request and may add a boolean to add some space around the first and last number in the future.

Yes, a space after first line and a space before the end line of speedometer will be great to solve that :)
Thank you so much.

I'm reopening this issue because was marked as enhancement. As this is a new feature, It need to be opened. It's correct?
Thank you.


Email contact form broken after update

Hey all,
running this wonderful cms since quite a time with a modular page (livepage https://deinyogaflow.de)
Unfortunately i recognized after some of the last updates the contact form i am using is no more working as expected. (now on grav v.1.7.17 with form and email plugin updated to the latest version i have the following behaviour:
The form itself could be filled, will be validated and the mail is sent to the configured destination. However, there is no redirect and the confirmation message as well is not shown.
my page consist of a main folder (home) with several subfolders containing modular pages. One of them is the folder "13._contact" containing a file contact.en.md.
With the following configuration the mail will be send but the user basically get no response
title: 'Contact'
form:
    action: /_contact
    name: kontakt-ajax-form
    refresh_prevention: true
    fields:
        name:
            label: Name
            placeholder: Name
            autofocus: 'off'
            autocomplete: 'on'
            type: text
            outerclasses: form-field
            classes: full-width
            validate:
                required: true
                message: 'Bitte gebe deinen Namen an'
        email:
            label: Email
            placeholder: E-Mail
            type: email
            outerclasses: form-field
            classes: full-width
            validate:
                required: true
                type: email
        subject:
            label: Betreff
            type: text
            placeholder: Betreff
            outerClasses: form-field
            classes: full-width
            validate:
                required: true
                message: 'Bitte gebe einen Betreff an'
        message:
            name: Message
            label: Nachricht
            placeholder: Nachricht
            type: textarea
            outerclasses: form-field
            classes: full-width
            rows: null
            validate:
                required: true
                message: 'Bitte gebe einen Nachricht an'
        veranstaltungen:
            label: false
            type: checkboxes
            options:
                option1: 'YOGA Summer Flow am Mittwoch (bitte Termine eintragen + Wunschuhrzeit für schlechtes Wetter)'
                option2: 'YOGA Natur FLOW am Samstag, 14.08.2021'
                option3: 'Ich möchte gerne eine Privatstunde vereinbaren'
                option4: 'YOGA FLOW Gutschein erwerben'
        g-recaptcha-response:
            label: Captcha
            type: captcha
            recaptcha_not_validated: 'Bitte fülle zuerst alle Pflichtfelder aus'
    buttons:
        submit:
            type: submit
            value: Senden
            outerclasses: form-field
            classes: 'full-width btn--primary'
    process:
        captcha: true
        email:
            subject: '[Neue Nachricht auf deinyogaflow.de von: ] {{ form.value.name|e }}'
            body: '{% include ''forms/data.html.twig'' %}'

If i add at the end an
redirect: /home
then the page will reload after short time and the homepage get rendered in a wierd way below the contact form.
I went trough the docs which have explained contact forms on modular pages on a dedicated page
(https://learn.getgrav.org/17/forms/forms/how-to-forms-in-modular-pages)
Sadly i didn't get it working. Are there any known issues with contact forms on the latest version? Kindly ask for help.

@Vip0r, I've tried your form and made some changes to adapt to my environment: It works as I would expect.

Fresh install of Grav 1.1.17
Created the following folder structure

user/pages
├── 01.home
├── 02.typography
└── 03.test
    ├── 01._text
    │   └── text.md
    ├── 02._contact
    │   └── form.md
    └── modular.md

Content of modular.md

---
content:
    items: @self.modular
---

Content of form.md:

Copied your code
Made a few changes:

Replaced action: /_contact with action: /test
/_contact as module is not routable and throws 404
Removed reCaptcha  from fields and process
Added message: Thank you for getting in touch! to process

---
title: 'Contact'
form:
    action: /test                                <--- Changed
    name: kontakt-ajax-form
    refresh_prevention: true
    fields:
      ...                                        <-- Removed recaptcha
    buttons:
      ...
    process:
      ...                                         <-- Removed recaptcha
      message: Thank you for getting in touch!    <--- Added

Result:

Email is being sent,
Green banner with "Thank you for getting in touch!" is being displayed

Hello pamtbaau,
thank you very much!. I will give it a try and will come back with my feedback

Hey all,
found the issue. The theme/template i was using (hola) had some custom javascript inside which was not working nicely with the built-in form features.
After removing this it is now working as expected. Thank you very much!


Dependency backoff appears unmantained, and depends on unmaintained instant crate

The dependency backoff appears unmaintained, https://github.com/ihrwein/backoff/issues/66, and its dependency instant is also unmaintained, https://rustsec.org/advisories/RUSTSEC-2024-0384.html.
I’m not aware of any concrete, specific defects in these dependencies, but it might be a good idea to consider alternatives.
As an intermediate step – since the crate is currently used only to work around file locking by antivirus programs on Windows – I plan to open a PR that would actually conditionalize the dependency so that uv can be compiled without backoff on non-Windows platforms.

Related downstream (Fedora) bug: https://bugzilla.redhat.com/show_bug.cgi?id=2329729

https://github.com/Xuanwo/backon looks like a maintained fork


refactored Center()

Coverage remained the same at 100.0% when pulling 21ab7d82284cd434d3e09cf0f52f3e09b446bbcc on refactor-center into 0d49e28c827034fba5091c450dab6ca09e889d16 on master.


Quiz retake function

Students can retake the quiz after they attempted the quiz for the first time
Students will be able to retake any quiz they've taken before (e.g. in week 3, students can retake quizzes from weeks 1, 2 ,and 3)

https://github.com/user-attachments/assets/4ca29760-00fa-410b-921d-e7372029f70b

Filter system based on the date to showcase/ distinguish multiple retakes

filter by date to then showcase the item analysis each time they took the quiz

date and time when quiz started and submitted ie. can work out how long it took to complete
filter gradebook to show first attempt or by a particular date. for resit.
show quiz results of individual students over time in a course based on first attempt and retakes may show.


Modeling Role Groups in the Snorocket API

Could someone point me to a piece of documentation or code example explaining or demonstrating how to represent a role group in an axiom in the Snorocket API? The example code mentions role groups, but I don't see any specific examples.
Thanks!

Hi davetrig,
A role group is just an existential whose property is a named role with a specific SNOMED id (currently 609096000) and whose filler is a conjunction. For example, if you wanted to role group A and B you would do something like this:
Concept a = Factory.createNamedConcept("a");
Concept b = Factory.createNamedConcept("b");
Role roleGroup = Factory.createNamedRole("609096000");

Concept conj = Factory.createConjunction(a, b);
Concept ex = Factory.createExistential((NamedRole) roleGroup, conj);

Thank you so much for your quick response.
I assume that the filler could also be the conjunction of two existentials?  Here's my example:
Given these concepts in this defined hierarchy:
{ROOT}
  {Chemical}
    {ChemicalViewedFunctionally}
    {StructurallyViewedChemical}
      {InorganicChemical}
  {Concept1}
  {Concept2}

and one role, basicRole,
where:
Concept1 ≡ ROOT ⊓ ∃basicRole.ChemicalViewedFunctionally
Concept2 ⊑ ROOT ⊓ ∃roleGroup.(
    ∃basicRole.ChemicalViewedFunctionally ⊓
    ∃basicRole.InorganicChemical
)

I would expect Concept1 to subsume Concept2, and when I model this example in DTS and classify with the Modular Classifier, Concept1 does subsume Concept2.  However, in my Snorocket code example, it does not.
My code follows. If you could take a quick look to see if I'm representing it correctly, or if you think I'm proceeding from a false assumption, I'd greatly appreciate it.
Thanks again!
        Concept _root = Factory.createNamedConcept("ROOT");
        Concept concept1 = Factory.createNamedConcept("Concept1");
        Concept concept2 = Factory.createNamedConcept("Concept2");

        Concept chem = Factory.createNamedConcept("Chemical");
        Concept cvf = Factory.createNamedConcept("ChemicalViewedFunctionally");
        Concept svc = Factory.createNamedConcept("StructurallyViewedChemical");
        Concept ic  = Factory.createNamedConcept("InorganicChemical");

        Role basicRole = Factory.createNamedRole("basicRole");
        Role roleGroup = Factory.createNamedRole("roleGroup");

        Set<Axiom> baseAxioms = new HashSet<Axiom>();

        baseAxioms.add(Factory.createConceptInclusion(ic, svc));
        baseAxioms.add(Factory.createConceptInclusion(svc, chem));
        baseAxioms.add(Factory.createConceptInclusion(cvf, chem));
        baseAxioms.add(Factory.createConceptInclusion(chem, _root));

        Concept rhs = Factory.createConjunction(_root, Factory.createExistential(basicRole, cvf));
        baseAxioms.add(Factory.createConceptInclusion(concept1, rhs));
        baseAxioms.add(Factory.createConceptInclusion(rhs, concept1));

        baseAxioms.add(Factory.createConceptInclusion(concept2,
        		Factory.createConjunction(_root, Factory.createExistential(roleGroup,
        				Factory.createConjunction(
                				Factory.createExistential(basicRole, cvf),
                				Factory.createExistential(basicRole, ic))))));

        SnorocketReasoner reasoner = new SnorocketReasoner();
        reasoner.loadAxioms(baseAxioms);
        reasoner.classify();

        Ontology t = reasoner.getClassifiedOntology();
        Utils.printTaxonomy(t.getTopNode(), t.getBottomNode());

Outputs:
{ROOT}
  {Concept1}
  {Concept2}
  {Chemical}
    {ChemicalViewedFunctionally}
    {StructurallyViewedChemical}
      {InorganicChemical}

Ametke,
I realized in looking at this again that this particular example can be modeled like this:
        baseAxioms.add(Factory.createConceptInclusion(concept2,
        		Factory.createConjunction(_root, Factory.createExistential(basicRole,
        				Factory.createConjunction(cvf,ic)))));

in which case, Concept1 does subsume Concept2.
However, this assumes that a role group is a single role with multiple concepts. There are cases when a role group contains different roles.
So, my question is more accurately represented by this example:
Given the same defined concept hierarchy, with roles role1 and role2,
Concept1 ≡ ROOT ⊓ ∃role1.ChemicalViewedFunctionally
Concept2 ⊑ ROOT ⊓ ∃roleGroup(
    ∃role1.ChemicalViewedFunctionally ⊓
    ∃role2.InorganicChemical
)

When this example is modeled and classified in DTS, Concept1 subsumes Concept2.  How would this be modeled in the Snorocket API such that Concept1 also subsumes Concept 2?
Thank you.

Hi davetrig,
In your example Concept1 should NOT subsume Concept2, so I am not sure why DTS is classifying it this way or how it was modelled (notice that the exisitentials are role grouped). If you remove the role group you will get Concept1 subsuming Concept2.
Hope this helps.
Cheers

Hi Ametka,
I really do appreciate your continued help.  I'm not an expert on DL or ontylog reasoning, show let me show you a concrete example from SNOMED CT, that I believe is the same situation:
Disease caused by parasite (disorder) [17322007] ≡
    Disease (disorder) [64572001] ⊓
    ∃Pathological Process (attribute).Parasitic process (qualifier value)

Disease caused by Acanthocephala (disorder) [105713003] ≡
    Disease (disorder) [64572001] ⊓
    ∃Role Group.(
       ∃Causative agent (attribute).Phylum Acanthocephala (organism) ⊓
       ∃Pathological Process (attribute).Parasitic process (qualifier value)
    )

In SNOMED CT, Disease caused by Acanthocephala is subsumed by Disease caused by parasite.
It is entirely probable that I am using the wrong notation or vocabulary to describe this, but this is the scenario I'm trying to model.

Hi davetrig,
The problem is that the axiom for "Disease caused by parasite" is not showing an implicit role group that should be there. The axioms should look like this:
Disease caused by parasite (disorder) [17322007] ≡
    Disease (disorder) [64572001] ⊓
    ∃Role Group.(∃Pathological Process (attribute).Parasitic process (qualifier value))

Disease caused by Acanthocephala (disorder) [105713003] ≡
    Disease (disorder) [64572001] ⊓
    ∃Role Group.(
       ∃Causative agent (attribute).Phylum Acanthocephala (organism) ⊓
       ∃Pathological Process (attribute).Parasitic process (qualifier value)
    )

Once you add the missing (implicit) role group you'll get the expected subsumption.
Cheers

Huzzah!
Thanks a million!


Catch mismatched read counts for paired input

Added for bowtie2 493b44a90a11f68d1d32d1ad558bc98b17648ec8
Using minimap2 for paired data now raises a warning.

Released in 2.0.0


⚠ Bofrost.de has degraded performance

In c913e1c, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 861 ms

Resolved: Bofrost.de performance has improved in c35ebb7.


Minikerberos version 0.4.0 - cannot import name 'KerberosUserEnum' from 'minikerberos.security'

Related to #117.

+1 on this being a real issue

Hello, thx for the PR but I can't accept this as the underlying issue was not the version mismatch but the lack of time on my side to upload the new code.
It is now done so cloning the master branch or tagged version 0.6.5 should solve this.
Out of curiosity, why did you add pycparser as a requirement?

Hey,
Sure, this PR was just a quick fix. We can close it.
I added pycparser because I believe I needed when I downgraded the minikerberos version, but that must be a mistake. I did the tests with the new release of pypykatz and everything seems to work fine !
Thanks !


refactor(raw): Return written bytes in oio::Write

This PR will add written bytes into oio::Write.
Background
The oio::Write function was originally designed to ensure that both the write and sink operations write all content at once, in order to make it easier to use. However, this behavior creates a significant amount of additional work for services that need to ensure reentrancy in their writes.
In some cases, such as with HDFS, implementing this behavior becomes impossible due to limitations like lack of support for seek write.
Additionally, it places a heavy burden on correctly implementing buffer logic because all operations must be reentrant. As a result, more content needs to be buffered and returned when required.
Current
This PR just adds a written bytes into oio::Write, public API like Writer::write is not touched. Writer::sink and Writer::copy changed to return written bytes which should be treated as a breaking change.
No services side behavior change yet. In the future, we will change the fs and hdfs's implement so that we don't need to call write_all and maintain internal pos.

Do you have any subsequent changes planned? Or open an issue if you can?

Do you have any subsequent changes planned? Or open an issue if you can?

I'm still exploring.


Boost deprecation warning

What does this implement/fix? Explain your changes.
Addresses a build warning on mac from a deprecated boost header.
RDKit doesn't directly use this deprecated header - it's used in the
depths of boost::random.
I didn't see a way to choose an alternate implementation at a
higher level, so this just hides the deprecation warning.
Any other comments?
Mostly posting so that I can see whether the appveyer build
failure in https://github.com/rdkit/rdkit/pull/2351 is related
to my change.

I think you are probably right here.  If it seems endemic, we can move that into the squash warning headers.


Improve the mentoring form

We need in the request mentoring, a field where the applicant can add what he expects from the mentorship. and which mentor you would be comfortable with, it is also possible that the mentoring applicant has chosen the mentor by clicking next to his photo on the OpenScienceLabs website, but that does not appear on the form. It would also be good to include in the form the availability of schedule, to specify a first meeting.

@xmnlab Ok, I'll take a look into it


compare: When composition mode is selected, the colormap from the scatter is selected

That's because the control points are added with addScatter which makes the scatter "active" and so it is selected by the colormap dialog action.
If it was created as a Scatter and then added through addItem, it would not be automatically activated.
Then the ColormapDialog would no longer change this colormap, instead it would display the default colormap from the PlotWidget that should be the one used for data images.


mvn tests

Can you describe, how I can run maven tests for clickhouse jdbc?

Hi @antip00, if you're using JDK 8, try mvn clean install to build, test, and install all modules. For JDK 11 or above, ~/.m2/toolchains.xml is required and please use mvn -Drelease clean install instead.
More details are available in README.

Thanks, I figured out how to do it.


Presigned URLs sometimes work and sometimes don't from client's browser

I'm generating my Amazon S3 signed URLs and without redeploying any code or changes, my signed URLs will sometimes allows uploads of files and other times not. The problem is happening in the client's browser when they try to upload the file using the URL. I'm not sure where this problem lies exactly. Could be how the URL is generated or something else.
It seems to be in the evening that my signed URLs don't work but I haven't tried it enough days in a row to really determine if that is always true or not. I'm in PST time zone.
            var s3client = new Amazon.S3.AmazonS3Client(Amazon.RegionEndpoint.USWest2);
            var url = s3client.GetPreSignedURL(new Amazon.S3.Model.GetPreSignedUrlRequest
            {
                BucketName = AWSS3Provider.AWSS3Bucket,
                Expires = DateTime.UtcNow.AddDays(1),
                Protocol = Amazon.S3.Protocol.HTTPS,
                Key = key,
                Verb = Amazon.S3.HttpVerb.PUT,
                ContentType = "binary/octet-stream"
            });

The type of failure I get is weird too. It isn't AWS S3 rejecting the signature of the request. It always says the server didn't respond with anything when the client's web browser tries to upload the file using the URL. I've got an internet connection and can open all sorts of other sites and even the AWS console.
Right now as I'm writing this post the upload is working. But I'm guessing later tonight it will stop working. I also generate a new URL for the user every time the user goes to upload a file.
Environment: DotNetCore 2.1.5
Runtime: AWS Lambda
AWS S3 SDK: 3.3.17

Hi @PaulDMendoza, thank you for letting us know about this issue.  Can you please let us know the exact error message you are seeing?  It sounds like it may be a timeout, but you indicate that you don't think that's the problem.  Your internet connection may be good, but how is the client's internet connection?
Other thoughts:
It could maybe be a clock skew issue on our end?  I'll need to look into this further.
DateTime.UtcNow uses the computer's system time--maybe this is off wherever you are generating the presigned URL?

Sorry for the delayed response. I need to try uploading a file again in the evening to see it work. I'll try to do that tonight.

Closing due to inactivity.

This still happens, ir happens in some networks and in others dont, in some mobile networks it happens and in some wifis it does not happens


Path Error on Export

When trying to export a map to an SVG or PNG, follwing error appears:
Export Failed
Path Error: unable to determine base dir path
This happens on the Appimage version under Arch Linux

A while back, another user had an issue, related to their XDG dirs. Would you mind sharing your config? By default it should be in ~/.config/user-dirs.dirs, but it could be elsewhere if XDG_CONFIG_HOME is set

XDG_DESKTOP_DIR="$HOME/"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"

Could you try setting your XDG_PICTURE_DIR to a value other than your home dir? For some reason, that fixed the issue for someone else

Yea setting that to something different works

That's very weird. I'm going to do a major version upgrade of the library that handles all the OS io stuff, hopefully that fixes it. So, I won't investigate this further for now, but I'll keep the issue open so I remember to investigate again after the upgrade


Dev

Fixes #1

Note @wuehr1999 : Please use "Squash & Merge" when merging this PR. Thank you :bow:


How to print the class number in the detection?

* Operating System Ubuntu 16.04
* Which commit of this repository you're on: Latest
* Keras version: 2.2.0
* TensorFlow version: 1.9.0

I've this function where I can print all the data in the list using function print(y_pred_thresh[0]).
Predicted boxes:

   class   conf    xmin   ymin   xmax   ymax

[[  21.      0.73   81.57  156.7   102.19  181.04]]

I can't figure out how to print just the class number for ex 21.
graph = tf.get_default_graph()
		y_pred = self.model._make_predict_function()
		y_pred = self.model.predict(input_images)
		#change below to see more or less predictions
		confidence_threshold = 0.66

		y_pred_thresh = [y_pred[k][y_pred[k,:,1] > confidence_threshold] for k in range(y_pred.shape[0])]

		np.set_printoptions(precision=2, suppress=True, linewidth=90)
		print("Predicted boxes:\n")
		print('   class   conf    xmin   ymin   xmax   ymax ', "\n")
		print(y_pred_thresh[0])
#To draw bounding box
for box in y_pred_thresh[0]:
		objects+=1
		# Transform the predicted bounding boxes for the 300x300 image to the original image dimensions.
		xmin = box[2] * 300 / img_width
		ymin = box[3] * 300 / img_height
		xmax = box[4] * 300 / img_width
		ymax = box[5] * 300 / img_height
		#cv2.rectangle(img, (x1, y1), (x2, y2), (255,0,0), 2)
		cv2.rectangle(smallFrame, (int(xmin),int(ymin)),(int(xmax),int(ymax)),(0,250,0),thickness=1,lineType=8)
		#wait to finish writing
		cv2.waitKey(0)

Thanks

Hi,
the box variable is a list of 6 values:
(label, conf, xmin, ymin, xmax, ymax) = box
So the original label value that you are looking for is stored in box[0].
If you look at the inference tutorial:
https://github.com/pierluigiferrari/ssd_keras/blob/master/ssd300_inference.ipynb
in chapter "4. Visualize the predictions", you can find these relevant lines:
label = '{}: {:.2f}'.format(classes[int(box[0])], box[1])
current_axis.add_patch(plt.Rectangle((xmin, ymin), xmax-xmin, ymax-ymin, color=color, fill=False, linewidth=2))
current_axis.text(xmin, ymin, label, size='x-large', color='white', bbox={'facecolor':color, 'alpha':1.0})

... which looks up the label value box[0] in the classes list to created a formatted string with the class (e.g. car) and confidence, and then draw that on the image.
hth,
Lieven

Thanks I got this working by printing box[0].
Im closing this now


Is there any official release version?

It would be convenient if you can release a official version for the package maintainer. such as webuiaria2-1.0.0.tar.gz.

Even just git tag will be great


installion issue

🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑
Please file any Angular Framework issues at: https://github.com/angular/angular/issues/new/choose
For the time being, we keep Angular issues in a separate repository.
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑

PS C:\Users\ss21100\Angular> node -v
v12.18.3
PS C:\Users\ss21100\Angular> ng --version
ng : The term 'ng' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that
the path is correct and try again.
At line:1 char:1

ng --version
~~

FullyQualifiedErrorId : CommandNotFoundException


Mechanism for libraries to add information to IDE documentation/tooltip

Some folks have asked for things like showing the effective full HTTP route when hovering over an operation. Today, the docs shown on hover are limited to doc comments, @doc, and core language aspects of the entity. Computing the HTTP route is specific to the @cadl-lang/http library so we would need some sort of extensibility here so that the library could provide this data to the IDE.

what if we have some internal decorator/helper that is @ideDoc(

Great point. Maybe if instead of a decorator, we had a dedicated compiler API like addIDEDoc that is explicitly blessed to be safe to call in onValidate?

That's probably clumsy. This isn't "validation".

yeah, would be an "easy" solution but not clean

I think the new lifecycle hook could work.
Maybe we can have something more general in name than onLSP, like onAugment that is generally there to to allow adding additional decorators dynamically. I think this would run first, right after compilation, before validation.
Then a new decorator like @hover that an onAugment handler could add dynamically with a complete picture of the program.

One downside is that I think we're already repeating computation between onValidate and onEmit and we will likely compute the routes a third time for this.

One downside is that I think we're already repeating computation between onValidate and onEmit and we will likely compute the routes a third time for this.

Though it we assume onAugment can change the type graph, it probably should be recomputed anyway.

True!

Another possible concern. If I have one lib that uses onAugment to change HTTP routes (which we'd say is OK) and http lib uses it to add route to hover, then there's still a race.

That it a good point, maybe we need some order where you can say you onAugment should run after all the other onAugment

This is bring back memories of plugin systems that have a "priority" you can return and then someone returns +/- Infinity.

Notes for discussion today
Proof-of-concept: https://github.com/microsoft/typespec/pull/2116

more genneral approach
new onAugment added alongside onEmit and onValidate
new @ideDoc decorator
onAugment is generally provided to allow a library to add decorators once an otherwise complete whole view of the world is completed.
runs before onValidate
could have done this in onValidate but 1) this is not validation, 2) what if you want to validate the result of this augmentation.
adds yet another pass (over all routes in HTTP case, other emitters/libs could also end up making more redundant computation)
what if one onAugmnet handler wants to base its decisions on the results of another, how to order them?

Alternative (not implemented):

IDE specific callback to get additional docs for a given entity
e.g. library could register handler somehow for getIDEDocumentation(Program, Type)
solves ordering issues since we no longer need to change the type graph just answer questions about it
but less general purpose
if handled naively could lead to even more redundant work, recomputing all the routes for each hover for example (!)


adding whole Linear8bitLt/Linear4bit module save/load serialization

The purpose of this pull request is to allow torch.save/torch.load directly on modules containing Linear4bit and Linear8bitLt submodules.
Currently, torch.save, then torch.load on Linear8bitLt (after first forward) causes a missing field CB error in the Int8Params class. This PR makes torch aware of the CB and SCB fields in Int8Params class.
The core of this PR is
        ~~return torch.Tensor._make_subclass(cls, data, requires_grad)~~
        obj = torch.Tensor._make_subclass(cls, data, requires_grad)
        obj.CB, obj.SCB = cls.CB, cls.SCB
        return obj

in  class Int8Params
I also added the torch.save -> torch.load test to the Linear4bit (this was already working) and Linear8bitLt (this is not yet working).
While saving modules directly in Pytorch with save and load is not good practice, the change to make this work is minimal and makes disk caching modules for development easier.

Yes, I agree, this is looking good and should be merged before the release. I'll review it more in depth soon.
Thanks @rdyro for the good work and taking the initiative to contribute, really appreciated 🤗

Thanks for the positive feedback! I really like your work with bitsandbytes.
Let me know if ideally, the new tests should extend to all Linear layers, not just Linear4bit and Linear8bitLt.

Dear @rdyro,
I just reviewed your proposed changes and everything really looks good! I don't think any additional tests are needed, what you did already looks good the way it is.
I also ran the transformers integration tests and everything came through clean.
Thanks so much for your contribution and if you feel like contributing more, we'd be happy to support you!


Test issue with Query test: Select_local

When running this test against the SQLCE provider, it fails. What is your suggested fix/workaround?
Do I need to intercept Query generation? In that case, how would I do that (in broad terms) ?
System.Data.SqlServerCe.SqlCeException : A parameter is not allowed in this location.Ensure that the '@' sign is in a valid location or that parameters are valid at all in this SQL statement.
//Result StackTrace:
//at System.Data.SqlServerCe.SqlCeCommand.ProcessResults(Int32 hr)
//   at System.Data.SqlServerCe.SqlCeCommand.CompileQueryPlan()
//   at System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(CommandBehavior behavior, String method, ResultSetOptions options)
//   at System.Data.SqlServerCe.SqlCeCommand.ExecuteDbDataReader(CommandBehavior behavior)
//   at System.Data.Common.DbCommand.ExecuteReader()
//   at Microsoft.Data.Entity.Relational.Query.QueryingEnumerable.Enumerator.MoveNext()
//   at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() //   at System.Linq.Enumerable.<SelectManyIterator>d__12.MoveNext()
//   at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() //   at Microsoft.Data.Entity.Query.LinqOperatorProvider.ExceptionInterceptor1.EnumeratorExceptionInterceptor.MoveNext()
//   at System.Linq.Buffer1..ctor(IEnumerable1 source)
//   at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) //   at Microsoft.Data.Entity.FunctionalTests.QueryTestBase1.AssertQuery[TItem](Func2 query, Boolean assertOrder, Int32 entryCount) //   at Microsoft.Data.Entity.FunctionalTests.QueryTestBase1.Select_local()
//   at ErikEJ.Data.Entity.SqlServerCe.FunctionalTests.QuerySqlCeTest.Select_local() in C:\Code\EntityFramework.SqlServerCompact\test\EntityFramework.SqlServerCompact.FunctionalTests\QuerySqlCeTest.cs:line 791
//Result Message:	System.Data.SqlServerCe.SqlCeException : A parameter is not allowed in this location.Ensure that the '@' sign is in a valid location or that parameters are valid at all in this SQL statement.

@ErikEJ do you know SQL CE simply does not support SELECT @something or is it something else? The following thread seems to indicate that there might be a workaround:
http://stackoverflow.com/questions/9482012/why-does-convert-allow-me-to-use-parameterized-query-in-this-case
But you are the expert :smile:

@diveaga thanks, I will do some digging, and follow up here. My impression is that the issue may be unability to support SELECT @something

@divega - I think I got closer:
                //Works:
                //DbParameter param = command.CreateParameter();
                //param.DbType = DbType.Int32;

                //Breaks:
                DbParameter param = command.CreateParameter();

                //Common
                param.ParameterName = "@__x_0";
                param.Value = 10;
                command.Parameters.Add(param);

So it is the missing setting of DbType that is causing the error, and I can see that the Microsoft.Data.Entity.Relational.Query.CommandBuilder currently does not set any Parameter DbType.

@ErikEJ I am working on integrating the type mapping (which includes DbTypes) with query.

@ajvickers Sounds great, had an impression something was missing, thanks!

Fixed with the latest Typemapper changes

Great to hear! Thanks.


Information: determine app close

I am removing the Close logic from 10.2 but I wanted to share out the basic logic for any developer who wanted to add it to their own app anytime later. Using the RevokedMessage is unique to 10.2 but you can also just handle the Revoked event off the Extended Execution Session, too.
Central.Messenger.Subscribe<ExtendedSessionRevokedMessage>(this, (e) =>
{
    var isUnspecified = e.ExtendedExecutionReason == Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionReason.Unspecified;
    var isForeground = Central.Visibility == AppVisibilities.Foreground;
    if (isUnspecified && isForeground) // && Revoked
    {
        // basically, this means the user clicked [X] to close the app
    }
});

This operation occurs before the Suspending event is raised.
There is no way to intercept/cancel/handle and stop this operation.
Have fun.

Too unreliable.


Fixed getting actual bounds and refresh rate of the output (monitor/display) from GraphicsOutput.CurrentDisplayMode when using Direct3D

PR Details
Fix for the bug https://github.com/stride3d/stride/issues/2492.
References:

https://www.gamedev.net/forums/topic/689459-sharpdx-dxgi-trying-to-get-the-current-display-mode/
https://github.com/MonoGame/MonoGame/pull/5096

Related Issue

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] I have built and run the editor to try this change out.

@dotnet-policy-service agree

@Feralnex please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@dotnet-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@dotnet-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@dotnet-policy-service agree company="Microsoft"

Contributor License Agreement

@dotnet-policy-service agree

Actually, you might want to change TryFindMatchingDisplayMode and/or the caller to reflect how you changed the method;
https://github.com/stride3d/stride/blob/256c47ba54bb1bc072d9adac397f34541ecd3072/sources/engine/Stride.Graphics/Direct3D/GraphicsOutput.Direct3D.cs#L194-L198
So, TryFindMatchingDisplayMode should return null if the format doesn't match for that logic to work

Thanks !


Results of Merger Poll for Node.js TSC and CommComm members

Over the past week I've been running an informal poll of @nodejs/tsc and @nodejs/community-committee members for the simple purpose of taking the "temperature of the room" with regards to the proposed merger. We had 29 responses, including 2 from non-TSC and non-CommComm members. I have removed the two non-top level committee member responses from the results. Note that there are currently 34 top level committee members so 27 is a solid representative sample. (Note that not every respondent provided answers to every question)
I will not provide the details of how each individual voted but the result charts are below along with a few notes...

76% of the respondents feel that they understand the goals of the proposed merger. 20% indicate that they do not. That's a pretty solid ratio.

Far more concerning is that 28% do not believe that the proposed merger will benefit Node.js (compared to 26% who believe that it will). Striking here is the 36% who are not yet sure. More on this in a bit.

In comparison, 72% believe that the proposed merger will benefit the JS Foundation projects, with 24% not sure.

52% believe that they understand the motivations for the timeline that has been proposed by the Boards for the merger. I think the more important bit here, however, is that the other 48% either aren't sure or do not understand the timing. My interpretation of this is that significantly more can be done to communicate the rationale for the proposed timing.

This is an interesting one, not only because the ratio of those who agree to those who disagree is effectively equal, but because only 36% of the respondents can say that they believe that the Foundation Board has adequately considered the needs of the project when evaluating the proposed merger.

This question is problematic for me. 57.7% of the respondents do not believe that the proposed merger would solve any existing problems in the Node.js project. More striking is that only 23% believe that it will.

Equally striking are the number of respondents who believe that Node.js must have representation on the Foundation Board. As has been pointed out in a different discussion, this does not address the question of why folks believe that representation is needed, but it will be critical to address this point.

Back on the issue of the timeline. Only 28% believe that the merger should proceed on the current timeline, 32% saying that it should not. Before we advance further along with the current agenda, it's going to be important to address this and take another look at the proposed timeline.

This particular question is interesting not necessarily because only 20% of the respondents believe that the proposed merger would be good for the Gold and Silver level member companies, but because nearly all of those who said that it would be good are employed by Platinum member companies.

This one goes along with the question about whether the proposed merger would solve any existing problems in the Node.js project. Only 20% believe that the merger would make it easier for the Foundation to provide additional resources to the project. Given that one of the arguments in favor of the merger has been that it would be easier to provide resources, there is obviously a discrepancy in expectations here that needs to be addressed.

The majority of respondents definitely have opinions about the proposed merger :-)

This is another striking response in that only 37.5% of the respondents believe that concerns have been adequately addressed. Whereas 33.3% believe that more can be done to address concerns and a significant 29.2% either aren't sure or don't have an opinion.
Overall, these results communicate that significantly more should be done to communicate the rationale, address the concerns, and establish the goals for the proposed merger among the Node.js top level committee members. The majority of Node.js top level committee members aren't yet seeing the benefits to the Node.js project but do recognize that the merger would likely be good for the JS Foundation projects.

Thanks for organizing this @jasnell. The questions asked make this process out to be a zero-sum game, which is dangerous thinking imho. I firmly believe this process is a non-zero sum game.
In other words: the merged Foundation is greater than the sum of it's parts and as a result will create new unforeseen value through opportunities & synergy (yes, synergy).
When coming at these results from that perspective they are much more reasonable. For example, additional questions like these could have balanced the "zero-sum" nature of the questions that were asked:

The proposed Foundation merger will create new opportunities.
The proposed Foundation merger will expand the Node.js ecosystem.
The proposed Foundation merger will benefit JavaScript.
The proposed Foundation merger will attract new collaborators to the Node.js project.

@indexzero ... fwiw, the questions asked were drawn directly from conversations I'd had with numerous top level committee members. I would not take any of the responses to indicate, "Hey! Don't do this merger thing!"... instead I would use it as an opportunity to see where the messaging and discussion around the proposal may need to apply additional focus and attention.

I agree with @indexzero that there is some potential for bias in terms of how the questions are phrased and how "Neither Agree nor Dis-Agree" is interpreted.  In any case interesting data to have.

@jasnell color suggestion: we group the colors into the agreements, disagreements and none. The current version really hard to read :(

The proposed Foundation merger will attract new collaborators to the Node.js project.

@indexzero, that also goes the other way, collaborators might shy away from a merged foundation (for varied reasons). Also AFAICT the foundation's impact on the number/diversity of new collaborators is minimal. For Node.js at least new collaborator recruitment and retention has been driven by the Org (i.e. the Body of current collaborators).

I think this is great for folks to see what areas we need to make sure to do extra work in to make sure concerns are being heard and knowledge is being shared so there's a better understanding of all moving parts in this. Better understanding means informed stakeholders for better dialogue and healthy decision-making together.
A few things: a number of these questions assume that folks have a full understanding of how things work in a foundation and how things would work in detailed execution(will the proposed merger will make it easier to provide resources to the Node.js project), which hasn't been fully defined yet... As a person who has worked -at- the foundation, I was painfully aware of how many people didn't know how a foundation operates. I spent a fair amount of my time trying to break those barriers down and talk about how the sausage gets made so that folks could better understand the work they don't want to do but needs to get done in order to keep resources flowing for the org. Just like some developers don't concern themselves in what business value their coding contributions derive for the company that employs them. I think we all have to be honest here in that some folks care tremendously about these details! And some don't. So asking everyone in the committees to share opinions on things they may not have spent the time to learn about can send muddy signals in a survey. I don't discount that this is an area that both foundations need to make sure to invest more time in so that folks can't say they weren't able to find out information(as much as can be shared of any business, even a nonprofit).
The elephant in the room to me in many of the conversations I have with folks individually and with many of the questions asked here is still --> "what value does a foundation bring to the Node.js project?" It's my belief and observation that we still have quite a bit of mismatch in expectations around what a foundation can and does provide and what is expected by Node.js project members with a foundation. A great example of this, as I've said prior, is who many of us are employed by and when we get to collaborate/contribute. We'd be programming in any other languages if the demand wasn't as high by lots of great employers for us to be working on Node.js.  The foundation and Board have done and continue to do a ton of work in this area(corp advocacy, networking, marketing, partnerships, etc) to get folks to pay many of us(not me these days) to do this work.  I'm happy to continue to have these conversations and chat one on one with people about what I think the answer to that question is. And I love to debate this!

As we appear to have consensus in the bootstrap team around how board seats will be allocated I'm going to close this.  Feel free to re-open or let me know that I should if this was closed prematurely


Rate Limit

Is there a rate limit middle ware available?

I'm not sure there's a standard one in the Goji community, but Goji uses standard library types, and should therefore be compatible with most rate limiting packages you might find elsewhere on the internet


Not a bug, not a feature: a will-change improvement on fixed navbars.

I read about fixed navbars repaint problem (not just) on Chrome: https://medium.com/@kulor/one-small-css-hack-to-improve-scrolling-performance-c5238029e518.
Until Chrome 72 I can confirm this problem also using Bootstrap 4.3.1. But today with Chrome 73 I'm not seeing it anymore. And nothing changed in my site.
What do you think about?

@twbs/css-review: thoughts?

I've experimented with this in the past but it caused some blurry rendering in some browsers. Also, this is a hack to fix Chrome. I don't want and and up with a lot of browser hacks in a year or 2 because two years ago this was an issue in a browser.
I just tested this here and I couldn't reproduce the paint issues. The article was written in 2016 and browser have changed a lot in the meanwhile.
We'll pass on this, but thanks about caring about our performance, @frederikhors 😉


[oceanbase] duplication exist clientId and channel

Restart flink job, the oblogproxy crashed, oblogproxy logs:
W20221202 11:28:29.629902 172541 arranger.cpp:122] duplication exist clientId and channel
E20221202 11:28:37.119390 48619 source_invoke.cpp:172] oblogreader exit failed:0
I20221202 11:28:37.119474 172541 communicator.cpp:422] On event fd: 10 got channel, peer: file_desc:10,

Environment :

Flink version :  1.13.5
Flink CDC version:  2.3.0
Database and version: 3.1.4-OceanBase CE

In Flink Sql Job, I assgined oblogproxy clientid, sumbit job to yarn cluster with per-job mode, it works well, then i cancel the job, and restart flink job to yarn, it cannot connect to oblogproxy,
the oblogproxy logs  is:
W20221202 11:28:29.629902 172541 arranger.cpp:122] duplication exist clientId and channel
E20221202 11:28:37.119390 48619 source_invoke.cpp:172] oblogreader exit failed:0
I20221202 11:28:37.119474 172541 communicator.cpp:422] On event fd: 10 got channel, peer: file_desc:10,

when flink job restart, the oblogproxy will also creashed for duplication clientid. I guess beacause last connection not colse gracefully.


restar node-agent

Deploy to  kubernetes 1.20 (rancher 2.5) container (docker  20.10.17) .
Always restart coroot-node-agent , logs:
I0726 10:54:35.984709 3655059 cilium.go:35] Unable to get object /proc/1/root/sys/fs/bpf/tc/globals/cilium_ct6_global: no such file or directory
I0726 10:54:35.984723 3655059 cilium.go:42] Unable to get object /proc/1/root/sys/fs/bpf/tc/globals/cilium_lb4_backends_v2: no such file or directory
I0726 10:54:35.984738 3655059 cilium.go:42] Unable to get object /proc/1/root/sys/fs/bpf/tc/globals/cilium_lb4_backends_v3: no such file or directory
I0726 10:54:35.984750 3655059 cilium.go:51] Unable to get object /proc/1/root/sys/fs/bpf/tc/globals/cilium_lb6_backends_v2: no such file or directory
I0726 10:54:35.984763 3655059 cilium.go:51] Unable to get object /proc/1/root/sys/fs/bpf/tc/globals/cilium_lb6_backends_v3: no such file or directory
I0726 10:54:35.984964 3655059 main.go:81] agent version: 1.8.8
I0726 10:54:35.985040 3655059 main.go:87] hostname: umt-k8s-mts-datapro-c1.sovcombank.group
I0726 10:54:35.985045 3655059 main.go:88] kernel version: 5.4.17-2136.304.4.1.el8uek.x86_64
I0726 10:54:35.985121 3655059 main.go:71] machine-id:  98710f42f40b2be32d22d80e35a5e0c4
I0726 10:54:35.985145 3655059 tracing.go:29] no OpenTelemetry collector endpoint configured
I0726 10:54:35.985291 3655059 metadata.go:66] cloud provider:
I0726 10:54:35.985299 3655059 collector.go:157] instance metadata: <nil>
I0726 10:54:38.990940 3655059 containerd.go:37] using /run/containerd/containerd.sock
W0726 10:54:38.991003 3655059 registry.go:72] stat /proc/1/root/var/run/crio/crio.sock: no such file or directory
W0726 10:54:38.991003 3655059 registry.go:72] stat /proc/1/root/var/run/crio/crio.sock: no such file or directory
F0726 10:54:38.994821 3655059 main.go:112] kernel tracing is not available: stat /sys/kernel/debug/tracing: no such file or directory
F0726 10:54:38.994821 3655059 main.go:112] kernel tracing is not available: stat /sys/kernel/debug/tracing: no such file or directory
F0726 10:54:38.994821 3655059 main.go:112] kernel tracing is not available: stat /sys/kernel/debug/tracing: no such file or directory
F0726 10:54:38.994821 3655059 main.go:112] kernel tracing is not available: stat /sys/kernel/debug/tracing: no such file or directory
F0726 10:54:38.994821 3655059 main.go:112] kernel tracing is not available: stat /sys/kernel/debug/tracing: no such file or directory

checking directories on the parent node
root@umt-k8s-mts-datapro-c1:/home/kulishovkm # ls -la /proc/1/root/var/run/cri/
ls: cannot access '/proc/1/root/var/run/cri/': No such file or directory
root@umt-k8s-mts-datapro-c1:/home/kulishovkm # ls -la /sys/kernel/debug/tracing
ls: cannot access '/sys/kernel/debug/tracing': No such file or directory
root@umt-k8s-mts-datapro-c1:/home/kulishovkm # ls -la /sys/kernel/debug/tracing/
ls: cannot access '/sys/kernel/debug/tracing/': No such file or directory

linux kernel 5.4 on parent node
image version  coroot-node-agent 1.8.8
this my DaemonSet
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: coroot-agent-node-agent
  labels:
    helm.sh/chart: node-agent-0.1.34
    app.kubernetes.io/name: node-agent
    app.kubernetes.io/instance: coroot-agent
    app.kubernetes.io/version: "1.8.8"
    app.kubernetes.io/managed-by: Helm
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: node-agent
      app.kubernetes.io/instance: coroot-agent
  template:
    metadata:
      labels:
        app.kubernetes.io/name: node-agent
        app.kubernetes.io/instance: coroot-agent
        app: coroot-node-agent
      annotations:
        prometheus.io/scrape: 'true'
        prometheus.io/port: '80'
    spec:
      tolerations:
        - operator: Exists
      priorityClassName:
      hostPID: true
      containers:
        - name: node-agent
          image: "registry.sovcombank.group/s-devops/ghcr.io/coroot/coroot-node-agent:1.8.8"
          command: ["coroot-node-agent", "--cgroupfs-root", "/host/sys/fs/cgroup"]
          imagePullPolicy: IfNotPresent
          resources:
            limits:
              cpu: "1"
              memory: 1Gi
            requests:
              cpu: 100m
              memory: 50Mi
          env:
          ports:
            - containerPort: 80
              name: http
          securityContext:
            privileged: true
          volumeMounts:
            - mountPath: /host/sys/fs/cgroup
              name: cgroupfs
              readOnly: true
            - mountPath: /sys/kernel/debug
              name: debugfs
              readOnly: false
      volumes:
        - hostPath:
            path: /sys/fs/cgroup
          name: cgroupfs
        - hostPath:
            path: /sys/kernel/debug
          name: debugfs

Can you tell me what I'm doing wrong

@KKulishov Please check whether your kernel is compiled with CONFIG_PERF_EVENTS:
grep CONFIG_PERF_EVENTS "/boot/config-$(uname -r)"
and debugfs is mounted:
mount|grep debugfs

here are the commands on the parent node
root@umt-k8s-mts-datapro-c1:/home/kulishovkm # grep CONFIG_PERF_EVENTS "/boot/config-$(uname -r)"
CONFIG_PERF_EVENTS=y
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_PERF_EVENTS_INTEL_RAPL=y
CONFIG_PERF_EVENTS_INTEL_CSTATE=y
CONFIG_PERF_EVENTS_AMD_POWER=m
root@umt-k8s-mts-datapro-c1:/home/kulishovkm # mount|grep debugfs
debugfs on /sys/kernel/debug type debugfs (rw,relatime)

Please check this directory as well:
ls -la /sys/kernel/tracing
/sys/kernel/debug/tracing should be mounted for backwards compatibility, but this can be disabled due to  CONFIG_TRACEFS_DISABLE_AUTOMOUNT=y.
If so, we'll fix the agent to look for tracing using both paths.

yes you are right
this ok
root@umt-k8s-mts-datapro-c1:/home/kulishovkm # ls -la /sys/kernel/tracing/
total 0
drwx------  2 root root 0 Jul 17 07:57 .
drwxr-xr-x 14 root root 0 Jul 17 07:57 ..

but /sys/kernel/debug/tracing not found
root@umt-k8s-mts-datapro-c1:/home/kulishovkm # ls -la /sys/kernel/debug/tracing
ls: cannot access '/sys/kernel/debug/tracing': No such file or directory

No, it shouldn't be empty.
Check whether tracefs is mounted:
mount |grep tracefs

mount |grep tracefs
none on /sys/kernel/tracing type tracefs (rw,relatime)

but , catalog  /sys/kernel/tracing  is empty

rather, the problem is somewhere in the distribution, installed on the parent node redhat 8.5

@KKulishov have you been able to solve this issue?

@def  not yet, my company has modified the kernel, now I have created a resolution task in the kernel ftrace. I will communicate with my security service.

@def
The problem was in the kernel boot options, which turned off  , in grub:
kernelopts=root=/dev/mapper/vgroot-root ro resume=/dev/mapper/vgroot-swap lockdown=confidentiality debugfs=off
if you remove lockdown=confidentiality debugfs=off  and in grub and reboot.
all ok
/sys/kernel/debug/tracing and  /sys/kernel/tracing no longer empty
security guys patched kernel boot options kernel_opts
Thank you for your help

@KKulishov thank you for the details


'event not found' / blank screenshot

Hi,
Thanks a lot for the amazing tool. I was trying to take some screenshots of a website e.g. link for downstream analysis. However, the result is event not found when I run shot-scraper. I googled but couldn't find any helpful information.
I also tried escaping ! in the link but the resulting screenshot is just blank.
Could you please take a look and suggest what's happening and how can I successfully achieve this?
Thank you & stay safe!

What was the exact command you ran that gave you that error?

@simonw here is how I used it, which gives a blank image
shot-scraper https://www.abstractsonline.com/pp8/#\!/10517/presentation/16331 -o test.png

Without \ before ! in the link, it just says, -bash: !/10517/presentation/16331: event not found
Thank you.


Content of login page aligned

Fixes : #611

YES

@abhijeet007rocks8 Please review.

Merge conflict

@abhijeet007rocks8 Resolved


Remove unnecessary spaces

I'm currently just formatting according to the Flake8 linter but I may not finish the code until the weekend.

I still need to add the main set of comments but I think this function works now. I've tested it on the dataset used provided in your blog post on the MK test.

I think this should be it. The implementation is more robust than it was yesterday i.e. the number of samples that it converges to is the same regardless of whether the simulation approaches from above or below the "optimal" value. It's ready for reviewing.


Valea De Brazi, Hunedoara (Uricani) - Is not written correctly

ENVIROMENT: ui.orase
URL: https://peviitor-ro.github.io/ui.orase/
Browser: Chrome
Device: Laptop
OS: Windows 7
STEPS TO REPRODUCE:

Open URL in browser
Type "Valea de Brazi" in the search bar
Select Valea De Brazi, Hunedoara (Uricani) from the list

EXPECTED RESULTS:
The name of the locality written in the search bar is written correctly based off the law nr. 167/1929
https://legislatie.just.ro/Public/DetaliiDocument/189
ACTUAL RESULTS:
The name of the locality written in the search bar is not written correctly based off the law nr. 167/1929

Fixed! Poti retesta


Minigui feature: save functionality

vs mode should save games as they finish;
study mode should probably have a button


feat: reporter UI using WebHashHistory for better environment compatibility

Description
HTML test reporter router now using WebHistory with a base path, but in a lot of deployment env, base path is unknown.
So using WebHashHistory for better environment compatibility.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
[x] Ideally, include a test that fails without this PR but passes with it.
[x] Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

[x] Run the tests with pnpm test:ci.

Documentation

[ ] If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

[x] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

Duplicate of #3487


visual output for testgradient

Does everything work here so far? If yes, it can be merged...

yes, everything should be fine now.


CSimple NPE even if CSimple language is not used

Related: #2098
This is a PoC how we could better support the build time analysis of Camel route definitions. The main idea is to have a new kind of model builder (called CamelDefinitionsBuilder in this proposal) that would make the build time inspection explicit for the end users.
Instead of plain configure() in the existing Camel RouteBuilder, there is configure(DefinitionsBuilderContext) in the new CamelDefinitionsBuilder. DefinitionsBuilderContext.getPhase() can be used by end users to figure out whether the builder is called at build time or at runtime. They can thus add some logic (if necessary) to avoid accessing runtime resources at build time, including CamelContext available via CamelDefinitionsBuilder.DefinitionsBuilderContext.getContext().
Pros:

The way of writing routes stays very close to the existing RouteBuilder 's Java DSL.
The new CamelDefinitionsBuilder are opt-in. Who decides for them, explicitly accepts both the perf. benefits and any eventual development overhead.

Cons:

This solution makes the end users responsible for making their routes inspectable at build time. This may result in unclean code full of ifs.
The API does not prevent end users from writing non-working code. That would require a redesign of the Java DSL with properly modeled runtime resources. Hard to say without trying whether something like that is even possible.

Open questions/issues:

Figure out how would this or any other alternative solution play with CDI injection of fields in CamelDefinitionsBuilders.

In general my preference for fixing #2098 would be to put the CSimple code into a separate extension and make it a conscious choice for the user to opt-in. That'll buy us some time to figure out the best way to implement build time introspection.

In general my preference for fixing #2098 would be to put the CSimple code into a separate extension and make it a conscious choice for the user to opt-in. That'll buy us some time to figure out the best way to implement build time introspection.

In general my preference for fixing #2098 would be to put the CSimple code into a separate extension and make it a conscious choice for the user to opt-in. That'll buy us some time to figure out the best way to implement build time introspection.

+1, let me do that.

In general my preference for fixing #2098 would be to put the CSimple code into a separate extension and make it a conscious choice for the user to opt-in. That'll buy us some time to figure out the best way to implement build time introspection.

+1, let me do that.

Let me keep this open as a study material for now.

Let me keep this open as a study material for now.

@ppalaga
I've been thinking a little bit about this and one of the options could be that we create a lightweight route builder that has some limitations, like it does not provide a camel context:

Type
Kind

RoutesBuilder
interface

SimpleRouteBuilder
provide limited functionalities, no access to camel context

RouteBuilder
same as today

Then camel-quarkus can safely inspect SimpleRouteBuilder at build time so it is up to the user to consciously pick the builder that fits better. This may also help cleaning up the RouteBuilder a bit.
I'm not convinced that giving to the user an option to know in which phase the configure() method is invoke would be a good options as, IMHO, this detail should no leak to the end user.
Another options would be to have some sort of proxy for some of the bits such the camel context (similar to what @gnodet did for the "camel context lite" to deal with build vs runtime properties) but I don't know how complex to implement and maintain it would be.

@ppalaga
I've been thinking a little bit about this and one of the options could be that we create a lightweight route builder that has some limitations, like it does not provide a camel context:

Type
Kind

RoutesBuilder
interface

SimpleRouteBuilder
provide limited functionalities, no access to camel context

RouteBuilder
same as today

Then camel-quarkus can safely inspect SimpleRouteBuilder at build time so it is up to the user to consciously pick the builder that fits better. This may also help cleaning up the RouteBuilder a bit.
I'm not convinced that giving to the user an option to know in which phase the configure() method is invoke would be a good options as, IMHO, this detail should no leak to the end user.
Another options would be to have some sort of proxy for some of the bits such the camel context (similar to what @gnodet did for the "camel context lite" to deal with build vs runtime properties) but I don't know how complex to implement and maintain it would be.


Wrong closing tag

Its generating the wrong closing tag:

Should be </.footer>

Thanks for reporting!
Always doing the same typo 🤦♂

Code indentation also seems completely broken, I will fix this in another PR

proper slots indentation 👌