Use daemon threads for threaded test server

When using werkzeug.serving.run_simle(..., threaded=True) the worker threads still keep running after the main thread is terminated either by pressing Ctrl-C or when using the reloader. This can easily be reproduced with ab -n 1000 -c 10 http://<IP_ADDRESS>:5000.
That is because ThreadingMixIn.daemon_threads, in the socketserver module, defaults to False. When overriding this attribute with the value True in the ThreadedWSGIServer class, the program will terminate as soon as the main thread exits, which is the expected behavior for a test server.

@homu r+

:pushpin: Commit 4afd141 has been approved by untitaker

:hourglass: Testing commit 4afd141 with merge 8608a9f...

:sunny: Test successful - status


Show algolia index in about Arrival Advisor

Algolia is paramount for our search experience. We need to keep in mind which index are being used and by which version of the app. One way to do this is to show the algolia index in about arrival advisor.
Acceptance Criteria

[ ]

Steps for QA:

A better way might be to compute the name of the algolia index to use from the version string. Does that cause a bad interdependence between these two things? Probably..

Algolia index is added.

Change index descriptor.

String appears correctly in the staging app, closing this as done


Migration to RISC-V specifications template in asciidoc

I've built this PR with git submodule update --init ; make on a Fedora machine (using Podman as container runtime) and everything looks ok.
While diffing the original Markdown with the generated PDF, I noticed that there are small differences (e.g. the section scope, the section contributors and the table captions), but nothing that qualifies as regression.
We could tweak the layout a bit (e.g. column widths), but that could be done later on as the tables look not that bad.
That said, I consider this as ready to land.


Splice and Benchmarks

Does this use linux splice and do you have any benchmarks

No and no...
On 24 Oct 2020 at 8:35:08 pm, Dayne<EMAIL_ADDRESS>wrote:

Does this use linux splice and do you have any benchmarks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jpillora/go-tcp-proxy/issues/17, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE2X44QR6F6YMDWYW5WCD3SMKNUZANCNFSM4S5O3Q3Q
.


support update content through createContent, passing sha of existing file

Following up from https://github.com/kohsuke/github-api/pull/424

@kohsuke any chance to see that coming ?

Merged with https://github.com/kohsuke/github-api/commit/b2b7dfaf379860e2bdf8313ad752f4c5d4825ef8


Serialize?

In the README.md, there is a snippet example which use serialize(store.getState()).
What is that? I am certainly missing something here, but it's undefined to me.
Before using redux-connect I was using JSON.stringify to serialize my state object into a string to be able to pass it to html. But now, JSON.stringify block my server when there is an async action going on.
Any help? 😔

Js is single threaded, it will block anyway
Problem is that stringidy is susceptible to attacks and you should use specific modules for that

On 17 Aug 2016, at 11:09, Maxime Vasse<EMAIL_ADDRESS>wrote:
In the README.md, there is a snippet example which use serialize(store.getState()).
What is that? I am certainly missing something here, but it's undefined to me.
Before using redux-connect I was using JSON.stringify to serialize my state object into a string to be able to pass it to html. But now, JSON.stringify block my server when there is an async action going on.
Any help? 😔
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

OK.
So, instead of fetching data and returning the whole thing to @asyncConnect, it may be better to fetch the API I need, treat the data, and return to my component only the result (which will be a "safe" object, as I am the one creating it)?
And I figure that, as this object will be smaller, the serializing will be faster…

Just test that, it works now 🎉

Yes, you should only serialize your processed state

On 17 Aug 2016, at 11:38, Maxime Vasse<EMAIL_ADDRESS>wrote:
OK.
So, instead of fetching data and returning the whole thing to @asyncConnect, it may be better to fetch the API I need, treat the data, and return to my component only the result (which will be a "safe" object, as I am the one creating it)?
And I figure that, as this object will be smaller, the serializing will be faster…
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


add --verbosity flag so that output can be tweaked

In the main.py module the --verbosity flag is not defined, but it does appear in the configuration file. Add this flag to main.py and allow it to modify the contents of ceph_medic.config.verbosity

Resolved with PR #145


In a Xamarin Forms app, Uwp in release mode does not display a picture.

Description
In a Xamarin Forms app, Uwp in release mode does not display a picture.
Steps to Reproduce
Take a picture. Store it locally. Display the picture.
Expected Behavior
It displays.
Actual Behavior
It does not display for UWP in release mode.
It does display for UWP debug mode and for either mode for iOS and Droid.
Basic Information

Version with issue: FFImageLoading v2.3.4 (and I had tried some earlier ones)
Last known good version: This is the first time I am trying to do this in UWP
Platform: Windows 10

Screenshots

Reproduction Link / Code
https://bitbucket.org/WillAutio/pictest
(Let me know if the sharing does not work - I have never done it this way before)
Additional comments:
I use:
                mediaFile = await CrossMedia.Current.TakePhotoAsync(new StoreCameraMediaOptions                 {                     Name = filename,                     PhotoSize = PhotoSize.Custom,                     CustomPhotoSize = 80                 });
to take a picture. As I use XAML for everything except assigning an ObservableCollection to the FlowItemsSource, I also added:
FlowListView.Init();
as recommended elsewhere in a few places.
The key XAML code is:
            <flv:FlowListView FlowColumnCount="3" x:Name="listItems"
	                SeparatorVisibility="Default"
	                HasUnevenRows="false" RowHeight="150" >
                <flv:FlowListView.FlowColumnTemplate>
                    <DataTemplate >
                        <ffimageloading:CachedImage  DownsampleToViewSize="true"
                                        Margin="5,5,5,5"
                                        HeightRequest="150"
                                        Source="{Binding Name}"
                                        Aspect="AspectFill"
                                        HorizontalOptions="FillAndExpand">
                        </ffimageloading:CachedImage>
                        <!--AbsoluteLayout.LayoutFlags="All"-->

                    </DataTemplate>
                </flv:FlowListView.FlowColumnTemplate>
            </flv:FlowListView>

Thanks for taking a look at this.

It's explained here: https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-API#windows-uwp---compile-with-net-native-tool-chain-note

Ah - so once I  changed App.xaml.cs in the UWP project with:
var assembliesToInclude = new List()
{
typeof(CachedImage).GetTypeInfo().Assembly,
typeof(CachedImageRenderer).GetTypeInfo().Assembly
};
Xamarin.Forms.Forms.Init(e, assembliesToInclude);
I see pictutres. Thanks you!


python-ubuntu-22.04: container with multiple python versions

uses pyenv to install python versions
podman build -t python-ubuntu-22.04  python-ubuntu-22.04/
example to build doc:
podman run --rm=true -v /tmp:/tmp
-v $SSH_AUTH_SOCK:$SSH_AUTH_SOCK -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK
-v ~/.ssh/known_hosts:/root/.ssh/known_hosts --workdir=$PWD
-it python-ubuntu-22.04:latest tox -e py310-doc
mounts /tmp as current working dir
mounts ssh agent to access
mounts known_hosts for github keys

Draft for https://jira.phytec.com/projects/CI/issues/CI-266

rebased manually
also added overview section in readme


Overall report status badge (quarterly and annual)

Card: https://app.zenhub.com/workspaces/climate-action-secretariat-60ca4121764d710011481ca2/issues/bcgov/cas-cif/532

Work continued in another PR


Azure blob requirement?

Just wanted to check here if the requirement is that we use a custom page stored in Azure blob storage. Could it be placed in some other Internet-accessible location instead?

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

ID: 8876a502-81db-4ef1-9e22-ebff4a63cabe
Version Independent ID: c9676383-40c2-44fc-2d26-ef571466712f
Content: Create Azure Application Gateway custom error pages
Content Source: articles/application-gateway/custom-error.md
Service: application-gateway
GitHub Login: @vhorne
Microsoft Alias: victorh

@dcbrown16 , Thank you for posting your question here.I will update you shortly whether it is possible or not.

@dcbrown16 , as of now Custom error page only supports blob URL.

Closing this issue. Please reopen if you have any further questions.


Nested lists

Hi,
At the moment there is a problem with nested lists. The code I'm using, the intended output and the actual output are as follow:
Code:
let md = json2md({
  ol: [
    'a',
    {
      ul: [
        'I',
        'II',
        {ol: ['A', 'B']}
      ]
    },
    'b'
  ]
});

console.log(md);

Intended output:

a

I
II

A
B

b

Actual output:

a

I
II

A
B

b

--
I implemented a fix for this on my fork, but I had a problem with these lines, cause I couldn't figure out a way to only append \n on the top level list. I decided to never append \n to any list, but I guess this could be an issue somehow. Anyway, I updated the test file, hoping my solution will work fine.
Let me know what you think!

Hey @danielbastos11!
That's cool! I do see how this is currently a problem. Creating a pull request would be appreciated! ✨
Thanks!

Just did it!
Thanks for reviewing 👍

Thanks once again, I love that pull request! :smile:
:ship: 1.5.6

You're very welcome 😃

@danielbastos11 I did a related change in #28. Adding new lines after the components. It turned out that #22 introduced some buggy behavior in some cases (I don't remember when, but it was about new lines).
#28 does not change the output preview of the nested lists, but the Markdown contains a couple of new lines.


Model::loadCounts does not work correctly when relationship contains a join

(recreating this as an issue, as requested in my pull with a failing test)

Laravel Version: 8+
PHP Version: 8+
Database Driver & Version:

Description:
This problem stemmed from a real issue I was having building relationships that are scoped to particular "locations" in my application.
The issue is, loadCounts and withCounts both create a new subquery and copy the wheres, but they do not copy the join constraints - in the case where we're doing something like inner joining to a pivot table to get permutations of content and location pairs, that means that the relationship_count and relationship()->count() will return two different values and cause bugs.
Steps To Reproduce:
Existing pull request with failing test is here: https://github.com/laravel/framework/pull/40867

TLDR below; I'm unsure if this is worth investigating since has()/doesntHave() + with() eager loading do play nice with the relationship aggregate methods.

From your given example test, instead of table joins I'd suggest using has() / whereHas() when defining the relationship, then with()/load() to access nested Location models:
App\Models\User
class User extends Model
{
    public function locations()
    {
        return $this->hasMany(Location::class);
    }

    public function posts()
    {
        return $this->hasMany(Post::class);
    }

    public function postsOfManyLocations()
    {
        return $this->posts()
            ->where('global', '=', false)
            ->has('locations'); // WHERE EXISTS subquery is run
    }
}

App\Models\Post
class Post extends Model
{
    public function locations()
    {
        return $this->belongsToMany(Location::class, 'post_locations');
    }

    public function user()
    {
        return $this->belongsTo(User::class);
    }
}

App\Models\Location
class Location extends Model
{
    public function posts()
    {
        return $this->belongsToMany(Post::class);
    }

    public function user()
    {
        return $this->belongsTo(User::class)
    }
}

// $user = User::withCount('postsOfManyLocations')->first();
$user = User::first()->loadCount('postsOfManyLocations');

// this will be accurate
$user->posts_of_many_locations_count;

$user->postsOfManyLocations->load('locations');

The docs may need to discourage Eloquent models using join() (only covered in the general query builder section) since there are a few other active record issues I'm aware of:

join() without select() in a relationship query will fill the fetched Eloquent model with attributes from secondary table(s)
join() may require select() disambiguating columns for id, etc. if the relationship query is reused.

e.g., $user->postsOfManyLocations()->someScope()->get()

join() can't be applied through multiple query scopes without secondary joins needing a named alias, limiting scope reuse.

Traditionally SQL joins were encouraged over subqueries but the latter really hasn't been a performance bottleneck in basic web apps since the early 2000s. In Laravel codebases, joins are really only something I've used in one-off reporting queries when I do want the results to reflect multiple tables or aggregates. When relationships & scopes became join-heavy, it mainly exposed Eloquent pain points. To fill in the gaps, devs needed to do some extra work (including custom query macros) not covered by official Laravel documentation.

Thanks for looking into this @derekmd

@derekmd Using eloquent relation like has() won't solve the need here. Since @troy-whitespark tries to load the count of locations mapped against a post. And so he used joins in the relationship.
@troy-whitespark I have added a PR for solving your need, #41359. Kindly check and share your thoughts on this.

User::with([
    'posts' => function ($query) {
        $query->withCount('locations');
    },
])->get();

$user->posts->loadCount('locations');

@derekmd Yeah, we can achieve it using this. But it will result in 1 additional query. If we achieve it using the withCount() itself, then we can save a query. Also, that will reduce the iterations for hydrating the post relation. Since we don't need the posts details here.

Since there is a work around available for solving this issue and it isn't a fundamental flaw in the framework that is super critical at the moment, I'm going to close this for now since we don't have any plans to look into it internally (we use open issues to see what we actually plan to tackle ourselves). Of course, anyone else is welcome to take a stab at it if they want.


[Feature Request] Leader key

Please if it is not a CodeMirror issue and is on obisdian end add a leader binding available.
thanks

Leader key support would be amazing

You can just do something like this
unmap <Space>
exmap followlink obcommand editor:follow-link
map <Space><CR> :followlink

You can just do something like this
unmap <Space>
exmap followlink obcommand editor:follow-link
map <Space><CR> :followlink

I tried it with "," but it didn't work for me.

I would like to join the bandwagon requesting leader key functionality. I use a lot of , and I really miss not having it in Obsidian.

+1 for this, I had to look through issues to understand that this wasn't supported

The solution here is to unmap your leader key of choice like so:
" Make , available as a leader key
unmap ,

And then map keys using it directly, not <leader>:
" Quickly remove search highlights
nmap ,/ :nohl<CR>


If Review contains numbers or emojis, its not generating any entities

I am applying PyABASA package on amazon mobile phone reviews and its not generating attributes when the review contains numbers or emojis.
For example :
iPhone 12. Best phone 😍
Genuine product thanks a lot amazon I purchase this divice 20 jan 2022 almost work fine. Best one
For above reviews and similar ones its not generating entities with sentiment. I really appreciate if this issue can be resolved.

Actually， I test it and it works fine, just like:

You can test it here: https://huggingface.co/spaces/yangheng/Multilingual-Aspect-Based-Sentiment-Analysis

Please try try to update to latest version which may resolve this problem

There were some long statements that we are not getting entities like for below one:
"After Long use I am facing following issues  After Long use I am facing following issues. 1. Battery: it’s totally disappointed. Not even run any games recently daily use like Instagram, Facebook, YouTube, WhatsApp it self battery drops rapidly. Maximum 5-6 hrs of battery life that’s it. Every time I wanted to charge my phone. 2. Screen dimming: This phone is not good for gaming. Performance is best no issue even running games in highest graphics but phone gets heat and display brightness gets low even my brightness at 100%. So I uninstalled some games. 3. Call failed: this issue I faced lots of time. While my phone connected to Wi-Fi after sometime my mom tries to call me but she can’t. For my side also it will show the error like call failed even my sim signal is full. Same happens after restarting my phone."
Please try above one. Its generating nothing.

By any chance, can we re-train the model with amazon mobile reviews?

Yes, you can retrain the model based on existing checkpoints: https://github.com/yangheng95/PyABSA/blob/release/demos/aspect_term_extraction/train_atepc_based_on_checkpoint.py

There were some long statements that we are not getting entities like for below one: "After Long use I am facing following issues After Long use I am facing following issues. 1. Battery: it’s totally disappointed. Not even run any games recently daily use like Instagram, Facebook, YouTube, WhatsApp it self battery drops rapidly. Maximum 5-6 hrs of battery life that’s it. Every time I wanted to charge my phone. 2. Screen dimming: This phone is not good for gaming. Performance is best no issue even running games in highest graphics but phone gets heat and display brightness gets low even my brightness at 100%. So I uninstalled some games. 3. Call failed: this issue I faced lots of time. While my phone connected to Wi-Fi after sometime my mom tries to call me but she can’t. For my side also it will show the error like call failed even my sim signal is full. Same happens after restarting my phone."
Please try above one. Its generating nothing.

You may have noted the tip on the demo page saying dont input text longer than 80 words, you can set a longer max_seq_len=256 or 512 to overcome this problem

max_seq_len

Yes I have tired with max_seq_len=10000 but it's not working :-(

There were some long statements that we are not getting entities like for below one: "After Long use I am facing following issues After Long use I am facing following issues. 1. Battery: it’s totally disappointed. Not even run any games recently daily use like Instagram, Facebook, YouTube, WhatsApp it self battery drops rapidly. Maximum 5-6 hrs of battery life that’s it. Every time I wanted to charge my phone. 2. Screen dimming: This phone is not good for gaming. Performance is best no issue even running games in highest graphics but phone gets heat and display brightness gets low even my brightness at 100%. So I uninstalled some games. 3. Call failed: this issue I faced lots of time. While my phone connected to Wi-Fi after sometime my mom tries to call me but she can’t. For my side also it will show the error like call failed even my sim signal is full. Same happens after restarting my phone."
Please try above one. Its generating nothing.

You may have noted the tip on the demo page saying dont input text longer than 80 words, you can set a longer max_seq_len=256 or 512 to overcome this problem

Yes I have tired with max_seq_len=10000 but it's not working :-(

Did you retrain the model using new max seq len? And the maximum is 512.

Did you retrain the model using new max seq len? And the maximum is 512.

No, I have used same model, but can we exceed the limit?

No, if you want set larger max_seq_len. please train your own model which is time-consuming. max_seq_len > 512 may be reset 512, depends on transformers package.

is there any dataset that I can see? so that I can train same pattern of my data?

https://github.com/yangheng95/ABSADatasets/tree/v1.2/datasets/atepc_datasets/102.Chinese/107.phone

How this portal is running with Phone dataset which is exactly getting expected output
https://huggingface.co/spaces/yangheng/Multilingual-Aspect-Based-Sentiment-Analysis

These datasets are only for random example sampling, having nothing to do with the checkpoint. In other words, all the language are based on the same one checkpoint. Because this checkpoint is trained with multilingual (all) datasets from ABSADatasets, so it make a good performance. But it is not trained on a English phone dataset.

oh ok. Thank you so much for clarifying it. can you please share the code on how can we use multilingual checkpoint?

https://huggingface.co/spaces/yangheng/Multilingual-Aspect-Based-Sentiment-Analysis/blob/main/app.py


no file or directory: RCNN_rpn

When I run trainval.py it reports error: no file or directory: RCNN_rpn and neither did I find the package.

Hey did you find the solution to this problem? I too get the same error

Not yeah I am busy these days so maybe I will look into  the problem again when I finish my final exam :)

Not yet  I am busy these days so maybe I will look into the problem again when I finish my final exam :)

@wyzjack
maybe you can just delete RCNN_rpn.
change RCNN_rpn.rpn_loss_cls.data[0] to rpn_loss_cls.data[0]

@maozezhong  Same method to solve the problem , it works.


Exception on joining developer channel

I could join my team's main channel on Slack, but when trying to join the "devroom" channel, which is intended for developers talking about non-work related stuff, the app crashes with the following stacktrace:
➤ node main.js
TypeError: Cannot read property 'ts' of undefined
    at /Users/logc/Applications/terminal-slack/main.js:150:60
    at /Users/logc/Applications/terminal-slack/slackClient.js:65:30
    at Request._callback (/Users/logc/Applications/terminal-slack/slackClient.js:34:25)
    at Request.self.callback (/Users/logc/Applications/terminal-slack/node_modules/request/request.js:368:22)
    at emitTwo (events.js:100:13)
    at Request.emit (events.js:185:7)
    at Request.<anonymous> (/Users/logc/Applications/terminal-slack/node_modules/request/request.js:1219:14)
    at emitOne (events.js:95:20)
    at Request.emit (events.js:182:7)
    at IncomingMessage.<anonymous> (/Users/logc/Applications/terminal-slack/node_modules/request/request.js:1167:12)

The code is cloned from this repository, at commit c21b181.
Thanks for your work on this app!

Thanks for bringing this up. There was a bug when no messages were in the channel yet. This is fixed in commit 5e526d.


@bentley/imodeljs-native 3.5.8

Lots of test failures with "BE_SQLITE_ERROR: error importing schema". @ColinKerr could this be related to the other schema issues we were seeing?
I won't be able to look into this until monday, because I'm out of office tomorrow.

Lots of test failures with "BE_SQLITE_ERROR: error importing schema". @ColinKerr could this be related to the other schema issues we were seeing?
I won't be able to look into this until monday, because I'm out of office tomorrow.

I believe I see two issues here.. The first is that the BisCore schema cannot be located.

Error | ECObjectsNative | Unable to locate referenced schema BisCore.01.00.15 while deserializing PresentationRules.01.00.01

The BisCore schema is located in Assets/ECSchemas/Dgn.
At the time of searching for the referenced BisCore schema in the code I see 4 schema locaters in the ECSchemaReadContext class... one for the cache of already seen schemas, one which checks the iModel itself for the presence of the schema and then two (one of them has two search paths) which search Assets/, Assets/ECSchemas/Standard/, and Assets/ECSchemas/Domain/*.
Originally I thought that the answer was to add another search path Assets/ECSchemas/Dgn... but I'm not sure its this simple. I do see the biscore schema get loaded from that folder at some point in the _OnDbOpened I believe, but its just not available at the time of attempting to locate the referenced schema. It seems that the ECSchemaReadContext constructor is called many times(expected behavior I assume), which is why the referenced schema is unable to be located. This part I'm still trying to fully understand.
The second issue is one I discovered when I put a copy of BisCore.ecschema in one of those above directories,

Error | ECDb | Failed to import schema 'BisCore.01.00.15'. Current ECDb profile version (<IP_ADDRESS>) only support schemas with EC version < 3.2. ECDb profile version upgrade is required to import schemas with EC Version >= 3.2.

I'm guessing this boils down to having to open the seed files with the appropriate open options to get the profile version to upgrade. Is that a manual process or is there a script located somewhere for this purpose?

After talking with Colin...
The first issue, looks like we'll have to add the Dgn directory to the list of searchPaths for the schema locaters. That will require a new PR into the imodel-native code. Instead of abandoning this PR, we could temporarily get around this and still merge 3.5.8 if we open the seedfiles OR the testfiles created off of the seedfiles, with DomainOptions.Upgrade.
The above will store the BisCore 01.00.15 in the iModel that the PresentationRules.ecschema .xml is looking for. That way the schema doesn't have to be found in one of the searchPaths. I'm not sure if this is a good option or not... but regardless we will need to update the Profile on either the seed or the test db created off of the seed for grigas's tests to pass ( this fixes the second issue I mentioned in my longer post) .
@grigasp Any preference on whether we update the seed or the test file created off of the seed?

After talking with Colin...
The first issue, looks like we'll have to add the Dgn directory to the list of searchPaths for the schema locaters. That will require a new PR into the imodel-native code. Instead of abandoning this PR, we could temporarily get around this and still merge 3.5.8 if we open the seedfiles OR the testfiles created off of the seedfiles, with DomainOptions.Upgrade.
The above will store the BisCore 01.00.15 in the iModel that the PresentationRules.ecschema .xml is looking for. That way the schema doesn't have to be found in one of the searchPaths. I'm not sure if this is a good option or not... but regardless we will need to update the Profile on either the seed or the test db created off of the seed for grigas's tests to pass ( this fixes the second issue I mentioned in my longer post) .
@grigasp Any preference on whether we update the seed or the test file created off of the seed?

The third option was to just use an empty iModel for these tests - I pushed the change.

@ColinKerr please respond here regarding questions about sudden proliferation of schema version issues.
For a new example, see here.
Will consumers of our packages be impacted? Is this desirable/expected?

@ColinKerr please respond here regarding questions about sudden proliferation of schema version issues.
For a new example, see here.
Will consumers of our packages be impacted? Is this desirable/expected?

The latest schema changes included the following things

Updating core schemas to EC 3.2
Adding the new BisCustomAttributes schema as a reference to many schemas
Updating schema reference versions

If anyone thinks there is another type of issue happening please let me know so we can get an handle on it.
Updating core schemas to EC 3.2 means that the iModel must be off profile <IP_ADDRESS> or greater.  Connectors have been set to upgrade the profile for 2+ years but many of our test files were still on the older profile.  So it is unlikely that a user has any actual files that are still on the older profile.  I do not think this will cause major user production issues though there may be some problems if code does not know how to manage profile upgrades.  If they do not handle profile upgrades correctly other already released schemas could also cause the change, this just increases the chance they will hit the issue.  The linked commit appears to be handling an old seed file.
Adding the new BisCustomAttributes schema as a reference.  This exposed a bug in the C++ logic that handles schema upgrades for domains which have C++ handlers.  We held back BisCore, Generic, Functional and PhysicalMaterial schemas.  It can cause failure to open an iModel in readonly mode.  We are working on a fix but we should hold back any other schemas if they have handlers registered in iTwin.js until then.  If we miss a schema I could see this causing user issues.  Connectors are going out with everything but BisCore and Generic as they will not face the issue (they upgrade schemas on open) and it's safe once the schemas are in the iModels.
Updating schema reference versions caused the failure in presentation tests and exposed how picky and inconsistent our schema import logic is.  There should be an in progress fix to improve the schema import logic by registering all standard schema paths when importing a schema from disk or xml string.  It will still require schemas to be imported in reference order in some cases.  We can and should add the ability to supply custom directories to search for reference schemas, but this is an independent change.  I believe this may cause some user issues with code that does schema imports until we have the basic fix in place on the C++ side.
We have hit several issues independent of this that also indicate that we need to have better testing for old profiles and iModels that have been updated over time.  This issue rash of issues has shown that we need to do better on tests that happen before we push new schemas.  Several improvements are in progress to improve the existing iModel Evolution tests and extend testing to include testing iTwin.js with new schemas before they are pushed.  In the longer term we will have to do more but the exact steps are still under discussion.

Thanks @ColinKerr.

I do not think this will cause major user production issues though there may be some problems.

Any potential problems need to be addressed before 3.5 release, which is scheduled for next week.
If consumers of packages encounter issues with 3.5 that require them to change their own code, then that's a breaking change and cannot be permitted.
@calebmshafer

@ColinKerr you said "there may be some problems". Please elaborate.
In particular, is there any scenario in which an application's attempt to open an iModel in read-only mode will be impacted?

@ColinKerr you said "there may be some problems". Please elaborate.
In particular, is there any scenario in which an application's attempt to open an iModel in read-only mode will be impacted?

The profile upgrade issue cannot happen in readonly mode because it requires a schema import which requires a read/write connection.
The only issue that can cause readonly mode failures is #2.  We should have a PR for this on the C++ side before the end of the week, @naveedkhan8067 has zeroed in on the problem.
Issues #1 and #3 are limited to schema import scenarios and both could have been avoided if the calling code was written 'correctly'.  Nicks PR should make it easier to write correct code for #3.  We have to investigate ways to make #1 easier but we are not currently planning to have any changes in place for 3.5.

The only issue that can cause readonly mode failures is https://github.com/iTwin/itwinjs-core/issues/2. We should have a PR for this on the C++ side before the end of the week,

Please provide a link to the issue being addressed.

We are not tracking this issue in the public backlog.

#4677

@ColinKerr is it feasible to revert the change until we can get the fix in place? If not, we may want to hold the release until that fix is in place.

sounds good @ColinKerr.
@nick4598 we can probably abandon this one and either grab the fix from native with a new addon or the rollback of the schema updates. Either way we'll need a new version.


Publish gem on Rubygems.org

I might be a good idea to publish this gem on Rubygems.org.
I can see that somebody published this gem as garmin-fit (cf: https://rubygems.org/gems/garmin-fit), and the name fit is already used for something else.
Would that be a good idea to find a proper name (I would say without Garmin to avoid intellectual property issue) and publish it ?
I was thinking to names like:

fity
fityn (fit + end of garmin)

Sorry I am probably not so good at finding names.
Any ideas ?

How does fit-sdk sound?

To my view, this is not really a SDK but more a fit-parser.
SDK might be confusing as tthere is an official Fit SDk (not in Ruby) published by Ant+.
Actually while answering you I noticed that somebody published less than a month ago a version of this code here: https://rubygems.org/gems/fit_parser/ and it comes from: https://github.com/zhublik/fit_parser (but this is not a fork of the main repository).
I do not know how we can reconciliate that for now.

How about fit-file?

Ah, yes I agree with the fit-sdk argument.
I do like fit-ruby, kind of like https://github.com/stripe/stripe-ruby or since fit_parser is taken we could go with fit-parser.

I would rather avoid confusion between fit_parser and fit-parser.
After some extra research fit-parser is also taken here: https://github.com/duereg/fit-parser ;-(
fit-file or fit-ruby would be fine for me.

@doc75 I think fit-parser is fine to use because:

fit_parser is an "illegitimate" fork of this repository (3 commits, same codebase) that was published unofficially to RubyGems (I believe it would have been a courtesy to first ask @tjwallace if he could publish this library as a gem rather than duplicating the repo and publishing it himself[1])
fit-parser doesn't look like it's taken on RubyGems
the fit-parser you linked is a NPM package that has no relationship with Garmin fit files at all

[1] I could be wrong, all of these authors publishing unofficial versions of this library on RubyGems may have asked for permission first.

You are right for the NPM package. Sorry for the confusion.

fit-parser works for me

Although fit-parser doesn't follow the naming conventions

@tjwallace I think that's fine. We can just name the gem fit-parser but keep the classes and modules as-is.

Deployed to RubyGems.org as fit-parser. Thanks to all for your help!


Can't install on docker swarm of pi's

When trying to start home-assistant on a swarm of pi's the service gets stuck with the message no suitable node (unsupported platform on 2 nodes)
I beleive the source of the problem is in the host used to build the image. Also #10649 mentions the problem.  And also at pihole they had the same problem and fixed it : https://github.com/pi-hole/docker-pi-hole/issues/299
Home Assistant release with the issue:
latest
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Docker swarm of raspberry pi's
$ docker node ls
ID                            HOSTNAME            STATUS              AVAILABILITY        MANAGER STATUS      ENGINE VERSION
3cj021kebzwmiadsl1qvjmc4j *   pi0                 Ready               Active              Leader              18.09.0
ukg95pzepgj50p92hebhstacz     pi1                 Ready               Active                                  18.09.0

$  uname -a
Linux pi0 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 9.8 (stretch)
Release:	9.8
Codename:	stretch

$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
HYPRIOT_DEVICE="Raspberry Pi"
HYPRIOT_IMAGE_VERSION="v1.10.0"

version: "3"

services:
  home-assistant:
    image: homeassistant/home-assistant
    networks:
      - hass
    ports:
      - 8123:8123
    volumes:
      - homeassistant:/config

networks:
  hass:

volumes:
  homeassistant:

Description of problem:
Because of missing manifest the image wont start on a swarm. Also when trying to build the service with --resolve-image never fails.
EDIT : Added the info about resolve-image

The homeassistant/home-assistant image is only for the amd64 architecture, which the RPi is not.
You need to use the specific images for RPi (see docker hub).

I did try the homeassistant/raspberrypi2-homeassistant image but it failed with the same error. The image homeassistant/raspberrypi-homeassistant is working. Maybe the number of images could be reduced by using the docker manifest option? I'll give it a shot when I'm done filling my swarm ;-).
https://developer.ibm.com/linuxonpower/2017/07/27/create-multi-architecture-docker-image/

Can you tell me which command you exactly used to install homeassistant on your cluster? Can't get it to work with the same error as you...

Can you tell me which command you exactly used to install homeassistant on your cluster? Can't get it to work with the same error as you...

Does your installation succeed? Or another error.
Will try posting my config and steps to reproduce the issue in the weekend.


Mockup StackScripts create/edit

Very rough first draft sketches.

Seems busy.

Distro selection could hide the versions until you tick a vendor
Distro selection should probably go underneath the script
"Make public" checkbox should just say "Make public" and put the rest into the terms of service

I still think stackscripts should live under /stackscripts instead of /linodes by the way.

Fair
Just following the current order
Do we have a link here to the TOS then?

I'm not necessarily against /stackscripts but I just want to make sure we don't throw too much in the top-level or have a good organization strategy.

Nah, we don't need the link to the ToS. Common sense applies.

Just following the current order

Again, please don't take inspiration from the current manager when making new mockups. We don't want to make some of the bad decisions again.


bug: two phase stream agg panicked at Option::unwrap()

Describe the bug
2022-08-08T16:38:57.971800Z  INFO node{id=14 name="client"}:task{id=1339}: risingwave_sqlsmith::runner: Executing: SET RW_FORCE_TWO_PHASE_AGG TO TRUE
2022-08-08T16:38:58.030585Z  INFO node{id=14 name="client"}:task{id=1339}: risingwave_sqlsmith::runner: Executing: CREATE MATERIALIZED VIEW stream_query AS SELECT (37) AS col_0, (INTERVAL '-60') AS col_1, false AS col_2, CAST(NULL AS STRUCT<a NUMERIC>) AS col_3 FROM (SELECT false AS col_0, (SMALLINT '255') AS col_1, t_0.l_commitdate AS col_2 FROM lineitem AS t_0 GROUP BY t_0.l_returnflag, t_0.l_suppkey, t_0.l_tax, t_0.l_shipinstruct, t_0.l_orderkey, t_0.l_commitdate, t_0.l_quantity HAVING true) AS sq_1 WHERE false GROUP BY sq_1.col_2
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', src/frontend/src/optimizer/property/distribution.rs:254:86
stack backtrace:
   0: rust_begin_unwind
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/std/src/panicking.rs:575:5
   1: core::panicking::panic_fmt
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/panicking.rs:64:14
   2: core::panicking::panic
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/panicking.rs:114:5
   3: core::option::Option<T>::unwrap
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/option.rs:823:21
   4: risingwave_frontend::optimizer::property::distribution::DistributionDisplay::fmt
             at ./src/frontend/src/optimizer/property/distribution.rs:254:86
   5: core::fmt::builders::DebugStruct::field::{{closure}}
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/fmt/builders.rs:141:17
   6: core::result::Result<T,E>::and_then
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/result.rs:1371:22
   7: core::fmt::builders::DebugStruct::field
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/fmt/builders.rs:124:23
   8: <risingwave_frontend::optimizer::plan_node::stream_exchange::StreamExchange as core::fmt::Display>::fmt
             at ./src/frontend/src/optimizer/plan_node/stream_exchange.rs:53:9
   9: core::fmt::write

To Reproduce
set rw_force_two_phase_agg to true;
CREATE TABLE lineitem (
    l_orderkey BIGINT,
    l_partkey INTEGER,
    l_suppkey INTEGER,
    l_linenumber INTEGER,
    l_quantity NUMERIC,
    l_extendedprice NUMERIC,
    l_discount NUMERIC,
    l_tax NUMERIC,
    l_returnflag VARCHAR,
    l_linestatus VARCHAR,
    l_shipdate DATE,
    l_commitdate DATE,
    l_receiptdate DATE,
    l_shipinstruct VARCHAR,
    l_shipmode VARCHAR,
    l_comment VARCHAR,
    PRIMARY KEY (l_orderkey, l_linenumber)
);

CREATE MATERIALIZED VIEW stream_query AS SELECT (37) AS col_0, (INTERVAL '-60') AS col_1, false AS col_2, CAST(NULL AS STRUCT<a NUMERIC>) AS col_3 FROM (SELECT false AS col_0, (SMALLINT '255') AS col_1, t_0.l_commitdate AS col_2 FROM lineitem AS t_0 GROUP BY t_0.l_returnflag, t_0.l_suppkey, t_0.l_tax, t_0.l_shipinstruct, t_0.l_orderkey, t_0.l_commitdate, t_0.l_quantity HAVING true) AS sq_1 WHERE false GROUP BY sq_1.col_2;

Expected behavior
No response
Additional context
Related to RW_FORCE_TWO_PHASE_AGG.

Is this a global simple agg? If so, I think it may be fixed by https://github.com/risingwavelabs/risingwave/pull/7932?

Is this a global simple agg? If so, I think it may be fixed by #7932?

Error occurs in frontend, seems like caused by wrong group key in exchange. Still fixing it


Add : "Disable/Enable printing of type casts" to the context menu in Decompiler

Is your feature request related to a problem? Please describe.
While type casts are often useful, they can sometimes (C++ anyone?) drastically reduce the readability of the decompiler output. This can be configured via the edit->tool options (or via right click-> properties), but is troublesome to do again and again depending on what view is desired.
Describe the solution you'd like
In IDA, right clicking whitespace in the decompiler window brings up "Show(Hide) Casts".
An action like that for Ghidra (so that we can bind it to a key too) would suffice

This script does what I need, so I am fine with closing the issue
import ghidra.app.script.GhidraScript;
import ghidra.framework.options.ToolOptions;

public class ToggleDisplayCasts extends GhidraScript {
	@Override
	protected void run() throws Exception {
		ToolOptions options = state.getTool().getOptions("Decompiler");
		boolean b = options.getBoolean("Display.Disable printing of type casts", false);
		options.setBoolean("Display.Disable printing of type casts", !b);
	}
}


Launching lagrange messes up latte dock

I'm using latte dock with manjaro kde, when I run lagrange 1.1.0-1 from AUR, the transparency of dock changes and makes it look like some sort of wood texture (screenshots below). Even after changing an icon of lagrange, the issue still exists.
Screenshots of how it looks like:

Does launching Lagrange with the --sw option affect this? That will force the UI to use software rendering only.

Does launching Lagrange with the --sw option affect this? That will force the UI to use software rendering only.

It doesn't appear to change anything.

Hmm, I can't really think of anything that Lagrange does that could cause an issue like this.
Have you noticed a similar issue with other SDL based apps, perhaps a game of some kind?

Hmm, I can't really think of anything that Lagrange does that could cause an issue like this.
Have you noticed a similar issue with other SDL based apps, perhaps a game of some kind?

Unfortunately I'm not aware what SDL is, could you tell me it's full name or give me an example of an app I can use to answer your question? I don't play any games on this computer, at least so far I didn't.

Here is a list of games that use the SDL library (Simple DirectMedia Layer): https://en.wikipedia.org/wiki/List_of_games_using_SDL
To keep things light and portable, Lagrange has been implemented on top of SDL without the use of any existing UI toolkits like GTK (GNOME) or Qt (KDE). This makes it akin to a game from a software implementation point of view.
It is conceivable that glitches in graphics drivers underpinning the window system may result in image content of other apps being messed up when one app is drawing low-level graphics.
Unfortunately there isn't much more I can do here to help you, so I'm closing this issue. We can revisit the issue if other people report similar problems.

This could help: https://github.com/skyjake/lagrange/issues/160#issuecomment-784965285


Implementation of the Command Queue

This PR adds the possibility to add actions (=Commands) to the TPM (= TransferProcessManager), which are executed at a certain point in time, namely after the regular state machine has ticked over.
This ensures that those commands are processed sequentially and without interfering with the state machine.
Most notable aspects:

clear separation between command ("what") and handler ("how")
reusability of this infrastructure e.g. in the Contract Negotiation framework
extensible CommandQueue
ships with two commands (and their handlers) out-of-the-box: DeprovisionTransferCommand and CancelTransferCommand

Note: In the course of this PR an unrelated utility feature called the ObjectFactory emerged, which allows to construct objects using reflection and dependency injection (leveraging EDC's @Inject annotation).
closes #470
closes #386

@algattik or @marcgs care to take a look?

IMO this change deserves a sample or integration test showing the command functionality working E2E.

@paullatzelsperger can we separate out the Injector-related commits into another PR?

@paullatzelsperger can we separate out the Injector-related commits into another PR?

I assume you mean the ObjectFactory etc.? I can remove it from this PR, and re-add it in another one.


Missing support for client certificate revocation lists

For security purposes we need the ability to revoke existing keys, preferably via CRL. There does not appear to be a field in the ssl_context block.

@abloom-stripe please sync up with @PiotrSikora before implementing (if you want to implement) just to make sure we don't duplicate effort. Thank you.

Hello all - Is this is issue is being worked on? Or just a proposal at the moment?

AFAIK no one is working on this. cc @PiotrSikora


Solidity API documentation

Generate Solidity API docs as part of the build and publish to docs.keep.network

This already happens: https://docs.keep.network/solidity/
However, the build script is imperfect and needs improvement for here and tbtc both.


Amplify hangs at Build phase with no errors for subfolders package installation

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

App Id
d1fusmcnk5bd8d
AWS Region
us-east-1
Amplify Hosting feature
Frontend builds
Frontend framework
Jekyll
Next.js version
N/A
Next.js router
N/A
Describe the bug
I rearranged my project into folders where each folder runs its own package installation and build. However at Build step, amplify console hangs after npm installation (and sometimes during jekyll bundle install) with no errors.
I read that amplify's example to cd into a project folder and also tried monorepo
Project directory :

Context:
My project requires to setup lib folder with npm ci and npm run build  and subsequently portal folder should run npm ci , bundle install and npm run build. portal folder outputs a jekyll static site in portal/_site folder which are the artifacts. lib folder is a webpack project and its build will output a css file into portal folder.
I have also tried monorepo but it always fails at certain npm installation or bundle installation with no errors until build timed out at 30 min mark.  All the commands that I've written in amplify is tested in local and works.
This is the amplify file which I have tried , also commented out and run simple cd lib and npm ci but it still hanged
Amplify file:
version: 1.0
frontend:
  phases:
    preBuild:
      commands:
        # - rvm get stable && rvm install 3.0.0
        # - rvm use 3.0.0
        # - gem install bundler -v '=2.3.13'
        - cd lib && npm ci
        # - cd ../portal
        # - pwd
        # - npm ci
    build:
      commands:
        # - cd ../lib && npm run build
        # - cd ../portal
        # - bundle update --bundler
        # - bundle install
        # - ls -a
        # - pwd
        - |
          if [ "${AWS_BRANCH}" = "v2" ]
          then
            JEKYLL_ENV=production npm run build
          else
            npm run build
          fi
        - ls -a

  artifacts:
    baseDirectory: portal/_site
    files:
      - '**/*'
  cache:
    paths: []

Amplify Console screenshot:

Monorepo settings
I also tried monorepo although im not sure if the project is considered a monorepo as lib folder is more of a dependency than it is an app. I only need to serve static files from portal folder , but portal folder relies on lib folder. But regardless, I couldnt get pass the installation phase.
Amplify file:
version: 1
applications:
  - appRoot: lib
    frontend:
      buildPath: /
      phases:
        preBuild:
          commands:
            - npm ci
        build:
          commands:
            - npm run build
      artifacts:
        files:
            - '**/*'
        baseDirectory: /
      cache:
        paths: []

  - appRoot: portal
    frontend:
      buildPath: /
      phases:
        preBuild:
          commands:
            - rvm get stable && rvm install 3.0.0
            - rvm use 3.0.0
            - gem install bundler -v '=2.3.13'
            - bundle update --bundler
            - bundle install
            - npm ci
        build:
          commands:
            - |
              if [ "${AWS_BRANCH}" = "v2" ]
              then
                JEKYLL_ENV=production npm run build
              else
                npm run build
              fi

      artifacts:
        files:
            - '**/*'
        baseDirectory: /
      cache:
        paths: []

Amplify console :
hangs here

Previously, amplify was working for me when everything was in root folder. I am wondering if there is something buggy about subfolders package installation for amplify?
Expected behavior
I expect that the console should output an error instead of hanging indefinitely till build time out.
Reproduction steps
see description
Build Settings
see description

Log output
see description
Additional information
No response

Closing this thread as I realise it was an error on my end.


Performance on Raspberry Pi 3

Has anybody run docker-openvpn on a Raspberry Pi 3? Curious to see what sort of throughput I can expect. Any limit to the number of simultaneous connected clients?

I'd assume it'd be very CPU constrained.  For reference a $5/mo DO droplet is CPU limited.  1 core ~ 100Mb/s.  I'd assume that the RPi3 would be considerably worse at encryption + decryption.
Do you have a performance goal in mind?

Found a blog post on the topic:

Raspberry Pi 3 Model B (1.2Ghz quad core, 1Gb memory, 100Mbit-nic)
Down: 12.16 Mb/s
Up: 3.59 Mb/s

Those throughout numbers for the pi actually seem good, since a high end laptop was only able to do:
Laptop running the OpenVPN client (Dell Precision M4800, 2.5Ghz 8 cores, 32Gb memory, Gbit-nic)
Down: 19.13 Mb/s
Up: 10.02
Curious how much throughout I'll lose by using docker.
Will setup and report back.

@nodesocket Another thing to consider is that I doubt that openvpn is multi-threaded, so the multiple cores of the laptop probably aren't helping for a single client.
As for throughput due to Docker, I'd imagine the overhead would be pretty minimal.  Docker creates namespaces per process rather then emulating another CPU.
Also checkout https://github.com/kylemanna/docker-openvpn/issues/19 and perhaps performance could be improved by tweaks, but nobody has expressed concern, contributed any tests and I haven't had time to satisfy my own curiosity.

Closing due to no updates in a few months.

Closing due to no updates in a few months.


It's February 10 and no release

Project is said to be re-written and released on February 10th. What happened?

Soft fire makes sweet malt

Hi @Sultron,
Sorry to disappoint you but I'm late :P
Feel free to reach me on Slack if you want help with something or just ask me about the progress.
I appreciate your interest, thanks!

@frnkvieira
Hey : )
we are still watining , please release it as soon as possible
Thanks

Hey Frank,
No worries... always better to get it right before getting it sooner. However, can you update the release date if it'll be pushed out much further?
Thanks

Hi @Sultron,
Sorry to disappoint you but I'm late :P
Feel free to reach me on Slack if you want help with something or just ask me about the progress.
I appreciate your interest, thanks!

Yeah I also would like to know at least some raw guess about a release date. Could you please post some info here without a Slack? Thank you!

Hi @Sultron,
Sorry to disappoint you but I'm late :P
Feel free to reach me on Slack if you want help with something or just ask me about the progress.
I appreciate your interest, thanks!

@frnkvieira can u share the slack channel? So others can join in. I'm a tester, and I want do some help like some tests or other things...before next release if  possible.

@RealLau it is linked to in the "join | slack" README badge, although I'll agree it's easy to miss. Link here
Seconding the request for communication outside of Slack however

@supposedly Thanks for sharing, I think I'm in now. 👌


Implemented more sensors and preparations for extra buttons.

Hey @MJHeijster, thanks for your PR! I have added these (among more - almost all Tessie endpoints) in v0.0.2. If you're using this alongside my Home Assistant component, I'll be updating that this week with all of the new endpoints.


[Question] Multi disk and raid controller setup

Hi,
I can't find any official recommendations or references about the physical hard disk or raid/storage controller setup. Maybe I'm just overlooking it.
We have several physical servers, each equipped with two system disks (3.84TB) and 4 data disks (7.68TB) via a hardware RAID controller. For the system volumes, we have created a RAID 1 with the two 3.84TB SSDs per server.
For the Data Volume (VM Data / K8s Volumes) we want to use the remaining 7.68TB SSDs. Since Longhorn says it acts like a network RAID controller and creates corresponding redundancy of the later volumes through the distribution of multiple replicas to different physical disks, our plan is to configure the data SSDs on each RAID controller as JBOD and pass them directly to Harvester. But what confuses us now:

We are performing an automatic installation via PXE, but we can only specify a single data disk in the configuration file. Adding further data disks requires manual intervention in the UI. Is there a way to automate this?
In the Longhorn documentation it is recommended to aggregate the different disks into a single partition using LVM. Is it then advisable to pass each SSD directly through to Harvester? In view of this, does it not make sense to create a hardware RAID (e.g. RAID5) and also benefit from the functionalities of the RAID controller such as the detection of broken disks and automatic replacement (hot-spare)? In addition, we would then no longer have to add additional hard disks manually after the installation.

What are your multi disk setups and experiences?

Hi @siku4,
Thanks for raising this issue, we have a similar issue here: https://github.com/harvester/harvester/issues/3183
We will provide some documents on this topic with v1.4.0.
Here are some replies to your questions.

We are performing an automatic installation via PXE, but we can only specify a single data disk in the configuration file. Adding further data disks requires manual intervention in the UI. Is there a way to automate this?

The Harvester manages the raw device through node-disk-manager. To automate this, you can use the auto-disk-provision-paths.

In the Longhorn documentation it is recommended to aggregate the different disks into a single partition using LVM. Is it then advisable to pass each SSD directly through to Harvester? In view of this, does it not make sense to create a hardware RAID (e.g. RAID5) and also benefit from the functionalities of the RAID controller such as the detection of broken disks and automatic replacement (hot-spare)? In addition, we would then no longer have to add additional hard disks manually after the installation.

Currently, the harvester node-disk-manager cannot provision the LVM as a Longhorn backend disk (For some reason, maybe we could do it in a later release). Hardware raid is the first choice if you want to aggregate the disk. As you mentioned, hardware raid benefits various features with a raid controller. It is simple if you use hardware raid because, from the system view, it looks like a raw device as usual. We could add it easily, whether on installation or through UI.
BTW, as a trade-off, you will take a potential risk with the raid rebuild (the large raid takes more time to rebuild and performance degrades). This is compared with using a single SSD directly.

Hi @Vicente-Cheng,
thanks for your detailed answer and linking the similar issue.
If I understand you right aggregating data disks using a hardware raid ist definitively a practicable setup and does not lead to any conflicts with Longhorns internal redundancy mechanisms, except in the case of a raid rebuild? I guess the problem here is that Longhorn is not able to detect a poor performance caused by the raid rebuild and thus does not "switch" the volume to one of the other replicas?

Hi @Vicente-Cheng,
thanks for your detailed answer and linking the similar issue.
If I understand you right aggregating data disks using a hardware raid ist definitively a practicable setup and does not lead to any conflicts with Longhorns internal redundancy mechanisms, except in the case of a raid rebuild? I guess the problem here is that Longhorn is not able to detect a poor performance caused by the raid rebuild and thus does not "switch" the volume to one of the other replicas?

Hi @siku4, sorry for the late reply.
Yeah, as you mentioned, the main issue I'm worried about is the degraded performance when the raid is rebuilt. That might cause the volume performance to degrade.
For others, I thought using a hardware raid might be okay.


Vaadin Repository Deployment Incomplete

I tries to install this addon but maven failed to download it. It, however, could download sources and javadocs. The error message is:
Failed to execute goal on project XYZ: Could not resolve dependencies for project XYZ:XYZ:jar:2.0.0-SNAPSHOT: Failed to collect dependencies at org.mpilone.vaadin:uitask-vaadin:jar:1.0.0: Failed to read artifact descriptor for org.mpilone.vaadin:uitask-vaadin:jar:1.0.0: Failure to find org.mpilone.vaadin:uitask-vaadin-parent:pom:1.0.0 in http://maven.vaadin.com/vaadin-addons was cached in the local repository, resolution will not be reattempted until the update interval of vaadin-addons has elapsed or updates are forced -> [Help 1]
Is the deployment in the Vaadin addon repo incomplete?
8 -rw-r--r--   1 marcel  staff   267B Jul 11 12:00 _remote.repositories
8 -rw-r--r--   1 marcel  staff   529B Jul 11 12:00 m2e-lastUpdated.properties
112 -rw-r--r--   1 marcel  staff    52K Jul 11 12:00 uitask-vaadin-1.0.0-javadoc.jar
8 -rw-r--r--   1 marcel  staff    40B Jul 11 12:00 uitask-vaadin-1.0.0-javadoc.jar.sha1
16 -rw-r--r--   1 marcel  staff   5.6K Jul 11 12:00 uitask-vaadin-1.0.0-sources.jar
8 -rw-r--r--   1 marcel  staff    40B Jul 11 12:00 uitask-vaadin-1.0.0-sources.jar.sha1
16 -rw-r--r--   1 marcel  staff   6.3K Jul 11 12:00 uitask-vaadin-1.0.0.pom
8 -rw-r--r--   1 marcel  staff    40B Jul 11 12:00 uitask-vaadin-1.0.0.pom.sha1

I missed the fact that the Vaadin directory doesn't support multi-module builds with Maven so the module can't refer to the parent POM. I'll get a new build published shortly.

Fixed with ff77d3cf5fb8dbbb558c76c80c624d7904e78d6d in v1.1.0.


Bedrock 1.14 support

The current version already supports 1.14 since there was no protocol changes. The only thing you need to do is allow clients with the 389 protocol (1.14) to join.


Build failure due to "missing" file

After typing "make", the following error  message:
(1002) Target OS: Linux for x86-64
(3104) Compiling electricdss/Source/LazDSS/DirectDLL/OpenDSSDirect.lpr
Fatal: (2012) Cannot open file "OpenDSSDirect.lpr"
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
makefile:45: recipe for target 'all' failed
The file in question appears to be present in various subdirectories:
find . -name OpenDSSDirect.lpr
./electricdss/Version7/Source/DDLL/OpenDSSDirect.lpr
./electricdss/Version7/Source/Deprecated_LazDSS/DirectDLL/OpenDSSDirect.lpr
./electricdss/Version8/Source/CMD_Lazz/DirectDLL/OpenDSSDirect.lpr

Yes I am able to replicate the same bug. Looks like no one got to solving it?
By the way, my original goal was to use some of my MATLAB code that used OpenDSS COM objects, within an Ubuntu environment. I believe you might have had the same motivation to use this repo. Were you able to make it work?

do you get the solution?


Delete unused class

The RequestInfo::LocaleNameMap class is never referenced, and probably never was.  Fixes #38.

Since merging riboseinc/country_to_locales_mapping#7, it has been moved to different repository.

UNMERGED! Few changes missing, will be re-applied soon.


Added background animation

Hey @Harshithardd,
What type of background animation is that?
Update the Folder Name.


Hide dropdown when showing terminal tabs

I am surprised how much I like the terminal tabs UI 🙊 For more tidiness I would suggest to hide the dropdown and + button from the title

This is fixed in today's build


Can not add new appointment on planning calendar 1 Month View on Mobile Device

OpenUI5 version: latest
Browser/version (+device/version): Chrome Inspect iPhone 14 Pro Max
What is the expected result? As a User I would like to click on empty day and add appointment from a mobile device set on Monthly View aka Day View.
What happens instead? Nothing
Any other information? (attach screenshot if possible)
https://teamschedule-my.sharepoint.com/:v:/g/personal/mihael_kirov_teamschedule_digital/ESfzUjiZI85BtGWujrSUAE4BaGy9eOAbrPC_sZbWNzoLgg?nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJPbmVEcml2ZUZvckJ1c2luZXNzIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXciLCJyZWZlcnJhbFZpZXciOiJNeUZpbGVzTGlua0NvcHkifX0&e=oTt7vV

Hello @Kalo2412,
When the planningCalendar is open in monthly view, we can't visualize the calendar with the days of the respective month and the appointments for each day because the screen is too small. When you switch to a view that shows a smaller number of columns, we can display the respective days and there is enough space to show the appointments as well.
Regards,
Todor


How to define multiple Dependent Resources of the same type

Bug Report
Trying to define multiple DependentResources of the same type (same class), seems to trigger the reconciliation loop continuously.
What did you do?
Enabled a 3rd dependent resource (which is again a Secret like the first one).
https://github.com/andreaTP/bink8s/blob/0177a66e4b31225c0b5a91e5694e80a3d3127df4/src/main/java/io/bink8s/controller/ImageBuildController.java#L17-L35
What did you expect to see?
The resource should be handled autonomously.
Also it should probably be possible to discriminate the secondary resource here:
https://github.com/andreaTP/bink8s/blob/0177a66e4b31225c0b5a91e5694e80a3d3127df4/src/main/java/io/bink8s/controller/workflow/ImageBuildSecretExistsReadyCondition.java#L17
(based on the name?)
What did you see instead? Under which circumstances?
The reconcile loop is triggered continuously.
Environment
Kubernetes cluster type:
minikube
$ Mention java-operator-sdk version from pom.xml file
Quarkus SDK 4.0.1
$ java -version
11
I might be doing something wrong, but I'm not sure how to debug it.

thx for the issue, however this is a duplicate:
This is a duplicate: https://github.com/java-operator-sdk/java-operator-sdk/issues/857
see also related PR with discriminators:
https://github.com/java-operator-sdk/java-operator-sdk/pull/1378

You are right @csviri , closing as duplicate.


Fix: Support empty style attribute

Fixes a bug in which empty style attributes result in unrecoverable JSX failures. For example:
<div style>Foo</div>

Would result in the following console error:
Uncaught Invariant Violation: The `style` prop expects a
mapping from style properties to values, not a string.
For example, style={{marginRight: spacing + 'em'}} when
using JSX.

and the React JSX failing to render.
The problem is that empty properties are rendered as boolean true by default. This is consistent with HTML/React syntax interop expectations for most properties but not style, which expects an Object value in React-land.
Since an empty style attribute is semantically meaningless (where HTML is concerned) we can simply skip over this property.

Thanks


Polish XICS

Main changes:
Regarding tofu.spectro:
*Option fit2d_dinput(return_raw_data=...) enabled

Added xtol, ftol, gtol to dfit1d and dfit2d
Updated MultiIDSLoader with spectrometer_x_ray_crystal with Te, Ti, vi, rhotn_sign, data_raw, LOS and code.parameters

Hello @Didou09! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file tofu/imas2tofu/_def.py:

Line 543:80: E501 line too long (85 > 79 characters)


why remove this epic feature

late ik but to answer the question because i didn't want or need it so i done what i did.


Object with null value missing when using findMany and filtering using "not" lookup

Bug description
I want to use the "not" lookup in findMany to exclude objects whose attribute is not a specific value, like this:
const viewerId = 1;

await prisma.product.findMany({
    where: { userId: { not: viewerId } }
})

This currently returns only products whose userId is set to another user's id, but not those whose userId is set to null.
How to reproduce

Go to https://codesandbox.io/s/prisma-null-values-issue-hpmtr?file=/package.json
Open a terminal
Run yarn start
See failed assertion

Expected behavior
I would expect filtering by { userId: { not: 1 } } would return every object whose userId is not 1.
Prisma information
See codesandbox reproduction.
Environment & setup

OS: Debian GNU/Linux 10 (buster)
Database: SQLite
Node.js version: v14.18.1

Prisma Version
prisma                  : 3.9.1
@prisma/client          : 3.9.1
Current platform        : debian-openssl-1.1.x
Query Engine (Node-API) : libquery-engine bcc2ff906db47790ee902e7bbc76d7ffb1893009 (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli bcc2ff906db47790ee902e7bbc76d7ffb1893009 (at<EMAIL_ADDRESS>Introspection Engine    : introspection-core bcc2ff906db47790ee902e7bbc76d7ffb1893009 (at<EMAIL_ADDRESS>Format Binary           : prisma-fmt bcc2ff906db47790ee902e7bbc76d7ffb1893009 (at<EMAIL_ADDRESS>Default Engines Hash    : bcc2ff906db47790ee902e7bbc76d7ffb1893009
Studio                  : 0.457.0

Internal find reproduction here: https://github.com/prisma/reproductions/tree/main/gh-11648

Hey @nilsdet,
This is working as expected. While I do understand your confusion, the behaviour you're witnessing comes from the database and not Prisma. In most relational databases, NULL is a special value. It cannot be compared against anything else. In fact NULL == NULL == false. This is why those databases have the IS operator to specifically check whether a value is NULL.
Now, in practice, what that means is that col != 1 does not return NULL values because col == NULL will never return true.
If you want to include NULL values in your result, you have to manually say so. eg:
await prisma.product.findMany({
  where: {
    OR: [
      { userId: { not: 1 } },
      { userId: null }
    ]
  }
})

This maps 1-1 to the underlying SQL query that you'd have to write if you wanted to get the same result:
SELECT ... FROM ... WHERE userId != 1 OR userId IS NULL

However, we can improve our documentation to make this clearer. We've opened an issue to follow up on yours.
Hopefully that clarifies things, I'm closing this now.
Thanks for reporting 🙏


Change Delete name path to OpenSearch

Signed-off by: David Cui<EMAIL_ADDRESS>Description
Refactor the name path for DeleteReportDefinitionAction from opendistro to opensearch.
Issues Resolved
#187
Check List

[ ] New functionality includes testing.

[x] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Fixing #187

Fixing #187

Updated PR description, good catch

What's the user impact of this issue? can't delete report definition?
Also I searched "cluster:admin/opensearch/reports/definition/delete" in secuity plugin repo, couldn't find anything, but cluster:admin/opendistro/reports/definition/delete gives me results.
https://github.com/opensearch-project/security/blob/99e157122f66462499e0a9c9b45e404ccf052ba5/securityconfig/roles.yml#L108

when did we rename it to opensearch? I thought we are keeping cluster permissions same as in ODFE

when did we rename it to opensearch? I thought we are keeping cluster permissions same as in ODFE

Pretty sure this was part of the original migration- delete is the only path within org.opensearch.reportsscheduler.action that still has opendistro, the rest have all been named to opensearch.

What's the user impact of this issue? can't delete report definition? Also I searched "cluster:admin/opensearch/reports/definition/delete" in secuity plugin repo, couldn't find anything, but cluster:admin/opendistro/reports/definition/delete gives me results. https://github.com/opensearch-project/security/blob/99e157122f66462499e0a9c9b45e404ccf052ba5/securityconfig/roles.yml#L108

No reported customer impact yet, but I feel we should not have leftover opendistro references in the codebase. Will have to look into what implications there are for security, but as pointed out in response to Josh's comment, Delete is the only action that still has opendistro in the path name. Everything else says opensearch

What's the user impact of this issue? can't delete report definition? Also I searched "cluster:admin/opensearch/reports/definition/delete" in secuity plugin repo, couldn't find anything, but cluster:admin/opendistro/reports/definition/delete gives me results. https://github.com/opensearch-project/security/blob/99e157122f66462499e0a9c9b45e404ccf052ba5/securityconfig/roles.yml#L108

No reported customer impact yet, but I feel we should not have leftover opendistro references in the codebase. Will have to look into what implications there are for security, but as pointed out in response to Josh's comment, Delete is the only action that still has opendistro in the path name. Everything else says opensearch

I still feel like if secuirty plugin defaults are still using opendistro, while we use opensearch. There will be issue with permissioning. I suggest you try it out using our build-in artifacts, or docker image. Create a user with only predefined role for reporting, just enough permission for reporting, to see if it breaks @davidcui1225

What's the user impact of this issue? can't delete report definition? Also I searched "cluster:admin/opensearch/reports/definition/delete" in secuity plugin repo, couldn't find anything, but cluster:admin/opendistro/reports/definition/delete gives me results. https://github.com/opensearch-project/security/blob/99e157122f66462499e0a9c9b45e404ccf052ba5/securityconfig/roles.yml#L108

No reported customer impact yet, but I feel we should not have leftover opendistro references in the codebase. Will have to look into what implications there are for security, but as pointed out in response to Josh's comment, Delete is the only action that still has opendistro in the path name. Everything else says opensearch

I still feel like if secuirty plugin defaults are still using opendistro, while we use opensearch. There will be issue with permissioning. I suggest you try it out using our build-in artifacts, or docker image. Create a user with only predefined role for reporting, just enough permission for reporting, to see if it breaks @davidcui1225

https://github.com/opensearch-project/dashboards-reports/pull/55#discussion_r637238433 I commented in your PR previously, I thought you reverted them? we should not be using opensearch for cluster permissions

What's the user impact of this issue? can't delete report definition? Also I searched "cluster:admin/opensearch/reports/definition/delete" in secuity plugin repo, couldn't find anything, but cluster:admin/opendistro/reports/definition/delete gives me results. https://github.com/opensearch-project/security/blob/99e157122f66462499e0a9c9b45e404ccf052ba5/securityconfig/roles.yml#L108

No reported customer impact yet, but I feel we should not have leftover opendistro references in the codebase. Will have to look into what implications there are for security, but as pointed out in response to Josh's comment, Delete is the only action that still has opendistro in the path name. Everything else says opensearch

I still feel like if secuirty plugin defaults are still using opendistro, while we use opensearch. There will be issue with permissioning. I suggest you try it out using our build-in artifacts, or docker image. Create a user with only predefined role for reporting, just enough permission for reporting, to see if it breaks @davidcui1225

#55 (comment) I commented in your PR previously, I thought you reverted them? we should not be using opensearch for cluster permissions

I guess I accidentally just reverted Delete at the time. So all of the paths should say opendistro and not opensearch, correct? I'm surprised we haven't had any reported breaking changes here.

I guess I accidentally just reverted Delete at the time. So all of the paths should say opendistro and not opensearch, correct? I'm surprised we haven't had any reported breaking changes here.

I see, might need some discussion. I'm worried that users are using the new cluster permissions now

I guess I accidentally just reverted Delete at the time. So all of the paths should say opendistro and not opensearch, correct? I'm surprised we haven't had any reported breaking changes here.

I see, might need some discussion. I'm worried that users are using the new cluster permissions now

Do we loop in someone from security on this? I'm not too familiar with the reporting security permissions

Closing this PR as it is superceded by #218


Best Practice - Laravel

Hello,
in the issues of this project I see a lot of questions how we deploy integrate the code in our cms.
2-3 years ago the answers say that PL is only for frontend devs and not for backend devs.
Now the things changed, we are able to integrate it directly in a backend (Mustache, Twig).
I've a Project based on laravel; what is now the best practice integrating the template of a PL project?
Is it still the best to export the template via gulp as static resources and embedd then in our page?
Please note that laravel has the blade template engine by default.
Thanks.

Hey @matrad,
Thanks for the question. The way Pattern Lab is set up means different template engines can be created to power Pattern Lab. That being said, I don't know if anyone's created a Bade templating engine for Pattern Lab.
Other people have integrated Pattern Lab with CMS projects, so it's technically possible. You would need to create the Blade engine for Pattern Lab in order to make it a smooth transition however.

@matrad This might be relevant: http://cognition.happycog.com/article/solr-laravel-pattern-lab-more-buzzwords

Hey @simonhunt,

So, option 1 is to use Twig instead of blade in laravel.

We just launched a project that did exactly this. I can't speak to the Laravel side of things, but the dev consumed PL as a project dependency and overwrote only the data that needed wired up (usernames, routes, etc). It was pretty great!

But, option 2, to get blade running inside Patternlab seems so much more preferable.

Yep, creating a Blade engine for PL would be the way to go. I'm not sure if there's official documentation on creating a pattern engine (@bmuenzenmeyer would know), but you can check out a few others: https://github.com/pattern-lab/patternengine-php-twig https://github.com/pattern-lab/patternengine-node-handlebars and others on the PL Github page: https://github.com/pattern-lab


OHRI-92: fix scroll to the last element and clean up

fix scroll to the last element and clean up
ScreenRecording
https://user-images.githubusercontent.com/43681445/124220767-13e59880-db07-11eb-9ed4-146a549acc46.mov

@herbertUG This is perfect! 💯


DSND-3115: Implement handling of delete delta_at header

Returns 409 when delete delta is stale (request delta_at before existing delta_at)
Sends empty deleted_data to resource changed when document already deleted

DSND-3115

CI: Security warnings found!


STOLEN CRYPTO RECOVERY HACKER FOR HIRE FASTFUND RECOVERY

Greetings to you all out there. I was scammed by a fake online crypto investor, I got a message from a trader on my Facebook who told me about how high their profit was after investing with them, I decided to invest in the online trade because I wanted to make more profit to set up a business because my job wasn't enough to take care of myself and my family, invested $215,000.00 worth of bitcoin. I was promised that I will be able to withdraw my profit after one week of investment. when it was time for me to withdraw the profit. I tried to make a withdrawal and it failed. I informed the trader about it and he asked me to pay more money as the withdrawal charges. was a bit strange to me. I wasn't informed earlier that I have to pay extra money to be able to withdraw my winning profit. I did as he instructed and made another deposit of $5,000.00, thinking I will be able to finally withdraw my profit. but he kept asking for more money until I realized that I was being scammed. I couldn't let go because I invested all the money that I was saving to set up a new business. I was confused and lost for days because the world was against me. I had to do research to see if there is anything I can do to recover my money back and I came across the comment about FASTFUND RECOVERY after so many searches. I read several good reviews about them from various scam victims and how FASTFUND RECOVERY helped them in recovering their stolen crypto. I decided to contact them for help. I was opportune to get my money back from the scam brokers through the help of FASTFUND RECOVERY, Are you a victim of any kind of scam? FASTFUND RECOVERY is capable of helping you get back whatever you may have lost to internet Scammers. Reach them through email address at. ( Fastfundrecovery8 AT gmail dot com ) or Whats/ App<PHONE_NUMBER>4 )

FastFund Recovery: Your Trusted Partner in Crypto Asset Recovery
In the fast-paced world of cryptocurrency, security and trust are paramount. However, with the growing number of scams, hacking incidents, and lost private keys, many crypto investors find themselves in a difficult situation when they lose access to their digital assets. This is where FastFund Recovery comes in.
FastFund Recovery is a specialized crypto recovery company dedicated to helping individuals and businesses recover lost or stolen cryptocurrency. Whether your assets have been taken through phishing scams, fraudulent exchanges, or other malicious activities, FastFund Recovery offers expert solutions to help you regain control over your digital investments.


Test: APIExport should be able to update permission claims at any time

We need to add a test case, to prove that when an APIExports permission claims change, the VW no longer gets access to the resources that it is asking for.

Moved back into epic https://github.com/kcp-dev/kcp/issues/1219.


About  "laravelcollective/html": "7.0",

I am triying to install the package on laravel 7.0, but one of requeriments dos'nt exists:
"laravelcollective/html": "7.0",
The las version y 6.x , is there a error in your composer.json?

In my projects with Laravel 7.X (without this project though), version 6.1 is sufficient ("laravelcollective/html": "^6.1").
If the installation worked, please reply to this message. I have tried this library with the 6.X Laravel framework and I have not been able to make it work. But if it works with Laravel 7 I would be very happy :-)

you can try with this in composer.json
 "laravelcollective/html": "6.2 as 7",


Change default branch to "master"

@tdreyno Since no new features are going to be added to v3, maybe you want to change the default branch of the git repository to master again to reflect that change.

Done

Perfect.


WIP: Versioned Benchmarks

Creates a more detailed version struct
Prefaces all benchmark results with version information.

Should be merged before pruning PR: #158
Will be useful to monitor performance regressions/improvements clearly, keep older benchmark results even in new version codebase for comparisons.

TODO:

[ ] add benchmark results from other machines
[ ] organize benchmark results in subfolders labelled by version-commit

can #109 be closed in favor of this one?

#109 adds new benchmark test, while this one is to just add versioning info so they're a bit orthogonal. Though I think any future benchmark results that get merged should have version info included


Fixed an issue where zones do not fill up the whole screen

Summary of the Pull Request
This fixes #1453 and also #286.

References

PR Checklist

[x] Applies to #1453
[x] CLA signed.
[x] Tests added/passed

Detailed Description of the Pull Request / Additional comments
The code no longer assumes even divisibility and also no longer assumes that all zones must have equal width/height.

Validation Steps Performed
Tested manually in scenarios where effective screen width/height is not evenly divisible by the number of columns/rows.

@PrzemyslawTusinski please review this PR (github doesn't let me add you as a reviewer)

Manual testing: works as expected


Output options --nt and --aa not working as expected

Here is an example call:
run_mgm.pl --seq test.fa --out test.gtf --aa test.aa --nt test.codingseq --format gtf

My expectation was to find 3 output files: test.gtf, test.aa, and test.codingseq. What happens, though, is that I get only the file test.gtf.

I'm in the same situation, how can I fix it?


Create a visual scale for our risk levels

We've created a low/med/high/very high/dangerously high scale. Right now, a user just sees their current level. But they don't know how many total levels there are on the scale. I wonder if we could adopt a "thermometer" approach like COVIDactnow does.

Thoughts?

It would be nice if this was available as an image for twitter and fb shares

I love the idea of being able to share out some image that documents the risk for a specific activity in a specific location.
The thermometer is visually nice but I also like the compactness of the current "results" bar, and would want to find a way to still deliver the results in 1-2 lines.  Right now I don't share the concern that the "very low -> dangerously high" scale doesn't give users a sense of the range of labels.  I think people would assume it goes from "very low" to "very high" by default, and we give them a numerical answer as well, so I'm less worried about misinterpretation.

We appear to have this now, is this still relevant @blanchardjeremy ?

Let's call it good. If folks wanna re open the Share Image aspect as its own issue, that's fine.


various questions (video format? CC videos? similar software?)

This software looks interesting.
Some questions:

Is the video stream it expects of a standard 360 format, or something custom? (Some kind of stitching from four GoPros?)
Are there any Creative Commons (or similarly) licensed 360 videos for download anywhere?
Is there any other free and open source software that can play 360 videos (based on threejs or otherwise)?

I'll answer my own questions.

* Is the video stream it expects of a standard 360 format, or something custom? (Some kind of stitching from four GoPros?)

This software expects equirectangular 360 monoscopic.
http://flimshaw.github.io/Valiant360/images/equirectangular-screenshot.jpg
More information about videos with spherical projections:
https://github.com/videojs/videojs-vr/issues/182#issuecomment-873463285

* Are there any Creative Commons (or similarly) licensed 360 videos for download anywhere?

https://commons.wikimedia.org/wiki/Category:360-degree_videos
https://github.com/videojs/videojs-vr/tree/main/samples

* Is there any other free and open source software that can play 360 videos (based on threejs or otherwise)?

https://github.com/videojs/videojs-vr
Which supports not just equirectangular 360 monoscopic, but also stereoscopic content, Cubemap/EAC, etc.


When host is powered down and back again , infra stack containers continue to be in stopped state.

Rancher Versions: build from wyagu
Steps to reproduce the problem:
Set up with 3 hosts
Have few instances running on all hosts.
power down one of the hosts.
Once the host goes to "Disconnected" state , power on the host.
All infra containers continue to be in "stopped" state.
Expected Behavior:
Once the host is powered on , all the infra containers should be able to start successfully on the host.

Fixed in wagyu branch

Tested with rancher-server version build from master(07/07)
When host is powered down and back again , infra stack containers get to "running" and "healthy" state as expected.


Copy Files from Windows to the Ubuntu Subsystem

I have enabled developer mode and installed Bash on Ubuntu on Windows.
My home directory can be found under %localappdata%\Lxss\home\<ubuntu.username>\, i have created a sub-directory called Pictures such that the full path should be
on windows: C:\Users\<windows.username>\AppData\Local\lxss\home\<ubuntu.username>\Pictures
on bash: /home/<ubuntu.username>/Pictures
if i create a file from bash using the command touch hello.txt i can freely see this file in the windows UI and copy it to my Desktop. However, if i create a new text file from the windows UI and save it in C:\Users\<windows.username>\AppData\Local\lxss\home\<ubuntu.username>\Pictures, even if i restart bash or windows, the file is not visible when i do ls -l.
Why can't bash see files created from the Windows side in it's own home directory?
Using /mnt/c is not a solution, i am trying to understand why it doesn't see those files and if there is a remedy to that so that it will be able to see UI created files, rather than trying to use the terminal to copy-paste or move files over.

The short answer is don't modify anything in the Linux filesystem (aka %localappdata%\Lxss\*). See the following: https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/
If you really must read from "within" the filesystem instead of mount, I've found it works rather well to symlink the 'mounted' Windows path. In your case, it would be prudent to do something along the lines of:
sudo ln -s /mnt/c/Users/<windows.username>/<path-to-pictures>/ ~/Pictures

@tucker973 so if i understood that correctly. If i have a folder in windows, say /mnt/c/Users/Goran/Pictures/myPics, i can now do any edits from bash on the files in this folder and it should be okay without having data corruption?

Precisely! I can't speak to the intricacies of the filesystem, but that should work properly for you without having to use the longer path. The symlink will behave like any other path in Bash.

See also #1740. @steveklabnik from that thread is right. This demonstrably needs to be made clearer (and louder) in the FAQ, or it is going to be six more months of these after Creator's Update. User voice is here.

@tucker973 @therealkenc thanks, you both saved me a ton of headaches with this.


Bug: "Plugins and settings (beta)" - "Device and vault name" option is also synced between devices

When syncing my plugins' settings, the "device and vault name" option of obsidian-livesync is also synced.
Example:
I initially configure Obsidian and its plugins on my PC and give it the name "PC-main".
Now I setup my mobile and want it to sync with my PC. My mobile gets the name "mobile-main". Then I sync my vault including plugins and settings - afterwards my mobile will also be called "PC-main" because this setting was also synced.
A workaround for this is to change the "device and vault name" setting after syncing, however this would force me to never sync my settings of obsidian-livesync again or to do this whenever I synced the settings.
I would really appreciate if this could be fixed :)

@Yaruma3341
You're right, Self-hosted LiveSync's setting couldn't be synchronized.
So, at v0.7.0, I made this to select easier. Could you please try this?

@vrtmrz
First of all, thanks for your quick hotfix and response!
I gave it a quick shot and at first glance, it seems to work totally fine :)
However, this doesn't allow me to sync my obsidian-livesync settings across devices then. For sure I can just quickly set this up by hand but let's say I'm having 4 devices to be synchronized (actually this is my case). In that case I'll have to boot 3 other devices and perform the same changes on each of them.
This should not happen too often but I think you're getting the point ;)
I regard this new feature in v0.7.0 as very useful for many cases, however this may not be the perfect solution for the original problem here. Do you think you could implement the "device and vault name" setting as a static, not synchronizable field on top of v0.7.0? I would really appreciate that!

@Yaruma3341
Thank you for testing! I'm glad to hear that working the plugin well.
And you are right, All configurations except "Device and Vault name" are synchronizable. This was the obstacle.
So, since v 0.7.1, It doesn't be stored in the file. It is stored in the Obsidian's storage (I didn't realize this... Thank you for the advice!)
Could you please try this?

@vrtmrz
I tested v0.7.1 and after some struggle I manged to get it running :D It works just as it should - I can finally sync my livesync-settings across devices without overwriting the "device and vault name" option :partying_face: . However, when testing this, I noticed 1 or 2 bugs, as I do not know if one of these is the wanted behaviour:

If I change any of obsidian-livesync settings, they are not written to the remote database until the periodic sync is running or if "Sync on Save", "Sync on File Open" or "Sync on Start" is triggered. I think this is "wanted" behaviour because there is no such setting at the moment to directly push setting-changes as it exists for files like "Sync on Save" option. Therefore I would recommend to add a new option to the "Sync settings" tab called "Sync on Settings changed" or something like that. As the name already says, this would sync settings directly when doing any changes to them.
If the plugin notices any files that have not been synced with the current device yet, it does the sync process automatically. However, when the plugin notices that some settings were changed, it just notifies the user that there are some changes but the sync-process has to be triggered manually by the user in "Plugins and settings" tab using the new UI you implemented in v0.7.0.

So to sum this up:

:+1:  v0.7.1 now doesn't sync "Device and vault name" option anymore.
:bulb: Recommendation/Request: Add a new option called "Sync on Settings changed" to "Sync settings" tab to allow instant synchronization of settings without delay.
:warning: Bug: Changes of settings are recognized by the plugin and the user gets a notification about that, however the sync-process has to be triggered manually (bug?). From a logical point of view, the plugin should perform the sync process for settings automatically as it already does for files in the vault.

Do you think (2) and (3) could be implemented/fixed?
Keep up the good work! This project is amazing :smiley:


VolumePolicy should support use of nodeAffinity to dedicate nodes for openebs pods

https://kubernetes.io/docs/concepts/configuration/assign-pod-node/

This will be implemented as part of #1310

https://github.com/openebs/maya/pull/285

Will be fixed as part of https://github.com/openebs/openebs/issues/1318

With 0.7, ReplicNodeSelector and TargetNodeSelector policies are supported.


Update to node_exporter 0.12.0 final

We've started using the non rc version of node_exporter 0.12.0

Sorry, this was incomplete.


Expense approved email rounds the amount up

URL: https://opencollective.com/tenancy/expenses/4338
Logged in as: luceos
New expense mail lists correct amount:

Approval email does not:

Opportunity for first PR? :-)
https://github.com/opencollective/opencollective-api/blob/master/templates/emails/collective.expense.approved.hbs
See: https://github.com/opencollective/opencollective-api/blob/master/templates/emails/collective.expense.created.hbs#L6

@xdamman i'll jump onto that opportunity 😁


[Advice][Discussion] Using postgresql_embedded for testing

Hi,
I am using postgres embedded for testing, right now I have something like this:
#[cfg(test)]
mod tests {
    ... // imports

    #[tokio::test]
    async fn test_one() -> Result<(), Error> {
        let database_name = "test";
        let settings = Settings {
            port: 5435,
            ..Default::default()
        };
        let postgresql = setup(database_name, settings).await?;
        {
            // rest of the test
        }
        teardown(postgresql, database_name).await?;

        Ok(())
    }

    #[tokio::test]
    async fn test_two() -> Result<(), Error> {
        let database_name = "test";
        let settings = Settings {
            port: 5436,
            ..Default::default()
        };
        let postgresql = setup(database_name, settings).await?;
        {
            // rest of the test
        }
        teardown(postgresql, database_name).await?;

        Ok(())
    }
}

But I am repeating the same pattern with
let postgresql = setup(database_name, settings).await?;
...
teardown(postgresql, database_name).await?;

Is this the best approach? Becuase while developing the tests, sometimes I get the rate limiting when downloading the binaries, so I was wondering if it's possible to:

Run the tests kind in a test suite (I was googling around and could not find anything like a test suite concept for rust, but I am quite new to rust also)?
Not download the binaries if there are already present?

Thanks

Hello @manuelarte, you can likely address the issue by specifying an exact version number to use; see: https://github.com/theseus-rs/postgresql-embedded/issues/102#issuecomment-2207305748

I changed my code to use an exact version, thanks @brianheineman


[Bug Report] Unable to calibrate

I'm unable to calibrate the Europi with mode 1. The calibration gets stuck at "Calibrating..." after plugging the 10V source into the analogue input.
The Europi was loaded with the the precompiled firmware from the "Quick start" section.
However programming the Europi with Thonny IDE I can calibrate with no problems at all.
To Reproduce
Steps to reproduce the behavior:

Program the Europi as per the "Quick start" section
Click on 'Calibrate'
Select 'Mode 1'
Get stuck at 'Calibrating...'

Expected behavior
Get to the 'Insert analogue input into CV1' calibration step.

Working on a fix here: https://github.com/Allen-Synthesis/EuroPi/pull/229

Fixed in #229


issues with motherless video galleries

Downloading motherless video galleries, they error out eventually with "[!] Non-retriable status code 403 while downloading", attached log file.  It doesn't seem to matter if set to one thread to multiple threads.

Example link: http://motherless.com/GVAE4B8DF

The file names seem to change each rip, resulting in duplicated files.

Thank you :)   It's a great application and am very appreciative of you put it out open source.

Log didn't attach.  here's a snippet:
2014-11-20 14:23:02,198 3708900 [pool-3-thread-3] ERROR ripper.DownloadFileThread  - [!] Non-retriable status code 403 while downloading from http://s16.motherlessmedia.com/dev306/0/572/177/0572177462.mp4/1f61feb0cb6c945f5e35049a1c080249/546E3F84.mp4
2014-11-20 14:23:02,198 3708900 [pool-3-thread-3] INFO  ripper.DownloadFileThread  -     Downloading file: http://s18.motherlessmedia.com/dev396/0/572/331/0572331696.mp4/76b8334dd4cd075fde4ba54da16ea665/546E3F84.mp4 Retry #1
2014-11-20 14:23:02,279 3708981 [pool-3-thread-3] ERROR ripper.DownloadFileThread  - [!] Non-retriable status code 403 while downloading from http://s18.motherlessmedia.com/dev396/0/572/331/0572331696.mp4/76b8334dd4cd075fde4ba54da16ea665/546E3F84.mp4

Looks like this was fixed in https://github.com/4pr0n/ripme/commit/439722d2e45a2ea941bc95ff0d7d850f47155ff0
Should be pushed in the next version (1.0.93)