Test an AD extension to the by_example notes

With the current branch, the following is not working.  We should find out why and patch NLsolve if required
using NLsolve, ForwardDiff
function fp(params)
    β, p = params #unpack vector
    sol = fixedpoint(v -> p .+ β * v, [0.8], inplace = false)
    return sol.zero[1]
end

fp([0.1, 2.0])
ForwardDiff.gradient(x -> fp(x), [0.1, 2.0])

The issue is with this line of code which turns out of place functions into in-place functions. I think it's trying to put a DualNumber in a Float64 array, which fails.
Will see how to patch. cc: @pkofod

This should be a simple fix

It may not be.  I don't think it is that function which has issues, so much of how the F is pre-allocated
It could require replacing a whole bunch of buffers inside of the underlying algorihtms to use similar to x instead of assuming they are reals vectors... or something like that.
This is low priority for sure.

@pkofod Just ran https://github.com/JuliaNLSolvers/NLsolve.jl/pull/188, and it didn't work. No worries, guess this is more complicated than I figured.

Can I please get the full exampe?

Code is same as above. Error is:
Arnav Sood@ARTS-ECON-ARNAV MINGW64 ~/desktop
$ julia adtest.jl
fp([0.1, 2.0]) = 2.2222222208
ERROR: LoadError: MethodError: no method matching Float64(::ForwardDiff.Dual{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2})
Closest candidates are:
  Float64(::Real, !Matched::RoundingMode) where T<:AbstractFloat at rounding.jl:185
  Float64(::T<:Number) where T<:Number at boot.jl:725
  Float64(!Matched::Int8) at float.jl:60
  ...
Stacktrace:
 [1] convert(::Type{Float64}, ::ForwardDiff.Dual{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2}) at .\number.jl:7
 [2] setindex!(::Array{Float64,1}, ::ForwardDiff.Dual{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2}, ::Int64) at .\array.jl:769
 [3] copyto! at .\abstractarray.jl:731 [inlined]
 [4] copyto! at .\abstractarray.jl:723 [inlined]
 [5] (::getfield(NLSolversBase, Symbol("#ff!#1")){getfield(NLsolve, Symbol("#g#22")){getfield(Main, Symbol("##3#4")){ForwardDiff.Dual{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2},ForwardDiff.Dual{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2}}}})(::Array{Float64,1}, ::SubArray{Float64,1,Array{Float64,2},Tuple{Base.Slice{Base.OneTo{Int64}},Int64},true}) at C:\Users\Arnav Sood\.julia\packages\NLSolversBase\ylZ0n\src\objective_types\inplace_factory.jl:11
 [6] value!!(::OnceDifferentiable{Array{Float64,1},Array{Float64,2},Array{Float64,1}}, ::Array{Float64,1}, ::SubArray{Float64,1,Array{Float64,2},Tuple{Base.Slice{Base.OneTo{Int64}},Int64},true}) at C:\Users\Arnav Sood\.julia\packages\NLSolversBase\ylZ0n\src\interface.jl:178
 [7] anderson_(::OnceDifferentiable{Array{Float64,1},Array{Float64,2},Array{Float64,1}}, ::Array{Float64,1}, ::Float64, ::Float64, ::Int64, ::Bool, ::Bool, ::Bool, ::Int64, ::Float64, ::NLsolve.AndersonCache{Array{Float64,2},Array{Float64,1},Array{Float64,1},Array{Float64,1}}) at C:\Users\Arnav Sood\.julia\dev\NLsolve\src\solvers\anderson.jl:54
 [8] anderson at C:\Users\Arnav Sood\.julia\dev\NLsolve\src\solvers\anderson.jl:122 [inlined] (repeats 2 times)
 [9] #nlsolve#14(::Symbol, ::Float64, ::Float64, ::Int64, ::Bool, ::Bool, ::Bool, ::Static, ::Float64, ::Bool, ::Int64, ::Float64, ::typeof(nlsolve), ::OnceDifferentiable{Array{Float64,1},Array{Float64,2},Array{Float64,1}}, ::Array{Float64,1}) at C:\Users\Arnav Sood\.julia\dev\NLsolve\src\nlsolve\nlsolve.jl:27
 [10] #nlsolve at .\none:0 [inlined]
 [11] #fixedpoint#20(::Symbol, ::Float64, ::Float64, ::Int64, ::Bool, ::Bool, ::Bool, ::Static, ::Float64, ::Bool, ::Int64, ::Float64, ::Symbol, ::Bool, ::typeof(fixedpoint), ::getfield(Main, Symbol("##3#4")){ForwardDiff.Dual{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2},ForwardDiff.Dual{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2}}, ::Array{Float64,1}) at C:\Users\Arnav Sood\.julia\dev\NLsolve\src\nlsolve\fixedpoint.jl:33
 [12] #fixedpoint at .\none:0 [inlined]
 [13] fp at C:\Users\Arnav Sood\desktop\adtest.jl:5 [inlined]
 [14] #5 at C:\Users\Arnav Sood\desktop\adtest.jl:11 [inlined]
 [15] vector_mode_dual_eval(::getfield(Main, Symbol("##5#6")), ::Array{Float64,1}, ::ForwardDiff.GradientConfig{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2,Array{ForwardDiff.Dual{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2},1}}) at C:\Users\Arnav Sood\.julia\packages\ForwardDiff\hnKaN\src\apiutils.jl:35
 [16] vector_mode_gradient(::getfield(Main, Symbol("##5#6")), ::Array{Float64,1}, ::ForwardDiff.GradientConfig{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2,Array{ForwardDiff.Dual{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2},1}}) at C:\Users\Arnav Sood\.julia\packages\ForwardDiff\hnKaN\src\gradient.jl:96
 [17] gradient(::Function, ::Array{Float64,1}, ::ForwardDiff.GradientConfig{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2,Array{ForwardDiff.Dual{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2},1}}, ::Val{true}) at C:\Users\Arnav Sood\.julia\packages\ForwardDiff\hnKaN\src\gradient.jl:17
 [18] gradient(::Function, ::Array{Float64,1}, ::ForwardDiff.GradientConfig{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2,Array{ForwardDiff.Dual{ForwardDiff.Tag{getfield(Main, Symbol("##5#6")),Float64},Float64,2},1}}) at C:\Users\Arnav Sood\.julia\packages\ForwardDiff\hnKaN\src\gradient.jl:15 (repeats 2 times)
 [19] top-level scope at show.jl:555
 [20] include at .\boot.jl:317 [inlined]
 [21] include_relative(::Module, ::String) at .\loading.jl:1038
 [22] include(::Module, ::String) at .\sysimg.jl:29
 [23] exec_options(::Base.JLOptions) at .\client.jl:229
 [24] _start() at .\client.jl:421
in expression starting at C:\Users\Arnav Sood\desktop\adtest.jl:11

@pkofod I just checked, and with the using added above at the top is the full example.
But just to confirm to all: this is low priority.  Would be nice to have it at some point in the future, but not sure I want to spend any time on this for a while.

Ah, now I get the problem. I thought you got the issue in a call to fixedpoint. You want to find the change in the fixedpoint when a parameter changes, right?

@pkofod That's right. I don't think Jesse and I have enough manpower to iterate on this specific issue, but mainly wanted to bring it to your attention.


Starscream FoundationTransportError error 0

Describe the bug

Foundation Transport Error occur when i want to connect to the socket server for the Video Call. I have used the SSL Pining but still got the same error. I have provided the proper Session ID and the Server URL, but still did not got any Luck.

Environment:

OS/Version iOS/15.5
Starscream Version 4.0.4
Xcode version 13.4.1

Any steps to reproduce, sample projects, etc would be appreciated.


Implementation of Selection Service for Bucket Tiering

Issue/Feature Description:

One the policy are selected by users, how backends are selected using this policy should be implemented

Why this issue to fixed / feature is needed(give scenarios or use cases):
How to reproduce, in case of a bug:
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

Link the design doc specific to this implementation

Started work on this.
Minimum Viable Policy Selection targeted for J Rel.


License?

Would it be possible to get a license on this repo? Thanks!

Thanks for reminding me, just pushed the MIT license


Please bring back -q (quiet) switch

It's very useful in cron jobs, torrent done scripts etc.

It was deleted because the alternative to silent anything is to redirect output > /dev/null 2>&1. Unless there is a good reason. Same goes for the log file, redirecting output creates a log file.
Tell me if that works for you.

I guess that's one way to do it. It's not elegant but it works. :)

It's indeed not as elegant as -q but a hell lot easier to implement and a lot safer for you as you don't depend on a switch to set the output level.


File does not exist. "undefined" when trying to debug

VSCode Version: 1.19.1
OS Version: macOS 10.13.1 (17B1003)

`{
"name": "Python",
"type": "python",
"pythonPath":"${config:python.pythonPath}",
"request": "launch",
"stopOnEntry": true,
"console": "none",
"program": "${workspaceFolder}/merger.py",
"cwd": "${workspaceFolder}",
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput"
],
"env": {"name":"value"},
"args": "asd asd",
}`
From python configuration:
..."python.pythonPath": "python",..
So I'm not able to run the debugger.

is it caused by an extension? seems like debuguer is included in vs code

No, python is not part of vscode. Please file this against the python extension. Thanks


Update readme regarding libspotify deprecation

Minor changes to README, mainly link to discussion about libspotify being no more - the Spotify blog post about it is now gone, so linked to discussion on modify-spotify issue tracker instead.

If we just want a note about deprecation, it might be easier for people to digest https://pyspotify.mopidy.com/en/latest/#libspotify-s-deprecation

Ah cool, yeh that's a better link - updated pull request. Thanks!


Add support to downcast a BoxedMessage to get a reference to it's wrapped type without consuming it

Is your feature request related to a problem? Please describe.
I want to be able to have an Actor that other actors can subscribe to, to be notified of configuration changes. The subscribing actors still need to be able to receive their normal complement of messages. Unfortunately, Actors in ractor can only receive messages of a single type (i.e. no support for multiple implementations of a Handler<T>). The closest I've been able to come is with BoxedMessage. Unfortunately, when attempting to test the type of the contained message, the wrapper is consumed (i.e. fn from_boxed(mut m: BoxedMessage) -> Result<Self, BoxedDowncastErr>)
Describe the solution you'd like
I would like to be able to get a read-only reference to the contained message if it matches the type expected, if it doesn't I can continue to test the message with other message types that my actor can handle.
As an example, the following function would give me the reference I wanted.
/// Get a reference to the wrapped message from a [BoxedMessage] if the type matches
#[cfg(not(feature = "cluster"))]
fn downcast_ref(m: &BoxedMessage) -> Option<&Self> {
    m.msg.as_ref().and_then(|m| m.downcast_ref::<Self>())
}

This example doesn't account for when the cluster feature is enabled, which may require a different implementation.
It could then be called like this:
if let Some(settings) = Settings::downcast_ref(&message) {...}
if let Some(message) = MyMessage:downcast_ref(&message) {
   match message {
     MyMessage::Foo => {...}
     MyMessage::Bar => {...}
   }
}

Describe alternatives you've considered
Adding a new UpdatedSettings(Settings) variant to the MyMessage enum, doesn't work when I have more than one subscriber, as they would expect a different enum type.
Additional context
n/a

Can you make your message type
dyn Any?
Similar to what boxed message is doing behind the scenes. It means you have to cast to the expected type within your actors handler, however that's pretty similar to what Erlang does since there is no strong typing. If you want to go that route, the supervision model will protect you from unexpected casting errors causing your actor to crash
Does that solve your need? I also have kind of stumbled across this and didn't have a great solution at the time, however I have not myself explored using the Anytype but I think it should work.

I'll have a look at using Any and see.

the supervision model will protect you from unexpected casting errors causing your actor to crash

Having the Actor crash on a bad cast would prevent the next cast attempt from being tried, no? I may be misunderstanding you.
I'll try adding the Any and see where that gets me.

That appears to be working for me. Pity to loose some of the strong typing, but that'd be the same with BoxedMessage.
Thanks for the advice.

Yes you are right, on a crash you will lose the pending message queue as it'll be cleaned up with actor teardown. If you want to persist the message queue, usually what we would do is have a supervisor, of that single actor which is trying the downcast, which manages the queue and only allows the child to process one message at a time and maintain no queue.
It would sort of be like a factory of one, where the factory maintains an internal state of the messages in queue, and the child is a worker. If the child crashes, the supervisor can capture the crash and restart the child without losing the pending message queue


【image_picker】add max limit count for getMultiImage

Closing this as a duplicate of https://github.com/flutter/flutter/issues/85772


WIP: [FlightRPC] Add DoExchange to Flight.proto

This is the proposed addition of the DoExchange endpoint to Flight for the mailing list discussion.

I'm in support of this. +1

LGTM as well.

Vote about this is open on the mailing list


add .travis.yml to get CI builds going

The ci build is green. I think this pr is good to go. ship it


[oatpp] update to 1.2.5

Describe the pull request

What does your PR fix?
Fixes  #17599

Which triplets are supported/not supported?

Yes

@autoantwort ,Thanks for your pr,according to the error display of CI, the components port of oatpp also needs to be upgraded along with oatpp. could you upgrade all components together in one pr?


Effective ChatGPT Prompting for Ontology Curators

see #400
I am completely in unchartered territory for this one, so could do with some help on how to evolve this.
I am thinking:

Basic prompting for research on definitions and synonyms
create SSSOM mappings to other ontologies
advanced applications like ontogpt and kg curation

Please also tell me if you think the whole idea makes no sense.

Some coverage of NLP basics in the context of interacting with LLMs (like "what is a token anyway") may be helpful.
I'm also thinking about how this tutorial could be future-proofed, since we're in a weird time when OpenAI models are the best at what what they do but may not be for long. There are also use cases that may require running models locally. An introduction to Huggingface and Huggingface Spaces could address both of those issues without getting too bogged down in ever-changing technical details.
Like so: https://huggingface.co/docs/transformers/model_doc/opt
and like so: https://huggingface.co/spaces/Pippoz/Hugging_Space

Thanks a ton @caufieldjh will look into this line of thinking!

We did a first round of this now, will open a new one when need arises


Rename Storage Class

Storage class still reflected old name of project (before I extracted it from Addgene)

Current coverage is 84.93% (diff: 100%)

Merging #10 into master will not change coverage

@@             master        #10   diff @@
==========================================
  Files             6          6
  Lines            73         73
  Methods           0          0
  Messages          0          0
  Branches          5          5
==========================================
  Hits             62         62
  Misses            6          6
  Partials          5          5

Powered by Codecov. Last update 62a5118...d277fb9


Automatically inject the ID into the otel trace

Because traceparents are not supposed to be part of the response due to risks I was wondering if this can be integrated to the tracing if it is available as an option.

If you use the {uuid} placeholder that's already built into Caddy instead, then this already works, it gets set as the trace ID.


help with electron js and react js enviroment ASAP !important

I need to set this library in order to work with electron and react js environment.
I understand that I need to use https://serialport.io/docs/guide-installation but the question is how can I make the connection with react js is that possible please help me I need it ASAP.

@seokju-na

Yes, It is possible to use React.js in nodejs unless you use the react-dom API.


Unclear how to use custom estimator

It's unclear from the documentation how one would go about using a custom estimator. Suppose I have a class that inherits from sklean.base.BaseEstimator that defines a score and fit method called MyEstimator, and it lives in mytools.osprey.myestimators. Normally it would be imported like:
from mytools.osprey.myestimators import MyEstimator`

How should I go about specifying my custom estimator in the osprey config?

Never mind, I figured it out by digging in the code:
    eval: MyEstimator()
    eval_scope: mytools.osprey

osprey figures out which module the estimator lives in.


Memory corruption when listing certs via p11tool

This is possibly related to issue #61.
In trying to figure out the root cause of that issue, I found that there's memory corruption occurring even when nothing crashes outright.
animus@Fenrir ~/Development/tpm2-pk11 $ p11tool --list-certs "pkcs11:model=TPM2;manufacturer=NTC;serial=123456789;token="
No matching objects found

But with Valgrind...
animus@Fenrir ~/Development/tpm2-pk11 $ valgrind p11tool --list-certs "pkcs11:model=TPM2;manufacturer=NTC;serial=123456789;token="
==25792== Memcheck, a memory error detector
==25792== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==25792== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==25792== Command: p11tool --list-certs pkcs11:model=TPM2;manufacturer=NTC;serial=123456789;token=
==25792==
==25792== Invalid write of size 8
==25792==    at 0x4E8A320: _gnutls_buffer_init (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA3561: find_objs_cb (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA45CC: _pkcs11_traverse_tokens (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA4E1D: gnutls_pkcs11_obj_list_import_url4 (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x1145A0: pkcs11_list (in /usr/bin/p11tool)
==25792==    by 0x1138AB: main (in /usr/bin/p11tool)
==25792==  Address 0x7511820 is 0 bytes after a block of size 32 alloc'd
==25792==    at 0x4C2AEAF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==25792==    by 0x4EA32A1: find_objs_cb (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA45CC: _pkcs11_traverse_tokens (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA4E1D: gnutls_pkcs11_obj_list_import_url4 (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x1145A0: pkcs11_list (in /usr/bin/p11tool)
==25792==    by 0x1138AB: main (in /usr/bin/p11tool)
==25792==
==25792== Invalid write of size 8
==25792==    at 0x4E8A327: _gnutls_buffer_init (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA3561: find_objs_cb (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA45CC: _pkcs11_traverse_tokens (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA4E1D: gnutls_pkcs11_obj_list_import_url4 (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x1145A0: pkcs11_list (in /usr/bin/p11tool)
==25792==    by 0x1138AB: main (in /usr/bin/p11tool)
==25792==  Address 0x7511828 is 8 bytes after a block of size 32 alloc'd
==25792==    at 0x4C2AEAF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==25792==    by 0x4EA32A1: find_objs_cb (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA45CC: _pkcs11_traverse_tokens (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA4E1D: gnutls_pkcs11_obj_list_import_url4 (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x1145A0: pkcs11_list (in /usr/bin/p11tool)
==25792==    by 0x1138AB: main (in /usr/bin/p11tool)
==25792==
==25792== Invalid write of size 8
==25792==    at 0x4E8A32F: _gnutls_buffer_init (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA3561: find_objs_cb (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA45CC: _pkcs11_traverse_tokens (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA4E1D: gnutls_pkcs11_obj_list_import_url4 (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x1145A0: pkcs11_list (in /usr/bin/p11tool)
==25792==    by 0x1138AB: main (in /usr/bin/p11tool)
==25792==  Address 0x7511830 is 16 bytes after a block of size 32 alloc'd
==25792==    at 0x4C2AEAF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==25792==    by 0x4EA32A1: find_objs_cb (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA45CC: _pkcs11_traverse_tokens (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA4E1D: gnutls_pkcs11_obj_list_import_url4 (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x1145A0: pkcs11_list (in /usr/bin/p11tool)
==25792==    by 0x1138AB: main (in /usr/bin/p11tool)
==25792==
==25792== Invalid write of size 8
==25792==    at 0x4E8A337: _gnutls_buffer_init (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA3561: find_objs_cb (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA45CC: _pkcs11_traverse_tokens (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA4E1D: gnutls_pkcs11_obj_list_import_url4 (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x1145A0: pkcs11_list (in /usr/bin/p11tool)
==25792==    by 0x1138AB: main (in /usr/bin/p11tool)
==25792==  Address 0x7511838 is 24 bytes after a block of size 32 in arena "client"
==25792==

valgrind: m_mallocfree.c:307 (get_bszB_as_is): Assertion 'bszB_lo == bszB_hi' failed.
valgrind: Heap block lo/hi size mismatch: lo = 96, hi = 0.
This is probably caused by your program erroneously writing past the
end of a heap block and corrupting heap metadata.  If you fix any
invalid writes reported by Memcheck, this assertion failure will
probably go away.  Please try that before reporting this as a bug.

host stacktrace:
==25792==    at 0x5804435A: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)
==25792==    by 0x58044474: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)
==25792==    by 0x58044602: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)
==25792==    by 0x580532E0: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)
==25792==    by 0x5803D03A: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)
==25792==    by 0x5803B723: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)
==25792==    by 0x5803FE14: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)
==25792==    by 0x5803A9FB: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)
==25792==    by 0x58015424: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)
==25792==    by 0x1002F66D23: ???
==25792==    by 0x1002BB1F2F: ???
==25792==    by 0x1C0F: ???
==25792==    by 0x100200835F: ???
==25792==    by 0x1002BB1F17: ???
==25792==    by 0x1002BB1F2F: ???
==25792==    by 0xDEC8: ???
==25792==    by 0x600: ???
==25792==    by 0x1004968E4F: ???

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable (lwpid 25792)
==25792==    at 0x4E8A405: gnutls_buffer_append_data (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA35A2: find_objs_cb (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA45CC: _pkcs11_traverse_tokens (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x4EA4E1D: gnutls_pkcs11_obj_list_import_url4 (in /usr/lib64/libgnutls.so.30.14.10)
==25792==    by 0x1145A0: pkcs11_list (in /usr/bin/p11tool)
==25792==    by 0x1138AB: main (in /usr/bin/p11tool)

I removed the PKCS#11 module file for tpm2-pk11 and re-ran it, and no error occurred. I figure there's some memory corruption occurring while handling this, and in some situations it can lead to crashes.

It seems to be a bug related to p11tool or libgnutls.so.
Code of gnutls_pkcs11_obj_list_import_url4() is maintained by Nikos Mavrogiannopoulos on gitlab:
https://gitlab.com/gnutls/gnutls/blob/master/lib/pkcs11.c


having 25 fully filled profiles

[x] getting all information for the persons that have an "empty" profile (just the name, nothing else) - who and how?
[x] getting new "4 skills" information for the persons that have a profile, but with old skill data - who and how?

[x] first: create issue form just with name and skills - @MartinSchott  (should we hide that somehow, e.g. in a different repo, as to not confuse new members?)

we have 27 profiles online now, and many many more are in the pipeline. So - goal achieved!
@timmwille @intertwilight


Propagate CSS load failures.

This will aid in debugging problems (fail immediately with the real
error instead of hitting the 100 second timeout). I didn't touch the
separate webkit path which I don't understand well enough to make a
similar fix.

Thanks, merged!


Add AsHashMap wrapper

AsHashMap wrapper is added and corresponding test is also included. I also added Cargo.toml to the root folder and removed rustfmt.toml because I assume this repo should be a cargo workspace?

Thanks for the PR, this looks great!
The empty rustfmt.toml is just there to indicate that the formatting has been decided, even though it's all defaults. I was on the fence about whether it should be a workspace or not, but I think it's probably a good idea. I'll merge this now and add rustfmt.toml back later.
Is there a name you'd like in a CREDITS.md file? Your github username is fine if you prefer anonymity.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3976

Questions ?
Please refer to the Backport tool documentation


Fix/fwp/testcases #180, #181 - FWP part

Q. I understand that pool tokens must be burn/mint by relevant pool. This can be done by adding simple assertion, but how about general fungible tokens like usda, wbtc ? It's not the matter of mining/burning in our project tho...
Q. I added the collect-fee part on multisig. The preliminary conditions for calling this function should be added, and discussion is required I guess.
Q. For the fixedpoint / non fixed point problem in Multisig, the problems I faced during the general test cases are fixed, but I can find only few of them.
After this PR approved, I'll do the same in YTP.

Q. I understand that pool tokens must be burn/mint by relevant pool. This can be done by adding simple assertion, but how about general fungible tokens like usda, wbtc ? It's not the matter of mining/burning in our project tho...

We need to mint/burn ourselves during the testnet (as fake money), but will rely on the respective deployed contracts when going to mainnet. So for now, they are just that - fakes that we control.

Q. I added the collect-fee part on multisig. The preliminary conditions for calling this function should be added, and discussion is required I guess.

This could require quite a bit of set-up (different fixed-weight-pool, etc). Do you want to give it a try? Anything particular you want to ask?

Q. For the fixedpoint / non fixed point problem in Multisig, the problems I faced during the general test cases are fixed, but I can find only few of them.

I still see many lines of code that mix up fixed-point and non-fixed point. For example, treatment of (get yes-votes proposal) on line 172 (which assumes fixed-point) and line 220 (which assumes non-fixed point), Also, line 219, where total-supply, which is not fixed-point, being mixed up with threshold, which is a fixed point.

After this PR approved, I'll do the same in YTP.

Multisig floating point is fixed. Everything aside from necessary code (to get 80% of total supply) is changed to non-fixedpoint values.

 Just want to check what I understood is correct :

Multisig can call the collect-fee function at the pool anytime. (or shall there be block height limit to execute from multisig?)
When collect-fee is called, pool changes the fee value to USDA by swapping from Fixed Weight Pool.
Swapped USDA is sent to reserve-pool and corresponding ALEX token is minted.
Mint ALEX Token is sent to Multisig from pool.
Multisig receives ALEX Token
Return ALEX Token to voters(pool token holder) following the proportion of votes.

Multisig floating point is fixed. Everything aside from necessary code (to get 80% of total supply) is changed to non-fixedpoint values.
 Just want to check what I understood is correct :

Multisig can call the collect-fee function at the pool anytime. (or shall there be block height limit to execute from multisig?)

Correct

When collect-fee is called, pool changes the fee value to USDA by swapping from Fixed Weight Pool.

Correct

Swapped USDA is sent to reserve-pool and corresponding ALEX token is minted.

Correct

Mint ALEX Token is sent to Multisig from pool.

Correct

Multisig receives ALEX Token

Correct

Return ALEX Token to voters(pool token holder) following the proportion of votes.

Not just the voters, but to all pool token holders, proportionally.

Check fails. Can you please review?

There was clarinet update, Ill check it this evening

Fixed, please review


Removing the LIKE part of the search query and normalising unicode characters

Describe the bug
Searching with a query string is slow when there are many indexed torrents.
Currently search queries get transformed to 3 conditions like this:
tsv @@ plainto_tsquery('simple', normalized_input)
tsv @@ websearch_to_tsquery('simple', normalized_input)
search_string LIKE raw_input

This is obviously not great and the only reason it's like this is I didn't get round to addressing this before releasing the first alpha, and it works fairly acceptably until you've got a few million torrents indexed...
The reason for the LIKE element is that to_tsvector('simple', search_string) was discarding unicode characters, breaking search in Asian and other unicode languages. It turns out Postgres doesn't offer a good way to convert a string to a tsvector that works well for all languages. Unfortunately the LIKE element of the query is by far the slowest.
Proposed solution
My proposed solution is to normalise all unicode characters within search strings and input query strings, using a library such as https://github.com/mozillazg/go-unidecode; we'll then have no unicode chars in the search_string or tsv fields, and the LIKE query can be removed, along with the supporting GIST index.
With this done, there'll need to be an easy way of running a one-time job to update the search_string fields with the new normalised string. A one-time job to reclassify everything should do the trick (though as a separate issue we also need a way to manually trigger a bulk reclassify)...

I was curious how this approach would deal with Japanese where a sentence has no spaces. I messed around with Google Translate, Unidecode, and Postgres:
English: "yesterday i took a trip to the store and purchased a sandwich"
Japanese: "昨日お店に行ってサンドイッチを購入しました"
Romanji: "Kinō o-ten ni itte sandoitchi o kōnyū shimashita"
Unidecode: "Zuo Ri oDian niXing tsutesandoitsuchiwoGou Ru shimashita"
-- Simple TSV failed to vector previously
SELECT to_tsvector('simple', '昨日お店に行ってサンドイッチを購入しました');
-- '昨日お店に行ってサンドイッチを購入しました':1

-- Improved vectors with Unidecode
SELECT to_tsvector('simple', 'Zuo Ri oDian niXing tsutesandoitsuchiwoGou Ru shimashita');
-- 'nixing':4 'odian':3 'ri':2 'ru':6 'shimashita':7 'tsutesandoitsuchiwogou':5 'zuo':1

Pretty promising. The only concern for this case is the huge "tsutesandoitsuchiwoGou" which is too unique for a TSV search, but I doubt we'll see many non-separated Japanese strings we will get with bitmagnet's use-case.

I've made an important realisation thanks to your comment @claabs - I've been developing against a DB set up in the Postgres for Mac app (not the Docker image) and have only just noticed this gives me different results for to_tsvector:
SELECT to_tsvector('simple', 'Some Chinese text: 我是中国人。');
-- Result from my Postgres for Mac app:
-- 'chinese':2 'some':1 'text':3
-- vs result from Docker Postgres:
-- 'chinese':2 'some':1 'text':3 '我是中国人':4

Which is why I said above about unicode chars being discarded. There's clearly a different locale or collation setting somewhere (still getting my head around how this works). So sorry my previous comments about unicode chars might not make sense without that bit of context!
So anyway, even with the CJK characters getting included in the TSV, I still think unidecode is a worthwhile normalisation step. As you pointed out the tokenisation is a bit problematic for Japanese, but this is a bit of an edge case with contiguous Katakana words. Your example sentence is getting split up a bit, which is better than nothing. As far as I can tell there are no other languages that suffer from this problem, which can possibly be addressed as a separate issue using something like https://github.com/ikawaha/kagome - I think I'd need a native speaker's opinion on how much of a problem this really is though. Chinese is getting correctly tokenised, and you also get some useful normalisations for European accented words, e.g. hôtel -> hotel, Straße -> Strasse.
So the LIKE query can be removed; that leaves the question of how to handle the rest of the query string. I think we should probably lose the plainto_tsquery element too. That leaves the websearch_to_tsquery: at the moment I'm heavily normalising the query string before passing it to websearch_to_tsquery (stripping out punctuation etc). That was probably a mistake on my part. If we preserve punctuation then that unlocks some advanced search capability (see the docs here https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-PARSING-QUERIES).

At the moment the torrent_contents.search_string field is created as follows:
When a new torrent is added to the database, if there are no torrent_contents records specified a minimal one will be created in this event hook with search_string based on the name: https://github.com/bitmagnet-io/bitmagnet/blob/v0.3.1/internal/model/torrents.go#L26
Then if the video classifier is successful it updates the search_string with additional parts here: https://github.com/bitmagnet-io/bitmagnet/blob/v0.3.1/internal/classifier/video/resolver.go#L124
We probably want to rework this so the string can be generated ad-hoc/independent of the classifier.
So maybe in this file: https://github.com/bitmagnet-io/bitmagnet/blob/v0.3.1/internal/model/torrent_contents.go
We have a function:
func (tc *TorrentContent) UpdateSearchString() error {
  // check we've got access to all the associated records needed:
  if tc.ContentID.Valid && tc.Content.ID != tc.ContentID.String {
    return errors.New("Missing Content record")
  }
  if tc.Torrent.InfoHash != tc.InfoHash {
    return errors.New("Missing Torrent record")
  }
  var searchStringParts []string
  // add all searchable parts applying deunicode and any other applicable normalisation
  tc.SearchString = strings.Join(searchStringParts, " ")
  return nil
}

After that we'll probably need a new message type for the queue so the field can be updated whenever this implementation changes.
Same as all the above applies to the content.search_string field which is used by the classifier and probably by other stuff in future. They share a lot of the same logic in the search engine too so the more similar they can be kept in how they work the better....


Running bot ends with no output

I've been trying to run the bot to mirror a twitter account over to Mastodon. However, whenever I run it with the config it just ends. At first I thought maybe that was because the twitter account had not posted new content, but now that it has I'm seeing that the bot still just stops running without posting anything new.

You might be running into this edge case:
the bot checks the specified Mastodon account to see the timestamp of the last post, and only posts content with later timestamps to avoid duplicate posts. On the first run the timestamp will default to current time.

You might be running into this edge case:
the bot checks the specified Mastodon account to see the timestamp of the last post, and only posts content with later timestamps to avoid duplicate posts. On the first run the timestamp will default to current time.

What do you think about some kind of debug log output?

Seems reasonable, or even just as regular output to explain what's happening. We could add something like -v for verbose.

a setting to let us specify what time to use on first run would be nice, with a sanity check of no more than 24 hours or something but being able to pull back to test config and make sure everything works without having to wait for new content would be nice

I use some print-debug functions for getting inputs for tests on several stages of transformation.
For Development that's fine but as -v option that's not good enough.
Maybe we should think about a good logging (on-console) concept with good log-levels. Any help is welcome :-)

Some nice idea for improve logging: https://markodenic.com/use-console-log-like-a-pro/

oh I ran across that the other day, I never realized how much you could do with console.log :)

Found your tooth and made the link :-)

Just released 1.13.1 on https://gitlab.com/yogthos/mastodon-bot with improved output options :-)


Update index.md add comma and sentence

Added apostrophe on line 4, added 'combined approach' on line 10.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.


Show waiting time of a passenger

I've spent ages trying to find out what behaviour of my elevators causes the max wait time to run out on the levels. It is really hard to debug such problems without #34 or having a way to spot the waiting time of each passenger easily. Maybe changing the colour of each passenger from white through blue, green, up to red as a function their current wait time? Would make the game much nicer to look at and maybe even provide more motivation for some people to keep the elevators moving in the minimum moves challenges.

Yeah. Not sure how to visualize this without significant clutter. The waiting time is irrelevant for the starting levels. What do you think about some kind of hover tooltip?

I've got an experimental branch that shows the "Wait" time of each passenger layered on top of them (NOT above their heads as that entails changing floor + elevator layouts and could be easily confused with the floor numbers on elevators..).
In some un-pushed commits I've also added bits to let players switch between showing portions of the total time; breaking it down into time spent waiting for an elevator (renamed "wait time") and time spent on an elevator ("travel time"). I renamed "Wait" time to "Commute" so that Commute = Wait + Travel.
It's not quite ready yet but if anyone wants to review it see https://github.com/larva/elevatorsaga/commits/show-user-times-v2

I wrote a small patch that changes the color based on the waiting time, probably will tweak a bit
https://github.com/dedavidd/elevatorsaga/commit/a8d07d57260ce7016d90429bfed780450a0ef7e6

Let the people wave their hands or render a "Zzzz"-bubble on their heads to indicate long waiting times.

Interesting that style.css has yellow and red color for disappointed and frustrated users:
https://github.com/magwo/elevatorsaga/blob/e0c55bf8cf59243c32dc371b2cc7b2e3ec1664af/style.css#L245
Although nowhere in the code those styles are set.
Looks like that is a not completed feature.


Change file names to lowercases

Fix #5

@BruceDai could you please help verify this fix? Thanks!

@huningxin I verified this PR, it works well, thanks.

@huningxin Updated the above comment with details.
I verified this PR on both Linux (Ubuntu 18.04.4 LTS) and Windows (Windows 10 HOME/Version 1909/OS build 18363.1082) platforms, Node : Latest LTS Version (12.18.4)[https://nodejs.org/en/download/]
Following Build & Test guideline of README , I built and tested with this PR's source code, the issue #5 couldn't be reproduced on Linux, both build were successful on Linux and Windows platforms, and here're results by running tests in node.js and web browser (using Chrome stable 85.0.4183.102), all tests pass.

test
Linux
Windows

in node.js
34/34 pass
34/34 pass

in web browser
34/34 pass
34/34 pass

@BruceDai , that's very helpful. Thanks for your efforts!
@anssiko , as there is no code change and Bruce helped verify the fix, do you think we can merge this PR?

Yes, please go ahead and merge. Thanks!


[Feature Request] Please provide size attribute on Switch just like Button and Input

Existing Component
Yes
Component Name
Switch
Description
The default size of switch is too small for me, could you please provide different size of Switches just like Button and Input.

We have no plan to support this.


AzureFIleCopyV3 Invalid header format

Question, Bug, or Feature?
Type: Bug
Enter Task Name: AzureFileCopyV3
Environment

Server - Azure Pipelines

SelenityAllocate / Spend Management / Copy Release Zip to Caching / Release-479

Agent - Hosted

Windows - 2.194.0
Issue Description
We have been using AzureFileCopyV3 for some time without issue. Last week it started failing.
We confirmed that no changes had been made to our pipeline configuration.
We noticed that the version of the task had changed from
Version      : 3.209.0
to
Version      : 3.214.0
The function that is reporting the error has been recently altered in the PR which increased the version.
MSAL Upgrade for Common Library (Powershell) (#17205)
Service connection is successfuly verifying
Task logs
Get-AzureRMAccessToken - started - endpoint=@{Url=https://management.azure.com/; Data=; Auth=} - scheme=ServicePrincipal
2022-12-19T12:07:02.5437151Z ##[debug]MSAL - useMSAL = True
2022-12-19T12:07:02.5550617Z ##[debug]MSAL - Get-EnvironmentAuthUrl - endpoint=@{Url=https://management.azure.com/; Data=; Auth=}
2022-12-19T12:07:02.5565407Z ##[debug]MSAL - Get-EnvironmentAuthUrl - useMSAL=True
2022-12-19T12:07:02.5580479Z ##[debug]MSAL - Get-EnvironmentAuthUrl - envAuthUrl=https://login.microsoftonline.com/
2022-12-19T12:07:02.6464062Z ##[debug]MSAL - ServicePrincipal - clientSecret is used.
2022-12-19T12:07:02.6611436Z ##[debug]Fetching Access Token - MSAL
2022-12-19T12:07:02.8510168Z ##[debug]Get-AzureRMAccessToken - started - endpoint=@{Url=https://management.azure.com/; Data=; Auth=} - scheme=ServicePrincipal
2022-12-19T12:07:02.8525617Z ##[debug]MSAL - useMSAL = True
2022-12-19T12:07:02.8551467Z ##[debug]Fetching Access Token - MSAL
2022-12-19T12:07:02.8870901Z ##[debug]GET https://management.azure.com//subscriptions/{subscription}/resourceGroups/{resourceGroup}?api-version=2016-02-01 with 0-byte payload
2022-12-19T12:07:02.9165834Z ##[debug]Exception : The remote server returned an error: (401) Unauthorized.
2022-12-19T12:07:02.9255378Z ##[debug]Exception message - System.Net.WebException: The remote server returned an error: (401) Unauthorized.
2022-12-19T12:07:02.9267621Z ##[debug]   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
2022-12-19T12:07:02.9280705Z ##[debug]   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
2022-12-19T12:07:02.9431306Z ##[debug]Exception message extracted from response {"error":{"code":"AuthenticationFailedInvalidHeader","message":"Authentication failed. The 'Authorization' header is provided in an invalid format."}}
2022-12-19T12:07:02.9844099Z ##[debug]Processed: ##vso[task.logissue code=AuthenticationFailedInvalidHeader;type=error]
2022-12-19T12:07:02.9898286Z ##[debug]Exception : ExceptionMessage: Authentication failed. The 'Authorization' header is provided in an invalid format. (in function: Get-AzRmResourceGroup)

Error logs
ExceptionMessage: ExceptionMessage: Authentication failed. The 'Authorization' header is provided in an invalid format. (in function: Get-AzRmResourceGroup) (in function: Get-AzRMStorageKeys)
tasklog_28.zip

I have the exact same issue with AzureFIleCopyV4  4.214.0

Hi @lukepowell-allocate, thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon

A workaround is to use azcopy command directly.
I confirmed it works fine.
- task: CmdLine@2
  inputs:
    script: azcopy copy "<FILE>" "<SAS URL>"

Hi @ozanovus,
In case it helps you, we've been experiencing this problem, but only on our self-hosted agent. As a workaround since the same day this issue was logged we've switched to using an Azure hosted windows-latest agent which works fine. To answer your questions:

Windows 10 22H2 (OS Build 19045.2364)
The service connection looks like this:

For administrative reasons I'm not able to change the service connection at this time.
Our task is as follows:

- task: AzureFileCopy@4
  displayName: Copy installers to Azure Blob Storage
  inputs:
    sourcePath: '$(Pipeline.Workspace)\${{ parameters.artifactName }}\*'
    azureSubscription: 'Intent Architect Azure Resource Group'
    destination: 'azureBlob'
    storage: '<storageAccountName>'
    containerName: '<containerName>'
    additionalArgumentsForBlobCopy: '--log-level=INFO --exclude-pattern "*.yml"'
    copyFilesInParallel: false

The agent is not behind any sort of proxy.

We are experience the same issue with a similar setup as @JonathanLydall.
Pipelines which have been working fine until now are suddenly breaking, without us making any changes.

Experiencing the same problem!

I haven't changed anything but I see the Azure File Copy task version has been updated to 5.210.1
I see the error has changed to: Could not find the module Az.Accounts with given version. If the module was recently installed, retry after restarting the Azure Pipelines task agent.
2023-01-09T17:46:52.6740680Z ##[section]Starting: AzureBlob File Copy Map Files
2023-01-09T17:46:52.6912978Z ==============================================================================
2023-01-09T17:46:52.6913315Z Task         : Azure file copy
2023-01-09T17:46:52.6913586Z Description  : Copy files to Azure Blob Storage or virtual machines
2023-01-09T17:46:52.6913845Z Version      : 5.210.1
2023-01-09T17:46:52.6914051Z Author       : Microsoft Corporation
2023-01-09T17:46:52.6914384Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-file-copy
2023-01-09T17:46:52.6914755Z ==============================================================================
2023-01-09T17:46:53.9214967Z Added TLS 1.2 in session.
2023-01-09T17:46:54.2264752Z ##[error]Could not find the module Az.Accounts with given version. If the module was recently installed, retry after restarting the Azure Pipelines task agent.
2023-01-09T17:46:54.2573826Z ##[section]Finishing: AzureBlob File Copy Map Files

Hello @lukepowell-rldatix , first of all thanks for reporting the issue.
Temporary Solution: New update (starting from x.216.y) will give you option to override MSAL with USE_MSAL environment variable set to false.
However, regarding our checks we couldn't manage to reproduce the same error. To identify root cause and further development; could you please specify further details?
1. Which operating system that runner currently using? (Hosted Windows-2019, 2022 or different?) Is the error repeating when you change it to some different version?

2. What kind of Service Connection you're using? (secret, certificate, legacy username/password?)

3. Could you please create a new Service Connection and try with it? Is it giving same error?

4. Do you specify any additional arguments in Task configuration? (optional arguments, blob prefix?) Could you please share your Task configuration with censoring private information?

5. Are tasks running behind a proxy configuration? If yes, how do you set proxy for tasks and does it have basic authentication?

We had to stop using this specific task as it was blocking us and we couldn't wait an indeterminate amount of time for a fix.
I won't be able to assist you in any further testing therefore but can aswer some of these questions.

Agent.OSVersion 10.0.17763
Service principal key
No optional arguments are involved.
No proxy.

@ JonathanLydall
I had the same problem today and i resolved it by updating Azure modules on the server where my agents were hosted.
I can use my selfHosted agent pools again , hope this helps!

@JonathanLydall I had the same problem today and i resolved it by updating Azure modules on the server where my agents were hosted. I can use my selfHosted agent pools again , hope this helps!

Thank you @Cbrbeats, it did.
For anyone else with the same issue and wanting to know how to do the upgrade, I ran the following from an admin elevated PowerShell session:
Install-Module -Name Az -Scope AllUsers -Force -AllowClobber

When I initially made the pipeline I had a task which would run this every time, but on the hardware for that agent it would add minutes for each run, so I removed it but kept comments in the .yml of what command to run which came in useful today for this.

Closing this one as stale - feel free to ask any other questions or let us know if it's still relevant for you.

For future reference in case any other user experience similar issue; I wanted to add some references for updating Azure Az PowerShell module.
1. Checking Azure Az PowerShell Module Version:
You can check installed Az Module versions with the command below.
Get-InstalledModule -Name Az -AllVersions -OutVariable AzVersions
If version is old (currently latest version is 9.4.0); we recommend you to update your Az Module .
2. Updating Azure Az PowerShell Module
Recommended way is to visit the official page which has instructions for different Powershell versions according to needings.
https://learn.microsoft.com/en-us/powershell/azure/install-az-ps
Example command for installation from the page:
Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force

@ozanaydinMSFT  i tried updating my az modules still not working .
##[debug][Azure Call]Creating AzStorageContext for storage account: stxxx
##[debug][Azure Call]Created AzStorageContext for storage account: stxxx
##[debug][Azure Call]Getting resource details for azure storage account resource: stxxx with resource type: Microsoft.Storage/storageAccounts
##[debug][Azure Call]Retrieved resource details successfully for azure storage account resource: stxxx with resource type: Microsoft.Storage/storageAccounts
##[debug][Azure Call]Retrieving storage account type for the storage account: stdevblob in resource group: rg-xxx
##[debug]Get-AzureRMAccessToken - started - endpoint=@{Url=https://management.azure.com/; Data=; Auth=} - scheme=ServicePrincipal
##[debug]USE_MSAL: 'true'
##[debug]MSAL - USE_MSAL override is found: true
##[debug]MSAL - useMSAL = True
##[debug]Fetching Access Token - MSAL
##[debug]GET https://management.azure.com//subscriptions/xxxxx/resourceGroups/rg-xxx?api-version=2016-02-01 with 0-byte payload
##[debug]received 187-byte response of content type application/json; charset=utf-8
##[debug]GET https://management.azure.com//subscriptions/xxxx/resourceGroups/rg-xxxx/providers/Microsoft.Storage/storageAccounts/stxxx?api-version=2016-01-01 with 0-byte payload
##[debug]received 734-byte response of content type application/json
##[debug]Constructing the storage account object
##[debug][Azure Call]Retrieved storage account type successfully for the storage account: stxxx in resource group: rg-xxx
##[debug]Obtained Storage Account type: Standard
##[debug][Azure Call]Getting container: templates in storage account: stxxx
##[debug]Container: templates does not exist in storage account: stxxx
##[debug]Creating container if the containerName provided does not exist
##[debug][Azure Call]Creating container: templates in storage account: stdevblob
##[debug]Azure.RequestFailedException: This request is not authorized to perform this operation.
##[debug]RequestId:7a3f56f8-e01e-0076-5415-292675000000
##[debug]Time:2023-12-07T14:01:21.6759463Z
##[debug]Status: 403 (This request is not authorized to perform this operation.)
##[debug]ErrorCode: AuthorizationFailure
##[debug]x-ms-client-request-id: af57b9dc-2e3e-4767-bf98-14a477f129e6
##[debug]x-ms-error-code: AuthorizationFailure
##[debug]Content-Length: 246
##[debug]Content-Type: application/xml
##[debug]Date: Thu, 07 Dec 2023 14:01:21 GMT
##[debug]Server: Microsoft-HTTPAPI/2.0
##[debug]
##[debug]At F:\ado_agent_racetrac-dd_work_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\5.231.2\AzureUtilityAz1.0.ps1:54 char:22
##[debug]+ ... container = New-AzStorageContainer -Name $containerName -Context $sto ...
##[debug]+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
##[debug]    + CategoryInfo          : CloseError: (:) [New-AzStorageContainer], RequestFailedException
##[debug]    + FullyQualifiedErrorId : RequestFailedException,Microsoft.WindowsAzure.Commands.Storage.Blob.Cmdlet.NewAzureStora    geContainerCommand
##[debug]
##[debug]Script stack trace:
##[debug]at Create-AzureContainer, F:\ado_agent_racetrac-dd_work_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\5.231.2\AzureUtilityAz1.0.ps1: line 54
##[debug]at , F:\ado_agent_racetrac-dd_work_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\5.231.2\AzureFileCopy.ps1: line 154
##[debug]at , : line 1
##[debug]at , : line 22
##[debug]at , : line 18
##[debug]at , : line 1
##[debug]Exception:
##[debug]Azure.RequestFailedException: This request is not authorized to perform this operation.
##[debug]RequestId:7a3f56f8-e01e-0076-5415-292675000000
##[debug]Time:2023-12-07T14:01:21.6759463Z
##[debug]Status: 403 (This request is not authorized to perform this operation.)
##[debug]ErrorCode: AuthorizationFailure
##[debug]
##[debug]Content:
##[debug]AuthorizationFailureThis request is not authorized to perform this operation.
##[debug]RequestId:7a3f56f8-e01e-0076-5415-292675000000
##[debug]Time:2023-12-07T14:01:21.6759463Z
Headers:
x-ms-request-id: 7a3f56f8-e01e-0076-5415-292675000000
x-ms-client-request-id: af57b9dc-2e3e-4767-bf98-14a477f129e6
x-ms-error-code: AuthorizationFailure
Content-Length: 246
Content-Type: application/xml
Date: Thu, 07 Dec 2023 14:01:21 GMT
Server: Microsoft-HTTPAPI/2.0
##[debug]Processed: ##vso[task.logissue type=error]This request is not authorized to perform this operation.
RequestId:7a3f56f8-e01e-0076-5415-292675000000
Time:2023-12-07T14:01:21.6759463Z
Status: 403 (This request is not authorized to perform this operation.)
ErrorCode: AuthorizationFailure
Content:
AuthorizationFailureThis request is not authorized to perform this operation.
RequestId:7a3f56f8-e01e-0076-5415-292675000000
Time:2023-12-07T14:01:21.6759463Z
Headers:
x-ms-request-id: 7a3f56f8-e01e-0076-5415-292675000000
x-ms-client-request-id: af57b9dc-2e3e-4767-bf98-14a477f129e6
x-ms-error-code: AuthorizationFailure
Content-Length: 246
Content-Type: application/xml
Date: Thu, 07 Dec 2023 14:01:21 GMT
Server: Microsoft-HTTPAPI/2.0


The world needs to see our website

If you don't know how to do it. These are not our problems

hmmmm, ok


Replace repo with commit cache in refManager

closes #4618

Thanks!

~Can we make it possible to configure commitCache and repoCache?  I hacked together an image with no commit batching on FindMergeBase these parameters:~
DefaultRepositoryCacheSize   = 20000
DefaultRepositoryCacheExpiry = 15 * time.Minute
DefaultRepositoryCacheJitter = DefaultRepositoryCacheExpiry / 20

~With these parameters, p99 for merge was 4.35s, p90 was 475ms (many merges).  I don't think these sizes are necessarily ideal for all users, but we will want them for any large user.  The ref manager code allows for configuration but Graveler setup doesn't have configuration options going all the way into the ref manager.~
EDIT: I fixed Grafana to show the wrong thing.  We get p99 29.6s, p90 26s, p50 ~12s.  Still much better than before, and definitely a cause to allow configuration... but not a solution to all difficulties :-(

THANKS!

Do you mean CommitsCache defaults perheps? I find it hard to believe that your experiment involves 20k repositories ;)

Thanks!

~Can we make it possible to configure commitCache and repoCache?  I hacked together an image with no commit batching on FindMergeBase these parameters:~
DefaultRepositoryCacheSize   = 20000
DefaultRepositoryCacheExpiry = 15 * time.Minute
DefaultRepositoryCacheJitter = DefaultRepositoryCacheExpiry / 20

~With these parameters, p99 for merge was 4.35s, p90 was 475ms (many merges).  I don't think these sizes are necessarily ideal for all users, but we will want them for any large user.  The ref manager code allows for configuration but Graveler setup doesn't have configuration options going all the way into the ref manager.~
EDIT: I fixed Grafana to show the wrong thing.  We get p99 29.6s, p90 26s, p50 ~12s.  Still much better than before, and definitely a cause to allow configuration... but not a solution to all difficulties :-(

THANKS!

Do you mean CommitsCache defaults perheps? I find it hard to believe that your experiment involves 20k repositories ;)

Nope, I patched the trunk, without your code in this PR.  So everything went into the repo cache.  Obviously now that this is in, I want to be able to configure the commit cache 👼🏽 .


Rudolph the red nosed mlr

It's just Rudolph disguised as a MLR train

Rudolph the MLR
Had a Very Shiny Head


[Event Request] codeunit 99000854 "Inventory Profile Offsetting" - OnMaintainPlanningLineOnBeforeReqLineInsert

Please add the parameter SkipInsert the event OnMaintainPlanningLineOnBeforeReqLineInsert. We want to skip the insert of the Requisition Line based on the actual values of the fields which are hard to predict upfront, for example the Quantity and Original Quantity. These fields are determined differently in various scenario's and can also be changed by existing events.  That is why it is not possible to use the existing event OnBeforeMaintainPlanningLine.
If the parameter SkipInsert is true then we want to exit the procedure, because in that case the code behind the insert does not make sense.
            OnMaintainPlanningLineOnBeforeAdjustPlanLine(ReqLine, SupplyInvtProfile, TempSKU);
            AdjustPlanLine(SupplyInvtProfile);
            "Accept Action Message" := true;
            "Routing Reference No." := "Line No.";
            UpdateDatetime;
            "MPS Order" := SupplyInvtProfile."MPS Order";
            OnMaintainPlanningLineOnBeforeReqLineInsert(
              ReqLine, SupplyInvtProfile, PlanToDate, CurrForecast, NewPhase, Direction, DemandInvtProfile, ExcludeForecastBefore, **SkipInsert**);
            if SkipInsert then
                exit;
            Insert;

[IntegrationEvent(false, false)]
local procedure OnMaintainPlanningLineOnBeforeReqLineInsert(var RequisitionLine: Record "Requisition Line"; var SupplyInvtProfile: Record "Inventory Profile"; PlanToDate: Date; CurrentForecast: Code[10]; NewPhase: Option " ","Line Created","Routing Created",Exploded,Obsolete; Direction: Option Forward,Backward; DemandInvtProfile: Record "Inventory Profile"; ExcludeForecastBefore: Date; **var SkipInsert: Boolean**)
begin
end;

Hi,
We cannot make exit here because there could be problems with next events in this functions.
Is it ok for you to make handled wrapping for line:
Insert;
instead of exiting?
If no, then please find another way for needed logic.

Thanks for the answer, but we want to stop the code of this function. Not only prevent the insert. We will look to another solution.

Ok. Please create a new request if needed.


Bugfix/background service

Could you please describe what was wrong and how you fixed it.

@DG12 several bugs and major refactoring. @ajdevy can explain more.

@DG12 background scanning was not working, but it is still not working as expected for Lauri, debugging...

Way did you add a back gateway?

@DG12 for easy testing, also it will come handy for future unit tests

Good idea. Please add a comment the source. These are the kind of things that, without comments, will surely cause confusion by anyone looking at the code and may even appear extraneous in the future and cause someone to remove it. Thanks


[WIP] 🐛  fix published_at is null

no issue
I have to investigate how i came into the situation.
Maybe this needs a fix on the server as well.

Coverage decreased (-0.009%) to 71.686% when pulling 1bf5ba56467d74b896bb4bb94d32d6fd07a5016c on kirrg001:fix/published-at-null into 371b9fd78eecde1e1ac1993cfff543306dc3f23a on TryGhost:master.

I can't reproduce this anymore. Not with importing databases, not with any UI interaction.
Still, this PR a good prevention.


Fixed the Build.scala file for Performers so that the build can be made

To fix the Build.scala file for Performers so that the build should be successful

Hi Shivansh,
I know that we haven't specified how to send PRs to the project yet in any documentation.
But next time you are creating a PR, please make sure:

You have a JIRA issue for it
You fix the issue under a branch named: IOTA-XX (XX is the number of the issue)
Create a PR where
Title: [IOTA-XX] Title in the issue
Desc: link to the issue

Thanks

Thanks for the info Barbara , will do it from next time. One more thing can
we have a slack channel for this for communicating. That would be
beneficial for all of us, where we can discuss about the tickets and the
issues that can be solved .
On Mon, Jul 4, 2016 at 11:14 PM, Barbara Gomes<EMAIL_ADDRESS>wrote:

Hi Shivansh,
I know that we haven't specified how to send PRs to the project yet in any
documentation.
But next time you are creating a PR, please make sure:

You have a JIRA issue for it
You fix the issue under a branch named: IOTA-XX (XX is the number
of the issue)
Create a PR where Title: [IOTA-XX] Title in the issue Desc: link
to the issue

Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-iota/pull/4#issuecomment-230333210,
or mute the thread
https://github.com/notifications/unsubscribe/AMNurgrr-PVgjVvdFCGOm_9Hf0cJXqzxks5qSUZlgaJpZM4JD7rk
.

--
Best Regards | Shivansh
Software Consultant
Knoldus Software LLP
India - US - Canada

Twitter http://www.twitter.com/shiv4nsh | FB
http://www.facebook.com/xeruo | LinkedIn
https://in.linkedin.com/pub/shivansh-srivastava/3a/204/251*


🐞 [Bug]: Visibility of structs and methods is lost

What happened?
The visibility keywords (pub, pub(crate) ...) of structs/methods are lost.
#[type_state(state_slots=5, default_state = Unset)]
pub struct SessionBuilder<'c> {
[...]

--> becomes in the expanded code
struct CaptureSessionBuilder<
        'cam,
        State1 = Unset,
        State2 = Unset,
        State3 = Unset,
        State4 = Unset,
        State5 = Unset,
    >
    where
[...]

Expected behavior
The visibility should be conserved.

That makes sense, I forgot about them while implementing the MVP solution. Will implement them shortly, and use #10 as the test case.
Thanks a lot for the thorough testing!


 Fixes #2839.
I couldn't reproduce #2715 which is related according to the issue and can probably be closed.

Update CHANGES.md.
Is there a reasonable test we could add that simulates the camera movement and tests that the inertia ends in a given time?

Just that comment.  I can confirm both #2839 and #2715 are fixed.

Is there a reasonable test we could add...?

I don't think so. The camera inertia isn't tested at all right now.

OK.


Fix authentication using username only

When using just an username for authentication, the password undefined would be used instead of ''.
Depends on #369 (a rebase is required).

@ruimarinho thanks for the contribution!
Landed on v2.12.0.


Pull request for MPC Diversity Fellowship Summer 2017

Fixed conflicts.  We can clean up the code in a follow up commit.


Support building, tagging and pushing Fedora images to Quay.io

Signed-off-by: Petr "Stone" Hracek<EMAIL_ADDRESS>

[test]


Images Fails to Load

The images in slider loads in live page after setup
The images in slider do not load after being replaced with new images
Tried : using png jpg jpeg and gif image formats

What version are you using?
This is probably related to update to latest version of the module. Your theme might need to be updated, if it contains template override. See this comment:
https://forum.thirtybees.com/topic/6050-solved-module-block-image-slider-wrong-img-dir/?do=findComment&comment=45773


Add devtodo

New App Submission

[X ] I've read the contribution guidelines.

Repo or homepage link: https://swapoff.org/devtodo.html
Description: DevTodo is a small command line application for maintaining lists of tasks. It stores tasks hierarchically, with each task given one of five priority levels. Data is stored as JSON.
Why I think it's awesome: I find it very useful mainly if someone use the terminal a lot, and instead using very distracting application, this one is very nice to be focused and stay farther from distractions

Thanks for the PR - it's a cool tool, but it's not written in Bash


[BottomNavigation] Label font-size shoud not increase when selected

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

Current Behavior 😯
The font size increases: https://github.com/mui-org/material-ui/blob/d4ea4c90cb4a82dbe21ecf51b3cd634c5df54b62/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.js#L67
Expected Behavior 🤔
https://material.io/components/bottom-navigation
Steps to Reproduce 🕹

Open https://mui.com/components/bottom-navigation/#bottom-navigation
Click on a new action
See how the dimension changes
Compare to https://material.io/components/bottom-navigation

Hi, i would like to try fix this.


Actions that cannot be performed by a Cluster member are available on an RKE1 cluster in a rancher setup when RKE2 flag is disabled

On 2.6-head commit id: b43e4d9
Actions that cannot be performed by a Cluster member are available on an RKE1 cluster in a rancher setup when RKE2 flag is disabled

It's possible that controller(s) that should be tied to V2 provisioning flag are controlled by RKE2 flag instead. We may need to switch which flag enables these controllers.

I reproduced this on a local single node DO RKE1 cluster, with the RKE2 flag both enabled and disabled. Both times I saw the Take Snapshot and Rotate Certificates options for the standard cluster member, so it's safe to assume the RKE2 flag status is unrelated to this bug.
PR in with fix https://github.com/rancher/rancher/pull/35963.

Testing template
Root cause
A standard cluster member on an RKE1 cluster was seeing options reserved for a cluster admin because the logic in the Norman API on what actions to make permissible to a user was incorrect.
What was fixed, or what changes have occurred

Updated https://github.com/rancher/rancher/blob/release/v2.6/pkg/api/norman/customization/cluster/actionhandler.go
Updated logic in https://github.com/rancher/rancher/blob/1a361b790d3099e004732ad2f51936456a53cd3c/pkg/api/norman/customization/cluster/formatter.go#L38

Areas or cases that should be tested

Create a new user
Create an RKE1 downstream cluster with user as a standard cluster member
Logout and login as user
You should only have access to the downstream cluster. View your cluster and make sure your actions drop down for the cluster looks like this

What areas could experience regressions ?
Rancher UI actions list for an RKE1 cluster if logic is overwritten.
Are the repro steps accurate/minimal ?
Yes.

Reproduction Setup

rancher version: v2.6.3
Downstream cluster: rke1, ec2, k8s: v1.21.9-ranche1-1

Reproduction Steps

Create user with standard permissions
Login as said user and create downstream cluster
Logout and log back in. Check the actions within the kebab menu.

Result
The actions available in the dropdown are not the permissible actions of a standard user.
**Setup For Validation **

rancher version: v2.6-head(
Downstream cluster: rke1, ec2, k8s: v1.21.9-ranche1-1

Create user with standard permissions
Login as said user and create downstream cluster
Logout and log back in. Check the actions within the kebab menu.

Results
The correct actions are available.
Screenshot
Reproduction Screenshot:

Validation Screenshot:


T023: Fix link to FDA approved kinase inhibitors.

Description
In T023, the link to the Blue Ridge Institute for Medical Research is deprecated, and needed updating.
Todos

[x] Fix link :)

Status

[x] Ready to go

Hi @t-kimber, thank you very much for spotting this ❤


is there a log for the running?

hello.
i run the system for a day but it seems that it miss some trade on copied.
how can i find the log of the system ?

No. We haven't log in program now. Can you help us and add the logger?

hello.i do not know how to add logger. nohup python api.py >> main.log 2>&1 &  may work.
i use screen in linux to let it run background

Logger added. The log is located in the logs/cct.log


DDB replication not working

There seems to be a problem using the DDB with a replication factor of 3 (probably anything >1).
Reproduction instructions

start database servers

dist/bin/actondb -p 32000 -m 34000 -s <IP_ADDRESS>:34000
dist/bin/actondb -p 32001 -m 34001 -s <IP_ADDRESS>:34000
dist/bin/actondb -p 32002 -m 34002 -s <IP_ADDRESS>:34000

ensure servers agree on membership

they normally do...

start app ./count 100 --rts-ddb-host localhost --rts-ddb-replication 3
application seems to run fine but lots of errors printed

I think there are two problems here

rather obviously something around quorum
but also that the application still runs - when we encounter these errors I think we should error out or something? like we have been asked to run with DDB and replication=3, if we cannot uphold that promise, shouldn't we stop?

If I try stopping the program in the middle, like after having counted to 0, and then restart it, so it should resume... it does not resume, it starts over, so it indicates to me that the database isn't used at all when we encounter these errors. Baaad.
Maybe we should split this into another issue... but I'll leave it like this for the time being.
Assigning to @aagapi for a start.
Outcome
kll@Boxy:~/terastream/acton/examples$ ./count 3 --rts-ddb-host localhost --rts-ddb-replication 3
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
Not enough servers configured for quorum (1/3 servers configured)
Not enough servers configured for quorum (1/3 servers configured)
No quorum (1/3 servers alive)
Not enough servers configured for quorum (1/3 servers configured)
No quorum (1/3 servers alive)
0
No quorum (1/3 servers alive)
Not enough servers configured for quorum (1/3 servers configured)
Not enough servers configured for quorum (1/3 servers configured)
No quorum (1/3 servers alive)
Not enough servers configured for quorum (1/3 servers configured)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
Not enough servers configured for quorum (1/3 servers configured)
Not enough servers configured for quorum (1/3 servers configured)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
1
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
Not enough servers configured for quorum (1/3 servers configured)
Not enough servers configured for quorum (1/3 servers configured)
No quorum (1/3 servers alive)
Not enough servers configured for quorum (1/3 servers configured)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
2
No quorum (1/3 servers alive)
Not enough servers configured for quorum (1/3 servers configured)
Not enough servers configured for quorum (1/3 servers configured)
No quorum (1/3 servers alive)
Not enough servers configured for quorum (1/3 servers configured)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
No quorum (1/3 servers alive)
3
No quorum (1/3 servers alive)
Not enough servers configured for quorum (1/3 servers configured)
Not enough servers configured for quorum (1/3 servers configured)
No quorum (1/3 servers alive)
Not enough servers configured for quorum (1/3 servers configured)
No quorum (1/3 servers alive)
kll@Boxy:~/terastream/acton/examples$

Maybe the part about the RTS not reacting properly to these database errors is best handled through #196 !?

Closing as #427 fixes this. There is a longer term fix that needs to happen but since the issue as reported in this issue is fixed, I don't want to leave this issue to track it. Rather I've opened #432 for the long term fix!


Add support to Laravel 9

Hi,
this PR just add support to upcoming Laravel 9.0

Sorry, I missed this completely!
Will verify soon ™ 🙃

closes #131

@felixkiss I would really like this to be merged due to reasons explained in this PR for a different package where I had the same problem: https://github.com/laravelista/comments/pull/183#issuecomment-1056900967
I have looked through the codebase vs the upgrade guide vs this PR
The changes would appear to work, but I haven't specifically tested this functionality (I have checked that I can update by composer), or even know how to. I am just a downstream user of this package through rinvex/laravel-support.
I am being held up by the reasons mentioned previously - but in short, If you merge this to master or another branch then that branch can be used without having to add a custom repo fork (laravel shift fork, etc) to each of my apps (just because they use a package which in turn uses this package).
Looking at your branch structure - there's only a single master branch - I would say your branching strategy appears different to that used in laravelista/comments (you probably don't use master as an experimental or unstable branch) - therefore I would suggest you simply change the base of the shift PR to be a new branch called l9-compatibility and merge the shift PR into that - then we can use and test the l9 changes without affecting master branch stability which I suspect you want to preserve, and anyone who wants to use/test the l9 can use it without specifying the laravel shift custom repo. When it's tested enough we can simply PR or merge directly to master - eg. the best of both worlds or win/win.
This is the last remaining dependency for all of my laravel apps to be upgraded - I would appreciate it if you could consider my requests. Any help is appreciated and I thank you for your contribution to this package which in turn helps packages that my package uses. ❤

Any update？

@felixkiss any chance of getting this in?

Any update on this PR?

Hi,
any update on this?
we need support for laravel 9 and php > 8.1


Eye corner

Any new ideas for eye corner detection?

A little late maybe but dlib has a very powerful facial landmark detection scheme which include eyes corners. I am currently trying to reimplement your algorithm (using python). I am already using the facial Landmarks to detect the eyes positions, and if I succeed, I'll try to implement the tracker using the eyes corners. Any way, thanks for your great code and explanation of Dr Timm algorithm!

Still working on that, made a python version of the algorithm. Now researching for geometrical model of the eye to track the gaze!


ERROR: unable to download video

#[youtube] RTMP download detected
#[download] Destination: 4E9NOoR9t9w.flv
#ERROR: unable to download video
#This is the  above message I get when I type the command below
command: youtube-dl "http://www.youtube.com/watch?v=4E9NOoR9t9w"
youtube-dl version: 2011.09.30
python version: Python 2.7.1+

This video is indeed private, and not accessible (at least for me) in the web interface. Therefore, I'm closing this issue. I'll reopen it if someone can provide a step-by-step list of how to watch the video in the web (or any other) interface, including the IP address (or at least the country) where requests originate from.


Fix WFS remote sorting

SDK-412

Coverage decreased (-0.06%) to 70.818% when pulling 4d0705525cc102e625e4eb4ab761855ade290ce6 on fix-wfs-sorting into d27f02b83cf446a32f9e34c8539c008d2b87c8c6 on master.


Ortho/Perspective matrices are different than from DirectX 9 Math library.

Hi there.
Currently i have working on some test and found some unclear moments between Mathfu and DirectX Math.
I know how the canonical perspective and orthographic matrices looks like. What i wondering is why DirectX Math uses different calculations for perspective and orthographic matrices?
I work with DirectX Math almost 10 years and never had a problems with projection matrices.
For example i had run tests from 'matrix_test.cpp' for DirectX 9 Math and get next results.
Right-handed perspective
   ( atan( 1.0 ) * 2.0, 1.0, -2.0, 2.0 )
        Mathfu              DirectX9
| 1.0  0.0  0.0  0.0 | 1.0  0.0  0.0  0.0 |
| 0.0  1.0  0.0  0.0 | 0.0  1.0  0.0  0.0 |
| 0.0  0.0 -0.5 -1.0 | 0.0  0.0 -0.5 -1.0 |
| 0.0  0.0  2.0  0.0 | 0.0  0.0  1.0  0.0 |

Left-handed perspective
   ( atan( 1.0 ) * 2.0, 1.0, -2.0, 2.0 )
        Mathfu              DirectX9
| 1.0  0.0  0.0  0.0 | 1.0  0.0  0.0  0.0 |
| 0.0  1.0  0.0  0.0 | 0.0  1.0  0.0  0.0 |
| 0.0  0.0  0.5  1.0 | 0.0  0.0  0.5  1.0 |
| 0.0  0.0  2.0  0.0 | 0.0  0.0  1.0  0.0 |

Right-handed orthographic
      ( 1.0, 3.0, 1.0, 3.0, 1.0, 3.0 )
        Mathfu              DirectX9
| 1.0  0.0  0.0  0.0 | 1.0  0.0  0.0  0.0 |
| 0.0  1.0  0.0  0.0 | 0.0  1.0  0.0  0.0 |
| 0.0  0.0 -1.0  0.0 | 0.0  0.0 -0.5  0.0 |
|-2.0 -2.0 -2.0  1.0 |-2.0 -2.0 -0.5  1.0 |

Left-handed orthographic
      ( 1.0, 3.0, 1.0, 3.0, 1.0, 3.0 )
        Mathfu              DirectX9
| 1.0  0.0  0.0  0.0 | 1.0  0.0  0.0  0.0 |
| 0.0  1.0  0.0  0.0 | 0.0  1.0  0.0  0.0 |
| 0.0  0.0  1.0  0.0 | 0.0  0.0  0.5  0.0 |
|-2.0 -2.0 -2.0  1.0 |-2.0 -2.0 -0.5  1.0 |

This moment is crucial in cross-platform development perspective. In fact, the DirectX math library is good enough for using it on Windows desktop systems. But for portability purposes we need another math library. And Mathfu looks good enough to use it on other systems.
But that difference mixes the cards. Does the different calculations makes the real difference in results?

Hey Franken, thanks for the question.
I looked into this too, a while back, when we added right/left-handed
support. It's caused by a difference between DirectX and OpenGL.

In DirectX, the z-near plane maps to -1. That is, DirectX depth
clipping happens on z values in the [-1, 1] range.
In OpenGL, the z-near plane maps to 0. That is, OpenGL depth clipping
happens on z values in the [0, 1] range.

MathFu creates OpenGL matrices, so they're slightly different than the
DirectX matrices. If you compare MathFu to glm, however, you should notice
that they're the same.
I agree it would be useful for cross-platform development to have support
for DirectX, too. If you'd like to create a pull request with that support,
I'd be very happy to take a look!
On Wed, May 3, 2017 at 3:35 AM, Franken<EMAIL_ADDRESS>wrote:

Hi there.
Currently i have working on some test and found some unclear moments
between Mathfu and DirectX Math.
I know how the canonical perspective and orthographic matrices looks like.
What i wondering is why DirectX Math uses different calculations for
perspective and orthographic matrices?
I work with DirectX Math almost 10 years and never had a problems with
projection matrices.
For example i had run tests from 'matrix_test.cpp' for DirectX 9 Math and
get next results.
Right-handed perspective
( atan( 1.0 ) * 2.0, 1.0, -2.0, 2.0 )
Mathfu              DirectX9
| 1.0  0.0  0.0  0.0 | 1.0  0.0  0.0  0.0 |
| 0.0  1.0  0.0  0.0 | 0.0  1.0  0.0  0.0 |
| 0.0  0.0 -0.5 -1.0 | 0.0  0.0 -0.5 -1.0 |
| 0.0  0.0  2.0  0.0 | 0.0  0.0  1.0  0.0 |
Left-handed perspective
( atan( 1.0 ) * 2.0, 1.0, -2.0, 2.0 )
Mathfu              DirectX9
| 1.0  0.0  0.0  0.0 | 1.0  0.0  0.0  0.0 |
| 0.0  1.0  0.0  0.0 | 0.0  1.0  0.0  0.0 |
| 0.0  0.0  0.5  1.0 | 0.0  0.0  0.5  1.0 |
| 0.0  0.0  2.0  0.0 | 0.0  0.0  1.0  0.0 |
Right-handed orthographic
( 1.0, 3.0, 1.0, 3.0, 1.0, 3.0 )
Mathfu              DirectX9
| 1.0  0.0  0.0  0.0 | 1.0  0.0  0.0  0.0 |
| 0.0  1.0  0.0  0.0 | 0.0  1.0  0.0  0.0 |
| 0.0  0.0 -1.0  0.0 | 0.0  0.0 -0.5  0.0 |
|-2.0 -2.0 -2.0  1.0 |-2.0 -2.0 -0.5  1.0 |
Left-handed orthographic
( 1.0, 3.0, 1.0, 3.0, 1.0, 3.0 )
Mathfu              DirectX9
| 1.0  0.0  0.0  0.0 | 1.0  0.0  0.0  0.0 |
| 0.0  1.0  0.0  0.0 | 0.0  1.0  0.0  0.0 |
| 0.0  0.0  1.0  0.0 | 0.0  0.0  0.5  0.0 |
|-2.0 -2.0 -2.0  1.0 |-2.0 -2.0 -0.5  1.0 |
This moment is crucial in cross-platform development perspective. In fact,
the DirectX math library is good enough for using it on Windows desktop
systems. But for portability purposes we need another math library. And
Mathfu looks good enough to use it on other systems.
But that difference mixes the cards. Does the different calculations makes
the real difference in results?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/mathfu/issues/22, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF3McHouCtWsvBq8L7EFd8IzWRSrKzbmks5r2FhqgaJpZM4NPN9K
.

@jsanmiya , thanks for response.

In DirectX, the z-near plane maps to -1. That is, DirectX depth clipping happens on z values in the [-1, 1] range.
In OpenGL, the z-near plane maps to 0. That is, OpenGL depth clipping happens on z values in the [0, 1] range.

I didn't thought about it. Can you help me providing some links to DirectX and OpenGL documentation about z plane mapping? Seems this information has eluded me.
What about PR for DirectX support, firstly i need to deeply understand the reasons of that difference. :)
Potential visual difference must be avoided, as for me.

So, i had found the documents about transformation pipeline of Direct3D and OpenGL.
Direct3D Transformation pipeline
OpenGL Transformation pipeline (another link)
I had found two interesting notes in Direct3D Transformation pipeline:
First one:

Clipping volume for all points Xp = (Xp, Yp, Zp, Wp) in the projection space is defined as:
-Wp < Xp <= Wp
-Wp < Yp <= Wp
0 < Zp <= Wp

Second:

This transformation can provide increased precision and is equivalent to scaling and shifting the clipping volume.
The corresponding Mclip matrix is:

At one side we have z-plane mapping in (0, 1]. Is it that what @jsanmiya talking about?
At another side we have note that such projection matrix is equal to regular one and can provide increased precision.
Or am i wrong in my conclusions?
OpenGL transformation pipeline gives me only one interesting note:

The range of values is now normalized from -1 to 1 in all 3 axes.

And here is the difference between DirectX and OpenGL - the range of normalized Z coordinate.

From 0 to 1 for DirectX
From -1 to 1 for OpenGL.

It could be important if viewport specifications for both api had lack of z-near and z-far fields.
But since we can change this range by viewport specification in both OpenGL and DirectX, i still can't figure out, how the difference in projection matrix can affect the picture.
Only note about additional precision still looks important enough to keep such difference.
Seems, i need to make visual and mathematical tests on both api with both types of projection matrices. It could take long time...


Error installing jest with npm

🐛 Bug Report
Hi all, when I try to install jest into a new project using npm install jest -D I'm getting an error that Unexpected end of JSON input while parsing near '....tgz"}},"13.2.1":{"na'
To Reproduce
Run npm install jest -D on a project that doesn't already have jest installed.
$ npm install --save-dev jest
npm ERR! Unexpected end of JSON input while parsing near '....tgz"}},"13.2.1":{"na'

npm ERR!      C:\Users\USER\AppData\Roaming\npm-cache\_logs\2019-05-30T21_32_07_851Z-debug.log

Expected behavior
Should install jest to the current project without an error.
Run npx envinfo --preset jest
npm ERR! Unexpected end of JSON input while parsing near '...yZn8LL2jCxQQBj9HtJZ\n'

It's an issue with npm, not jest. Feel free to use Yarn instead

It's an issue with npm, not jest. Feel free to use Yarn instead

Please how do you tell it's from npm and not jest ?

Because if it was jest, this issue would have like a 100+ upvotes already

Use Yarn instead of npm.

Use Yarn instead of npm.


Upgrade dependencies

Codecov Report

Merging #25 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #25   +/-   ##
=======================================
  Coverage   52.39%   52.39%
=======================================
  Files          10       10
  Lines         563      563
=======================================
  Hits          295      295
  Misses        245      245
  Partials       23       23

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 6a7b452...f48dcc7. Read the comment docs.


Whether to treat link events as messages like elm

        let mut route_service: RouteService<()> = RouteService::new();
        let route = route_service.get_route();
        let route = Route::from(route);
        let callback = link.callback(|(route, state)| -> Msg {
            Msg::RouteChanged(Route {
                route,
                state: Some(state),
            })
        });
        route_service.register_callback(callback);

error code link
Why not handle url change events and url interception in the update function
I'm new to rust, I can't find the link.callback function in the examples I write now
Examples in the project, many mistakes, no way to learn

This question might be better addressed towards the yew_router  crate.
To attempt to answer your questions -
Not every component needs to handle url change events, hence one is usually designated to handle that responsibility (by owning the RouteService and registering a callback to it), or that responsibility is offloaded to an agent, which is then responsible for updating components that are interested.
Up until a few PRs ago, lick.callback() was called link.send_back(). The name was changed because callback makes it more obvious what is being done (creating a callback to be called elsewhere later). So if you are on yew v0.10.0 or on an older branch, these examples will differ slightly from what will compile now due to breaking changes. Examples in Yew at this ref will work on yew v0.10.0.


Solr docmanager update() forces commit

I have a case where some code out of my control, is using update for every insertion of a new document into mongo. mongo-connector forces commit on every update call, resulting in multiple commits per second.
I have a configured autoCommit interval in Solr and run mongo-connector without auto-commit-interval, so i wonder if i can just comment out the self.commit() that forces the commit.
Is there any reason that this would a bad idea?
If not, perhaps this commit behavior could be changed or configurable.

The commit before the update is necessary because on an update, mongo-connector retrieves from Solr the document to be updated and applies the update to said document before re-inserting it. If the previous document is not committed, then the update cannot take place.

So that would mean an insert had to have taken place before the update?
What would be the right way to solve this? Having the "inserter" code use upsert or insert?

So that would mean an insert had to have taken place before the update?

That's correct.

What would be the right way to solve this? Having the "inserter" code use upsert or insert?

Well, the update operation that gets passed to the doc manager is a $set, $unset or replacement document, so this can't just be upserted to Solr. You could use a different strategy for updates, though: when you receive an update operation, retrieve the document with that id from MongoDB (i.e. the latest version of that document) and insert it to Solr. This doesn't quite have the same semantics as an update, but this way you can avoid a commit before each update.


RuntimeError: error not set, at /tmp/binarydeb/ros-foxy-rcl-1.1.11/src/rcl/node.c:276

Describe the bug
I am getting a runtime error when running the example. I cannot see either node with ros2 topic list or ros2 node list.
The error
RuntimeError: error not set, at /tmp/binarydeb/ros-foxy-rcl-1.1.11/src/rcl/node.c:276
ROS2.Utils.CheckReturnEnum (System.Int32 ret) (at /home/pjaroszek/projects/robotec/tasks/github/ros2-for-unity/release-1.1/ros2-for-unity-foxy/src/ros2cs/src/ros2cs/ros2cs_core/utils/Utils.cs:37)
ROS2.Node..ctor (System.String nodeName, ROS2.rcl_context_t& context) (at /home/pjaroszek/projects/robotec/tasks/github/ros2-for-unity/release-1.1/ros2-for-unity-foxy/src/ros2cs/src/ros2cs/ros2cs_core/Node.cs:61)
ROS2.Ros2cs.CreateNode (System.String nodeName) (at /home/pjaroszek/projects/robotec/tasks/github/ros2-for-unity/release-1.1/ros2-for-unity-foxy/src/ros2cs/src/ros2cs/ros2cs_core/Ros2cs.cs:130)
ROS2.ROS2Node..ctor (System.String unityROS2NodeName) (at Assets/Ros2ForUnity/Scripts/ROS2Node.cs:38)
ROS2.ROS2UnityComponent.CreateNode (System.String name) (at Assets/Ros2ForUnity/Scripts/ROS2UnityComponent.cs:86)
ROS2.ROS2ListenerExample.Update () (at Assets/Ros2ForUnity/Scripts/ROS2ListenerExample.cs:39)

Note: /home/pjaroszek/projects/robotec/tasks/github/ros2-for-unity/release-1.1/ros2-for-unity-foxy/src/ros2cs/src/ros2cs/ros2cs_core/Node.cs:61 is not a path on my system. @pijaro it seems that your paths are hard coded somewhere in the release?
To Reproduce
Steps to reproduce the behavior:

Download the latest release (1.1.0)
Source ROS distro
Launch editor
Create two empty objects, add a ROS Unity Component to each of them
Add the talker example script to one
Add the listener example script to the other
Hit play

Expected behavior
The nodes talk to each other, and I can see them with ros2 topic list and ros2 node list
Screenshots
Desktop (please complete the following information):

OS: Ubuntu 20.04
ros2 distro: foxy
ros2-for-unity version 1.1.0 release
ros2cs version: unsure, I think 1.1
ros2 dds middleware: cyclonedds
ros2 environment setup : single pc

Additional context
N/A

Hello,
no, there are no hardcoded paths and this has nothing to do with the error. The paths you are getting come from debug symbols which are also included in the unity package.
As for the issue, it looks like there is a problem with creating ros2 node. Could you provide a full editor log?
Also could you:

double-check if you are able to publish and receive some dummy messages in the terminal (ros2 topic pub ..., ros2 topic echo ...),
try adding <PROJECT_DIR>Assets/Ros2ForUnity/Plugins/Linux/x86_64 to your LD_LIBRARY_PATH before running editor,
double check if the foxy is the only sourced ROS2 version, maybe there is galactic in your ~/.profile/~/.bashrc that you are not aware of? (I see that you wrote that you are using foxy, but this error looks like the ros versions mismatch),
tell me if this error also happens when using rmw_fastrtps_cpp as a DDS middleware?

@Raphtor any luck with the error following @pijaro explainations?

Yes, I tried all of those. I ended up just using the ROS2 solution supported by Unity via their TCP connector.


Install custom CRX Chrome extension

Hi, is there any way to load a custom Chrome extension as crx file like vimium c and use them for all stations? It would be a game changer for me to only use the station with the keyboard.
I found there is a ~/.config/Station/ChromeExtensions directory.

It's not possible for now


Add root redirects for all pages?

Maybe not for all pages, but at least for components, layout etc so that one can do https://getbootstrap.com/components/alerts/ and they will be redirected to our latest page like https://getbootstrap.com/docs/5.0/components/alerts/. I know I've needed this myself in the past for linking to components.
If one page is removed in the future, the redirect will still point to the latest version it existed.
Now, some notes:

I'm not sure if Hugo has an easy way instead of us specifying an alias for each page, maybe @regisphilibert has an idea :)
This won't be a replacement to what we've discussed about adding, a /docs/latest/ endpoint, but since I'm not sure how/if we'll get to do that, this should at least help with linking regardless of the version.
If we do it on master, we probably shouldn't do it on v4-dev unless I'm missing something, because we might release a 4.x patch release after a v5.0 release and many pages are the same so the links will change.
Another thing we could do is do /components/4.x/alerts/ replacing the minor version with x

Just thinking out loud here, maybe I'm missing something obvious and this won't be a good change and it will cause issues for us in the future. So, please discuss :)

Closing for now.


Update NOT_ALLOWED_SSR_EXTENSIONS_REGEX to specifically look for a dot before the file extension

Short Description and Why It's Useful

The current regex also matches for urls ending with for example ico, without the dot:
https://www.regextester.com/?fam=114754
The updated one checks if there's a . before the given file extension list:
https://www.regextester.com/?fam=114755
In my case I got a 404 page result because my path was something like /testico.
Which Environment This Relates To
Check your case. In case of any doubts please read about Release Cycle

[x] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[ ] I've updated the Upgrade notes and Changelog on how to port existing Vue Storefront sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and Currently Important Rules Acceptance

[x] I read and followed contribution rules

@haelbichalex Thanks! please just update the changelog and it's ready to be merged in.

@andrzejewsky Done 👍


Why are link templates gone? This prevents my lib from updating to 1.0

Hi, guys.
I'm working on a Python project attempting to implement JSON-API without a framework; the ones we investigated are not mature enough.
That said, I did write a full PHP framework a while ago, https://github.com/GoIntegro/hateoas. It was based on a pre-v1.0 spec.
The PHP framework implemented absolutely everything on the spec, and it was quite dependent on the link templates.
Now I'm reviewing the new spec with a teammate and in attempting to describe a link (of a single kind) between a resource and two others, I find there is no way to properly do this according to the spec.
Currently, I'm hit with a little message stating that "in the future a collection link might include a list of URLs". I consider this to be a pretty basic requirement, which the pre-v1.0 spec accomplished.
Am I missing something? How can I describe this link and provide URLs for both linked resources on my resource object?
Thanks!

in attempting to describe a link (of a single kind) between a resource and two others, I find there is no way to properly do this according to the spec.

I think that what you're looking for is the links bag within each relationship object, which has a related key for linking to the associated resource(s). Different relationships can have different related links, so the client can find the associated resources for each.
If you want to find the URI for each target resource in a to-many relationship, you'll have to fetch that relationship's related URI and then look at the self links in the response. This should give you everything you need, since it actually returns the related resources too.
If you're looking for a way to get the URI for each of the to-many related resources without fetching that collection, there isn't currently a way to do that. But there's an open issue for it that we'll likely be addressing in 1.2 (#477) and, until then, you can put the URI in the resource identifier objects' meta key if need be.
Do any of those options work, or am I misunderstanding your question?

Actually, I think you nailed it.
The related links will definitely do. It does prevent me from fetching each of the to-many targets individually (which the pre-v1 spec allowed through URI templates), but I'm happy to fetch the entire collection for the specific scenario we're developing currently.
Thanks, @ethanresnick!

Glad to help! And again, re fetching each individually: that'll likely be supported soon through #477.


config cache problems in problem api

Initial version
some tests need fixing
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test APT

I've triggered the following builds for you. Click here to see all build failures.

AllPerformanceTestsReadyForRelease build

The merge queue build has failed. Click here to see all failures.

The merge queue build has failed. Click here to see all failures.


Can't compile because of Newtonsoft.Json (versions collapse)

there are two different versions of Newtonsoft.Json and that cause a problem with compilation because we can't add a reference for two different versions because they use the same name, functions and all stuff like that.
So correct this quickly please because this problem exist since a long time.

my PR #1129 resolve the problem.