Tried to compile FHIRtoolkit4 and FHIRtoolkit3 but it fails

I tried to compile FHIRtoolkit4 and FHIRtoolkit3 but I think you reorganised a lot of the sources files used in .dpr files and now the toolkits can be compiled.
Please add also C:\work\fhirserver\dependencies\Indy10 also in projects' search path
Thank you again for this huge work....

Or it is my fault?

toolkit is deprecated in favour of toolkit2. I'm phasing the code out soon


feat: Add HistoricAcceptList param

Description
closes: #1598

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] added appropriate labels to the PR
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Codecov Report

Merging #1599 (6fe46bc) into main (1813b2e) will increase coverage by 0.18%.
The diff coverage is 79.25%.

@@            Coverage Diff             @@
##             main    #1599      +/-   ##
==========================================
+ Coverage   55.33%   55.51%   +0.18%
==========================================
  Files          66       67       +1
  Lines        6636     6717      +81
==========================================
+ Hits         3672     3729      +57
- Misses       2691     2711      +20
- Partials      273      277       +4

Impacted Files
Coverage Δ

x/leverage/keeper/grpc_query.go
62.68% <0.00%> (-1.50%)
:arrow_down:

x/oracle/keeper/params.go
52.83% <0.00%> (-8.04%)
:arrow_down:

x/oracle/types/genesis.go
63.63% <50.00%> (-36.37%)
:arrow_down:

x/oracle/types/params.go
96.10% <73.07%> (-1.30%)
:arrow_down:

x/oracle/types/keys.go
92.59% <77.77%> (+32.59%)
:arrow_up:

x/oracle/keeper/genesis.go
85.36% <85.36%> (ø)

x/oracle/keeper/historic_price.go
93.81% <94.73%> (-0.13%)
:arrow_down:

x/leverage/keeper/keeper.go
66.41% <100.00%> (+0.12%)
:arrow_up:

... and 2 more


Support for Typescript .tsx?

Do you think it's possible to support JSX now that it's going to be supported by Typescript 1.6?
Having integration between React and Typescript JSX could potentially lead to the best IDE support any lightweight UI framework has ever seen :-)
At present, it would require a hack (or a custom JSX compile step) since Typescript is currently hard-wired to React.*, but they are discussing options and maybe you'd like to chime in and let them know what you think is needed to provide integration/support for other frameworks such as Riot?

Some time ago I tried to figure out how JSX and Riot could be mixed together, but I wasn't able to come out with a good solution, so I pushed aside the idea.
The major obstacle is that JSX support is too specifically made for React, and even if they "generalize" it, a react-like framework has to be used.
But I might be wrong, so I will keep an eye on it.
Of course if you have a suggestion on how to make riot work with JSX, please share here. Writing a JSX plugin should not be a problem I guess.

At the moment, as far as I can tell, the only thing that ties this feature to React, is the fact that the generated code says e.g. React.createElement(...) - at the moment, you can simply declare a module with a function of that name, and you're set.
There's nothing React-specific about the way that this function works, as far as I can tell - it's expected to take an element name, attributes, and a variable number of child elements, and return any sort of model created from that.
For example, the following compiles and works, without React:
module React {
  export function createElement(tag : any, props ?: any, ...children : any[]) : any {
    console.log(arguments);
  }
}

var a =

  {[12, 20].map(i => half of {i} is {i/2})}

Riot has an element-model of some sort, right? It should be possible to take the input data and create whatever model is needed from that (?)
Type-checking elements is done by adding them to the JSX namespace.
I don't think there's much more to it than that. But I haven't really dug into the innards of Riot, so I don't really know how it works ;-)

The problem is not how to plug it to JSX. Even if it's hardcoded we could write a fake React class that maps to riot.
The actual problem is that they are too different frameworks. Riot is more like Polymer than React.
Perhaps we could use JSX transformation not for runtime, but for compile-time. E.g. the JSX could generated a .js that in turn generates a .tag template file that can be loaded by riot.
I suggest to look if other JSX implementations will emerge (e.g. for Polymer, Angular, etc) so we can "steal" the idea.

I spent the afternoon trying to use JSX instead of ES6 template strings (a la srackham). JSX doesn't really offer anything extra that can't be done with ES6.
I did have luck with passing a Class to the riot.tag() function, so this could be a way to re-merge the template and the code into a single file. However I suspect RiotTS does a bit more connection work.

JSX doesn't really offer anything extra that can't be done with ES6

@web3d0 really, how about IDE and compile-time support - inspections for proper nesting and attributes/types, auto-completion, etc.? This is the main thing (nay, the only thing) I wanted out of JSX support in the first place...

As @nippur72 said, the problem is that the syntax inside of the tag file is Riot's own little template language. Using JSX won't fix up whether it's "variable" or "this.variable" or the Riot looping constructs, etc. So putting JSX into Riot means rewriting the templating engine rather than plugging them together.
I'm still struggling a lot to make Webstorm work with RiotTS. I seem to need the reference path at the top of every .ts file, and Live Edit doesn't work outside of index.html. So I'm still trying to extract the main benefits of RiotTS, though it's a step forwards for the code at least, without the template checks.

As there is no clear way how to make .tsx work with riot, I'm closing this for now.


Service communication implementation

Protocol implementation with three base commands, register/unregister to store information about runnig vm's at the moment, ps to list running vm's

@m-kat what we need to change from an opensource perspective is that every source file has to contain the license. You can look at existing code I wrote for cut&paste :)
Thanks


How to write layer to achieve those equations?  Any suggestion or material?

h_a = tanh(W_i * v_i + ( W_q* v_q + b_a)) ,
v_i and v_q are inputs, other parameters need to be trained.

You don't need to, it can be achieved with Dense, merge and Activation layers:
v_i = Input(...)
v_q = Input(...)
d_inner = Dense(N, activation="linear")(v_q)
d_outer = Dense(N, activation="linear", bias="false")(v_i)
s = merge([d_inner, d_outer], mode="sum")
h_a = Activation("tanh")(s)

@kgrm  Thank you very much!
above input v_i is a matrix,  which has a dimension  of  d * m. But v_q is a vector, which has a dimension of d.  I must to rewrite merge to achieve this  '+'.
In the begining, I want to write a new keras layer to achieve this equation, but I failed. Did you ever write a layer like this, which has two inputs.


django-pipeline error ckeditor

Hi, any used django-pipeline for compress files, i used but
whan apply collectstatic compress all css ckeditor and ckeditor not working lauch error
for find contest.css and other files js and css :/
any tips o trick like working ckeditor for compress files
thank any idea or tips

Should be fixed now.


Setup demo app

Setup demo app and add to package.json
"ember-addon": {
  "configPath": "tests/dummy/config",
  "demoURL": "http://ember-intl.io"
}

https://github.com/yahoo/ember-intl/pull/165


Set up associations

Add classroom.rb file
Add rental.rb file
Add book.rb
Implement many-to-many relationship
Implement has-many/belongs-to,
Updatestudent.rb file
Update person.rb file
Update README.md file
Run linters for errors

thank you @algerina


MVP-228 Error states for reporting date

Screenshots below.  Incomplete and Format errors use same content

Still some discussion going on about what error states are needed.  Dev colleagues have a different view  so conversation needed


structs -> classes

struct is currently used in many places where class is more appropriate ( https://msdn.microsoft.com/en-us/library/ms229017.aspx ).
The most important instance of this (because of frequency of use) is Message and Message<TKey, TValue>. I wanted to do some profiling before making the change because I thought struct may have some perf benefit here (even if it's use is not advised). I ran the benchmark test using both a class and struct variant of Message / Message<TKey,TValue> and profiled with dotTrace. Quick and dirty, but give some indication.
Averaged over 10 runs with N=5M, the mean run time for the class variant was 80457ms (std: 3134)
Averaged over 10 runs with N=5M, the mean run time for the struct variant was 81690ms (std: 2065)
Time spent in GC:
11.34%	+-1.03% (class)
11.35%	+-1.10% (struct)
the difference isn't statistically significant.

wonderful


Panic: unexpected end of input

Minimal reproducer:
let mut data: &[u8] = b"a: ''|\n 0";
let mut parser = libyaml_safer::Parser::new();
parser.set_input_string(&mut data);
let _ = libyaml_safer::Document::load(&mut parser);

It would be helpful to know if the behavior is different here from unsafe-libyaml. This library is intended to be "bug-for-bug" compatible, so that's important (but that doesn't mean we can't do something better, like not panic).


SignalR: Client awaiting long running server method leads to timeout on server-side

Describe the bug
I have a small setup where a C# client invokes a server method without parameters, simply waiting for an URL to return (both are v3.0.0-preview5). In my test setup, the server works on that zip file for 100s. During the call, the server prepares a zip file and returns a link to that file once finished. The server frequently sends status updates to the client.
With logs enabled on both sides and also using wireshark, I can see that the client sends pings regularly. However, if I get the source code right, the server does not process these pings due to the pending await call. The following happes:

after 30s, the server detects that no new message was received but continues without complains (I think this is intended)
after 60s, the server detects again that no frame was received and tries to abort the connection, but the invoked method continues to run. At this point, the client is not receiving status updates anymore from the server.
after 90s, the server detects again that no frame was received and tries to abort the connection, but the invoked method continues to run
after 100s, the invoked method returns, and the connection is actually aborted. OnDisconnectedAsync is called. On the client side, the error "A task was cancelled" appears.

I am not sure if this is by design (i.e. 'don't use async/await for very long running methods'), or if this is a bug, since the pings from the client are not processed.
If it is by design, what is the recommended alternative, when a client needs to wait for a long running methods?
To Reproduce
Hub content:
using Microsoft.AspNetCore.SignalR;
using System;
using System.Threading.Tasks;

namespace WebApplication1
{
    public class Broadcaster : Hub<IBroadcaster>
    {
        public Task<string> GetUrl()
        {
            int counter = 0;

            return Task.Run(async () =>
            {
                for (int i = 0; i < 100; i++)
                {
                    await Task.Delay(TimeSpan.FromSeconds(1));
                    await this.Clients.Client(this.Context.ConnectionId).SendProgress(counter, "Progress");
                    counter += 1;
                }

                return "url";
            });
        }
    }
}

Callback interface:
using System.Threading.Tasks;

namespace WebApplication1
{
    public interface IBroadcaster
    {
        Task SendProgress(double percent, string message);
    }
}

Client:
 _connection.On("SendProgress", (double percent, string message) =>
{
    Console.WriteLine($"{percent,3:0}%: {message}\n");
});

var url = await _connection.InvokeAsync<string>("GetUrl");

Expected behavior
I would expect that during an active connection where the client sends ping messages and server sends status updates, the connection is not cancelled.
Additional context
Include the output of dotnet --info
.NET Core SDK (gemäß "global.json"):
 Version:   3.0.100-preview5-011568
 Commit:    b487ff10aa

Laufzeitumgebung:
 OS Name:     Windows
 OS Version:  10.0.17763
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview5-011568\

Host (useful for support):
  Version: 3.0.0-preview5-27626-15
  Commit:  61f30f5a23

.NET Core SDKs installed:
  2.1.602 [C:\Program Files\dotnet\sdk]
  2.2.203 [C:\Program Files\dotnet\sdk]
  3.0.100-preview5-011568 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.0.0-preview5-19227-01 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0-preview5-27626-15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.0.0-preview5-27626-15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

I am not sure if this is by design (i.e. 'don't use async/await for very long running methods'), or if this is a bug,

This wouldn't be by-design. You should definitely be using await here ;).
I can repro this using your sample code (repo: https://github.com/anurse/longmethodrepro). I get the following logs on the server:
dbug: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[1]
      Received hub invocation: InvocationMessage { InvocationId: "1", Target: "GetUrl", Arguments: [  ], StreamIds: [  ] }.
dbug: Microsoft.AspNetCore.SignalR.HubConnectionContext[9]
      Client timeout (30000ms) elapsed without receiving a message from the client. Closing connection.

The client gets:
info: Microsoft.AspNetCore.Http.Connections.Client.Internal.WebSocketsTransport[11]
      WebSocket closed by the server. Close status NormalClosure.
dbug: Microsoft.AspNetCore.Http.Connections.Client.Internal.WebSocketsTransport[4]
      Receive loop stopped.
trce: Microsoft.AspNetCore.SignalR.Client.HubConnection[42]
      Waiting on Connection Lock in ReceiveLoop (/_/src/SignalR/clients/csharp/Client.Core/src/HubConnection.cs:1093).
trce: Microsoft.AspNetCore.SignalR.Client.HubConnection[20]
      Releasing Connection Lock in ReceiveLoop (/_/src/SignalR/clients/csharp/Client.Core/src/HubConnection.cs:1102).
dbug: Microsoft.AspNetCore.Http.Connections.Client.HttpConnection[4]
      Disposing HttpConnection.
dbug: Microsoft.AspNetCore.Http.Connections.Client.Internal.WebSocketsTransport[8]
      Send loop stopped.
info: Microsoft.AspNetCore.Http.Connections.Client.Internal.WebSocketsTransport[6]
      Transport is stopping.
dbug: Microsoft.AspNetCore.Http.Connections.Client.Internal.WebSocketsTransport[2]
      Transport stopped.
info: Microsoft.AspNetCore.Http.Connections.Client.HttpConnection[6]
      HttpConnection Disposed.
dbug: Microsoft.AspNetCore.SignalR.Client.HubConnection[46]
      Canceling all outstanding invocations.
trce: Microsoft.AspNetCore.SignalR.Client.HubConnection[13]
      Removing pending invocation 1.
trce: Microsoft.AspNetCore.SignalR.Client.Internal.InvocationRequest.NonStreaming[2]
      Invocation 1 disposed.
trce: Microsoft.AspNetCore.SignalR.Client.HubConnection[11]
      Shutting down connection.

Unhandled Exception: System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at Microsoft.AspNetCore.SignalR.Client.HubConnection.InvokeCoreAsyncCore(String methodName, Type returnType, Object[] args, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.SignalR.Client.HubConnection.InvokeCoreAsync(String methodName, Type returnType, Object[] args, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.SignalR.Client.HubConnectionExtensions.InvokeCoreAsync[TResult](HubConnection hubConnection, String methodName, Object[] args, CancellationToken cancellationToken)
   at Client.Program.Main(String[] args) in C:\Code\anurse\Scratch\longmethodrepro\Client\Program.cs:line 35
   at Client.Program.<Main>(String[] args)

A couple things of note:

It always happens around 60 seconds
The client appears to be continuing to send pings, a Fiddler trace showed pings occurring every 15 seconds.
The server appears to be erroneously believing that the client has timed out.

We'll investigate further!

After some discussion with @BrennanConroy this is somewhat expected behavior because you are returning the long-running Task from your Hub method and we block the processing loop based on that Task. We're looking at changing that behavior in https://github.com/aspnet/AspNetCore/issues/5351
As a workaround, you could pass this work off to a background service of some kind that uses IHubContext to send progress back to the client. Note: If you kick off a background process (and don't return that Task from your hub method) you can't call this.Clients from that background process. You have to use IHubContext, since the Hub will be disposed and become invalid while your background process is running.

Going to close this since it is "expected" in the current implementation and we have #5351 tracking an improvement that should resolve this issue.
In general, I would recommend not having such a long-running non-streaming Hub method and using the background service behavior I suggested above. Your Task.Run isn't really doing anything here since you're returning the task to us to await, so your hub method is exactly equivalent to the following (in fact, the only difference is that your code ends up being slower since it has to reenter the thread-pool queue). There's no need to jump off the current thread if you're just going to block the outer task waiting for the inner one to finish.
using Microsoft.AspNetCore.SignalR;
using System;
using System.Threading.Tasks;

namespace WebApplication1
{
    public class Broadcaster : Hub<IBroadcaster>
    {
        public async Task<string> GetUrl()
        {
            int counter = 0;

            for (int i = 0; i < 100; i++)
            {
                await Task.Delay(TimeSpan.FromSeconds(1));
                await this.Clients.Client(this.Context.ConnectionId).SendProgress(counter, "Progress");
                counter += 1;
           }

           return "url";
        }
    }
}

Thank @anurse for investigation. I switched now to a background service which handles the request to not block the hub for a long time. I no longer run into timeouts.

But more convenient would be to simply await the result :)

Definitely agree. #5351 will make that work better since we won't be blocking the message loop on running the Hub.
Another super hacky way you could do this is with the streaming support, since we don't block the message loop on those requests. You can just stream only a single item back :). It's a big hack though and a breaking change to your Client if you switch back and forth between streaming and non-streaming.


Metaclass conflict with Settings object

File "/brainframe-qt/brainframe_qt/ui/resources/settings.py", line 14, in <module>
  class Setting(QObject, Generic[T]):
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

For some reason, this only seems to occur during the PyInstaller build

For some reason, this only seems to occur during the PyInstaller build

https://github.com/python/cpython/blob/5b1e50256b6532667b6d31debc350f6c7d3f30aa/Lib/typing.py#L907-L908
In Python3.6, Generic uses ABCMeta for its metaclass, but I guess this is no longer the case with more modern python versions

PEP 560 solved the problem in Python3.7
https://www.python.org/dev/peps/pep-0560/#metaclass-conflicts

All generic types are instances of GenericMeta, so if a user uses a custom metaclass, then it is hard to make a corresponding class generic. This is particularly hard for library classes that a user doesn't control. A workaround is to always mix-in GenericMeta:
class AdHocMeta(GenericMeta, LibraryMeta):
    pass

class UserClass(LibraryBase, Generic[T], metaclass=AdHocMeta):
    ...

but this is not always practical or even possible. With the help of the proposed special attributes the GenericMeta metaclass will not be needed.

#145 unexpectedly did not end up solving the issue

AFAICT this is just not supported in Python3.6. We'll just remove Generic hinting for now


[context] Remove dependency on JavalinConfig & reduce Context size by 8 bytes

This PR:

Replaces global JavalinConfig with dedicated JavalinServletContextConfig
Replaces 2 references to objects with 1 reference to constant cfg instance
Creates a space for further properties pulled out from global cfg

I forgot that JavalinServlet is created with default cfg and then mutates, so changes from user supplier were not applied in init. I've moved ctx cfg to lazy, so it's created during the first request.

Thanks!


Async component inside  is not rendered during SSR

Environment
------------------------------
- Operating System: Linux
- Node Version:     v20.18.0
- Nuxt Version:     3.14.159
- CLI Version:      3.15.0
- Nitro Version:    2.10.4
- Package Manager<EMAIL_ADDRESS>- Builder:          -
- User Config:      -
- Runtime Modules:  -
- Build Modules:    -
------------------------------

Reproduction
https://stackblitz.com/edit/github-czfpw6?file=app.vue,pages%2Findex.vue,components%2FTestRender.vue
Using <Teleport> together with an async component like so:
TestRender.vue
<template>

{{ data }}

</template>

<template>
  <Teleport to="#teleports">
    <TestRender />
  </Teleport>
</template>

Describe the bug
This leads to a hydration mismatch:
runtime-core.esm-bundler.js:51 [Vue warn]: Hydration children mismatch on
…

Server rendered element contains fewer child nodes than client vdom.
  at <Index onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > >
  at <Anonymous key="/" vnode= {__v_isVNode: true, __v_skip: true, type: {…}, props: {…}, key: null, …} route= {fullPath: '/', hash: '', query: {…}, name: 'index', path: '/', …}  ... >
  at <RouterView name=undefined route=undefined >
  at <NuxtPage>
  at <App key=4 >
  at <NuxtRoot>

The cause for the mismatch is that the async component is never rendered during SSR.
Additional context
No response
Logs

Hello this is a Vue issue that you can find here


.done / .then is not a function

I am constanly getting an errror .done, .then is not a function.
blog:208 Uncaught TypeError: server.boxro.query(...).only(...).done is not a function
    at Array.<anonymous> (blog:208)
    at Ws.fireConnect (doitws.js:157)
    at WebSocket.Ws.conn.onopen (doitws.js:34)

but when i do without .done, .then, it does return most of the function available like desc, filter
but .done and .then is not working at all.

Are you able to share the code that you're getting the error? I think there might be an error in the documentation, you need to invoke execute to get the Promise to "start" - https://github.com/aaronpowell/db.js/blob/master/tests/specs/query.js#L257-L265
Also the done method no longer exists on the Promise object that's returned since it was migrated to ES2015 Promises rather than jQuery Deferred.

I am just trying these code from doc:-

https://github.com/aaronpowell/db.js#getting-a-single-object-by-key

below is the code which gives error -
server.boxro.query('page1').only(page).then(function(results){
                    console.log(results);
                    makeAppend(jQuery(results));
                });

I'd say that I have an error in the docs, can you try:
server.boxro.query('page1').only(page)
    .execute()
    .then(function(results){
                    console.log(results);
                    makeAppend(jQuery(results));
                });

great! That is working now.
Thanks so much.


Support encode/decoding Cow in the same way as Rc, a plain passthrough

If we had support for using more specific impls, we could add a blanket
encode/decode for all types implimenting Deref<Target=Encodable> (and
similar for Decodable), but for now this will do.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @huonw (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Thanks! I pushed an extra commit to generalize to use ToOwned instead of just Clone


Update start-installation.md

https://github.com/francoispluchino/composer-asset-plugin/blob/master/Resources/doc/index.md#project-scope-installation

this change is not correct, we are relying on ~1.0.0 in all other places which is not necessarily wrong.


firecrest: recipe and device-tree for driver

Looks great. This makes it possible to remove certain features, e.g. sound, that may be unnecessary.


Change repeatable names on display

WHY
This will make old() wrapper work for repeatable by using [] arrayed names.
BEFORE - What was wrong? What was happening before this PR?
Fields didn't overwritte the name in PHP only in JS. This way old() would get the real name eg: category instead of the repeatable correct name repeatable[row][category]
AFTER - What is happening after this PR?
Names are changed before displaying them.
HOW
How did you achieve that, in technical terms?
Setup the name before repeatable initializes.
@tabacitu this seems to fix the problem.
This points to create-old-input-helper branch,
This does not take into account fields with arrayed names.

Pedro... I think we're onto something here.
Please:

[ ] test this thoroughly, to see if it will have negative implications on any fields;
[ ] let's talk date_range changes, before we do them; what are our options? any chance we can keep both the array names (no breaking change) and this?
[ ] if we do this, shouldn't we remove the JS that does this in repeatable? or do we still need that?

let's talk date_range changes, before we do them; what are our options? any chance we can keep both the array names (no breaking change) and this?
We can still have both, but notice that date_range will not work inside repeatable with old() data and would probably break if it happens to have the same name of some other field in the form because date_range name will only change in JS as previously the other fields.

if we do this, shouldn't we remove the JS that does this in repeatable? or do we still need that?
Nop, we still need the JS version that takes care of naming when new item is added or items are moved.

I pulled this PR and made few tests.
As always, that's my field definition.
        CRUD::addField([
            'name'    => 'characters',
            'label'   => 'Assosciate Characters with this origins.',
            'tab'   => 'Relationships',
            'wrapper' => [
                'class' => 'form-group col-md-6',
            ],

            'pivot_selector' => [
                'wrapper' => [
                    'class' => 'form-group col-md-6',
                ]
            ],
            'pivotFields' => [
                [
                    'name'    => 'as',
                    'type'    => 'text',
                    'wrapper' => [
                        'class' => 'form-group col-md-6',
                    ],
                ],

            ],

            'new_item_label'  => 'Associate Character',
            'init_rows' => 0,
            'min_rows' => 0,
            'max_rows' => 10,
        ]);

When updating (creating works fine)resource, it throws an exception.
( i am not overwriting any view, cleared cache etc.)
Undefined array key "characters"
Illuminate\Foundation\Bootstrap\HandleExceptions::handleError
vendor/backpack/crud/src/app/Library/CrudPanel/Traits/Create.php:119

/// Traits/Create.php:119
if (isset($field['pivotFields'])) {
                    foreach ($values as $pivot_row) {
                        Log::channel('daily')->debug($pivot_row);
                        $relation_data[$pivot_row[$field['name']]] = Arr::except($pivot_row, $field['name']);

                    }

                }

This doesn't seem to be correct.
[2021-12-23 16:58:35] local.DEBUG: array (
  'characters[0' =>
  array (
    'characters' => '2',
    'as' => 'saddasasdasd',
  ),
)

Hey @PitchRE , I can't stress enough how important it was for me that you stick with this issue and provided all the help needed to reproduce it! I really appreciate your efforts here. 🙏
I was finally able to reproduce it and I think it's now fixed for good.
I don't wanna ask, but .. wanna try ? 😄
Thanks again, and Merry Christmas!
Pedro

@pxpm You too! :)
Thank you for work you are putting into this issue.
I executed composer update with "backpack/crud": "dev-change-repeatable-names-on-display as 4.1.99",.
So the problem right now is that updating "kinda works" but  removing/attaching relationship doesn't.
https://user-images.githubusercontent.com/45101591/147278737-30974e1b-4898-4fc5-ba70-46422187d3a3.mp4
Logs of $input inside CrudPanel/Traits/Create@syncPivot
When only updating (not removing, adding relationships
[2021-12-23 18:32:00] local.DEBUG: array (
  'name' => 'aaaaa',
  'characters' =>
  array (
    0 =>
    array (
      'characters' => '2',
      'as' => 'THIS ROW WAS ALREADY THERE 1',
    ),
    1 =>
    array (
      'characters' => '1',
      'as' => 'THIS ROW WAS ALREADY THERE 2',
    ),
  ),
)

[2021-12-23 18:31:23] local.DEBUG: array (
  'name' => 'aaaaa',
  'characters' =>
  array (
    0 =>
    array (
      'characters[0' =>
      array (
        'characters' => '2',
        'as' => 'THIS ROW WAS ALREADY THERE 1',
      ),
    ),
    1 =>
    array (
      'characters[1' =>
      array (
        'characters' => '1',
        'as' => 'THIS ROW WAS ALREADY THERE 2',
      ),
    ),
    2 =>
    array (
      'characters' => '3',
      'as' => '!!!! THIS IS NEW RELATIONSHIP !!!!',
    ),
  ),
)

@pxpm , what's the status on this? How can I test what was wrong and now isn't?
Thanks!

@tabacitu this is ready to merge.
This was pointing to old() branch because it relates with.
Before repeatable names would only be setup with JS in repeatable initialization. This change makes all fields get the repeatable names before they reach the page otherwise some_field would not exist in old as in old it is: repeatable[row]some_field.
To test this before and after you can add a repeatable field and purposely fail the validation of some field inside repeatable.
Let me know,
Pedro

Hmm... still cannot confirm the bug is there on the 4.2 branch. Here's what I did:

went to Dummy CRUD
tried to create an entry with everything filled in, but without the Simple "text"
validation failed, because "text" inside "simple" is required|min:10|max:255
✅  all fields (inside and outside repeatable) are populated with the old entries
✅  everything seems to work fine 🤷♂

Why is this needed again?

@tabacitu sorry if I wasn't 100% clear.
The problem here is the fact that if we don't change the names before parsing the field blade file, the $field['name'] will be the one setup in crud, and not the repeatable one.
Follow me, dummyproducts is a BelongsToMany relation with aditional pivot fields: (it's in Monster in demo 4.2, you can try it out there).
$this->crud->addFields([
            [
                'name' => 'dummyproducts',
                'pivotFields' => [
                    [
                        'name' => 'notes',
                        'type' => 'textarea'
                    ],
                ],
            ],
        ]);

This will add a repeatable_relation, that automatically adds a pivot field with the same name of the relation, in this case dummyproducts.
If we don't change the field name before displaying the field, $field['name'] that we use to call the old(), would be dummyproducts instead of dummyproducts[0]dummyproducts, dummyproducts[1]dummyproducts etc etc. So in this example as you can see from the following recording: https://recordit.co/I5zUbdyxqw when the validation fails, both of them get the same value because old() is called with the original field name making it behave wrong.
Let me know if I made myself clear now.
Thanks,
Pedro

Oh ok, I get it now, thanks for the explanation and video @pxpm . So we're basically fixing a bug in repeatable_relation, by making repeatable and repeatable_row a bit broader, I understand now 🙏

[x] I can confirm this is happening BEFORE this PR! I can confirm this is no longer happening AFTER this PR! 🎉🎉🎉
[x] I can also report this broke the Dummy CRUD. If you filled in all fields and clicked Save & Edit you got the error below after the successful save (when reaching admin/dummy/3/edit). I suspected it's because of the date_range field. I've drilled down and noticed a few errors when rewriting the names and values. I think I've tracked down the problem and fixed it on this branch; after my change, date_range is now working for me, both inside repeatable and outside it (both with old and normal value). But please PLEASE triple-check me. My commit is here

[ ] I could NOT reproduce @PitchRE 's bug (reported here); not the way I understand it; for me, creating & updating & removing seem to work fine (see video here - https://www.loom.com/share/e053f5357e2e44909acb3db41ee4040a); @pxpm can you please read his report, understand and test it yourself and decide if there's a bug here? if not... what the hell happened for him?!

Otherwise, I cannot find a fault with this PR and I'm inclined to merge it.
Cheers!

@tabacitu I've just checked your fix for date_range and it seems to work just fine. My only concern is that we are adding that conditional fixing into the "core" only to solve this field problem, that we would probably be better fixing in the field itself but conventionally removing the support for arrayed field names.
This should become field configurations instead of field name defining what other fields that field is going to setup.
But I get if you don't wanna mess with that rn. But maybe leave a comment in the code about it so we don't forget ?
About the @PitchRE problem I was able to reproduce it, and fix it. If you look close at the reported results the problem was repeatable setting up the names wrong leaving "[" where it shouldn't. You cannot replicate it because @PitchRE tested this branch in the middle, so it's already fixed on top of it.
Let me know,
Pedro

About the @PitchRE problem I was able to reproduce it, and fix it.

Awesome. Let's merge this bad boy!

My only concern is that we are adding that conditional fixing into the "core" only to solve this field problem, that we would probably be better fixing in the field itself but conventionally removing the support for arrayed field names. This should become field configurations instead of field name defining what other fields that field is going to setup. But I get if you don't wanna mess with that rn.

Yeah.... I'm a bit unconfortable with that rn. Let's leave it for future-us. 😅👀


Keeping QCSchema in sync with QCElemental

QCSchema lags behind what's actually implemented AND DOCUMENTED in QCElemental. The QCSchema docs are where people look for info, so this creates a misleading impression about what QCSchema is/does in practice.
Some possible solutions:

QCSchema/docs is always what you get from running .schema()/autodoc on the myriad models in QCElemental
QCElemental models represent schema in development, and from time to time we concretize its state into release versions of QCSchema.
QCElemental models are not allowed to change until QCSchema changes.

My favorite option is 1. I'm okay with 2. I think 3 is a bad idea.
@dgasmith @bennybp

Adding here a link to a PR I created a while back that seeks to standardize the QCSchema models to a common interface. I'm in favor of implementing the models only once, and exporting that json schema from the pydantic models. What I propose in this (draft) PR would be a suggestion for what v2 of the schema could look like: https://github.com/MolSSI/QCElemental/pull/287
Open to comments/suggestions. Thanks!


sanitize validation errors; fix null-pointer exception

We currently don't sanitize validation errors. This includes stripping away newlines, tabs, and escaping strings. This leads to really weird things happening in Synapse when we have unescaped quotes.

I'm going ahead and merging and deploying this, because this issue might recur in production over the weekend.

Approved, though I don't really see where sanitizing the input is effected.

It's in ColumnDefinition.json.


weird sprint issue when sneaking while sprinting in gamemodes where you can fly

https://www.youtube.com/watch?v=gYT1HLxeDQw

this seems to still happen in spectator mode, you can fix it by acting as if you were in creative mode, press space twice (do that process twice) It looks like it does not set you as if you are flying when you get in spectator mode.

Please open a new issue for this, I think that is a different issue.


Handle bad netmask returned by virtualbox after hostonlyif creation. Fixes #1843

If you rebase to master the grumpy CircleCI build should be fixed.

Thanks

Could I get you to write a unit test for the condition that this change is testing for?

I'm pretty sure if I could get the integration tests to run on my Windows 10 machine we'd see some failures. What this change is testing for is the following bug in Virtualbox
vboxmanage hostonlyif create && vboxmanage list hostonlyifs
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interface 'VirtualBox Host-Only Ethernet Adapter #3' was successfully created
Name:            VirtualBox Host-Only Ethernet Adapter #3
GUID:            336f5edf-a838-43a1-a55f-7955e605ee59
DHCP:            Enabled
IPAddress:       <IP_ADDRESS>
NetworkMask:     <IP_ADDRESS>
IPV6Address:     fe80:0000:0000:0000:384b:5e06:3257:bdb1
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:00
MediumType:      Ethernet
Status:          Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #3

The network mask on a newly created host only adapter if always returns <IP_ADDRESS>, if list hostonlyifs is called right away, which leads to docker-machine creating a 2nd host only adapter and breaking the vm creation process

Mm, rough.  So this fixes the issue by allowing Machine to correctly detect the created host only network?

Correct.

OK great, I have written some tests for this and the surrounding code and I'm going to make a PR to your repo that you should merge in for this PR.

Please merge: https://github.com/rwilliams/machine/pull/1/files
After that, LGTM

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

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

Awesome

LGTM


Provide already imported fresh CVE Database as daily built Docker image for direct use

Is your feature request related to a problem? Please describe.
We operate a large “on premise” CI platform.
Each job is independent (specific Maven repo, specific CVE database, ...)
We are trying to find a reliable way to share the CVE database (we have tried with a separate H2 database, common MySQL / PostgreSQL database, etc.)
Describe the solution you'd like
The most efficient way we have tried is to give a Docker container that includes the already imported CVE database.
This image is built/updated daily with fresh CVE metadatas.
An example of Dockerfile to create this image: https://github.com/jycr/docker-dependency-check-with-db/blob/main/Dockerfile
Docker image versioning can follow rule : X.X.X.YYYYYYYYYYYY
where:

X.X.X is dependency-check version
YYYYYYYYYYYY is timestamp of CVE database.

A customer can directly use this image, or customize this own with a multistage Dockerfile.
Ex:
FROM jycr/dependency-check-with-db:latest as dependency-check

FROM maven:3.8-jdk-11-slim

# Installation of Git in order to be able to release via the Jenkins pipeline
RUN apt-get update && \
    apt-get install --assume-yes --no-install-recommends \
        git \
        && \
    rm -rf /var/lib/apt/lists/* && \
    mkdir -p /usr/share

COPY --from=dependency-check /usr/share/dependency-check /usr/share/dependency-check

Benefits:

No need to download CVE metadatas from NIST as it is already available in the database provided with this custom Docker image
No time spent updating the database: the CVE database included in the Docker image is already updated
The Docker image is available on the large Docker Hub CDN (much more available than the NIST website for uploading metadata files)
Each customer can create their own build context with a custom Dockerfile and copy the CVE database, or can directly use that custom Docker image. With the Docker cache system, it's really fast.

👎🏽 I wouldn't trust this image you propose and with the rate limits/resource contraints dockerhub imposes I think it's a bad idea
What's wrong with hosting your own database server that all your CI connects to or setting up your CI to build this docker image and deploy to your private docker repo on a daily basis so you can pull from there?...

The requested docker image already exists. It was created by @javixeneize for use in the dependency-check action in the marketplace: https://github.com/marketplace/actions/dependency-check
https://hub.docker.com/r/owasp/dependency-check-action
The issues with the image:

@mprins is right - depending on your use case there are defiantly rate limits imposed by dockerhub.
GitHub disables the cron build jobs that keeps the dependency-check-action image updated after 60 days of no activity in the repo. I've emailed @javixeneize and will discuss possible solutions.

yeah, looking into it. Thanks for pointing out!

the rate limits/resource contraints dockerhub imposes I think it's a bad idea

If a docker client connects to the hub before firing, is there no limit problem?

What's wrong with hosting your own database server that all your CI connects to or setting up your CI to build this docker image and deploy to your private docker repo on a daily basis so you can pull from there?...

All of our customers are not necessarily on the same version of the tool. If we expose a common central database, there may be a compatibility issue. And managing a database on our platform can quickly be very tedious.
With a pre-populated database available inside the Docker image, if the database is outdated or corrupted, an update is made anyway when the tool is launched. So no problem?

I wouldn't trust this image you propose

You right. Indeed, it would be this repo that propose this image, not my repo. It was just to illustrate this proposal.

The requested docker image already exists. It was created by @javixeneize for use in the dependency-check action in the marketplace: https://github.com/marketplace/actions/dependency-check

Thanks for this information (I didn't know).
This image has only one tag: latest
I think it could be better to provide several image according supported version of dependency-check

The issues with the image:
[...]

@mprins is right - depending on your use case there are defiantly rate limits imposed by dockerhub.

Perhaps it could be better to use other registry:

GitHub Packages Docker registry
GitLab Container Registry

If you pull container images from Docker Hub, you can also use the GitLab Dependency Proxy to avoid running into rate limits and speed up your pipelines.

As far as the supported versions go: https://github.com/jeremylong/DependencyCheck/blob/main/SECURITY.md
Due to reported issues that keep cropping up due to changes in the NVD data feeds - atm I'm only considering 6.1.6 supported.

Also - just realized that you wanted a database as opposed to the docker CLI. You could always extract the database from the image...

We successful used "latest" image from: https://hub.docker.com/r/owasp/dependency-check-action
I close this issue now because only one version on dependency-check is supported.
Thank you for your previous feedbacks on this ticket.


[FEATURE]Blutopia requires bbcode to resize images for site display

Is your feature request related to a problem? Please describe.
Blutopia requires bbcode to resize images for site display
Describe the solution you'd like
[img=400]img_path.png[/img]
With "=400" being the addition required.

@Audionut Have you tried to convert the thumbnails first?

I don't think I understand entirely what you mean, but it sounds like it defeats the purpose.
Most of the images from PTP > BHD get this treatment.
[url=https://ptpimg.me/5p3342.png][img=350x350]https://ptpimg.me/5p3342.png[/img][/url]
Which is what this dumb user would expect. As it brings automation to the process of easy-uploading.

@Audionut got it


I have problems with combobox + postgresql and realtime

hello all friend, I have problems with combobox + postgresql and realtime
** not lib **
react,  angular
** Bootstrap **
Bootstrap v3.3.7
Sails version:
sails -v 0.12.14
Node version:
node-v8.8.1-linux-x64
NPM version:
DB adapter name: N/A
sails-postgresql
DB adapter version: N/A
sails-postgresql:  0.11.4
Operating system:
centos 6.x

Hi @david-arzola! This forum is for reporting bugs in the Sails core or its related projects. In the future, please direct support requests to our live chat, Google Group or StackOverflow.

We don't maintain combobox, so I'm not sure how much help we can be here, but if you think the issue is related to a bug in Sails itself, please re-open this and post some code or, better yet, a link to a repo we can use to reproduce the problem!


Remove the GA-ed WorkerlessShoots feature gate

How to categorize this PR?

/kind cleanup
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

The GA-ed `WorkerlessShoots` feature gate has been removed.

/approve


Fix windows port issue

Updated code as per the comments from Michiel.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: michielvandergeest:x: sandeep-vedamYou have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: michielvandergeest:x: sandeep-vedamYou have signed the CLA already but the status is still pending? Let us recheck it.


Using Base 64 with Next/Previous

Looking through the code samples I can see that there is base64 example (https://github.com/mozilla/pdf.js/blob/master/examples/learning/helloworld64.html). I tried to add the previous and next buttons on that are in this example (https://github.com/mozilla/pdf.js/blob/master/examples/learning/prevnext.html) but I cannot get it to work with the base64 instead of a actual pdf file.
Can this do this? and is there an example?

As mention in the FAQ: It's not recommended to use Base64 encoding, since it's a very inefficient way to represent binary data. Not only does it require more memory than e.g. a Uint8Array, some browsers may even truncate long Base64 strings.

Instead of passing the URL to the loading task like in the previous/next example, you can pass the base64 data like in https://github.com/mozilla/pdf.js/blob/master/examples/learning/helloworld64.html. It can be done but, as indicated above, it's not the recommended way of working.

I don’t believe my question has been answered as I stated in the question I have seen both examples and cannot get base64 to work with next and previous buttons. Linking me to a example I already linked is not much help...

Well, "cannot get it to work" is not something that is actionable for us, so for assistance you always need to fill out the entire issue template, give examples of what you tried so far and what exactly doesn't work. There is no complete example of what you want to achieve, but it should be possible to compose it out of the two given examples, so if that doesn't answer the question then more details are necessary...


⚠ ClamAV has degraded performance

In 3be4bba, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 428 ms

Resolved: ClamAV performance has improved in 9a9d31f.


Force 'deny' mode for transaction signing

This is important and one of the core tenets of the design of the web wallet, without it post conditions aren't nearly as valuable.

@jasperjansz to create discussion and share with @psq and others so we can hash out the pros and cons here.


Fix form validation border colors

The state variables for border are currently being ignored. I believe they should be passed in as the second argument to the form-control-validation mixin.

Duplicate of #12731.


sf ARM cli

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[x] The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

@QingChenmsft,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@tjprescott @QingChenmsft https://pypi.python.org/pypi/azure-mgmt-servicefabric/0.1.0

** Please check this:
The .json files you've included, should they be shipped as part of your package or are they only for tests? (e.g. azure/cli/command_modules/servicefabric/template/linux/template.json).
If they are required as part of the shipped package, include them e.g. https://github.com/Azure/azure-cli/blob/master/src/command_modules/azure-cli-acr/setup.py#L61.
To verify, run python setup.py bdist_wheel from the directory of your command module. Then open/extract the generated .whl file and confirm that your JSON files are in there.

Hi Derek,
Thanks, can you give me a example how to add this in setup.py ? then I will try to verify it laster.

@QingChenmsft I included an example in my message above. :)

Codecov Report

Merging #4132 into master will decrease coverage by 1.01%.
The diff coverage is 43.7%.

@@            Coverage Diff             @@
##           master    #4132      +/-   ##
==========================================
- Coverage   70.12%   69.11%   -1.02%
==========================================
  Files         475      484       +9
  Lines       29692    30958    +1266
  Branches     4556     4829     +273
==========================================
+ Hits        20822    21397     +575
- Misses       7426     7995     +569
- Partials     1444     1566     +122

Impacted Files
Coverage Δ

...azure/cli/command_modules/servicefabric/_params.py
100% <100%> (ø)

...zure/cli/command_modules/servicefabric/__init__.py
100% <100%> (ø)

...ervicefabric/azure/cli/command_modules/__init__.py
100% <100%> (ø)

...zure/cli/command_modules/servicefabric/commands.py
100% <100%> (ø)

...c/azure/cli/command_modules/servicefabric/_help.py
100% <100%> (ø)

..._modules/azure-cli-servicefabric/azure/__init__.py
100% <100%> (ø)

...azure-cli-core/azure/cli/core/commands/__init__.py
69.82% <100%> (-0.67%)
:arrow_down:

...ules/azure-cli-servicefabric/azure/cli/__init__.py
100% <100%> (ø)

.../azure/cli/command_modules/servicefabric/custom.py
36.42% <36.42%> (ø)

...i/command_modules/servicefabric/_client_factory.py
76.92% <76.92%> (ø)

... and 60 more

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 42a936d...8291924. Read the comment docs.

@tjprescott to take a look also.


feature: prevent Asahi volumes from auto-mount on macOSa

feature: prevent Asahi volumes from auto-mount on macOSa
proposed:
for each volume created by Asahi Installer:
echo UUID=<volume uuid> none auto noauto >> /etc/fstab

related to #294, but different, since auto mounted drives still may be hidden from finder.   this will prevent them from auto mounting and being available in the command console or other programs.

PR forthcoming

would be more complete to verify that the UUID is not already in /etc/fstab in order to be more safe.

Is this a an important problem? Currently we leave macos installations untouched (ignoring the resize). This seems to be better handled via documentation.

is important ... the extra volumes:

present a risk of user modification to the Asahi instance through Finder/Terminal etc [visibility in macOS is actually a change to macOS]
get indexed by Spotlight  [changing the underlying macOS behavior]
the APFS volumes get added to TimeMachine and get snapshots [changing the underlying macOS behavior]

which is the lesser of two evils?

modifying /etc/fstab to prevent new behaviors
allowing TimeMachine, Spotlight, Finder, Terminal to change their pre-Asahi behaviors?


feat: highlight entities and values in action lists

Fixes ADO#1651

Added new payload renderer components to mimic the existing ones, but these render with highlights
Changes ActionDetailsList and ActionScorer to use these new Components
Remove " (quotation) marks wrapping Action arguments (payloads in Code or Card actions)

I kept the old components in there although I don't think they are used anymore and we could remove them if people are Ok with it. I generally prefer removing all non-used code but seems like there might be use case in future that needs to display an Action as text instead of with highlights and would be easier if it was still there.
New rules

type
status
color

Required
unfilled
Red

Required
filled
Green

Optional
unfilled
Blue

Optional
filled
Green

Example:

Note: Tried out using the classnames package for styling and might apply pattern in other places where it could help. https://reactjs.org/docs/faq-styling.html#how-do-i-add-css-classes-to-components

Is it possible to add unit tests for any of this ?

Yes, we have jest setup and there are plenty of libraries to help with this. When you say "any" we have unit tests for some of the code already. For components we only have e2e, no unit tests yet. I think if we want to invest in this https://testing-library.com/ is kind of standard for the code and https://storybook.js.org/ for the visual.
I will look at writing some for replaceEntityNodesWithValues as that's just code.

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

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Factor out jxl_cms as cmake library

This allows us to use GetJxlCms from the decoder

While this change set has not yet been merged, I discovered (while doing oss-fuzz builds) that libjxl.pc already mentions libjxl_cms as a dependency.  This causes builds with pkg-config --static to fail.

While this change set has not yet been merged, I discovered (while doing oss-fuzz builds) that libjxl.pc already mentions libjxl_cms as a dependency. This causes builds with pkg-config --static to fail.

Thanks for the heads up. There is already such a dependency, it was implemented in a series of pull request like #2884 #2855 #2838 #2782 #2830.
Just forgot to close this one here...


Insoma 2 zone water control - smartlife app / tuya iot

Device normal info

Brand: Insoma
Model: SGW02W

**Device info
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2024.5.5",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.12.2",
"docker": true,
"arch": "x86_64",
"timezone": "America/New_York",
"os_name": "Linux",
"os_version": "6.6.29-haos",
"supervisor": "2024.06.0",
"host_os": "Home Assistant OS 12.3",
"docker_version": "25.0.5",
"chassis": "vm",
"run_as_root": true
},
"custom_components": {
"localtuya": {
"documentation": "https://github.com/rospogrigio/localtuya/",
"version": "4.1.1",
"requirements": []
},
"hacs": {
"documentation": "https://hacs.xyz/docs/configuration/start",
"version": "1.34.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"auto_backup": {
"documentation": "https://github.com/jcwillox/hass-auto-backup",
"version": "1.5.0",
"requirements": []
},
},
"integration_manifest": {
"domain": "tuya",
"name": "Tuya",
"codeowners": [
"@Tuya",
"@zlinoliver",
"@frenck"
],
"config_flow": true,
"dependencies": [
"ffmpeg"
],
"dhcp": [
{
"macaddress": "105A17*"
},
{
"macaddress": "10D561*"
},
{
"macaddress": "1869D8*"
},
{
"macaddress": "381F8D*"
},
{
"macaddress": "508A06*"
},
{
"macaddress": "68572D*"
},
{
"macaddress": "708976*"
},
{
"macaddress": "7CF666*"
},
{
"macaddress": "84E342*"
},
{
"macaddress": "D4A651*"
},
{
"macaddress": "D81F12*"
}
],
"documentation": "https://www.home-assistant.io/integrations/tuya",
"integration_type": "hub",
"iot_class": "cloud_push",
"loggers": [
"tuya_iot"
],
"requirements": [
"tuya-device-sharing-sdk==0.1.9"
],
"is_built_in": true
},
"data": {
"endpoint": "https://apigw.tuyaus.com",
"terminal_id": "",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"id": "",
"name": "blueberry bushes & peach tree",
"category": "ggq",
"product_id": "hfgdqhho",
"product_name": "Smart Dual Water Timer",
"online": false,
"sub": true,
"time_zone": "-04:00",
"active_time": "2024-06-06T21:24:28+00:00",
"create_time": "2024-06-06T21:24:28+00:00",
"update_time": "2024-06-06T21:24:28+00:00",
"function": {
"normal_timer": {
"type": "String",
"value": {
"maxlen": 255
}
},
"countdown_2": {
"type": "Integer",
"value": {
"unit": "min",
"min": 0,
"max": 1440,
"scale": 0,
"step": 1
}
},
"switch_2": {
"type": "Boolean",
"value": {}
},
"switch_1": {
"type": "Boolean",
"value": {}
},
"countdown_1": {
"type": "Integer",
"value": {
"unit": "min",
"min": 0,
"max": 1440,
"scale": 0,
"step": 1
}
}
},
"status_range": {
"battery_percentage": {
"type": "Integer",
"value": {
"unit": "%",
"min": 0,
"max": 100,
"scale": 0,
"step": 1
}
},
"normal_timer": {
"type": "String",
"value": {
"maxlen": 255
}
},
"countdown_2": {
"type": "Integer",
"value": {
"unit": "min",
"min": 0,
"max": 1440,
"scale": 0,
"step": 1
}
},
"switch_2": {
"type": "Boolean",
"value": {}
},
"switch_1": {
"type": "Boolean",
"value": {}
},
"countdown_1": {
"type": "Integer",
"value": {
"unit": "min",
"min": 0,
"max": 1440,
"scale": 0,
"step": 1
}
},
"use_time_2": {
"type": "Integer",
"value": {
"unit": "s",
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
},
"use_time_1": {
"type": "Integer",
"value": {
"unit": "s",
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
}
},
"status": {
"battery_percentage": 100,
"normal_timer": "AA==",
"countdown_2": 0,
"switch_2": false,
"switch_1": false,
"countdown_1": 50,
"use_time_2": 900,
"use_time_1": 3600
},
"home_assistant": {
"name": "blueberry bushes & peach tree",
"name_by_user": null,
"disabled": false,
"disabled_by": null,
"entities": []
},
"set_up": false,
"support_local": true
}
}

The above device is recognized by the Tuya integration, but all components (wifi-bluetooth gateway, and the 2 way valve itself) are showing as unsupported.

I have the identical valve and same unsupported devices under the Tuya integration.  Glad to see others are struggling with this as well.  Last time I attempted them (a month ago), no one else had requested help on this model.

I have this too, would be nice to get it working in HomeAssistant

Did you guys found a solution for this?

I just used its own app and setup the timer in there, and have not touched it for months now.
Set it and forget it means HA integration is just a nice to have for me.


[AutoRelease] t2-sqlvirtualmachine-2023-05-31-34518(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/4213
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1034
BuildTargetingString
azure-mgmt-sqlvirtualmachine
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/4213


Modulus deploy encountering  at upload progress 50%-60%

My compressed file is only 12.4 MB.
Am using
<EMAIL_ADDRESS><EMAIL_ADDRESS>Environment configuration on modulus is for NodeJS environment.
I have noticed that there is a new Meteor environment configuration which was not there previously.
Usually modulus deploy take a couple of minutes to deploy. Now the time taken to upload has increased significantly. Is the timeout configuration still at 5 minutes?

Yes, the upload timeout is 5 minutes. When did the time to upload increase for you? Have you had successful deploys of this code base within the last month?
The new Meteor image has helped resolve a lot of issues some users were having with long/failed deploys. You could try creating a new project using that project type and seeing if it resolves this for you. Be sure to use the 'beta' CLI tool when deploying to the new image type:
npm i modulus@next -g

Hi Jack,
Thanks for getting back to me.
Yes. my codes have been working fine for the past 2 months. For this deployment, I just wanted to make some changes to the text values.
npm i modulus@next -g
I tried doing this but my codes are currently on meteor 1.2.1During modulus deploy it uses meteor <IP_ADDRESS> to demeteorize and it hangs during conversion.
There needs to be quite a number of changes required to migrate to the meteor 1.3 and we are not ready to move yet.
RegardsDarren
From: Jack Boberg<EMAIL_ADDRESS>To: onmodulus/modulus-cli<EMAIL_ADDRESS>Cc: darrenwng<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Sent: Monday, May 2, 2016 9:36 PM
Subject: Re: [onmodulus/modulus-cli] Modulus deploy encountering  at upload progress 50%-60% (#112)
Yes, the upload timeout is 5 minutes. When did the time to upload increase for you? Have you had successful deploys of this code base within the last month?The new Meteor image has helped resolve a lot of issues some users were having with long/failed deploys. You could try creating a new project using that project type and seeing if it resolves this for you. Be sure to use the 'beta' CLI tool when deploying to the new image type:npm i modulus@next -g—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Sorry for not mentioning that, yes the new Meteor image requires >= 1.3.x. If you have been able to deploy successfully recently, we haven't shipped any changes to the Node image or API that should affect this. Can you open a support ticket so an engineer can dig in to your specific issues.
help [at] modulus.io


Clarification: Installation, Command Line, API

Clarification on how to build, install, use, and depend on Starlight.

how do u setup starlight

Setup is explained in issue #3.


setup parameters

Love the tool and I'd like to deploy it to a number of computers.
Would it be possible to disable the donate page when using the /verysilent setup parameter?
The "verysilent " option is really useful when deploying software to any number of PC's, but right now the donate page is always opened. That can be bit confusing to users (who are not always aware that I updated an application ;) ).

done, that was easy :)
On Thu, Oct 27, 2016 at 1:04 PM Tanel Teede<EMAIL_ADDRESS>wrote:

I'm not sure that I can change it but I will look into Inno Setup options
and I'll answer back here what I find
On Thu, Oct 27, 2016 at 12:40 PM gsnijders<EMAIL_ADDRESS>wrote:
Love the tool and I'd like to deploy it to a number of computers.
Would it be possible to disable the donate page when using the /verysilent
setup parameter?
The "verysilent " option is really useful when deploying software to any
number of PC's, but right now the donate page is always opened. That can be
bit confusing to users (who are not always aware that I updated an
application ;) ).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sirWest/AudioSwitch/issues/101, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABdCXPDwxuWOcH0rQloV-ilR_HccP-Tzks5q4HGngaJpZM4KiJD2
.

I'm not sure that I can change it but I will look into Inno Setup options
and I'll answer back here what I find
On Thu, Oct 27, 2016 at 12:40 PM gsnijders<EMAIL_ADDRESS>wrote:

Love the tool and I'd like to deploy it to a number of computers.
Would it be possible to disable the donate page when using the /verysilent
setup parameter?
The "verysilent " option is really useful when deploying software to any
number of PC's, but right now the donate page is always opened. That can be
bit confusing to users (who are not always aware that I updated an
application ;) ).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sirWest/AudioSwitch/issues/101, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABdCXPDwxuWOcH0rQloV-ilR_HccP-Tzks5q4HGngaJpZM4KiJD2
.


Set up tests

AppVeyor runs under my account.

AppVeyor seems to be stalling on the tests every time I run it. 😕

AppVeyor seems to be stalling on the tests every time I run it. :confused:

I think I've the same problem at https://ci.appveyor.com/project/nalimilan/stringencodings-jl/build/job/q3g24r6ocu0yqdyf.

Actually I guess it isn't stalling, it's just taking about 40 minutes per run whereas Travis takes between 3 and 7.

I'm beginning to think it was a mistake setting this up under my AppVeyor account

I'm beginning to think it was a mistake setting this up under my AppVeyor account

On the contrary, if it had been under the JuliaLang account, it would have filled the queue for other Julia builds (and waited for the existing ones to finish). So that's better on a different account.

@nalimilan Oh definitely, I'm just regretting putting it on my account. 😜


It'll be great if the instructions in 'Link to Fabric from Power Apps' is more detailed

Hi Team,
I was working with a customer who tried to setup this link with no luck.
I found the process described in the section 'Link to Fabric from Power Apps' might not be the most obvious to customers.
Some of them don't see the 'Analyze' button until clicking 'Open in a new tab' on Tables.
It'll be great if a printscreen is also included.

Thanks and wish you a happy Christmas.
Best regards,
Kai

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

ID: bdebe533-0103-bcf1-edea-47198c7284a9
Version Independent ID: bdebe533-0103-bcf1-edea-47198c7284a9
Content: Link your Dataverse environment to Microsoft Fabric and unlock deep insights - Power Apps
Content Source: powerapps-docs/maker/data-platform/azure-synapse-link-view-in-fabric.md
Service: powerapps
Sub-service: dataverse-maker
GitHub Login: @MilindaV2
Microsoft Alias: Milindav

Thanks for your comment, @benjaminer82. This issue has been assigned to the doc author for review.


Information Architecture update - code snippet / API documentation

Discussed in https://github.com/orgs/RedHat-UX/discussions/351

Originally posted by ronniemcbride June  2, 2022
Objective
Advance and update the information architecture of  ux.redhat.com for designer and developer guidance and development needs.
Request & Considerations

Add support for code snippets and API  documentation
Add an accessibility section (dedicated page and in the context of each  component's page.)
Reorganize the content architecture and  make it more audience-focused (designer, developer, and implementer)
Each page should be its miniature Single Page Application (SPA)
Separate component pages into five tabbed sections of focus. (overview, styles, design, usage, accessibility ) by doing so, designers, developers, and implementors should be clear about what information is essential to them.
Each tab should be a  template doc. For example, updates should be independent updates to that section without having to update the entire component page.

- For instance:
elements/ rh-footer/docs/design.njk
elements/ rh-footer/docs/styles.njk
elements/rh-footer/docs/usage.njk
elements/rh-footer/docs/overview.njk
elements/rh-footer/docs/ accessibility.njk

We need the ability to implement page states. Page states will allow us to link to a particular tab.

UX Designer Deliverable:
Research documentation and initially wiresframes

Can we make a clear distinction in our new IA between "components" (i.e. web components) and "patterns"? We need to document the design for patterns that we don't and will not implement as web components. To group them all together under "components" (as we do now) is confusing. Some components also have associated patterns ("here's the footer web component, here's the footer pattern") - I think it's OK and even preferable to document those separately

IMO, we should wait on the accessibility tab, and release this feature in addition to a future accessibility section (in the left hand nav) in Phase 3. This way we can focus on making these sections more properly thought out (i.e. not rushed) along with @hellogreg's and @kelsS's help.

@marionnegp Making sure you see the above. Let's keep the existing accessibility stuff in the Guidelines tab for now. Thoughts on that?

Going to use a new component, rh-subnav, to handle the tabs issue instead. See issue #703

Done.


Add_pop returns that the e-mail i just created is already created

When ever i use add_pop it does create the e-mail but also returns that the e-mail i just created exists already.
I made sure that the call is only run once by ajax and the function is only called once.
Returns: The account<EMAIL_ADDRESS>already exists!

I fixed that bug by changing curl_request.
From
$content = $this->curl_exec_follow($ch);

To:
   $maxredirect = 0;

    $content = $this->curl_exec_follow($ch, $maxredirect);

Hey, Sorry its taken me a while to get back, i've been on holiday :).
Pretty sure this has come up before, i'm glad you've found a fix for it. I will take a look at rolling max redirects into the code so others can do the same.

Closed as fixed in v1.1


release: update release script to allow user to specify systems

Whenever there is a new tagged release I find it useful to use release.sh targeting my own architecture. This PR introduces the option to specify a subset of systems/architectures or to try experimental ones without editing it.
Example:
LNDBUILDSYS="linux-arm64 darwin-amd64" ./release.sh

Notice that this is totally optional. When LNDBUILDSYS is unset the script works as always did.

Concept ACK


Results from this are different to official CogVideoX demo and I can't figure out how to match it.

Using the default settings provided with the example workflow, with 16 frames at 8 fps, it only renders a two second video (as expected). But by default, CogVideoX does 6 second clips. However, upping the amount of frames to 48 does not have the intended effect and instead generates three disjointed clips, like three 2 second clips stuck together.
How do I get a single 6 second video like it's supposed to do?

Which workflow exactly? I added the feature to use temporal tiling (t_tile) as context windows, if the value is lower than your frame count it creates the video in what you call "disjointed clips", so you'd want to put that to 48 to get the max clips. The point of the t_tile is that you can also go above the 48, though the clips are usually not joined too well together, sometimes it works nicely.

Which workflow exactly? I added the feature to use temporal tiling (t_tile) as context windows, if the value is lower than your frame count it creates the video in what you call "disjointed clips", so you'd want to put that to 48 to get the max clips. The point of the t_tile is that you can also go above the 48, though the clips are usually not joined too well together, sometimes it works nicely.

I'm using the default example_01.json provided in the examples folder. Also increasing t_tile_length along with num_frames fixes it, thank you. :) I wasn't sure what the t_tile_length parameter did.
Also it's unrelated to this issue, so I'll close it out anyway, but when you load the aforementioned workflow, it throws an error saying the t_tile_overlap of 2 is less than the minimum of 8.


Counter goes up by 1 when on Counter tab

The home page has a counter that counts up by 3, and the counter page says it counts up by 3 but it just counts by 1

It seems the counter can have a number passed in to change the increment, and by default it's one, so the problem isn't the counter is going up the wrong amount, rather the page is displaying the wrong increment

created pull request


READEME.md update

README.md has updated.

Download description  is added.

Title paragraph be changed


how to create address index?

how to create address index?

like btc getaddressutxo.

As far as I know, getaddressutxos is not present in bitcoin core, and of course is not present in bitcoindiamond either.

in btc.. config addressindex=1 i can get getaddressutxos   rpc function.

@zdyszm No, you can't. Please make clear whether you are using bitcore or bitcoin core.

sorry..i use bitcore..  how to add it?

@zdyszm We didn't go through latest code of bitcore, so I can't help. Anyway here is a reference based on an old version. But it is not fully tested. You could use or upgrade it at your own risk.

OK...thanks.


Please help with website agent

Hi,
I'm newbie with these application. First of all, congratulations for your wonderfoul world.
I'm trying to scrape with website agent but it seems not works.
My code is:
{
  "expected_update_period_in_days": "2",
  "url": "https://es.wallapop.com/search?distance=100000&time_filter=lastWeek&keywords=%22pantalon%22%20NOT%20%22iphone%208%22%20NOT%20%22Apple%20watch%22%20NOT%20%22samsung%22%20%20NOT%20%22huawei%22%20&min_sale_price=5&max_sale_price=100&order_by=newest&latitude=40.39676&longitude=-3.636",
  "type": "html",
  "mode": "on_change",
  "extract": {
    "desc": {
      "xpath": "//*[contains(concat( \" \", @class, \" \" ), concat( \" \", \"product-info-title\", \" \" ))]",
      "value": "\".//text()\""
    },
    "titulo": {
      "css": ".product-info-title",
      "value": ".//text()"
    }
  }
}

I'm tring to get css and xpath with selectogadget but it seems not works. Could you help me please?
Thanks and sorry for my English!

Hi!
You picked a very difficult first website 😄 It is using JavaScript to generate the content. Huginn itself is not able to scrape pages build via Javascript, but you can use fulldom-server or https://phantomjscloud.com/ to do extraction based on the final page that has been generated by the JavaScript.
If you open the developer tools of your browser you can see the requests the website makes in the network tab. Looking at the request headers it is sending I was able to get back some data using this WebsiteAgent configuration. Because of the timestamp header I am assuming that the request will only work for a limited amount of time:
{
  "expected_update_period_in_days": "2",
  "url": "https://api.wallapop.com/api/v3/general/search?distance=100000&time_filter=lastWeek&keywords=%22pantalon%22+NOT+%22iphone+8%22+NOT+%22Apple+watch%22+NOT+%22samsung%22++NOT+%22huawei%22+&min_sale_price=5&max_sale_price=100&order_by=newest&latitude=40.4893538&longitude=-3.6827461&filters_source=quick_filters&language=es_ES",
  "type": "json",
  "mode": "on_change",
  "headers": {
    "X-Signature": "oyQbrF4XBHg40wQdzJytES6thC9z2z+rvs+KQpcIn8M=",
    "Timestamp": "1589063737703"
  }
}

Many thanks for your answer, you are a guru!!!


No 'Access-Control-Allow-Origin' header is present

Not works in Chrome

Fetch API cannot load https://translate.google.com/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
home.vue:68 TypeError: Failed to fetch

Of course it can't work in Chrome.
This is the library for Node.js (server-side), but not for Browser (client-side).
https://translate.google.com/ do not support "CORS", that why you can't make a cross-origin HTTP request from browsers. It is part of the browser policy.
You can learn more "CORS" from https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS


Update component guidance

Updating the component guidance to let teams know they can iterate components (if there is a need to) and share any changes with us in GitHub.

Before
After

Thanks @Graham-Pembrey, I've updated the content 👍


fix: use in memory esbuild build artifact for default source maps

This fixes an issue when trying to use the esbuild plugin with Angular (or other similar tool chains with write set to false)
This does not modify the behavior when an explicit globAssets is set (those will still be limited to what is on disk) but at least for the default option the in memory versions will be used.
This may have a benefit for esbuild since it isn't having to read all these files from disk.
fixes: #351

I have not tested this (hence it being marked as a draft)
I will probably copy over the changes as a patch to our repo and test it there on Monday.

I am going to close this because I am not intending to peruse it further at this time.
Anyone who continues this problem in the future is welcome to reference or use the changes here.


add boosting_type to python sklearn

solve #120

Hi @wxchan, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

@wxchan it cannot pass the test. Did you check the passed string of parameters?

I made a mistake. It should pass the tests now.

@wxchan can you re-generate the doc as well?

I already add this alter to the doc.

@wxchan  can you also help to test the speed and accuracy of python package, and compared with command line version? I think we can further optimize the efficient of c_api.

@guolinke is there an easy-access and reproducible environment we can use to compare the performances among different languages versions? For example, on Azure? There may be more language packages in the future. It may be better to compare them under same environment.

@wxchan I'd be happy to contribute performance tests for the Julia package for comparison.

@wxchan I will ask for some resources to do this.


Watchdog task

#231 #393 #159
Added C++ watchdog aware RTOS Task base class.
This implementation offers a series of sources and headers that boil down to a single inheritable class that allows a user to set up a watchdog protected thread. If a watchdog is implemented and passed in as an argument along with a period to the child class, the back end automatically registers, deregisters, feeds and notifies 'task suspend state' to the watchdog thread. This allows the watchdog to monitor asynchronous as well as periodic threads/tasks.
funcMain() is the main task loop and must be implemented in the child class. No for or while loop needed as this is handled in the parent class.
funcBegin() and funcEnd() are override-able one shot functions called before and after funcMain respectively and may be used to initialise and close down peripherals and variables but are not required.
funcTimeout() is an override-able oneshot function that is automatically called when the task has failed a watchdog check and can be used to trigger a 'safe-ing action' before a reset (if returning false) or a task reset with no hardware reset (if returning true).
UARTControlTask takes the uart DMA solution previously submitted and re-implements it using the task template.
WatchdogTask is the implementation of the task monitoring task that checks each registered task for activity (if not sleeping). If the task appears to have locked up, it triggers a registered callback and then (if the callback returns false) allows the IWDG to starve and reset the system.
Moved circular buffer to a Utilities folder
Added an implementation of a linked list

@sgilbert182 This PR is now outdated compared to devel. The merge of control_loop_refactor brought significant changes. Can you bring this PR up to date? The UART comms interface was also changed recently to run at the control loop rate of 8kHz instead of 1kHz - not sure if this changes your use case for the UART-related parts of this PR.


Panel Label overlaps y-axis on grouped histograms.

screenshot below. Move label above each panel (like bar charts).

Test Notes: Confirm that the label now renders above the chart in dev-v1.0.0

Expected Result: When the user groups the data by a variable, the histogram shows the grouping variable on the top-left of each histogram
Outcome: Pass


[WIP]Test queuing and and reservations

Added queuing to test builds to prevent stockout.
Test will run concurrently. Created separate cluster for jupyter+ray and rag.
I switched the order of Jupyter and Ray test for race condition error. Run time of the test is now completely dependent on the longest running test, which currently is RAG: ~50mins including cluster create/delete time.

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

Discussed offline. We will be holding off on merging the queuing feature for now.

We will be holding off on merging the queuing feature for now.

Let's close and re-open if needed.


Unable to transfer from file share to blob container with only create permissions at the source

Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
10.18.1
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
copy https://xxxxxxxxxxxxxx.file.core.windows.net/xxxxx/xxxxx/xxxxx.mp4?se=2023-06-02t17%3A06%3A57z&sig=-REDACTED-&sp=rl&sr=s&st=2023-05-26t17%3A06%3A57z&sv=2022-11-02 https://xxxxxxxxxxxxxx.blob.core.windows.net/xxxxx/xxxxx/xxxxx.mp4?se=2024-05-19t15%3A52%3A00z&sig=-REDACTED-&sp=rcl&sr=c&st=2022-05-18t15%3A52%3A00z&sv=2021-10-04 --output-type=json --cancel-from-stdin --overwrite=prompt --from-to=FileBlob --s2s-preserve-access-tier=false --check-length=true --block-size-mb=999999 --include-directory-stub=false --s2s-preserve-blob-tags=false --recursive --log-level=DEBUG
What problem was encountered?
AzCopy tried to do a put block request, which failed because my destination SAS only has create permission. It should have done a put blob request, with the source contents as the body of the blob. That way the transfer would be done in a single request/create call.
How can we reproduce the problem in the simplest way?

Have a file share with a file
Have a blob container without that file
Copy the file to the blob container, where the blob container authorization comes from a SAS with create but not write permissions, use the --block-size-mb flag to force a single block for the blob.

Have you found a mitigation/solution?
Download the file and then reupload.

Also document what API/Permissions are required for azcopy to operate.

This should be fixed in 10.20.0.

Confirmed as fixed. Thanks!


f95 file extension was added

What does this implement/fix? Explain your changes.
f95 file extension was added
Does this close any currently open issues?
...
Any other comments?
...
Checklist
Check all those that are applicable and complete.

[ ] Merged with latest master branch
[ ] Added examples for testing to examples/ directory
[ ] Travis CI passes (Mac support)
[ ] AppVeyor passes (Windows support)

https://github.com/Glavin001/atom-beautify/issues/544#issuecomment-262834804

Published to v0.29.15


Translating templates

As templates use the same method of translation, couldn't they be added as well?

Why was this closed? Templates are still not supported.

Is it correct that plugin:<pluginname> is unique and template:<templatename> are unique.
But that <pluginname> == <templatename> could be true?
What means that url /extension/<extensionname> is not possible.
I will go for urls like:
/plugin/<pluginname>
/template/<templatename>

The translation tool is updated, and includes now template support. If you meet any issues, please let me know!


fixbug - can run in any where

Hi Maarten：
Thank you for contributing BERTopic to the world.
Due to the use of a fixed relative path in the code, the location of the "result" directory is fixed relative to the script. I modified two lines of code to address this minor issue.
I hope my pull request can be accepted by you.

Thanks for the PR! This repo is currently used for reproducing the paper and is not meant as a framework for evaluating BERTopic. So I think it might be best to keep the repo as is.

I see! I think your idea is very correct! Thank you very much for your response.


连续两个相同的字符会漏掉一个

连续两个相同的字符会漏掉一个:
例如: aaby识别为aby, 887y识别为87y

Change:
https://github.com/Belval/CRNN/blob/063349508bd95e8dfb6b2e1135a7f8d8dd1fbc39/CRNN/crnn.py#L167
To:
decoded, log_prob = tf.nn.ctc_beam_search_decoder(logits, seq_len, merge_repeated=False)
And the problem should be fixed.

done, thanks!


Update draft status of attachment assets

The Asset Manager assets for attachments are currently being created in the draft state by default. The changes in this pull request aim to update the draft status of attachment assets as their parent models change state. Hopefully the following gives a decent overview of the changes, but please see the individual commit notes for more detailed info.
There are three subclasses of the Attachment class, FileAttachment, HtmlAttachment & ExternalAttachment, but we are only concerned with FileAttachment, because they are the only ones stored in the Asset Manager.
I've used the existing AttachmentVisibilty class and its #visible? method to determine whether the public is allowed access to an attachment.
Model Types
Editions
Models inheriting directly or indirectly from the Edition class may support attachments depending on whether they include the Attachable module. Whether or not a model supports attachments can be determined by calling the #allows_attachments? method.
I've used the existing EditionServiceCoordinator mechanism to hook a new service listener into Edition lifecycle events in config/initializers/edition_services.rb. Admin::EditionWorkflowController actions seem to use instances of EditionService to make all significant changes in Edition state and thus the new ServiceListeners::AttachmentDraftStatusUpdater should receive events for all these changes.
(Consultation) Responses
The terminology around these models is quite confusing. There is a base class, Response, with two subclasses, ConsultationOutcome & ConsultationPublicFeedback and these can both be (independently) associated with a Consultation via the outcome & public_feedback associations respectively. Anyway, the important thing for this pull request is that both subclasses of Response support attachments despite the fact they do not inherit from Edition.
The visibility of attachments on a Response is determined by the state of its Consultation. In order to keep the draft status of the corresponding assets up-to-date I've made the following changes:

Extended the logic in config/initializers/edition_services.rb to detect changes in the state of a Consultation and update the draft status of attachments on any associated Response.

Introduced a new Whitehall.consultation_response_notifier in order to detect the creation or updating of a Response. An instance of ServiceListeners::AttachmentDraftStatusUpdater is again used to handle events for this notifier and update the draft status of assets accordingly. This is needed, because e.g. an attachment can be added to a Response which is already associated with a published Consultation.

PolicyGroup
This model class also supports attachments despite the fact that it doesn't inherit from Edition either.
The visibility of attachments on a PolicyGroup is solely determined by their existence, i.e. a PolicyGroup is always public and so any attachments on it are also immediately public.
In order to keep the draft status of the associated assets up-to-date, I've introduced a new Whitehall.policy_group_notifier to detect the creation or updating of a PolicyGroup. An instance of  ServiceListeners::AttachmentDraftStatusUpdater is again used to handle events from this notifier and update the draft status of assets accordingly.
Testing
I've added unit tests and an integration test, AttachmentDraftStatusIntegrationTest, but I decided not to add any Cucumber features, because the change in behaviour is not visible via the user interface. Also the integration test only covers a subset of the possible scenarios in order to avoid a combinatorial explosion - it's intended mainly to check that everything is wired up correctly.
Risks

It's possible that some important changes in Edition state happen without generating events from the EditionServiceCoordinator notifier. However, I'm pretty confident that they don't.
Similarly it's possible that a new Edition state change might be added without making use of the EditionServiceCoordinator services.
It's also possible that a new non-Edition model might be added with support for attachments.

However, in all these cases the consequence would be that the relevant attachments would always be in the draft state, i.e. their draft status would never be updated. Although this wouldn't be ideal, it would be considerably better than if attachments were inadvertently made public when they shouldn't be.

I'm going to review this now.

Rebasing against master and force-pushing.

We've realised there are some flaws in this approach. Closing.

Superseded by #3768.


view controller injection

Hello guys,
I'm registering one view controller using the method registerForStoryboard but when I get this controller using resolve, the return is nil.
container.registerForStoryboard(PostDetailVC.self) { (r, c) in
    c.presenter = r.resolve(PostDetailPresenter.self)
}

container.register(PostDetailWireframe.self) { (r) in
    let wireframe = PostDetailWireframe()

    wireframe.postDetailViewController = r.resolve(PostDetailVC.self)

    return wireframe
}

There's something wrong with this code?
Thanks

registerForStoryboard is used to inject dependency in the same way as initCompleted. You need register PostDetailVC.self by calling container.register(PostDetailVC.self). In the registration closure, you will probably call instantiateViewControllerWithIdentifier on a storyboard.
The problem here is the naming of registerForStoryboard is confusing. I have to rename the method to tell it does only the same thing as initCompleted does.

Thanks! I had tried this approach but I was facing some circular injection problems. I found the circular problem and this approach worked. Thanks a lot.


Swap out canned examples

Swap out canned examples so as to use the /// syntax.
Most users would likely only care about Java, as opposed to Android. It is fine to get rid of all or most of the Android examples, and just have a couple of Java examples.

Moving this to AskBayou
https://github.com/capergroup/askbayou/issues/30