Error when getting latest tbs

With Golang version 1.8:
Command: go get -u -v github.com/3blades/cli-tools/tbs
# github.com/3Blades/cli-tools/tbs/cmd
go/src/github.com/3Blades/cli-tools/tbs/cmd/account.go:82: accountBody.Profile.AvatarURL undefined (type *models.UserProfile has no field or method AvatarURL)
go/src/github.com/3Blades/cli-tools/tbs/cmd/account.go:184: accountBody.Profile.AvatarURL undefined (type *models.UserProfile has no field or method AvatarURL)
go/src/github.com/3Blades/cli-tools/tbs/cmd/files.go:205: uploadBody.Public undefined (type *models.ProjectFile has no field or method Public)
go/src/github.com/3Blades/cli-tools/tbs/cmd/files.go:207: uploadBody.Base64Data undefined (type *models.ProjectFile has no field or method Base64Data)
go/src/github.com/3Blades/cli-tools/tbs/cmd/files.go:242: uploadBody.Public undefined (type *models.ProjectFile has no field or method Public)
go/src/github.com/3Blades/cli-tools/tbs/cmd/files.go:244: uploadBody.Base64Data undefined (type *models.ProjectFile has no field or method Base64Data)
go/src/github.com/3Blades/cli-tools/tbs/cmd/paymentMethods.go:94: cannot use updateBody (type *models.CardData) as type *models.CardDataPutandPatch in argument to params.SetCardData
go/src/github.com/3Blades/cli-tools/tbs/cmd/paymentMethods.go:247: cannot use body (type *models.CardData) as type *models.CardDataPost in argument to params.SetCardData
go/src/github.com/3Blades/cli-tools/tbs/cmd/server.go:403: cannot use new(string) (type *string) as type string in field value
go/src/github.com/3Blades/cli-tools/tbs/cmd/server.go:418: cannot use webhookPayload.Value (type interface {}) as type string in assignment: need type assertion
go/src/github.com/3Blades/cli-tools/tbs/cmd/server.go:418: too many errors

/cc @johngriebel @jkp85


Add PSR-3 Logger Exceptions comment

Add a comment to the document reading as follows:
PSR-3 Logger Exceptions
When logging an exception, the \Throwable must be passed as a member of the logger context, named exception. The PSR-3 document requires this, and it gives valuable context to whoever is debugging your application, and gives your exception objects more utility.

In general we all know that we should use PSR-X.
Sometimes it might be not 100% clear to beginners how to use rules defined there. I suggest to enrich it with example usages.

I've added some examples.


Isn't working in 10.12.5

It was working fine until 10.12.4. But in recent update key mapping is not being saved for me.

Nevermind. Got it fixed by rebooting

How'd you get this to work? Not working for me, I'm trying to map to left shift and § to. Not working though!


Modal positioning on large templates

IMPORTANT: Please provide a sample using:

V1: http://plnkr.co/edit/hwbmF9?p=preview

V2: http://plnkr.co/edit/7c0pGE?p=preview

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?

bug

What is the current behavior?

If you add some more lines ... to your demo plunkr and than click one of the modal buttons the modal opens but the upper part is hidden. If the page is long enough the modal isn't visible anymore.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://plnkr.co or similar (you can use one of the templates above as a starting point).

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Angular version: 2.0.0-beta.X
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Plunker please...

Here is a plunkr:
http://plnkr.co/edit/TyOHY07jkLBX9jSnvR7h?p=preview
When I click the Alert Button, the problem shows. Tested on MacBook Air with Chrome and Firefox.

Yes, you're right the backdrop should be positioned fixed not absolute

See this plunker
BTW, you're plunker used beta.2, please use beta.8


Iterating over collections

Iterating over collections is at the heart of working with collections. Because it is anticipated that this feature will be used extensively, it should be expressive, performant, intuitive and concise. It also has to be as uniform as possible for all the supported collection types. Additionally, it als has to be type-safe and its usage should preferably be verifiable at compile time.
When walking over a collection, somewhere something has to keep track of the iteration 'state'. To put simply: when iterating over a collection, I need to keep track of the element that I last iterated over to know where I need to go next. This state is from hereon referred to as the 'iterator'.
Currently iterators are not exposed through the type system. Arguably they don't need to be when all the language would allow for is iterating over the whole of a collection. Note that in the following example it is not apparent that an iterator is used (pseudo-code):
foreach element in collection: "$element";

Clearly there is something in the background that is keeping track of the state of the iteration, but a developer wouldn't see it. Theoretically, iterators could be completely handled by the virtual machine, intermediate code and parser. However, iterators (and the things you can do with it) make sense to have in the language (and language bindings) as well. Therefore iterators need to be captured in the type system.
There are two basic approaches. One changes the type system while the other one doesn't. I'll describe the latter first.
Adding a builtin class
Consider creating a builtin class called 'iterator' in the lang scope. This class would be a generic iterator for all collection types. A (simplified) interface for this class could look like:
class Iterator::
   collection: any;
   bool hasNext();
   any next();

Using this could look like:
list{uint32} someList: 0, 1, 2, 3, 4, 5;
Iterator iter{someList};
while iter.hasNext:
    uint32 value = iter.next;

There are many downsides to this approach. For one, iterators would rely on the invocation of methods, which is not a necessity and therefore slower than what it could be. Because this is such a performance-critical part of the language this is a real issue and one that could not be fixed easily at a later stage.
The second downside is that it doesn't enforce compile time safety. Since the class is a generic iterator it has to rely on the 'any' type to store the collection- and return the element value. Aside from a small performance hit in the usage of any's, this is an issue as well.
The upside of this approach is that it doesn't require modifications to the core type system, which is nice on the short-term, but doesn't weigh up to the the previous considerations.
Adding a new type
The second approach is adding a new type kind "ITERATOR" to the type system. A new type-kind proliferates to the language design since it has to define behavior and syntax for this new type. This allows for a lot of freedom in how iterators are implemented. A consideration is whether it should be a top-level type kind (like PRIMITIVE, COMPOSITE, COLLECTION) or a 2nd level kind (like INTERFACE, STRUCT, CLASS). That way, iterators could leverage some properties from functionality that already exists.
The following code shows a potential iterator usage example:
list{uint32} myList: 0, 1, 2, 3, 4, 5;
iterator{uint32} iter = myList; // Compile-time safety
while iter.hasNext:
    uint32 value = iter.next; // Compiler can verify whether this is allowed

Further thought is required on how to map this in a way so that there is a good balance between reusing existing functionality and leveraging/extending the existing type system features in a way that is useful.

In an unofficial conversation, we agreed:

That we may not want functions to be called for iterator advancing, object retrieval, etc., because it adds a layer (a call to the stack?) of complexity at the cost of performance. Please elaborate on this, @SanderMertens
In the most common use case for iterators (i.e. for-each loops), iterators themselves are to be hidden from the end programmer, but we do want to support manual iterations (i.e. declaring iterators and moving them manually).
The grammar should be independent of the underlying implementation. Because iterators are a kind of their own, we may provide ad-hoc operators such as iter++ instead of functions, iter.next().

However, I'm wondering, the code to handle these actions (iterator progress, object retrieval) would ultimately be C functions. Where should these reside? Should they reside in cx_iterator.c?

Let me try to call out a few example use cases for iterators...
Reminder: there would be extra grammar features for short circuiting the method call Cortex-level.
// An iterator as an object
list{int32} myNumberList: 1, 2, 3, 4
iterator numberIterator: int32;
numberIterator myNumberIterator: myNumberList
while myNumberIterator.hasNext():

The above assumes that the iterator class has an elementType member, and that an instance of iterator has a scope member collection, so that the instance of the instance of iterator has a iterator value member.
I don't see, however, how this could be possible, to define members for the final object in the class of the type.

Note that three similar but not equivalent idioms are:
Create an anonymous object (the assignment is for example purposes):
any i = iterator{int32}{myList}

Create a scoped object:
iterator{int32} myIterator: myList
// also
iterator numberIterator: uint32
numberIterator myNumberIterator: myList

Create a variable.
// Normal old syntax
iterator numberIterator: int32
var numberIterator myNumberIterator = numberIterator{myList} // var is optional in function scope
// Or new syntax/semantics:
var numberIterator myNumberIterator = myList
// or new syntax with anonymous types
var iterator{int32} myNumberIterator = myList

The above pieces of code suggests that elementType (e.g. int32) is a member in the scope of iterator and collection (e.g. myList) is a member in the scope of NumberIterator.
However we never declared any member in NumberIterator, what's more, we never opened its scope.
Can we confirm that this is a new semantic feature of iterator declaration for the iterator kind?
Where does the collection member reside in the Cortex source code?

Currently, implementation of iterator (C) structs produced by the CX_ITERATOR macro follow:

For arrays

type: type of the array in Cortex
value: pointer to the beginning of the array
element: pointer to the next element to retrieve

For lists:

type: type of the list in Cortex
value: the cx_ll object (it is a pointer to cx_ll_s)
element: a cx_llNode variable (we will not wrap around a cx_iter so that ultimately we may fuse together both iterating approaches)

The next iteration for the idea is:

Call next if there is an assignment and the iterator is the right-hand side.
Call hasNext if you read its value otherwise.

list{string} mylist: "a", "b", "c"

iterator{string} i: mylist

while i:
    string s = i;
    "$s"

Limitations

You cannot assign (copy) an iterator to another one in normal ways. (Why would you even do that?)

class Dog::
    member i: iterator{string}

iterator{string} myiter = mylist

mydog.i = myiter // nope, doesn't work
mydog.i = mylist // well, that'd work


Interoperability with sklearn.tree.export_graphviz

For now we cannot draw a tree this way.

???

From now on, the issue tracker is reserved for actionable items such as feature proposals discussion, roadmaps, and bug tracking. For Q&A and discussion, please start a new thread at https://discuss.xgboost.ai/.

I've added this as an item in the central feature request tracker.


Find all @Configuration classes in Spring project

Description
We need to find all classes marked as @Configuration in Spring application.
They will be shown to user in UI to select one of them for testing purposes.
Sorting order is:

config classes in test source root
config classes in source root
may be suggested new config class

Context
Implementation should be quite similar to test source root finding process.

@EgorkaKulikov
Can we also find and display java classes annotated with @TestConfiguration?


Expose Postgres database connection configuration properties including max connection lifetime

Configuring the max lifetime for the Postgres database connection type, and likely all others, like maxLifetime in HikariCP would allow for regular connection cycling on a configured lifetime duration. I believe the default is "0" in the database/sql library, or infinite lifetimes.
PQ says it "Handles bad connections for database/sql" and line 727 func TestCloseBadConn seems to indicate PQ will recover from bad connections, that seem to last for an infinite timeframe, though I have seen in production stale connection pools not recycle stale connections. If we have access to the underlying configuration properties then we can manually configure the connection lifecycle.
The configuration properties I have in mind are as indicated in this article:
db.SetMaxOpenConns(25)
db.SetMaxIdleConns(25)
db.SetConnMaxLifetime(5*time.Minute)

Here's the relevant code from database/sql showing that If d <= 0, connections are not closed due to a connection's age.
// SetConnMaxLifetime sets the maximum amount of time a connection may be reused.
//
// Expired connections may be closed lazily before reuse.
//
// If d <= 0, connections are not closed due to a connection's age.
func (db *DB) SetConnMaxLifetime(d time.Duration) {
	if d < 0 {
		d = 0
	}
	db.mu.Lock()
	// Wake cleaner up when lifetime is shortened.
	if d > 0 && d < db.maxLifetime && db.cleanerCh != nil {
		select {
		case db.cleanerCh <- struct{}{}:
		default:
		}
	}
	db.maxLifetime = d
	db.startCleanerLocked()
	db.mu.Unlock()
}

Looks like all we need to do is expose that API. PR incoming...


Make F# code a bit more idiomatic

I've tried to clean up F# code a little bit (just the non-concurrent version).
It is slightly more allocation heavy, but it also measures marginally faster on my machine.
May I ask you, if you could benchmark it, before applying this pull request.

Maginally faster on my machine, thanks.


Unable to train getting this error: "TypeError: ActNorm1dFlow.forward: kwargs is not present."

Hello!
I am getting an error TypeError: ActNorm1dFlow.forward: kwargs is not present.
This is still occurs regardless of config file or the dataset being used.
Still happens after clean installs of the packages and also when trying the previous MaCow repository.
How can I resolve this?
Thank you for the help!!!
Terminal:
 (wolf) (base) james@LXMint:/media/james/LinuxStorage/Bayes/wolf/experiments$ python -u train.py \
 >     --config  configs/cifar10/macow/macow-base-var.json \
 >     --epochs 15000 --valid_epochs 10 \
 >     --batch_size 512 --batch_steps 2 --eval_batch_size 1000 --init_batch_size 2048 \
 >     --lr 0.001 --beta1 0.9 --beta2 0.999 --eps 1e-8 --warmup_steps 50 --weight_decay 1e-6 --grad_clip 0 \
 >     --image_size 32 --n_bits 8 \
 >     --data_path data/cifar10 --model_path models

Traceback (most recent call last):
  File "train.py", line 23, in <module>
    from wolf.data import load_datasets, get_batch, preprocess, postprocess
  File "/media/james/LinuxStorage/Bayes/wolf/wolf/__init__.py", line 3, in <module>
    from wolf.wolf import WolfModel
  File "/media/james/LinuxStorage/Bayes/wolf/wolf/wolf.py", line 12, in <module>
    from wolf.modules import DeQuantizer
  File "/media/james/LinuxStorage/Bayes/wolf/wolf/modules/__init__.py", line 3, in <module>
    from wolf.modules.dequantization import *
  File "/media/james/LinuxStorage/Bayes/wolf/wolf/modules/dequantization/__init__.py", line 3, in <module>
    from wolf.modules.dequantization.dequantizer import DeQuantizer, UniformDeQuantizer, FlowDeQuantizer
  File "/media/james/LinuxStorage/Bayes/wolf/wolf/modules/dequantization/dequantizer.py", line 9, in <module>
    from wolf.flows.flow import Flow
  File "/media/james/LinuxStorage/Bayes/wolf/wolf/flows/__init__.py", line 4, in <module>
    from wolf.flows.normalization import ActNorm1dFlow, ActNorm2dFlow
  File "/media/james/LinuxStorage/Bayes/wolf/wolf/flows/normalization.py", line 13, in <module>
    class ActNorm1dFlow(Flow):
  File "/media/james/LinuxStorage/Bayes/wolf/wolf/flows/normalization.py", line 26, in ActNorm1dFlow
    def forward(self, input: torch.Tensor, mask: Union[torch.Tensor, None] = None) -> Tuple[torch.Tensor, torch.Tensor]:
  File "/media/james/LinuxStorage/Bayes/wolf/lib/python3.7/site-packages/overrides/overrides.py", line 88, in overrides
    return _overrides(method, check_signature, check_at_runtime)
  File "/media/james/LinuxStorage/Bayes/wolf/lib/python3.7/site-packages/overrides/overrides.py", line 114, in _overrides
    _validate_method(method, super_class, check_signature)
  File "/media/james/LinuxStorage/Bayes/wolf/lib/python3.7/site-packages/overrides/overrides.py", line 135, in _validate_method
    ensure_signature_is_compatible(super_method, method, is_static)
  File "/media/james/LinuxStorage/Bayes/wolf/lib/python3.7/site-packages/overrides/signature.py", line 95, in ensure_signature_is_compatible
    super_sig, sub_sig, super_type_hints, sub_type_hints, is_static, method_name
  File "/media/james/LinuxStorage/Bayes/wolf/lib/python3.7/site-packages/overrides/signature.py", line 136, in ensure_all_kwargs_defined_in_sub
    raise TypeError(f"{method_name}: `{name}` is not present.")
TypeError: ActNorm1dFlow.forward: `kwargs` is not present.

To JTdeep,
I have solved the problem.
The problem was the version of overrides.
You may try with overrides 3.1.0.

@Kim-Dongjun thank you! I will try it later :)


IndexError

Index Error In Testing
Should Be:
cs_string = cs[1].strip().replace(''', '').split('["')[1]

Thanks. Can you please indicate which repo leads to an error, and which
error it produces?
El jue., 23 feb. 2023 1:25 p. m., Clark Wang @.***>
escribió:

[
https://github.com/SoftwareUnderstanding/inspect4py/blob/9da8fe5779436fc54556956243dce31692678ee8/inspect4py/parse_setup_files.py#L59](Index
Error)
Should Be:
cs_string = cs[1].strip().replace(''', '').split('["')[1]
—
Reply to this email directly, view it on GitHub
https://github.com/SoftwareUnderstanding/inspect4py/issues/415, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AALTIGT3HXUP3YMAKSMJF4LWY5JNDANCNFSM6AAAAAAVFSDDGM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

The Error happened in testing in the repo of Somef

Fixed now in your PR


SyntaxError: Unexpected identifier - at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)

Hi,
running "node ." I got the following error.
I am not a Java programmer.
Any hint on what might be the reason ?
$ node .
file:///home/palmer/Downloads/EXTRACT/jupgrid/src/jupgrid.js:13
import packageInfo from '../package.json' assert { type: 'json' };
^^^^^^
SyntaxError: Unexpected identifier
at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
at async link (internal/modules/esm/module_job.js:42:21)

Have you run npm i or pnpm i first? You might need to get the packages for the bot to work! 😄

Have you run npm i or pnpm i first? You might need to get the packages for the bot to work! 😄

Done, "npm install"
This was the outcome
`up to date, audited 686 packages in 10s
143 packages are looking for funding
run npm fund for details
13 vulnerabilities (11 moderate, 2 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run npm audit for details.
`

This seems to be having issues with handling the creation of the JSON files for user settings/parameters.
@AstroOrbis Are you able to shed any light on this? Im not too savvy on Linux.

This seems to be having issues with handling the creation of the JSON files for user settings/parameters.
@AstroOrbis Are you able to shed any light on this? Im not too savvy on Linux.

Found a solution in:
https://github.com/eslint/eslint/discussions/15305#discussioncomment-8248405
"replace assert by with"

emmm, @Pantoria , come again :-)
I mean,  where should I "replace assert by with"  ?
My last computer language I used was "C", 20 years ago.
Besides a bit of linux shall script, I am a troglodyte nowadays

Well, after asking some help to chatGPT I understand that the issue is more complex than the error that started this thread.
The Java used in all the scripts is not compatible with my Linux environment.
The use of operators like "??" , "#" .
This line
		const symbolText = options.symbol ?? ' ';
Should be written like
const symbolText = options.symbol !== undefined ? options.symbol : ' ';
There are too many of thos Java language issue all over the scripts.
I guess I have to give up or wait for some other suggestion from the community


Playing audio in HTML audio tag doesn't work

It seems that playing audio in the audio tag doesn't work.
Regards,
matt

Bowser extends the WKWebView and should therefore support most of the things that Mobile Safari does. Do you know if playing audio works there?

I just stumbled upon these extra configs that may solve your problem:
WKWebViewConfiguration *config = [[WKWebViewConfiguration alloc] init];
config.allowsInlineMediaPlayback = YES;
config.mediaPlaybackRequiresUserAction = false;

Do you have the possibility to test this yourself?


Hover stylings

Added hover state param to 'value', 'nestedNode' and 'rootNode' stylings.
Rebased https://github.com/alexkuz/react-json-tree/pull/51

If this is ok, can you merge it?

@mclin sorry it took me so long to review that :)


Organize Project Structure

Currently, our project structure has some issues.

Some code paths (maybe just src/.github) are non-functional because of their file structure placement.
Some files are unused or contain dead code.
We lack consistent casing conventions. This makes it harder to identify the contents of a file.
We are not following any of the common conventions for the folder structure of React projects. This makes files hard to find, understanding the codebase hard, and adding to the codebase more difficult.

I'd like to remedy this. Here are my proposals from least to most controversial:

Code paths that don't work should work. That means moving files to the right places to function, eg. src/.github to /.github.
We should not have unused files or files containing dead code. If we still need them, that's what branches are for. We should not be accepting PRs with dead code. If we have existing dead code, we should get rid of it unless a person will be working with that dead code in the immediate future.
Casing should follow React convention. A file containing a React component (it should contain only one) should be named with PascalCase identically to the exported component. Files that are not react specific should use camelCase. More controversially, all React files should be suffixed with .jsx to indicate that they are using React's JSX language. This will help identify their file contents to code authors at a glance, and assist text editors in properly syntax highlighting the files.
We should pick a folder structure and stick to it. I propose the 'one-folder-per-concern' structure. It is not the most scalable structure out there, but it is likely the simplest to add to and maintain for small scale projects, which we are.

I'm going to start hacking away at this unless anyone raises strong objections. Insofar as possible, I'll try to group my change-sets independently so that only the controversial changes need be debated.

Glad to see this happening! My two cents:

Dead code: agreed, though I do wonder if some of the dead code is still meant to be reintegrated. Regardless, we can checkout old commits and find whatever we're looking for.
Casing conventions: Yes please! I also suggest that files that export a single class start with capital letters: SomethingUseful.js. Thoughts?
.jsx: Not as sure about this one. I've not used it before. What are its potential downsides?
Folder structure: that link leads to a page that doesn't seem to propose a one-folder-one-concern solution, but it does have an initial folder structure, and some guiding principles, that I like. I think as long as our 'containers' and 'stylers' (or whatever) folders can be broken up into purposes like 'forms'/'formPages' (or would it be 'form-pages'?), etc. then it looks great. Followup questions:

Do our 'programs' and 'data' folders stay where they are?
Proposals for how we organize our various kinds of 'helper' logic? I have a doc that brainstormed some folder structures to deal with some of that, but it was never fully discussed and I'll have to see how well it meshes with the current plan for the folder structure.
What is the convention for folder names? 'camelCase.js'? 'dashed-names.js'?

I think we'll have to make more specific issues than this to move forward on it. I think the 'refactoring' project may cover the same goal.


Strapi v5: Cannot apply any value to Custom Field

Strapi: v5.0.1
strapi-plugin-navigation: 3.0.0-beta.0
The UI does not allow to set any value for a custom field. I tried with all four field types.
It seems, the value of a custom field is set fixed to its field name. You can clearly see that on string-typed fields and on the render output (which for a field MyField always has the value:  {..., "MyField": "MyField", ...}.
In addition, the UI shows the name as label of the custom field instead of showing the defined label.

The issue was fixed in the released version 3.0.0-beta.1.


How to left join on two differente database/Connection key

Hello,
I'm trying stuff on Serene and I'm stuck on something since the last two days.
Let's say I have my Administration Module with a sub-module Tenants, on DefaultDB connectionString, all coming from Serene template.
And I also have another module called Service, with a sub-module Customers, on another connectionString called CustomerDB.
In SSMS, I can left join on [DefaultDB].[dbo].[Tenants].[customerID] = [CustomerDB].[dbo].[Customers].[ID] all is fine and I get my data.
But in Serene, Sergen generated code with object as TenantsRow and CustomersRow.
Both has their own connectionKey such as:
[ConnectionKey("Default"), TableName("[dbo].[Tenants]")]
and
[ConnectionKey("CustomerDB"), TableName("[dbo].[Customers]")]
How can I do a left join, on a row, on another ConnectionKey ?
Ex:
[ConnectionKey("Default"), TableName("[dbo].[Tenants]")]
[LeftJoin("acstm", "[CustomerDB].[dbo].[Customers]", "acstm.[id] = T0.[id]")]
public sealed class TenantsRow : Row, IIdRow, INameRow
{
. . .

this does not work at all. It tries to search for [CustomerDB].[dbo].[Customers] inside the DB linked to ConnectionKey "Default" where of course it does not exist.

Sugestion
Create a view on Default Database using data from CustomerDB
Sample
Create view Customers
as
Select * from [CustomerDB].[dbo].[Customers]

@nydus-zz, Oh I had forgotten about view in sql! This should work yes.
Thanks for the suggestion!

Quick follow up. It oes indeed work. I Created a view in SQL where my left join on two DB is done.
Using sergen I generated the ViewRow and could get my data easily, thanks!


Reduce fe ci time

Please answer these questions before submitting a pull request

Why submit this pull request?

[ ] Bugfix

[ ] New feature provided

[ ] Improve performance

[ ] Backport patches

Related issues

Bugfix

Description

How to fix?

New feature or improvement

Describe the details and related test reports.

Please add the corresponding test cases if necessary.

Backport patches

Why need to backport?

Source branch

Related commits and pull requests

Target branch

Codecov Report

Merging #15 (444f964) into master (76f083a) will decrease coverage by 20.10%.
The diff coverage is 68.96%.

@@             Coverage Diff             @@
##           master      #15       +/-   ##
===========================================
- Coverage   72.35%   52.25%   -20.11%
===========================================
  Files         134       38       -96
  Lines        5647     2660     -2987
  Branches      651        0      -651
===========================================
- Hits         4086     1390     -2696
+ Misses       1318     1082      -236
+ Partials      243      188       -55

Flag
Coverage Δ

backend-e2e-test
?

backend-e2e-test-ginkgo
?

backend-unit-test
52.25% <68.96%> (+0.44%)
:arrow_up:

frontend-e2e-test
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

api/internal/core/entity/entity.go
0.00% <ø> (-100.00%)
:arrow_down:

api/internal/handler/consumer/consumer.go
63.82% <0.00%> (-27.66%)
:arrow_down:

api/internal/handler/ssl/ssl.go
55.49% <0.00%> (-17.81%)
:arrow_down:

api/internal/handler/data_loader/route_export.go
69.92% <77.77%> (+0.75%)
:arrow_up:

.../internal/handler/authentication/authentication.go
82.35% <100.00%> (-17.65%)
:arrow_down:

api/internal/handler/data_loader/route_import.go
27.41% <100.00%> (-37.50%)
:arrow_down:

api/internal/handler/route/route.go
58.77% <100.00%> (-20.00%)
:arrow_down:

api/internal/utils/version.go
0.00% <0.00%> (-100.00%)
:arrow_down:

api/internal/filter/request_id.go
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 105 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 76f083a...444f964. Read the comment docs.


Hot to customize datepicker?

I've installed this package, but I didn't find any prop to change theme or disable unnecessary buttons like time picker (watch popup). Where can I find theme names lists or resize the font-size?
Thanks

Hello
There is not themes you can define your own theme. look at this default theme .
and if you looking for other available features you can see all of theme in the document

Disabling timePicker: #24
And all default theme values are here

Hey 👋🏻
Here's an announcement that a new version of the module has just been released. Since this issue is related to the older version, I have closed it. I would appreciate your feedback on the new version.


Hangs on Microsoft Teams removal.

Describe the bug
Latest debloat version hangs on the Microsoft Teams removal step.
To Reproduce
Steps to reproduce the behavior:

Install fresh Window 10 22H2
Run all updates
Run all store updates
Run debloat on Desktop plus Visual Performance plus Remove All MS Store Aps.
Hangs on "Team installation not found"

Expected behavior
Expected debloat to remove MS Store Aps.
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
RED TEXT:
You cannot call a method on a null-valued expression.
At line:1315 char:13
$MachineWide.Uninstall()
CategoryInfo			:InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrerId	:InvokeMethodOnNull

YELLOW TEXT"
WARNIG: Teams installation not found
Process user: Public
WARNIG: Teams installation not found for user Public
Process user: Owner
WARNIG: Teams installation not found for user Owner

Just pushed a big conversion with extra checks so this doesn't happen.


Fix most golint warnings.

This is with golint -min_confidence=0.5.
I left 7 remaining lint warnings untouched because they were either
incorrect or I felt it was better not to change them at the moment.

@fabxc

I know you feel stronger about complying with the tool, so :+1:
Many fixes are obviously good.

Addressed all comments. Initially I wanted to fix all golint comments, but then realized that many are bogus - then I read the golint README after this PR and realized it's not meant to be ever used for presubmit-check style tests :) Too bad there isn't a linting/checking tool that makes sense to always follow.

\o/ :+1: :tada:


The "parse" function has inconsistent error handling

The parse(...) function appears to return a seemingly valid result when given any string, regardless of whether it contains a valid UUID or not:
var nodeUuid = require('node-uuid'); // v1.4.3
nodeUuid.parse(''); // => [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
nodeUuid.parse('this is not a uuid'); // => [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
nodeUuid.parse('ffff'); // => [255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
nodeUuid.parse(new Object); // => TypeError: Object #<Object> has no method 'toLowerCase'
nodeUuid.parse(nodeUuid.v4()); // => [145, 125, 225, 14, ... ]

How would a user of this library know whether or not the argument is a valid UUID or not?
Would it make sense to return null or throw an exception indicating that the argument is not a parseable UUID string?

+1 for null or maybe NaN (Invalid Date wraps NaN).

What is the expected behavior? Should it only parse exactly matching strings (including hyphens in the correct places) or otherwise throw an error?

hmmm it's being tested to behave this way: https://github.com/broofa/node-uuid/blob/master/test/test.js#L129
Any change to this would definitely require a bump to v2.0.0, but I agree that the suggested behavior sounds better than the current behavior.
Thoughts @broofa?

 They were methods I found useful in the original version of this lib and I figured others might find them useful as well, so added them to the public API, but didn't give a lot of thought to it.  They were certainly never intended to be a rigorous method of validating uuids.
This is one of the things I'd like to see addressed in the next major version.  In fact if you look at the parseFields method in the v2.0.0 branch you'll find a more rigorous implementation that's more in keeping I with what I think the public API for parsing/validation should be.

+1 for throwing error rather than returning null, etc.


Microsoft.AspNetCore.Authentication.AzureAD.UI not working with Blazor NET Core 3.0

Creating a new Blazor app with .Net Core 3.0 server I'm unable to use Azure AD authentication because I can't successfully add the Microsoft.AspNetCore.Authentication.AzureAD.UI package on the Client project.  Trying to add the preview version fails because of the netstandard version of the client. If I install the 2.2 version I get a build/link error: MSB3073.

You should post it on Asp.net repo, not here, as you can read on README.


Change column types on mappings_batch_entries to match mappings

In particular because archive_url was too small for National Archives URLs which are usually long. Batch entries are the precursor to mappings so their column types should match where possible, so that users can create mappings via batches with the same constraints as when doing them individually.
Also use a long archive_url in a test which fails without this migration.
See Errbit for examples of data which trigger this problem - the test URL comes from this data.
There's some context for the large schema diff in the first commit message.

I've updated the db structure in Bouncer to match: https://github.com/alphagov/bouncer/pull/141

Looks good, merging!


Change "TiddlyWiki Five" to "TiddlyWiki5"

Most of the documentation used the number five without a space.

I'll close this and do it manually. Thanks.


postCreateCommand for FastAPI

The lack of this command may be why fastapi tests werent passing for you - the app needs to be installed first. This command mirrors whats in readme as well.

I think I added them in my recent update but happy to merge this so that the PG testing works


Add a Baseview class to ease rendering

I need a base class for all datagrid related views DatagridView, HeaderView, DatagridRowView, CellView with a vars property.
The attributes purpose should be changed as this is a bit misleading and inconsistent with the DatagridView vars property.

Add a parent property to make rendering easier.

The DatagridRowView has no block_prefixes or unique_block_prefix in the default implementation 😫
Add these vars when a DatagridView is created, and allows the view-builder callback to change them. The intializing of the DatagridView needs to be moved to a separate method (init).

OH: The cell doesn't have a header when it's being build 🙂 well, that's.... 💀🙊🙌

Trying to understand how the Symfony Form renderer works broke my poor head 😑
rollerworks_datagrid_header_widget and rollerworks_datagrid_rowset_widget will be removed.
I can't think of any situation were you would like to use theme A for the datagrid and theme B for the rowset (not the row widget).
A cell must use the same block prefixes as the header (this cannot be changed).
So we simple get the blocks and unique block-prefix from the corresponding header, not the cell itself (which would have been a simple pass trough from the header anyway).

💀🌩🙌☠😫💥💥❗❗and so on... my third comment was correct.
The Cell needs the HeaderView, but this is not the case at all ATM.
So here comes another BC break 🙂💀

With some struggles I think I solved it 😠😄


RxSwift 5.0.0 support

Prerequisite
Requires #145 to be merged and released first.
Change

Support macOS and watchOS through Carthage
Added Example projects for macOS and watchOS
Uses RxSwift 5.0.0
Upgrade project to Swift 5.0

@freak4pc unit tests are failing due to https://github.com/CocoaPods/CocoaPods/issues/8729

That's very strange. I'm wondering how the tests on the main repo work with no issues (I mean on ReactiveX/RxSwift).

@freak4pc Do you have any idea?

No, I really don't at this moment. I'll try to take a look tomorrow when I have some free time.

Any luck?

I was sure I got it to work but it's still failing. Super weird because it works fine for other projects, I'm not sure what's broken in the project structure here but it might be better to try and figure it out or rebuild the example project 🤔

@freak4pc I've moved the unit tests away from the Cocoapods examples into the main project file - so that now it resolves correctly. Not sure if this deviates from your original intention of having the tests in the cocoapods integrated workspace..


added my details

Hacktoberfest! 🎊🎈
🎉 Have you read the Contributing Guidelines? 🤔
Ans - Yes
📝 Description
Ans - Added my portfolio and profile details
Fixes #issue_no 🔧
N/A
✅ Checklist

[✅] I've read the contribution guidelines. 📚
[✅] I've checked the issue list before deciding what to submit. 🔍
[✅] I've edited the README.md and linked to my code. 📄

🔗 Related Issues or Pull Requests
N/A

Hi there!
Although this repo is not part of Hacktoberfest 2024, we have some great alternatives for you. Welcome to SkillShow, a repository focused on skill enhancement!
Guidelines:

Please adhere to the existing guidelines.
No additional rules, thanks!
Check it out here: SkillShow.

Note: Start by creating an issue. Once it’s assigned to you, feel free to open a pull request (PR). Directly opening a PR will lead to an invalid label.
Looking forward to your contributions!


Orphaned logs when the container exits

When an application sending logs fast enough to populate the log buffers, but then exits before the log buffer is completely flushed, the buffer will still be drained even if the log driver is closed.
This is easily replicable in 1.9 and 1.10-dev ( 1.10 is abit harder because of the new fixed buffer ).
The symptom is that the container after flushing all its logs into the docker's buffer will exit, the udp connection in the log driver is closed, but the log copier will still flushing the current buffer into the log driver, which leads to these errors:
Jan 15 15:41:18 cf docker[21652]: time="2016-01-15T15:41:18.181604406Z" level=error msg="Failed to log msg \"0123456789 18180\" for logger gelf: gelf: cannot send GELF message: write udp <IP_ADDRESS>:58356-><IP_ADDRESS>:23010: use of closed network connection"

This is particularly bad in 1.9, a bit more managable in 1.10 because the buffer size is only 1mb now, but this should still be fixed.
How to replicate
# container
> docker run --log-driver=gelf --log-opt=gelf-address=udp://<IP_ADDRESS>:23010 debian:jessie sh -c 'for i in $(seq 1 20000); do echo<PHONE_NUMBER> $i; done'

# run a udp listener, i use this program, but you can probable use netcat -ulp 23010 as well
package main

import (
        "log"
        "net"
)

func main() {
        addr, err := net.ResolveUDPAddr("udp", ":23010")
        if err != nil {
                panic(err)
        }
        c, err := net.ListenUDP("udp", addr)
        if err != nil {
                panic(err)
        }
        log.Printf("listened to %s", addr.String())
        b := make([]byte, 1000)
        i := 1
        for {
                count, err := c.Read(b)
                if err != nil {
                        log.Printf("ERROR: %v", err)
                }
                i += 1
                log.Printf("%d: received %d", i, count)
        }
}

Instead of closing the driver prematurely, we should only close it when we make sure that the log copier is closed i.e. nothing will be sent into a closed log driver.
System info
Client:
 Version:      1.10.0-dev
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   9b63019
 Built:        Fri Jan 15 12:15:39 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.10.0-dev
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   9b63019
 Built:        Fri Jan 15 12:15:39 2016
 OS/Arch:      linux/amd64

Containers: 49
 Running: 0
 Paused: 0
 Stopped: 49
Images: 502
Server Version: 1.10.0-dev
Storage Driver: overlay
 Backing Filesystem: extfs
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 3.18.13
Operating System: Debian GNU/Linux 8 (jessie)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.864 GiB
ID: CVPU:RQBK:OU2T:PW7R:2XMU:G2IA:LXJG:HU57:MTJJ:M2UD:7OZA:RJVE
Username: dqminh
Registry: https://index.docker.io/v1/
WARNING: No swap limit support

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO


Add support for 04f2:b6f9

This is the device used in the Clevo NS50MU also known as System76 Darter Pro (darp7), PCSPECIALIST 15,6" LAFITÉ PRO and TUXEDO InfinityBook S 15 Gen6

Thank you !
I don't directly merge your commit because it will change the .c file. I'll just keep your modifiction to the config.txt file.


Error: questionnaire_not_found by using mobile app and webapp through the same participant

When a user tries to use both apps there will be an error "questionnaire_not_found"
Steps to reproduce the behavior:

Open the mobile app. Answer some questions. Don't submit the questionnaire.
Now use the webapp with the same user. Answer the questions and send the questionnaire.
refresh in mobile app or in Webapp.
See the error: !!! DB might be inconsistent. Check DB !!!
Error: questionnaire_not_found

solved in #35


feat: add tmux support

Testing with:
.tmux.conf
bind [ run-shell 'kitty @ kitten /Users/mike/gitrepos/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py --env "TMUX=$TMUX" --env "TMUX_PANE=#{pane_id}"'

moved list to #115

[ ] add tests checking env var and kitty_data.tmux
[ ] add multipane test
[ ] check positioning of paste window

[ ] status line impacts this, look into tmux set-option status on tmux set-option status 3 etc . check with tmux show-options status
[ ] adjust cursor pos for split panes (tmux display-message -p '#{cursor_x} #{cursor_y} #{pane_width} #{pane_height} #{window_visible_layout}')
[ ] idea, check if zoomed, if not toggle zoom before hand. tmux resize-pane -Z need to figure out command to check if already zoomed ( try #{window_zoomed_flag} )

[ ] check positioning for scrolled window
[x] add command to generate config
[ ] copy to clipboard, add/modify option to copy to tmux buffer with set-buffer command
[ ] look into history-limit configuration and document preferred settings
[ ] doc differences between tmux copy mode, e.g., one pane full screen instead of split panes
[x] if get-extent all, -S - -E -, if screen remove -S and -E options. see tmux capture-pane help
[x] review all options in capture-pane https://man7.org/linux/man-pages/man1/tmux.1.html

       capture-pane [-aAepPqCJN] [-b buffer-name] [-E end-line] [-S
               start-line] [-t target-pane]
                     (alias: capturep)
               Capture the contents of a pane.  If -p is given, the
               output goes to stdout, otherwise to the buffer specified
               with -b or a new buffer if omitted.  If -a is given, the
               alternate screen is used, and the history is not
               accessible.  If no alternate screen exists, an error will
               be returned unless -q is given.  If -e is given, the
               output includes escape sequences for text and background
               attributes.  -C also escapes non-printable characters as
               octal \xxx.  -T ignores trailing positions that do not
               contain a character.  -N preserves trailing spaces at
               each line's end and -J preserves trailing spaces and
               joins any wrapped lines; -J implies -T.  -P captures only
               any output that the pane has received that is the
               beginning of an as-yet incomplete escape sequence.

               -S and -E specify the starting and ending line numbers,
               zero is the first line of the visible pane and negative
               numbers are lines in the history.  ‘-’ to -S is the start
               of the history and to -E the end of the visible pane.
               The default is to capture only the visible contents of
               the pane.

[ ] doc required tmux version
[ ] nice to have? maybe? add tmux nerd font icon to status when in tmux mode
[ ] doc doesn't work over ssh

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


Settings Panel

Create settings panel for user to enter creditentails for:
FairOS,

username, password
(bee url / gateway)
IPFS
endpoint
Dropbox,
through OAUTH2
Google Drive.
through OAUTH2

implemented S3, Fairos and IPFS


Rendering a half of the brain

Thank you for sharing the great code!
I've been using Brainrender and it works fantastic.
I was wondering if it is possible to render only a part of the brain.
Specifically, I would like to render only the left or right side of the brain.
This is because when I plot labeled neurons in the brainstem and see from the sagittal, the paraflocculus obscures the view.
Thanks!

Hey thanks, that's great to hear!
Yep you can do that, there's two examples of how to use planes to cut actors in a scene (here and here).
Below is a reworked example showing how to cut the root and region meshes along the sagittal plane and display some cell locations. Note that you want to do the cutting before you add the cells to the scene or you'll be cutting the actor that shows the cell location as well.  Alternatively you can do the cutting later on and pass a list of actors to cut to scene.cut_actors_with_plane with the actor keyword argument [actors not in the list will not be affected].
P.s.: you'll need the latest version of brainrender for this to work so: pip install -U brainrender
Example code
import pandas as pd

import brainrender
brainrender.SHADER_STYLE = 'cartoon'

from brainrender.scene import Scene

regions = ['GRN', 'PRNc', 'PRNr']

scene = Scene()

# Add some actors
root = scene.actors['root']
regs = scene.add_brain_regions(regions, alpha=.2)

# Cut with plane
scene.cut_actors_with_plane('sagittal', showplane=False) # Set showplane to True if you want to see the plane location
sil = root.silhouette().lw(1).c('k')
sil2 = [act.silhouette().lw(1).c('k') for act in regs]
scene.add_vtkactor(sil, *sil2)

# Get fake cell coordinates
cells = [] # to store x,y,z coordinates
for region in regions:
    region_cells = scene.get_n_random_points_in_region(region=region, N=1000, hemisphere='right')
    cells.extend(region_cells)
x,y,z = [c[0] for c in cells], [c[1] for c in cells], [c[2] for c in cells]
cells = pd.DataFrame(dict(x=x, y=y, z=z)) # ! <- coordinates should be stared as a pandas dataframe

# Add cells
scene.add_cells(cells, color='darkseagreen', res=12, radius=25)

scene.render(camera='top')

If you want to get the other half of the brain after cutting, you'll have to use a plane with the normal pointing in the opposite direction of what's used for sagittal by default. So you want to do something like this:
pos = scene.atlas._root_midpoint
sx, sy = 15000, 15000
norm = [0, 0, -1]
plane = scene.atlas.get_plane_at_point(pos, norm, sx, sy, color='lightblue')
scene.cut_actors_with_plane(plane, close_actors=False,
                showplane=True, actors=scene.actors['root'])

Hope this helps, let me know if you have any question

Thanks for your quick response!
It works very well. I have two questions.
When I render the left side, regions (nuclei) on the right side are still visible. How can I remove them?
Also, is it possible to remove black lines around regions?
Thanks!

The black lines are added with these lines:
sil = root.silhouette().lw(1).c('k')
sil2 = [act.silhouette().lw(1).c('k') for act in regs]
scene.add_vtkactor(sil, *sil2)

So you can just omit those and you won't have the lines.
When you call scene.cut_actors_with_plane, it will cut all the actors that have been added to scene up to that point (unless you pass a list of actors as a keyword argument). So you want to make sure to call scene.add_brain_regions before scene.cut_actors_with_plane
If this doesn't work perhaps you can copy/paste the code you're using so that I can see what's going wrong.

Thanks! Regions still don't go away.
Here is my code.
Create a scene
scene = Scene(jupyter=True)
scene.screenshots_folder
Define in which regions to crate the cells and how many
regions = ["XII", "VII", "AMB" ]
Add some actors
root = scene.actors['root']
regs = scene.add_brain_regions(regions, alpha=.2)
Cut with plane - left side
pos = scene.atlas._root_midpoint
sx, sy = 15000, 15000
norm = [0, 0, -1]
plane = scene.atlas.get_plane_at_point(pos, norm, sx, sy, color='lightblue')
scene.cut_actors_with_plane(plane, close_actors=True,
showplane=False, actors=scene.actors['root'])
scene.add_cells(file_names[0], color="magenta", radius = 14, res = 30);
scene.add_cells(file_names[1], color="aqua", radius = 14, res = 30);
scene.add_cells(file_names[2], color="gold", radius = 14, res = 30);
scene.render()
vp = Plotter(axes=0)
vp.show(scene.get_actors())

The problem is with this line:
scene.cut_actors_with_plane(plane, close_actors=True, showplane=False,
actors=scene.actors['root'])

By passing actors=scene.actors['root'] you're saying that you want only the brain outline to be cut. If you change that line to:
scene.cut_actors_with_plane(plane, close_actors=True, showplane=False)

all actors will be cut.
I also suggest setting close_actors=False for better visualisation.

It works great now. Thanks!
One last thing, it is possible to remove the line circled in the attached image?

mmm I don't know where the circle comes from. Does it appear with the same code as you've sent above?

I didn't explain well. I meant the rectangle shaped shadow between the cerebellum and hypothalamus.

Ah, I see sorry I didn't read your message correctly. Have you tried setting close_actors=False?

It disappeared with "close_actors=False".
I think my problems are all solved.
Thanks a lot!

Great!

Thanks for this great piece of software and congrats on the publication. I'm re-opening this comment sense it appears that the switch from V1->V2 requires some adjustments to slicing the root. After running scene.get_actors() I can see 'brainrender.Actor: root-brain region' is one of my Actors, but when passing it to .slice() I get the following error
'str' object has no attribute '_mesh'
Any suggestions are much appreciated.

Hi,
how are you trying to do this? Could you share an example code?

Hi @FedeClaudi, thanks for the reply. I was able to (mostly) figure this out by going through the examples you have posted using V2. Posting the code I used below for posterity.
`import pandas as pd
import brainrender
brainrender.SHADER_STYLE = 'cartoon'
from brainrender.scene import Scene
from vedo import embedWindow
embedWindow(None)
scene = Scene()
Add some actors
scene.add_brain_region("GRN", "PRNc", "PRNr", alpha=0.2, color="green")
actors = [a for a in scene.actors]
Cut with plane
scene.slice('sagittal', actors=actors, close_actors=True)
scene.render(camera='top')`

Thanks, get in touch if you have any other question


fix (server): Fix broadcast-signal async call

An error got merged in with https://github.com/microsoft/FluidFramework/pull/16451 -- the async call in the broadcast-signal  event emitter wasn't working. This PR fixes it.
https://github.com/microsoft/FluidFramework/pull/16452 is blocked on this change being merged and released as a new package version.

blocked on this change being merged and released as a new package version

By when are you going to need this released and integrated into client?

By when are you going to need this released and integrated into client?
@tylerbutler  It's not urgent but we thought a patch bump would work, I can do the patch release!

By when are you going to need this released and integrated into client?

@tylerbutler It's not urgent but we thought a patch bump would work, I can do the patch release!

@tylerbutler to be clear, a patch release to the just-released 2.0, after porting this change to that release branch.

Also would be great to bump t9s` server deps to 2.0.1 before releasing t9s 2.0.0.

By when are you going to need this released and integrated into client?

@tylerbutler It's not urgent but we thought a patch bump would work, I can do the patch release!

@tylerbutler to be clear, a patch release to the just-released 2.0, after porting this change to that release branch. So if we can wait to bump the client deps on server directly to 2.0.1 once this is released, it'd save us one bump there.

Well, I was trying to get server bumped for this major release but if we need to wait for more server changes then I think we need to push the server bump to next major. Server releases are not trivial so I don't want to merge into next and then immediately release a version that has had little bake time. I was ok with it when the server changes had been sitting for a few weeks and were already in FRS, but there's too much churn now.

By when are you going to need this released and integrated into client?

@tylerbutler  It's not urgent but we thought a patch bump would work, I can do the patch release!

Please do not release server without coordinating with the release drivers. Server releases are not supposed to be done by anyone but release drivers atm.

By when are you going to need this released and integrated into client?

@tylerbutler  It's not urgent but we thought a patch bump would work, I can do the patch release!

Please do not release server without coordinating with the release drivers. Server releases are not supposed to be done by anyone but release drivers atm.

There also isn't really a process for patching server. All server releases are considered major.

There also isn't really a process for patching server. All server releases are considered major.

@ghoshkaj hold on releasing the patch and let's discuss this next week with @tylerbutler. It doesn't feel right to have to release server 3.0 to fix a bug that went into a new feature in 2.0, but we can figure out the best approach calmly next week.

Wow I missed all the back and forth here. Holding off for Monday!


CUDA related error

When I use ASD-POCS using my data. Some cuda-related  error happen.
The forward projection and FBP works.  I'm using LEAP  v1.13
In Linux the error is
  File "/home/exouser/stefen/code/DDS/physics/multileap4GPU.py", line 44, in IR
    leapct.ASDPOCS(proj,rec,iter_num,10,10,filters)
  File "/home/exouser/.local/lib/python3.10/site-packages/leapctype.py", line 2971, in ASDPOCS
    P1[P1==0.0] = 1.0
RuntimeError: CUDA error: an illegal memory access was encountered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

In Windows, the error is
  File "D:\code\improved diffusion\DDS\physics\multileap4GPU.py", line 44, in IR
    leapct.ASDPOCS(proj,rec,iter_num,10,10,filters)
  File "C:\Users\Shuo_Han\AppData\Local\anaconda3\envs\diff\lib\site-packages\leapctype.py", line 2987, in ASDPOCS
    Pf_minus_g = self.allocateData(g)
  File "C:\Users\Shuo_Han\AppData\Local\anaconda3\envs\diff\lib\site-packages\leapctype.py", line 1429, in allocateData
    y = torch.zeros([x.shape[0], x.shape[1], x.shape[2]], dtype=torch.float32, device=torch.device('cuda:'+str(self.get_gpu())))
RuntimeError: CUDA error: an illegal memory access was encountered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

It looks like you are running out of memory.  When I first wrote this algorithm, I did not spend a lot of time figuring out how to use as little memory as possible.  I'll go back through this code and see if I can use fewer data structures and/or reuse some.
In addition, when the data structures "live" on the CPU and LEAP just copies them back and forth to the GPU, I make sure I split up the data into small enough chunks so that I don't run out of GPU memory, but I see that you are using the feature where the data lives on the GPU.  In this case, torch is allocating a lot of GPU memory that I don't really have control of and that is why I think this is a GPU memory issue.
Anyway, like I said, I'll do through this algorithm and see if I can use less memory.  Just out of curiosity, what is the size of your CT projections and CT volume?

Well, I don't think it will out-of-memory. Cause I'm using the A100-40GB.
FYI, the size of projection is (240,1,835), CT volume is (1,256,256).
Previously it worked on my last project. This time didn't work.
And sometimes when I set the wrong configurations like project the 256256 image and reconstruct it by 512512, it will cause this problem too. But this time the geometry is correct. I don't know why.

Ya, you’re probably right that this is not a memory issue. Please update to v1.14. There was a bug in the subsets partition that was solved in this release.

I've figured it out. The initial image for the iterative alg involves a 4-dimensional tensor. By squeezing it down to 3 dimensions, the problem is resolved. I suggest adding an error tracker to better identify the actual bug. lol


Azure Pipelines Port

Is your feature request related to a problem? Please describe.
Many organizations still leverage Azure DevOps i.e. Pipelines and would have needs to perform testing of policies
Describe the solution you'd like
Initial v1 port of existing GitHub workflow to Azure Pipelines.
Describe alternatives you've considered
N/A
Additional context
N/A
Already started working on a simple port, if this is something you are interested in, I can contribute back - https://github.com/keyoke/azure-policy-testing/blob/az-pipelines-port/azure-pipelines.yaml

@keyoke Please port back. It's an awesome enhancement.

Port completed. Closing issue.


FilterLayout dropdown issue in table

Package
filament/filament
Package Version
3.0.88
Laravel Version
10.29
Livewire Version
3.0.10
PHP Version
8.2
Problem description
When using FiltersLayout with Select and when that table have small data then the select option is not clearly visible.
If FiltersLayout::AboveContent is used then this is the result

If FiltersLayout::BelowContent is used then this is the result

Expected behavior
Expecting to clearly seen the select option data when using FilterLayout with small or big data
Steps to reproduce
Clone, install
Migrate with seed
login using<EMAIL_ADDRESS>and password credentials
Go to User, and check the filter.
Note: I'll just put FiltersLayout::BelowContent for now, you can change to AboveContent to check other issue
Reproduction repository
https://github.com/valpuia/fila-dropdown
Relevant log output
No response

I don't think there's much we can do here, as the table container needs overflow-hidden.
Let us know if you think there is a way to work around this though.

I don't think there's much we can do here, as the table container needs overflow-hidden. Let us know if you think there is a way to work around this though.

But without ->searchable() it's showing like below, hope we can display like this.

That's because that's the native <select> which is handled by the browser/OS.


Some question about _neg_loss

Hello, I have some confusion about the loss function (_neg_loss).
def _neg_loss(preds, gt):
    pos_inds = gt.eq(1)
    neg_inds = gt.lt(1)

    neg_weights = torch.pow(1 - gt[neg_inds], 4)

    loss = 0
    for pred in preds:
        pos_pred = pred[pos_inds]
        neg_pred = pred[neg_inds]

        pos_loss = torch.log(pos_pred) * torch.pow(1 - pos_pred, 2)
        neg_loss = torch.log(1 - neg_pred) * torch.pow(neg_pred, 2) * neg_weights

        num_pos  = pos_inds.float().sum()
        pos_loss = pos_loss.sum()
        neg_loss = neg_loss.sum()

        if pos_pred.nelement() == 0:
            loss = loss - neg_loss
        else:
            loss = loss - (pos_loss + neg_loss) / num_pos
    return loss

I found the neg_weights is always 1. So,
neg_loss = torch.log(1 - neg_pred) * torch.pow(neg_pred, 2) * neg_weights
equivalent to
neg_loss = torch.log(1 - neg_pred) * torch.pow(neg_pred, 2) .
Is my understanding correct?

The elements in neg_weights are not always 1s. Weights at the locations close to the corners are less than 1, while the rest are 1s. There are usually only a few objects in an image so most of the elements in neg_weights would be 1s. When you print neg_weights, PyTorch only shows a small part of it and those elements are very likely to be 1s.


Posterior distribution and gibbs sampler

Hi @donotdespair
This is the initilal pull request format for save and share with @inhyekang-au.
Thank you

Branch mistake and repull


It will be nice to have a field called public_key in ETH keyfile

It will be nice to have a field called pubic_key in ETH keyfile
Example
{
  "address": "e990ce1fd17a3e3bfa8ac37ddbfe766911a114ec",
  "crypto": {
    "cipher": "aes-128-ctr",
    "cipherparams": {
      "iv": "a3ffb3f314a8a38942dff99dae8890"
    },
    [...]
    },
  },
  "id": "2e9ba770-11ad-464b-bf3b-468cad97a1e8",
  "version": 3,
  "public_key" : "0x0000000dead0000000eth000hahha...." # extral field
}

Sorry for the delay in response. The keyfile itself is handled by the library eth-keyfile, but it's a standard we conform to - https://github.com/ethereum/wiki/wiki/Web3-Secret-Storage-Definition
The version 4 keyfile does have the pubkey available, coming soon -> https://github.com/ethereum/eth-keyfile/pull/56


[cPP CHANGE] Section 5.4, remove "required"

What is the change request for the cPP? Please describe.
In the first sentence of the Class section, remove the first "required" from the sentence.
Describe the solution you'd like
The sentence should read like this (taking out the first "required")

Management functions in this section describe required capabilities to support a Security Administrator role and basic set of security management

Describe alternatives you've considered
Remove the second "required" instead, but I think it reads better with the first one out.
Additional context
Since this is the mandatory SFR section, the functions don't need to be noted as "required", but also having "required" show up twice in 6 words seems like a lot.

Change complete.


Support for async-safety through asgiref's Local

We are looking to switch to ASGI soon and are freshly using django-multitenant as well. As the threading.local is being used by django-multitenant, I'm afraid of cross-request tenant leakages.
I therefore suggest an approach similar to django-simple-history:
try:
    from asgiref.local import Local as LocalContext
except ImportError:
    from threading import local as LocalContext

This should use asgiref's Local as an asgi-safe alternative to threading.locals as per my understanding. As asgiref.local is meant as a drop-in replacement, the change should be straightforward.

Yes, even I wanted to understand if django-multitenant is compatible with ASGI and Channels server. I am new to Channels and ASGI, so need some advice before I port my current Django app which uses this library into an ASGI mode for some of the new features.

@darwing1210 Do we have an eta when this can be released?

@darwing1210 Do we have an eta when this can be released?

I'm not sure, as it was never reviewed by the repo owners

Hey @darwing1210 @arpanpreneur I'm reviewing right now. Thanks for your contributions

@gurkanindibay This can be closed as per https://github.com/citusdata/django-multitenant/commit/fd84aeee9f71f66775a5f4256102f9010418a940 right?


jsnext add

12 04 2016 21:06:03.040:INFO [launcher]: Starting browser PhantomJS

12 04 2016 21:07:03.039:WARN [launcher]: PhantomJS have not captured in 60000 ms, killing.
12 04 2016 21:07:05.040:WARN [launcher]: PhantomJS was not killed in 2000 ms, sending SIGKILL.
12 04 2016 21:07:07.045:WARN [launcher]: PhantomJS was not killed by SIGKILL in 2000 ms, continuing.

Woooo, thank you Travis-Ci for existing. I was actually struggling to get this working on my machine, thinking it was some mistake in how we do transpilation because we are importing node-forge as a special case, but in the end, it was just my PhantomJS dep that was old and crashed all the things! Fortunately, thanks to Travis-Ci, I saw the green checkmarks and decided to change my strategy. It works now. Wooowow :D


Failures on install should be fatal

Overview
During yarn create just, if the packager fails to install the top level yarn create command would continue and report success.  This change makes it bubble up the packager failure.

Ping @kenotron


[BUG]: Circular reference causes type to become any

What version of drizzle-orm are you using?
0.31.2
What version of drizzle-kit are you using?
0.22.6
Describe the Bug
When two tables reference each other in a circular manner the types of the tables cannot be inferred and instead become any.
Expected behavior
The tables have the correct type.
Environment & setup
import { integer, sqliteTable } from 'drizzle-orm/sqlite-core';

export const invitations = sqliteTable('invitations', {
  id: integer('id').primaryKey({ autoIncrement: true }).notNull(),
  primaryGuestId: integer('primary_guest_id').notNull().references(() => guests.id),
});

export const guests = sqliteTable('guests', {
  id: integer('id').primaryKey({ autoIncrement: true }).notNull(),
  invitationId: integer('invitation_id').notNull().references(() => invitations.id),
});

Note that this can be fixed with the solution mentioned by @dankochetov  under https://github.com/drizzle-team/drizzle-orm/issues/435#issuecomment-1503542074, but this really feels like something that should work out of the box, and if not should be documented properly.

it's documented, there's nothing we can do for now, that is a TS level and potentially with further TypeScript releases it will just work out of the box
https://orm.drizzle.team/docs/indexes-constraints#foreign-key

I know there are two methods, but if this is the advised (or at least, simpler) method,
export const user = sqliteTable("user", {
  id: integer("id").primaryKey({ autoIncrement: true }),
  parentId: integer("parent_id").references((): AnySQLiteColumn => user.id)
});

maybe the code block in the documentation can be merged? Similar to https://github.com/drizzle-team/drizzle-orm/issues/435#issuecomment-1503542074
import { serial, text, integer, pgTable } from "drizzle-orm/pg-core";

export const user = pgTable("user", {
  id: serial("id"),
  parentId: integer("parent_id").references((): AnySQLiteColumn => user.id) // self-referencing foreign key
});

export const book = pgTable("book", {
  id: serial("id"),
  name: text("name"),
  authorId: integer("author_id").references(() => user.id) // inline foreign key
});


The number of genes in a cell has to be pushed to the obs layer

https://github.com/openpipelines-bio/openpipeline/blob/50d0394499fb7317854251b491f8f735626cf075/src/filter/filter_with_counts/script.py#L52
The number of genes is required in the obs layer for downstream usage.

@ddemaeyer, this metric is added as the column num_nonzero_vars, see https://github.com/openpipelines-bio/openpipeline/blob/ad21c2fb504372872b2fe182ab2a0d1329eddd11/src/qc/calculate_qc_metrics/config.vsh.yaml#L17

Closing this issue, please reopen if needed.


feat: add experimental @sveltejs/image package

See the readme for more info. This is a experimental for now.
Possible follow-ups:

[ ] remove or use height in providers
[ ] built-in Vite plugin similar to svelte-preprocess-import-assets
[ ] should dynamic component upscaling be removed?
[ ] document how to handle which images get cached on a CDN
[ ] fix bug in vite-imagetools so that images that end up the same get filtered out as duplicates and then enable &w=
[ ] make format, device_sizes, etc. configurable
[ ] document advanced custom vite-imagetools usage probably by creating own instance of it and disabling the built-in one
[ ] use in new projects in create-svelte and move docs from readme to site
[ ] potential new features like mdsvex, lqip, and additional CDNs (could create thin wrappers around unpic or update API to match)
[ ] changes in Svelte to allow styling with :global (https://github.com/sveltejs/svelte/issues/2870#issuecomment-1161082065)

Related to #241
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Love that there are multiple providers from the start :heart:
One thing to note is that the adapter config hook is also new. Was that added to kit before or needs another changeset with minor release? This is the first non "adapt" use for adapters, so some documentation might be needed too.

One thing to note is that the adapter config hook is also new. Was that added to kit before or needs another changeset with minor release? This is the first non "adapt" use for adapters, so some documentation might be needed too.

I removed that probably while you were reviewing. It appeared to be unused and was making the build fail

is there any update on this?

is there any update on this?

We decided that this isn't the right approach — we have an idea for a solution that we do like, but haven't made any progress towards implementation yet.
Essentially there are two almost completely unrelated problems to solve:

Optimizing images dynamically, i.e. routing image requests to an image CDN
Generating optimal images at build time

Neither of these actually benefits from a component. In the first case, you just need some logic for generating the src, which is just a function. For example, to use Vercel image optimization in a recent project, I added this function...
import { dev } from '$app/environment';

export function optimize(src: string, widths = [640, 960, 1280], quality = 90) {
  if (dev) return src;

  return widths
    .slice()
    .sort((a, b) => a - b)
    .map((width, i) => {
      const url = `/_vercel/image?url=${encodeURIComponent(src)}&w=${width}&q=${quality}`;
      const descriptor = i < widths.length - 1 ? ` ${width}w` : '';
      return url + descriptor;
    })
    .join(', ');
}

...which gets used like this:

For the second case, where we have the asset at build time and can generate multiple optimized variants (with immutably cacheable URLs) and add width and height attributes to avoid layout shift, we need to use a preprocessor to find the asset in some markup like this...

...so that a Vite plugin can do its work. Again, there's no real value in involving a component — if we need a preprocessor anyway, then we can get that preprocessor to replace any  elements that statically reference a relative source with optimal markup (using <picture> and srcset if appropriate, etc):

There's a bunch of details to figure out here and it won't happen overnight, but we think it'll be really nice to work with.

Closing as outdated - static images are done through @sveltejs/enhanced-img, dynamic images TBD

is there any update on this?

We decided that this isn't the right approach — we have an idea for a solution that we do like, but haven't made any progress towards implementation yet.
Essentially there are two almost completely unrelated problems to solve:

Optimizing images dynamically, i.e. routing image requests to an image CDN
Generating optimal images at build time

Neither of these actually benefits from a component. In the first case, you just need some logic for generating the src, which is just a function. For example, to use Vercel image optimization in a recent project, I added this function...
import { dev } from '$app/environment';

export function optimize(src: string, widths = [640, 960, 1280], quality = 90) {
  if (dev) return src;

  return widths
    .slice()
    .sort((a, b) => a - b)
    .map((width, i) => {
      const url = `/_vercel/image?url=${encodeURIComponent(src)}&w=${width}&q=${quality}`;
      const descriptor = i < widths.length - 1 ? ` ${width}w` : '';
      return url + descriptor;
    })
    .join(', ');
}

...which gets used like this:

For the second case, where we have the asset at build time and can generate multiple optimized variants (with immutably cacheable URLs) and add width and height attributes to avoid layout shift, we need to use a preprocessor to find the asset in some markup like this...

...so that a Vite plugin can do its work. Again, there's no real value in involving a component — if we need a preprocessor anyway, then we can get that preprocessor to replace any  elements that statically reference a relative source with optimal markup (using <picture> and srcset if appropriate, etc):

There's a bunch of details to figure out here and it won't happen overnight, but we think it'll be really nice to work with.

https://github.com/leoj3n/svelte-vercel-optimized-images


[AppConfig] appconfig kv restore/show/list: Update datetime validation to accept timezone offset

Related command

appconfig kv show
appconfig kv set
appconfig kv list

Description

This change updates validation to allow using ISO-8601 datetime strings with an offset specified. This used to break validation even though this is the format in which the last_modified datetime is shown. This change ensures behavior consistency with the displayed change and would make it more convenient for users to use the same format for commands.
Testing Guide

History Notes

{AppConfig} appconfig kv restore/show/list: Update datetime validation to accept timezone offset

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

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

AppConfig

You might want to add list_revision command to the PR title/description too


[WIP] New content to Main

Add Seme Profile
Change Duts Profile
Change Wafelas Profile
Change Sidas Profile
Add new descriptions to all Profiles and closes #280

Now it is your turn @DutKulang to approve via Review ;)


Docs page hard to find from main site

I think the Docs site should be in the banner at the top of the main website.
More than once I wasted a lot of time trying to find the link to the docs site. When I first started lookin gat Bruno, I was actually concerned that there wasn't documentation! I'm glad I was wrong about that.
These days I just google bruno docs. But I figure, it was confusing me, it's probably confusing other people, and so you might want to know and consider changing it. Thanks!

Agreed. Just came across this project and already I paid upfront for the Golden Edition to support the project. Definitely would like to see a more prominent link to documentation in the main header navigation.


Add, update and remove credits to each subscription

Lemon Squeezy for Laravel Version
1.4
Laravel Version
10.10
PHP Version
8.3
Description
Hi guys! I have a website where I charge per image since I pay for the API, it occurred to me that the best idea and the one most people use is to add credits to each subscription. Weekly 100- Monthly: 1000 - Annual: 10000.
Now, I'm not sure if the logic I applied is correct and recommended! I was reading this package like the Lemon Squeezy documentation to do my best, but I'm a newbie. Here I leave them.
Create 3 listeners:
Steps To Reproduce

AddCreditsForNewSub with this function:

use LemonSqueezy\Laravel\Events\SubscriptionCreated;

    public function handle(SubscriptionCreated $event): void
    {
      $user = $event->billable;

      $creditsToAdd = 0;

       $variantId = $event->payload['data']['attributes']['variant_id'];

        if($variantId == 216428){
            $creditsToAdd = 100;
        } else if($variantId == 216419){
            $creditsToAdd = 1000;
        } else if($variantId == 216426){
            $creditsToAdd = 1000;
        }

        $user->credits += $creditsToAdd;
        $user->save();
    }

UpdateCredits (adding the credits when the subscription renews automatically and when they go from monthly to annual) is the same as above, except that I put:
use LemonSqueezy\Laravel\Events\SubscriptionUpdated;
DeleteCredits (delete the credits on the day the subscription ends, according to the documentation I understood that the SubscriptionExpired webhook is triggered on the day the subscription ends)
use LemonSqueezy\Laravel\Events\SubscriptionExpired;

    public function handle(SubscriptionUpdated $event): void
    {
      $user = $event->billable;
      $creditsToAdd = 0;

        $variantId = $event->payload['data']['attributes']['variant_id'];

        $cancelled = $event->payload['data']['attributes']['canceled'];

        if($variantId == 220254 && $cancelled == false){
            $creditsToAdd = 100;
        } else if($variantId == 220255 && $cancelled == false){
            $creditsToAdd = 1000;
        } else if($variantId == 220256 && $cancelled == false){
            $creditsToAdd = 1000;
        }

        $user->credits = $creditsToAdd;
        $user->save();
    }

EventServiceProvider:
 protected $listen = [
        Registered::class => [
            SendEmailVerificationNotification::class,
        ],
        SubscriptionCreated::class => [
            AddCreditsForSubscription::class,
        ],
        SubscriptionUpdated::class => [
            UpdateCredits::class,
        ],
        SubscriptionExpired::class => [
            DeleteCredits::class,
        ],
    ];

(I'm sorry, I marked it as a bug without realizing it.)

Hey @NicolasMelian. This indeed seems more like a feature request and more something for usage based billing which this package doesn't support yet. Please see https://github.com/lmsqueezy/laravel/issues/55


FAILED TO DEPLOY

HEY @blueedgetechno  IF I TRY TO DEPLOY THIS REPO TO VERCEL IT SHOWS AN ERROR PLEASE LOOK INTO IT

Can you share the screenshot of the error?

man broke his caps lock idk.

i fixed it was a problem with the port


memset zeros entire buffer in netlink oops

Haven't reviewed the code enough to know if this would have been an actual issue, but clang warned me about it when I did make all so I figured I'd send a PR.

Thanks

Haven't reviewed the code enough to know if this would have been an actual issue

It wouldn't. buf[64] is defined on the previous line.

I was thinking that since buf was an array of int, and the memset was only zeroing 64 bytes, the original wouldn't end up zeroing out the entire array.

I was thinking that since buf was an array of int, and the memset was only zeroing 64 bytes, the original wouldn't end up zeroing out the entire array.

Fair call. You're correct.


The displays are ready to use, a few more questions about Multiplexer and Enclosure

Hi,
I tested 4 displays on the white board, it went great, then I connected the purple wire (GND) and the red wire (5v) to the busch distribution board and that also worked, so I'm done with this area, only there have yet to come out about the 2 multiplexers, I need more than 8 displays, do you know how to do this together with the rocrail, I understand you need a 2 controller and multiplexer, but how do you combine this with rocrail or should you make a plan in rocrail for the 2nd display set of 8? By the way, do you have a link for the 3d drawing for the housing for the display, find 2 types of a T pole with a display on the left and right and a single pole on the left and right, do you actually use a double sided display on a platform or a single sided ?
Greetings

For more than 8 displays you need a second controller and multiplexer. Each controller must have a unique name. The default name I use is RocMQTTdisplayC01. You can use any name unless they are different for each controller.
In the configuration each display gets an ID. Default is D01, D02, ...
You can set a unique ID for each display. If you want some displays to always show the same content you can assign the same name to them. E.g. two displays have the ID D03. When you send a MQTT message from Rocrail to D03 both displays will show the content. Even when they are connected to different controllers.
I don't have an enclosure link or file for printing. If you find a good one let me know.

Hi, ok I already have a 2nd controller and multiplexer, but do you just count the unique code or do you start again at 1 with the 2nd controller and how does that work with rocrail, do you have to make a new plan or can you do the same use plan and proceed with multiple display numbers. So you have to name the 2nd controller RocMQTTdisplayC02 and you have to connect the controller and multiplexer 1 and 2 at the same time to use it via rocrail.
That's because I use 4 displays for the station / platform, 4 displays for the bus station and then 2 train displays on the next station and 1 on the other bus station at that station building and possibly some on the way, so I need at least 10 displays .
and later it will be the intention that the displays will run automatically when the train departs and that the following message will appear, but I have not yet figured out how this works, but will come.
Greetings

I have added some more explanation for the data flow with two or more controllers to the Wiki
https://github.com/chrisweather/RocMQTTdisplay/wiki/7.-Format-and-Examples

Hi,
part of the picture is clear, eg you have to give each controller a separate browser page, but now it specifically says to use wifi, does that mean you have to run the controllers over wifi? now everything runs via the fixed cable to the pc and via ethernet. Can you also connect by connecting both controllers to the PC, then connect both to the mosquitto and thus to rocrail or do you have to turn off ethernet and run on wifi and also let the controllers run via wifi instead of the cables?
Assume that the same ip address should be noted in browser page 1 and 2?
And what about uloading to the controller, can that be done from the same documents folder where the display files are located or does a new folder have to be created for the controller 2 with the data files in it?
Greetings

You just need a USB connection to the PC for loading the initial software and data folder to the controller. After that the controller connects via WiFi to your network. The USB cable is just the power connection then. You can also use any other 5V USB charger.
The browser is on required to change any configuration settings on the controller. This happens via WiFi. Just type http://yourControllerName to get into the configuration of the controller.

Enclosure §D printing files for a basic case can be found here: https://github.com/chrisweather/RocMQTTdisplay/tree/main/case


Log to files and better exception handling

It's good for debugging purpose to log to files as well. If one of the TODs fail to be processed, it should
also be logged into an error file. The pipeline should be robust to errors which is not the case right now.

Resolved by #20


go 1.x runtime is no longer supported

Expected Behavior
Being able to deploy the template.
Current Behavior
CloudFormation errors out because of deprecated go1.x runtime.
Possible Solution
Move to provided.al2 or provided.al2023 runtimes.
Simply changing the value in the template does not seem to work though as the bootstrap handler is not found then.
Error: Couldn't find valid bootstrap(s): [/var/task/bootstrap /opt/bootstrap] Runtime.InvalidEntrypoint

How to reproduce (for bugs)

Thanks for reaching out, the issue has been resolved.


Why not compare with FLAN-T5-Large?

What considerations preclude a comparison against the FLAN-T5-Large model? As shown in MM-COT paper (arXiv:2302.00923) Table7, FLAN-T5-Large achieves ~93% on ScienceQA.
Is it because the experimental settings are different? By the way, FLAN-T5-Large (~783M) has less number of parameters than LLaMA / LLaVA (~13B).
Thank you.

@ChunyuanLI Thanks for your quick reply. My main concern is not performance, but curiosity about the contribution of instruction tuning for the performance improvement.
By the way, one of the conclusions in the paper is interesting, "We conclude that CoT-like reasoning-ﬁrst strategy can largely improve convergence, but contributes relatively little to the ﬁnal performance." Can you provide some intuitive analysis? For example, instruction tuning may replace the role of COT Prompting in some way.


[send] Added timvisee Send chart

Signed-off-by: geraldwuhoo<EMAIL_ADDRESS>Description of the change
Add Send chart
Benefits
People will be able to deploy Send, a simple drag-and-drop file sharing service with client-side encryption.
Possible drawbacks
NA
Applicable issues
NA
Additional information
Checklist

[x] Title of the PR starts with chart name (e.g. [home-assistant])
[x] Chart version bumped in Chart.yaml according to semver.
[x] Chart artifacthub.io/changes changelog annotation has been updated in Chart.yaml. See Artifact Hub documentation for more info.
[x] Variables have been documented in the values.yaml file.

Thanks! For future reference, why not include the tag in the base values.yaml?

Thank you for updating!

Thanks! For future reference, why not include the tag in the base values.yaml?

The reason for this is that the value gets populated by the appVersion field from Chart.yaml metadata by default when the field is empty. We had quite some charts in the past where the appVersion metadata would differ from the image.tag value. So by leaving it empty by default we ensure that they are always in sync (and only have to update the application version in one spot) :) Users can still manually override/pin the value by specifying a value themselves.

@all-contributors Please add @geraldwuhoo for code


BACK-END - Understand what format the URL should look like to make an article call. (Hint: Use the API console!)

task completed


Ignore SIGPIPE

Similar to code in the Docker daemon and containerd 0.2.x. Even if we
have a better deployment model in containerd 1.0 seems reasonable to
have this same fix in the rare case that it bites someone using
containerd 1.0.
Signed-off-by: Phil Estes<EMAIL_ADDRESS>See #930, #1104 for history in docker/containerd 0.2.x
cc: @runcom

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1155   +/-   ##
=======================================
  Coverage   31.78%   31.78%
=======================================
  Files          27       27
  Lines        2168     2168
=======================================
  Hits          689      689
  Misses       1331     1331
  Partials      148      148

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 106c750...dad7e06. Read the comment docs.

LGTM


feat: add featureflag to allow usage of global Deno

This PR adds a new featureflag that allows usage of a build-image installed Deno binary, instead of downloading the binary during build.
cc https://github.com/netlify/pillar-workflow/issues/504

You are absolutely correct, and I glossed over the ?? true bit thinking it'd surely be ?? false. I need more coffee.


Add support for Angular 13

When adding to the project, get this error:

The version 13.0.0 fixed this issue.


Error when adding a reminder during processing of a reminder

Is there a limitation on what you can do as part of the execution of a reminder?
I consistently get the following error response:
error creating actor reminder: POST https://cosmosenv.documents.azure.com:443/dbs/dapr/colls/state-actors/docs
--------------------------------------------------------------------------------
RESPONSE 412: 412 Precondition Failed
ERROR CODE: PreconditionFailed

I also occasionally see time-out errors on reminders but I can somewhat explain those: if the actor is busy with long-running work, the reminder will likely time-out (?).

This is still an issue


feature: Add option to filter out imported objects (true by default for backward compatibility)

Is your feature request related to a problem? Please describe.
Not really, it's rather a refactoring issue. Currently the templates use filter_objects first, then do a second pass with {% if members_list is not none or attribute.is_public %}. The next version will use Griffe 0.47's is_imported (negated) instead, but that makes it hard to follow. We should move this logic into the filter_objects filter, with a config option like show_imported_objects or similar name.
Describe the solution you'd like
New config option passed to filter_objects to decide whether to filter out imported objects or not.
Describe alternatives you've considered
/
Additional context
https://github.com/mkdocstrings/griffe/issues/294

Boost priority

Boost priority in our backlog through Polar.sh. Higher pledge, higher priority.
Minimum pledge by user/organization is $5, minimum amount for boost is $30.
View all issues with pledges.
We receive the funds once the issue is completed and confirmed by you.
Features with the insiders label are released to sponsors first, and tied to a funding goal.

Related to https://github.com/mkdocstrings/python/issues/170.


G2 Play on the Web (13 points)

backend game functionality in python
testing for game functionality

Part 1 - Game Logic
Part 2 - Hooking up to web

[ ] Making Django Models (5 points)

[ ] Making Django Tests for Each Model (3 points)

[ ] Serializing Django Models (2 points)

[ ] Creating API Endpoints (3 points)


bflc:indexedIn property doesn't exist in bflc ontology

In ConvSpec-490-510-530to535-Links.xsl, the template   <xsl:template match="marc:datafield[@tag='510' or @tag='880']" mode="instance510">, it creates a property bflc:indexedIn. However, that property doesn't exist in bflc. Should it be something else?

Good catch - we'll add it to the list.

Do you have an example of a 510 we can check? Commenting w/a LCCN or a link should be easy. Thanks!

@kirkhess The xspec has some examples already.

Those are only unit tests, I meant a real record with a 510 I can test in metaproxy/yaz.

I found a few in the datasets I am playing with but the 510 notes are not found in LOC catalog.
Here's an example attached (It's marcxml but I had to rename it to txt to attach it)
510.txt

And just curious, how is metaproxy/yaz being used in your workflow of converting MARC at LoC?

We're using:
yaz-record-conv {active config file} {marcxml converted from MARC21 by yaz}

Transformed version. `
510.rdf.txt
`

According to the maintainers of the bflc ontology and the MARC to BIBFRAME conversion spec, bflc:indexedIn is correct. An update to the ontology will be coming out to cover the existing conversion.


How to delete, update and add ressources to the index.html through.

What problem does this feature solve?
I am trying to figure out, how I can move favicon from the index.html file that the build outputs. I also want to add other ressources to the html file. I can't find any help from documentation and google.
What does the proposed API look like?
I need to change the favicon or maybe i need to remove it. How can I accomplish this.

Edit public/index.html.


New version: Bedrock-OSS.regolith version 1.2.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Packages\LGUG2Z.komokana__DefaultSource\komokana.exe returned exit code: 2
Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\komokana.exe returned exit code: 2

(Automated response - build 857.)

It looks like this error is somehow related to another package: https://github.com/microsoft/winget-pkgs/pull/141913

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Packages\LGUG2Z.komokana__DefaultSource\komokana.exe returned exit code: 2
Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\komokana.exe returned exit code: 2

(Automated response - build 857.)

Hi @Nusiq,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 869.)

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-03-03 05:49:53.098 [FAIL] Installer failed security check. Url: https://github.com/Bedrock-OSS/regolith/releases/download/1.2.0/regolith-1.2.0.msi Result: 0x80004005

(Automated response - build 869.)

@wingetbot run


[Snyk] Security upgrade python from 3.7-alpine to 3.12.2-alpine

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 3 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

examples/docker/Dockerfile

We recommend upgrading to python:3.12.2-alpine, as this image has only 6 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Out-of-bounds Write SNYK-ALPINE318-OPENSSL-6152404
  167

Out-of-bounds Write SNYK-ALPINE318-OPENSSL-6152404
  167

Resource Exhaustion SNYK-ALPINE318-EXPAT-6241039
  161

CVE-2023-5363 SNYK-ALPINE318-OPENSSL-6032386
  161

CVE-2023-5363 SNYK-ALPINE318-OPENSSL-6032386
  161

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Resource Exhaustion

Outdated

Outdated


Extended source detection

(astropy or sextractor?) to get locations and photometry of galaxies (the 'host galaxies' for fake sources

duplicate with issue #3