failing at bundle install on windows 7 with patch errors

running "bundle install" required python and patch on my windows 7 box.
installed python27 and added to path and that was OK
installed patch from http://gnuwin32.sourceforge.net/packages/patch.htm
was that the one required?
added it to path
still failing ...
Here is the output from bundle install :
"..Installing libv8 <IP_ADDRESS> with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/libv8-<IP_ADDRESS>/ext/libv8
C:/RailsInstaller/Ruby2.3.3/bin/ruby.exe -r ./siteconf20180618-9488-1e6l689.rb
extconf.rb
creating Makefile
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information..."

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

ID: 7bb30245-963c-d1ec-76a9-66119c79fb1e
Version Independent ID: d3ee025c-ad6d-d8bd-84a2-9409f1a682f7
Content: Build a Ruby and Postgres web app in Azure App Service on Linux
Content Source: articles/app-service/containers/tutorial-ruby-postgres-app.md
Service: app-service-web
GitHub Login: @cephalin
Microsoft Alias: cephalin

@sieradz Thanks for the feedback! We are currently investigating and will update you shortly.

Further info regarding this issue:
Tried on windows 10, got the same initial error during "bundle install" :
" ... creating makefile ... no python ... "
I glanced over at the release notes for git for windows ( version 2.17.1(2) ) which states :
"As Git for Windows is shipped without Python support, all Git commands requiring Python are not yet supported; e.g. git p4."
Hope this helps you resolve the issue or add some workround to the avove "recipe".
Please note that this is now an issue that affects windows 10 as well.

looking more closely at the logs ( having installed python ) on win 10, it looks like bundle install is failing to create makefile for libv8 gem, see below for log output (nb was same issue on win 7)
current directory: C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/libv8-<IP_ADDRESS>/ext/libv8
C:/RailsInstaller/Ruby2.3.3/bin/ruby.exe -r ./siteconf20180620-14620-1em6dio.rb extconf.rb
creating Makefile
'patch' is not recognized as an internal or external command,
operable program or batch file.
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/libv8-<IP_ADDRESS>/ext/libv8/patcher.rb:15:in block (2 levels) in patch!': failed to apply patch C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/libv8-<IP_ADDRESS>/patches/disable-building-tests.patch (RuntimeError) 	from C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/libv8-<IP_ADDRESS>/ext/libv8/patcher.rb:12:in each'
from C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/libv8-<IP_ADDRESS>/ext/libv8/patcher.rb:12:in block in patch!' 	from C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/libv8-<IP_ADDRESS>/ext/libv8/patcher.rb:8:in open'
from C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/libv8-<IP_ADDRESS>/ext/libv8/patcher.rb:8:in patch!' 	from C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/libv8-<IP_ADDRESS>/ext/libv8/builder.rb:57:in block in build_libv8!'
from C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/libv8-<IP_ADDRESS>/ext/libv8/builder.rb:54:in chdir' 	from C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/libv8-<IP_ADDRESS>/ext/libv8/builder.rb:54:in build_libv8!'
from C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/libv8-<IP_ADDRESS>/ext/libv8/location.rb:24:in install!' 	from extconf.rb:7:in '
Applying C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/libv8-<IP_ADDRESS>/patches/disable-building-tests.patch
extconf failed, exit code 1


add custom buckets for latency

changing unit for histograms from seconds to minutes, so it can also cover larger upload queues.

I'm not entirely sure that solves your problem. Would it be simpler to observe minutes and not seconds for each latency metric we have?

yep, good point.

It won't brake it... we just change the bucket resolution, which could affect alerts based on that, but there is no alerts yet. so all is good


sap.m.FacetFilter - wrong odata $filter for 2nd level related entities

OpenUI5 version: 1.46.7
Browser/version (+device/version): PC Chrome Version 58.0.3029.110 (64-bit)
Any other tested browsers/devices(OK/FAIL): PC FireFox 53.0.3 (32-Bit) (FAIL)
URL (minimal example if possible): http://facetfiltertest.azurewebsites.net/
Steps to reproduce the problem:

Open Developer Tools (F12) Console
Filter for Customer "Ernst Handel"

What is the expected result?
Order Details list should be filtered for orders from customer with name "Ernst Handel".
What happens instead?
List is empty. Console shows error from Odata service "No property 'Ernst' exists in type 'ODataWeb.Northwind.Model.Order_Detail' at position 32."
Any other information? (attach screenshot if possible)
The resulting odata filter looks like this: $filter=((Order/Customer/CompanyName eq Ernst Handel)) and it should look like $filter=((Order/Customer/CompanyName eq 'Ernst Handel')). In other words, the provided constants are not properly escaped by the filter.
This issue happens for properties of related entities of related entities. In case of ints there is no issue, but as soon as we have a string with blanks or a guid the $filter string for odata service is wrong.
In this example the Customer Name has a blank but it is not put into single quotes, therefor this error is thrown by Odata service. Same happens for guids that should be put into guid('xxxx'). If the property that should be filtered on is on the first level of related entity there is no issue. Maybe the $metadata is not read deeply enough?
In this example the Order and Product are first level related entities to the order-details that are listed. Customer and Supplier are second level related entities to the order-details.

Hello @comneosroyal ,
Thank you for sharing this finding. I've created a internal incident<PHONE_NUMBER>. You can check its status on GitHub.
Regards,
Gergana


vim syntax: issue with string in dict

Steps to reproduce
paste following into buffer with vim filetype:
{value: 0x220F, name: 'N-ARY PRODUCT'},
{value: 0x2210, name: 'N-ARY COPRODUCT'},
{value: 0x2211, name: 'N-ARY SUMMATION'},
{value: 0x2212, name: 'MINUS SIGN'},

'N and '} are highlighted as vimMark
Expected behaviour
should be highlighted as string.
Version of Vim
9.1.727
Environment
debian12, bash
Logs and stack traces
No response

@dkearns fyi

What is it that you don't like about that group?

I don't remember exactly as it was quite a time ago, but I try to minimize vimscript highlighting as it does too much to my taste. I believe I didn't want to have () and {} highlighted.


chi framework support

Is go-chi/chi framework support under consideration ?

you can use  swaggo/http-swagger to support for  go-chi because it implements the http.Handler.  Examples code as following:
https://github.com/swaggo/http-swagger/blob/master/example/go-chi/main.go#L1-L31


e2e test coverage

How do we perform e2e tests for a feature that is disabled by default?
Do we perform e2e tests?
Define the acceptable coverage.
Break down in smaller tickets

Was split in multiple tickets


Date time function

https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-date#datetimeadd
Fixes https://github.com/microsoft/vscode-azurearmtools/issues/636

@neilpeterson Not sure if the above issues are resolved - merge whenever you're ready.

Awesome, when do you plan to release this change?

This update will be in 0.10.0, rough release estimates are here:
https://github.com/microsoft/vscode-azurearmtools/milestones


contrib/kube-prometheus: Jsonnet snippet for managed kubernetes clusters

Per: https://github.com/coreos/prometheus-operator/issues/2437#issuecomment-470027546
Thanks to @brancz for sharing the snippet originally. Any breakages mine :)
A patch/snippet to exclude monitoring of components that are commonly unavailable in managed clusters.
Prometheus targets page does not show Scheduler and Controller targets.
Alerts don't fire for Scheduler or Controller but rules are still generated by kube-prometheus (added todo).
Have been using the jobs snippet in our clusters for some time.
Service Monitor section is new, seems to generate correct json/yaml and be working in an existing Prometheus cluster (applied over top, not from fresh).

Build failure looks unrelated:
Cloning into '/go/src/golang.org/x/text'...
fatal: unable to access 'https://go.googlesource.com/text/': The requested URL returned error: 502
package golang.org/x/text/secure/bidirule: exit status 128
package golang.org/x/text/unicode/bidi: cannot find package "golang.org/x/text/unicode/bidi" in any of:

Looks like that was some connection problem. Re-running helped. This lgtm :+1: thanks!

@metalmatze any plans to release a new version which contains that? And is this snippet activated automatically or how is it being done?

kube-prometheus isn't versioned and you can always just use what's on master. See: https://github.com/coreos/prometheus-operator#prometheus-operator-vs-kube-prometheus


Adding subheadings to navigation bar

Hi! I was wondering if it is possible to include subheadings in the navigation bar that could act as anchor links? Essentially eliminating the need for a the table of contents by embedding the page anchors on the same side as the navigation.
Here is what my navigation bar currently looks like.

When I created it I tried to create subheadings to include below many of my pages but that didn't work so I resorted to just adding a table of contents to the pages where I needed more navigation organization. However this has resulted in tocs like this one that are excessively long.

Is there any way to get my navigation bar to look something more like this:

I know this has to do with overriding the theme's css files but was wondering if you have any suggestions of where to start. Thanks so much!

The theme already supports subheadings that can be linked to other pages. Simply add a url property to the object if you want it linked somewhere.
Your YAML would look something like this:
main:

title: "Parent Link 1"
url: /parent-1-page-url/
children:

title: "Child Link 1"
url: /child-1-page-url/
title: "Child Link 2"
url: /child-2-page-url/

title: "Parent Link 2"
url: /parent-2-page-url/
children:

title: "Child Link 1"
url: /child-1-page-url/
title: "Child Link 2"
url: /child-2-page-url/
title: "Child Link 3"
url: /child-3-page-url/

RE: customizing the table of contents... that's going to take more than just CSS. You'll need some JavaScript too to make the expand/collapse dropdowns work.

how can I see the children nav..? I do not see a dropdown from the navbar. Sorry if it is a silly question.

@fdq09eca The main navigation bar (the top bar) currently does not support nested items. You'd have to write (quite some) code to implement that yourself.


Add docs for using EG with Docker

What did you implement:
Closes #306
Added documentation to run EG in Docker.

How did you implement it:

How can we verify it:

Todos:

[ ] Write tests
[x] Write documentation
[ ] Fix linting errors
[ ] Make sure code coverage hasn't dropped
[ ] Provide verification commands / resources
[ ] Enable "Allow edits from maintainers" for this PR
[ ] Update the messages below

Is this ready for review?: Yes
Is it a breaking change?: NO

Thanks for fixing this :).  Probably also worth fixing the dockerfile

@berndtj You are welcome. We are looking at releasing an official Docker image as well with more documentation. Thanks for bringing it to our attention.


Bug [1.0.0-pre.4] Slider background color on page load incorrect.

Problem
As the title suggests.
Actual Behavior

Light
Dark

Expected Behavior

Light
Dark

Thanks for reporting this. The root cause is a bug in Lit's styleMap directive: https://github.com/lit/lit/issues/3738


Session outside laravel

Hi,
Hi I am gonna try to use the session package outside laravel. I have added SessionServiceProvider.php, and after that  in my index.php file
use Illuminate\Session\SessionManager;
$manager = new SessionManager($app);
$manager->driver()->save();

the errors
Notice: Undefined index: _sf2_meta in C:\laravel\vendor\illuminate\session\Store.php on line 251
Warning: file_put_contents(C:\laravel/app/framework/sessions/a6cbabcf3775adb9401b658061dd0f8c2d015c92): failed to open stream: No such file or directory in C:\laravel\vendor\illuminate\filesystem\Filesystem.php on line 70

But it throws errors and the session id is always change - There is no file in storage/framework/sessions folder. What am I missing to use it outside laravel. I think I have to write this id file a6cbabcf3775adb9401b658061dd0f8c2d015c92 first to folder, but I can not figure it out ?? I am not sure it is about the structure or what ?
I can get the session ID with this code, but it is always change every refresh.
echo $manager->getId();

Thanx ..

hello can you explain me how to use illuminate/session package outside laravel with route
i'm experiencing same problem please help me
http://stackoverflow.com/questions/29192242/

@mxhunter The problem is you have to set session to request ... Laravel is calling this file(Illuminate/Sessions/Middleware/StartSession.php) as the application's middleware stack... If you don't use middleware then you have to attach it in your StartSession.php ...
public function handle($request, Closure $next)
	{
		$this->sessionHandled = true;

		// If a session driver has been configured, we will need to start the session here
		// so that the data is ready for an application. Note that the Laravel sessions
		// do not make use of PHP "native" sessions in any way since they are crappy.
		if ($this->sessionConfigured())
		{
			$session = $this->startSession($request);

			$request->setSession($session);
		}

		$response = $next($request);

		// Again, if the session has been configured we will need to close out the session
		// so that the attributes may be persisted to some storage medium. We will also
		// add the session identifier cookie to the application response headers now.
		if ($this->sessionConfigured())
		{
			$this->storeCurrentUrl($request, $session);

			$this->collectGarbage($session);

			$this->addCookieToResponse($response, $session);
		}

		return $response;
	}


disable pointer events on ai-dialog-container

This disables pointer events on ai-dialog-container to enable the close click on ai-dialog-overlay.
without this css, the event listener here https://github.com/aurelia/dialog/blob/master/src/dialog-renderer.js#L66 never catches an event as the ai-dialog-container is on top of ai-dialog-overlay.
This solution only works for browsers supporting pointer-events: http://caniuse.com/#search=pointer-events

Fixes #74 for browsers supporting pointer-events.

@joelcoxokc Can you comment on this? Didn't we have some major updates to the dialog we were planning based on AI? Were those updates going to solve this issue?

Yes, this will be resolved. The new logic also provides hooks for changing things like this.

I am fine with closing this PR if it gets resolved differently in the future. This is something users of aurelia-dialog can relatively easy fix in their own css. It's just that one need to know it. I already wanted to implement the close on outside of modal click thing when I found the code that is supposed to do it.

I think this is valid for now as it closes an open issue and only has changes to the styles (which will be replaced eventually)
@benib Thanks again for the contribution and repro.  We do have contribution requirements for a few reasons -

Please make sure to sign the CLA
Can you fix the commit message to follow the pattern fix(overlay): disable pointer events on ai-dialog-container so that our changelog can be generated properly?
If it's not too much to ask also please drop the dist files (we only generate them on release)

If you can take care of the first item but don't want to do the other two let me know and I can clean it up, it just messes with the PR where it looks like I did the change instead of you.

@PWKad Alright, there is a new commit in this PR following 2. and 3.
I already signed the CLA some months ago.
Please let me know if there is anything else I should do.

@benib  Perfect thanks!!!!
@EisenbergEffect CLA confirmation request

CLA is confirmed :)

Is this in the docs? I spent a while trying to work out why I couldn't click on my custom dialog and I'm sure it was working before. When I finally worked it out, my initial attempt was to add pointer-events: all; to ai-dialog-container as that appeared to fix it, only to find that when the dialog closed it disabled pointer-events from my whole app!
Am I right in saying that my initial containing element  in the view has to have pointer-events: all; set on it? That appears to have fixed it...

@timfish I think you are right that this was the cause of the issue in IE, I am testing it out now and if I switch initial to all for the ai-dialog it appears to fix it...  I'm going to PR this fix in, when you have a chance is there anyway you can verify?

@PWKad Yes, just tag the fix in this issue and I'll have a look!

Pointer-events: auto;
Instead of all.
May prevent further issues down the road.
On Tue, Feb 9, 2016 at 7:04 AM Tim Fish<EMAIL_ADDRESS>wrote:

@PWKad https://github.com/PWKad Yes, just tag the fix in this issue and
I'll have a look!
—
Reply to this email directly or view it on GitHub
https://github.com/aurelia/dialog/pull/79#issuecomment-181905747.

This is causing issues for me. I'm applying the styles from bootstrap to the modals create with this module, except I can't click my input fields anymore without closing the modal, because every click is registered on the backdrop.


Help: Phase 1 Simple Styling Modifications

@dtarb and @ChristinaB - @mauriel133 and I just met and came up with the following set of things for getting started on the HydroShare help pages. I want to do this in more bite sized chunks, so I've called this issue "Help: Phase 1". Please comment in this issue if you have feedback.

[x] 1. Modify starting page for help to have help group icons/images (i.e.g, topics) - style these like the "How it works" section on the main HydroShare page.
[x] 2. Modify styling of page to be as consistent with www as possible - modify header and footer to be consistent
[x] 3. Fix styling and text padding issues on each individual help content page
[x] 4. Modify left hand navigation to get rid of navigation column, but focus instead on the icon groups (i.e., topics)
[x] 5. Add a subsidiary page for each help icon group that lists individual help topics/links to pages
[ ] 6.  Add user stories as either a separate icon group and/or potentially featured articles on the main help page
[ ] 7. Add images to existing help articles
[x] 8. Figure out how the search works and make sure it it useful

@mauriel133 and @ChristinaB - Here's a first cut at the help categories/group icons for the opening page of the help pages with a mapping of the existing content to where I think it should go under each major topic. Numbered items would be the main categories/group icons on the first page.

Introduction to HydroShare

Introduction to HydroShare

HydroShare Resource Types

Resource Types

Generic
Collection
Time Series
Geographic Raster
Multidimensional (NetCDF)
Model Program
Model instance
SWAT model
Modflow model
Web App

Creating and Managing Resources

Creating Resources
Creating Resource Versions
View, Download, Edit, or Delete a Resource
Accessing HydroShare iRODS from a Windows PC or Mac
Uploading Large Files into HydroShare

Sharing and Privacy

Sharing and Publishing Resources
Managing Access

Discovering Resources

Discover

Participation and Collaboration

Participation and Collaboration

Find Groups
My Groups
Group Landing Page
Group Membership
Setting Group Visibility

Comment on and Rate Resources

Apps
Modeling

Applying Models
Run a Model Using a Python  Notebook Server

About HydroShare

About HydroShare
Tutorial Webinars and Publications

I think our initial focus for Phase 1 should be on users of the web user interface. For Phase 2, other categories that we need to add eventually include (but in a new issue):

Information for HydroShare App Developers
HydroShare REST API Documentation
HydroShare user stories or Blog posts (e.g., here's how to use HydroShare to do such and such).

I think this list is spot on!
@mauriel133
Is it useful for me and @jphuong  to update this moqup with @horsburgh  outline?  and @dtarb edits?
https://app.moqups.com/jphuong/hPfKvNNcT6/view/page/a2dcc2955
I would update it to be very similar to the https://www.hydroshare.org/  landing page, but with 9 infographics that link to content.   If the landing page and help landing page have a similar style, should I make a new issue to update the landing page to remove the 'What you can do with HydroShare' list and laptop image?

Heads up @Lizabrazil
Here is some information you should be aware of for helping with help.
We can discuss this tomorrow in the phone call.
Hi @mauriel133
Let us know your timeline on Help page work (or if folders are still in your radar).
Christina

@horsburgh  - I think the first list you have is sufficiently clear, my only concern is with the question about what to do with the navigation. If you click into the subject icon, the user next see the list of topics within that heading. They can navigate out/back using a top navigation.   This means there will be no left navigation. Correct?

@ChristinaB - Correct.

@Lizabrazil and I talked about the help content. She is reviewing to see if there are any gaps.  I clarified that we are going to use the existing material and put it into the format described in the list above.  What is the timeline for the update? Should I plan on being the one to port the content to new pages? Or can we link the new landing to existing pages? THanks @mauriel133 !!!

@ChristinaB - @mauriel133 's work should mostly just be styling. It shouldn't affect content.  The pages are already in the system and shouldn't have to be moved - unless you want to reorganize and change the number of pages or what is on each one. The same pages that are there now will be there when @mauriel133 is done.

These help pages are looking really good. Styling is fairly clean. Info is easy to find. It's sort of weird that the question you click on doesn't match the title of the help page it goes to, but I can get used to that.

Nice work!! Thanks @horsburgh and @mauriel133 !
The search box at the top has a drop down box with options Pages, Blog Posts, and Everything.  I think 'everything' can stay, but I think the users will be confused what 'pages' refers to, and we don't have 'blogposts'.    I think this requires a bigger conversation with @alvacouch about what is searchable from the help pages (resources?), but suggest only keeping items in the dropdown list that are currently functional, for now.
The dynamic adjustments on the text are great, but I wonder if we can still do a tad bit more optimization with the wide screen. For example, when the screen is wide enough for a 3x3 matrix, the 1-2 line title and the 2-3 line description are misaligned.    This is not an issue for a narrow screen and 2x4 +1 matrix, for example.   The 1X9 mobile view is best, because the title and the description don't have any horizontal comparative views.   My guess is that this could be solved by forcing the shorter titles to always have the same white space as is taken up by the longer titles?
I don't think we should include the question version of the page, for example, on https://park.hydroshare.org/creating-and-managing-resources/
This is not consistent with the layout in https://park.hydroshare.org/hydroshare-resource-types/
and it is too repetitive in a confusing way. (Is this different info, or the same info?)
I think it is sufficient to click on the hyperlinked navigation, and have the content populate below.

@ChristinaB - some responses below:
Related to 2: I would be OK with just getting rid of the drop down box next to the search. I don't think we need @alvacouch 's help here. The search box is only related to the help system and will only return results within the content from the help pages. It is not designed to return resources or any content other than what is in the help pages.
Related to 3:  I'm not seeing the misalignment of the text in the 3X3 configuration (in Chrome on a Mac). Unless you are referring to the text wrapping, and I think that's a very minor issue that doesn't bother me at all. I probably wouldn't waste cycles on this.
Related to 4: If you don't like the question version of the page, then we need something else to fill that page. That is the landing page for one of the 9 topics, and we need a landing page for each topic. I don't feel like they have to be consistent because they are describing fundamentally different things, but if you want to suggest some alternative content, we can implement. Also - the navigation links only show up at the top of the page if you have a very narrow screen. Otherwise they show up on the left. So, we can't just expand content below the navigation items.
Related to 5: The navigation is just pointers to pages. It isn't content, and the content is not embedded in the navigation.  The concept is - you have 9 main help topics represented as tiles on the first page. Each topic must have a landing page with text - this is the target page when you click on one of the 9 tiles. We can change the text to whatever you want, but each of the 9 tiles needs a target page. Then, under each of the 9 landing pages, you can have subsidiary pages with more detailed content. I added the questions as an alternative way to get to the subsidiary pages, but you are welcome to suggest an alternative.

I'm going to go ahead and close this one. It's implemented on beta.hydroshare.org. The two items that are not checked in the original post are content related. If we end up having a separate help section for user stories/blog posting, we should implement them as a separate issue.


DBZ-1766 Update lastOffset to commit only after a record is committed

https://issues.redhat.com/browse/DBZ-1766
Supersedes #1245.

I patched this PR and verified with the same testing as in https://github.com/debezium/debezium/pull/1245 that the problem appears to be fixed (no more missing data on restart).

Thanks for reporting back, @mwinstanley! So the change itself should be good to go, we're just fighting with some (unrelated) issues on CI here...

@jpechane, is the merge commit intended? Way more commits show up here now than expected.

Ok, the remaining test failure is unrelated; merging. Thanks again, @mwinstanley!


Expose --accelerate_full_state_at_epoch to CLI users from training library

By default, the instructlab/training loop saves the full parameter / optimizer / lr_scheduler state every epoch. This default is configured in the TrainingArguments object, and isn't exposed to the CLI users. This contributes to higher overall disk usage, unnecessarily so if the user doesn't care about being able to restart training, or can't afford the disk utilization.

Things need to change:

Add an appropriate flag to ilab model train that'll set accelerate_full_state_at_epoch to True. This doesn't need to become a parameter in the command function, it can be passed as an arg to train_args.
Add accelerate_full_state_at_epoch to the config with the default value of True


Add license(s)

For the sake of clarity we should add license information to the repository.

How should we go about this? Is all the source and content MIT-style free to use?

Thats nothing we - as the developers - could decide.

For sure, who should be pulled into the loop?

For now lets assign to @julehen.
She should clearify this.

MIT license works great for us, but: we cannot open source the pictures, means: we have to exclude the "static" folder (https://github.com/sinnerschrader/sinnerschrader-website/tree/master/static). However that works ;)

Some ideas: http://softwareengineering.stackexchange.com/questions/289929/how-to-handle-oss-license-on-github-with-non-oss-pictures

Was my first guess as well, there might be no better solution.

That will be hard for us to do, because this repo holds the page and is public. In that folder all images must reside.
We could change the process of hosting the website in a private repo but still on github-pages. That repo contains the private images and the oss parts will be merged in.
But the whole setup will get a lot more complicated.

@KnisterPeter Nah, the images are public (as opposed to open-licensed) anyway, right? I'm talking about placing them under a different license and make that as explicit as possible by placing them in a different repository. Let's copy over the license file from the closed-licensed repo into dist/static, that should be enough. The top-level License file here could include an exclusion of the dist/static folder.

If you place them in a different repo, how does schlump know/get them and copy them over?

I'd place open-licensed images on /static/ and overwrite them with the contents of the closed repo for deployments.

Taking the idea from @marionebl: maybe we can ask our creatives to provide some "generic" placeholders, i.e. self-made sketches, which we can open source alongside with the code?

I went ahead and

created https://github.com/sinnerschrader/sinnerschrader-website-static, which contains all non-licensable assets
assembled a slew of OSS stock photos for local development
create a small pipeline from sinnerschrader/sinnerschrader-website-static to sinnerschrader/sinnerschrader-website

--
Demo Development Assets (with npm run taint:fonts):

@hblank Could you have a quick look and give some feedback? Thanks!

@marionebl works great for me! looks even better than expected ;) I talked to Martin Gassner that we could/should replace these images with something uniquely crafted by S2 later, but that's not a blocker for now.

🎉 We have a license!


Allow specifying default value for types not implementing Default

Currently, #[serde(default = "my_function")] only works for types implementing the Default trait. I don't think this trait should be required when a function is specified to provide the default value, rather than relying on the default provided by the Default trait implementation.
Example:
use serde::{Deserialize, Serialize};
use url::Url;

fn base_url_default() -> Url {
	Url::parse("http://clustervms.localdomain").unwrap()
}

#[derive(Clone, Default, Debug, Deserialize, Serialize)]
pub struct ClusterVmsConfig {
	#[serde(default = "base_url_default")]
	pub base_url: Url,
}

This is working correctly as far as I can tell. The generated impls are:
impl Serialize for ClusterVmsConfig

impl<'de> Deserialize<'de> for ClusterVmsConfig

which does mention the Default trait.

Oh, my bad. I totally misread my compiler error. It's the derive for Default that's requiring base_url to implement Default, not the #[serde(default=...)]. Guess that's what I get for trying to use minimal screen brightness to conserve battery during a long car ride.


Fix issues from 190529 github triage [Closes #1077][Closes #1091]

Docs Build status updates of commit 618e94b:
:clock10: Full build: the average full build time is 27 min(s) 48 sec(s), this is based on the last 111 build(s) for this repository.

Docs Build status updates of commit 618e94b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-2.1.0/install-az-ps.md
:white_check_mark:Succeeded
View (azps-2.1.0)

docs-conceptual/azps-2.1.0/manage-subscriptions-azureps.md
:white_check_mark:Succeeded
View (azps-2.1.0)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Document image usage rights

The images used in this theme are very nice. It would be great if the usage rights could be added.
For me it's unclear, if I can reuse the images in assets etc. freely (CC BY-SA 2.5 or similar) or if they are paid for stock images.

Hi @ironjan, thanks for downloading and using the theme.
Regarding the image usage rights, they're all obtained from pixibay (https://pixabay.com/)
and retain a CC0 License - free to use for anything, no attribution required. Feel free to re-use the images on your own site.
Thanks for the feedback, I'll make sure to add this in the README and make it clearer for other users.

Great, thanks!


Fix annotations artifact

These appear to be intended to be a plain java library but were still defined as an aar, which then had a conflicting manifest package name as well.
Resolves #58

Ah, that's where this is from. Thanks, Zac!


Fix newline parsing at trailing trivia

Resolve #1626
Unlike leadingTrivia, trailingTrivia was not using the newlinePresence value of triviaResult.
Modified the logic to store the trailingTrivia newlinePresence value from the previous token and set isAtStartOfLine flag when parsing the next token.

@swift-ci Please test

I appreciate your kind feedback. Thank you @ahoppen!

@TTOzzi Could you also open a PR with this changes targeting the release/5.9 branch? Since this fixes a proper parsing bug, I would like to include it in the Swift 5.9 release.

@ahoppen Of course, I can do it! When should I create the PR until?

There is no clear deadline at the moment. Earlier is always better than later though 😉

Ok. It's currently working hours here, so I'll create it after I finish work and leave for the day 😉

Anytime this week is equally good


nextflow v23.10 compatibility

I updated my nextflow installation to version 23.10 and now I get the error below when running the test data (nextflow run main.nf --input data/test_data/test_sample.tsv --metadata data/test_data/test_metadata.tsv -profile singularity --outdir testdata --publish_dir_mode copy). Does anybody experience the same issue? With nextflow v23.4.2 and v23.4.4 everything works fine. I tested it on two different HPC cluster, one running with apptainer version 1.2.4-1.el7 and the other with 1.1.3.-1.el7.
  task: name=pb16S:import_qiime2 (1); work-dir=/data/groups/ngsp/04_pb_16S/pb-16S-nf/work/6c/319c971e5fa979bb0fd3897df69aba
  error [nextflow.exception.ProcessFailedException]: Process `pb16S:import_qiime2 (1)` terminated with an error exit status (1)
Nov-16 13:30:30.464 [Task monitor] ERROR nextflow.processor.TaskProcessor - Error executing process > 'pb16S:import_qiime2 (1)'
Caused by:
  Process `pb16S:import_qiime2 (1)` terminated with an error exit status (1)

Command executed:

  # Make sure path is absolute
  awk -v wdir="$(pwd)/" -F$'    ' '{if (NR>1){print $1,wdir$2} else {print $0}}' OFS=$' ' samplefile.txt > sample_list.txt
  qiime tools import --type 'SampleData[SequencesWithQuality]'     --input-path sample_list.txt     --output-path samples.qza     --input-format SingleEndFastqManifestPhred33V2

Command exit status:
  1

Command output:
  (empty)

Command error:
  INFO:    Environment variable SINGULARITYENV_TMPDIR is set, but APPTAINERENV_TMPDIR is preferred
  INFO:    Environment variable SINGULARITYENV_NXF_TASK_WORKDIR is set, but APPTAINERENV_NXF_TASK_WORKDIR is preferred
  INFO:    Environment variable SINGULARITYENV_NXF_DEBUG is set, but APPTAINERENV_NXF_DEBUG is preferred
  Matplotlib created a temporary config/cache directory at /tmp/matplotlib-330of3d2 because the default path (/home/XXX/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
  Traceback (most recent call last):
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/q2cli/builtin/tools.py", line 157, in import_data
      artifact = qiime2.sdk.Artifact.import_data(type, input_path,
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/qiime2/sdk/result.py", line 287, in import_data
      view_type = qiime2.sdk.parse_format(view_type)
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/qiime2/sdk/util.py", line 88, in parse_format
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/qiime2/sdk/plugin_manager.py", line 67, in __new__
      self._init(add_plugins=add_plugins)
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/qiime2/sdk/plugin_manager.py", line 105, in _init
      plugin = entry_point.load()
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2477, in load
      return self.resolve()
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2483, in resolve
      module = __import__(self.module_name, fromlist=['__name__'], level=0)
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/q2_diversity/__init__.py", line 11, in <module>
      from ._beta import (beta, beta_phylogenetic, bioenv,
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/q2_diversity/_beta/__init__.py", line 13, in <module>
      from ._beta_rarefaction import beta_rarefaction
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/q2_diversity/_beta/_beta_rarefaction.py", line 23, in <module>
      from .._ordination import pcoa
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/q2_diversity/_ordination.py", line 13, in <module>
      import umap as up
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/umap/__init__.py", line 2, in <module>
      from .umap_ import UMAP
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/umap/umap_.py", line 41, in <module>
      from umap.layouts import (
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/umap/layouts.py", line 40, in <module>
      def rdist(x, y):
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/numba/core/decorators.py", line 212, in wrapper
      disp.enable_caching()
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/numba/core/dispatcher.py", line 863, in enable_caching
      self._cache = FunctionCache(self.py_func)
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/numba/core/caching.py", line 601, in __init__
      self._impl = self._impl_class(py_func)
    File "/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/numba/core/caching.py", line 337, in __init__
      raise RuntimeError("cannot cache function %r: no locator available "
  RuntimeError: cannot cache function 'rdist': no locator available for file '/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/umap/layouts.py'

  An unexpected error has occurred:

    cannot cache function 'rdist': no locator available for file '/opt/conda/envs/qiime2-2023.2/lib/python3.8/site-packages/umap/layouts.py'

  See above for debug info.

Work dir:
  /data/groups/XXX/04_pb_16S/pb-16S-nf/work/6c/319c971e5fa979bb0fd3897df69aba```

the solution was to mount the /home directory in the nextflow.config
singularity.runOptions = "--bind /home/XXXX"


Add IDN validation

Would it be reasonable to add IDN validation to this library? (I’m not aware of a way to do this in JS yet …)
Thank you!

@FGasper can you assist me about this issue.
I published a library to map IDNA flag of a unicode character. But there are several flags for several IDNA versions. Which flags should consider valid for each versions of IDNA tables.
Then I am able to integrate my library to punnycode to verify characters.
You can see my library from https://github.com/tugrul/node-idna
Thanks


test: add autotest to CI

Major changes:

add autotest to CI
add cpp and Python test framework

Minor changes:

fix memory leak in roadnet
delete outdated test: test.cpp
fix Python code style: use PEP8 style
add parameter resetRnd to reset(): rand seed can be reset when calling engine.reset()
add CI status to readme

Since I move the CI config yml file, the CI may not work in this PR. You can check the CI status in my forked repo: https://dev.azure.com/SiyuanFeng/CityFlow/_build?definitionId=1&_a=summary
After this PR merged, I will change the location of CI config file.

cc @soodoshll @zhc134

addressed comments. Please have another look. @soodoshll @zhc134


cherry pick issues from original repository and register issues here

Nothing interesting as per now. 7 issues. Most cosmetique.


Text hightlight color on paste

Hello,
Thank you for this awesome package, it looks great and I enjoy using it. Only issue I have so far is with the pasting of the text. If I paste something in the terminal it gets highlighted with the same color. I tried changing the font color but that didn't help. Any hints or tips would be really appreciated.

This is realted to #36 and #39. Right now i don't have time to fix this but i'm open to PRs

Happy to take a stab at it if you can give me a high level guidance as where to look for the issue if you have an idea.


Start-PPDMprotection not working as expected

Hi,
I have identified 2 issues with this function.

Parameter $PolicyObject does not set policy id correctly (protection_policies.psm1).

'byPolicyObject' {
        $StageID = ($PolicyObject.stages | Where-Object type -eq PROTECTION).id
        $BackupType = ($PolicyObject.stages | Where-Object type -eq PROTECTION).operations.backupType
        $PolicyID = $Policy.id
      }

should be:
'byPolicyObject' {
        $StageID = ($PolicyObject.stages | Where-Object type -eq PROTECTION).id
        $BackupType = ($PolicyObject.stages | Where-Object type -eq PROTECTION).operations.backupType
        $PolicyID = $PolicyObject.id
      }

The response is empty, even though the policy is being restarted.

[
  "Tue, 18 Oct 2022 11:01:56 GMT",
  null
]

This is fixed in the same function. Remove .Date:
  end {
    if (!$noop.IsPresent) {

      switch ($PsCmdlet.ParameterSetName) {
        default {
          write-output $response #was write-output $response.Date
        }
      }
    }
  }

Perhaps it would be even better to use write-output $response.Results instead of returning the whole response

Thanks for bringing that up.
Point 1 is fixed in 19.12.1
I don't get Point 2:
The POST response does not return a result, only response headers:

Thus , the Header Response will pe scoped to response, and decided to use  .date as the output.
If Unsuceesfull, an error will be thrown

Actually I am getting a different response, which also matches what Dell lists in the documentation.
Can't upload a picture, but the result looks like thi:
Key   : Access-Control-Allow-Methods
Value : {PUT, POST, GET, OPTIONS, DELETE}

Key   : Access-Control-Max-Age
Value : {3600}

Key   : Access-Control-Allow-Headers
Value : {x-requested-with}

Key   : X-Frame-Options
Value : {SAMEORIGIN}

Key   : X-XSS-Protection
Value : {1; mode=block}

Key   : X-Content-Type-Options
Value : {nosniff}

Key   : Content-Security-Policy
Value : {script-src 'self'; object-src 'self'; style-src 'self' 'unsafe-inline'; frame-ancestors 'self'}

Key   : Date
Value : {Tue, 06 Dec 2022 11:57:36 GMT}

Key   : Strict-Transport-Security
Value : {max-age=31536000 ; includeSubDomains}

Key   : Keep-Alive
Value : {timeout=60}

Key   : Referrer-Policy
Value : {no-referrer}

Key   : x-dell-log-trace-id
Value : {TRACE_ID:98da8750a9c3e7f1}

Key   : Transfer-Encoding
Value : {chunked}

Key   : Content-Type
Value : {application/json}

results : {@{stageId=1728aff2-7149-2933-c26e-fa31ac6454ef; status=202; activityId=7c6f5852-835a-49b6-9737-a8682276eb3c}}

And the results : {@{stageId=1728aff2-7149-2933-c26e-fa31ac6454ef; status=202; activityId=7c6f5852-835a-49b6-9737-a8682276eb3c}} is of interest if you want to query for exactly these manually started jobs.
To get this output, I removed .date and am using PPDM Version: 19.12.0-19


Discussion: files structure of a single package

I think, we can put all related files of a single package in the package folder ( test files are not included ).
A package folder shall contain:

source code files
README.md to describe actions/feeds in the package and how to invoke them
install.sh to install the package

If we agree with this proposal, we can:

move installCatalog.sh to the root folder
move installXXX.sh to each package folder.
make installCatalog.sh more dynamic, calling every install.sh under the sub folder of openwhisk-catalog/packages, other than hard coding the file name of every package install script.

Daisy

We also need to consider the relationship between openwhisk-package-tempate and openwhisk-catalog.
Shall we make them consistency ? If the file structure is consistency, a user's created package followed openwhisk-package-template can be easily contributed to openwhisk-catalog.
Daisy

Daisy has the correct idea; each package should be treated independently from the other and have a consistent set of files ans structure (the directory structure changes as part of the move is the first step towards consistency).   We will eventually have a manifest as well and and installer that uses the manifest. Having said that, we agreed to allow system and utils to have many actions in one directory as these are "built-ins" and we must be true to this agreement for now.  The "samples" are another matter and each should be installable by themselves and each have a README (at least 1 per family).  THis is what I was trying to ask David to do a month ago when he ran into overlapping work with another person re-writing READMEs so I had him stop  at that time.   If you recall, I asked him to have 1 README per unique sample and 1 README for utils and 1 README for system actions.  He started at the top of the catalog and ran into another person working in the same file.  Now that is no longer true we should look at this again.

Let's first get everything like the package and install script from openwhisk to this catalog. Make sure things are going fine and tested, able for openwhisk to switch.
After that we can change the structure of the package one by one.
Does it sound good? @daisy-ycguo @mrutkows @rabbah

@jasonpet I think this is the discussion raised about some refactoring of the file structure.


bumps typeorm to 0.3.6 - BREAKING CHANGE

Closes #239
This PR bumps typeorm to version 0.3.x which includes breaking changes.
In order for developers to understand nestjs-paginate version should also be brought up to 0.3.x i guess.
Tests where running through.

Happy to accept any feedback!
BR Jakob

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


No AMD GPU Support ?

System Requirements:
 CUDA version > 12.4
 NVIDIA Driver version > 550

Since these are system requirements so it means it doesnt support AMD GPU's ? if yes then are there any plans to support it in future ?
(Btw i do have NVIDIA GPU still was curious to know because i have amd igpu 780M in my system with which i thought to try this project out too later as it is number 1 igpu so was interested to see its performance hehe so was asking here :-))

Can't run it on amd's gpu right now I guess, because whisperx and faster-whisper require cudnn9, which rocm can't do yet.

Yes whisperX requires cudnn9, which is soooo troublesome...


Wait till all node_helper are started before finishing startup

In response to #2487 this implements a Promise.all for the node_helper start calls. Just a draft becuase I want to get feedback first....

Thanks for the feedback @MikeBishop Now ready for real review ;-)

Codecov Report

Merging #2928 (c35c08b) into develop (d5e855d) will increase coverage by 0.24%.
The diff coverage is 83.33%.

@@             Coverage Diff             @@
##           develop    #2928      +/-   ##
===========================================
+ Coverage    63.82%   64.06%   +0.24%
===========================================
  Files            9        9
  Lines          293      295       +2
===========================================
+ Hits           187      189       +2
  Misses         106      106

Impacted Files
Coverage Δ

js/app.js
60.33% <83.33%> (+0.66%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

not sure how many module developers use async here at all ....

well, none in the start function.. cause it doesn't exist..  i use both promises and async where appropriate

a module developer could use async anyway, even if it is not used in the prototype method (just like the OP does). might be interesting to mention it in the docs for developers...

FWIW, I wound up shipping mine using async anyway, and just putting the things that might take longer last.  I haven't encountered any ill effects from my start-up routine completing a bit after the parent process thinks it did.
But @sdetweil makes an interesting point.  In the current design, if a module throws an exception during start-up, does the server start-up fail entirely?  If that's the desired behavior, then Promises.all() was the correct method to start with, and having it throw the first exception encountered and kill the program would provide a similar result.

Im currently on a trip, so no real way for me to check the current behaviour.
I would hope though that in case of an error the other modules start too and a meaningful error is shown somewhere (console or notification)...

In the current design, if a module throws an exception during start-up, does the server start-up fail entirely? If that's the desired behavior, then Promises.all() was the correct method to start with, and having it throw the first exception encountered and kill the program would provide a similar result.

Currently if a node_helper of a module throws an exception in the start method, all other node_helper after that dont get started due to:
"
[12.10.2022 22:49.47.556] [ERROR] Error: listen EADDRINUSE: address already in use <IP_ADDRESS>:8080
"
As an example, use the default config and throw an exception in the newsfeed helper module. Calendar module wont start and show nothing...
With the changes here that will still happen. Why? Because the start method doesnt return a promise, and we have no try/catch anywhere in the startup sequence.
Do I like this behvior? No, since it confuses a user. If a module errors, only that module should error and not any other module that has nothing to do with it.
Two ways to fix it:

Add a try catch somewhere around where the server starts and handle it gracefully
Make the start method async (since it will then return a promise that can be handled with Promise.all...) and hope module developers change their method signature to use async too

Obviously 2) is a wishful thinking and would probably result in old modules that still work not being resilient. So I think 1) is the way to go. But since that doesnt have to happen here in this PR it can be done seperatly after this gets merged.
Comments?

yes, 2 is wonderful idea, but we have so many modules that are no longer maintained, this will never happen
so it must be option 1.
I personally hate that we have a fatal config error but continue to run with something else

from my side this can be merged as it doesn't change the current state.
For a future PR: option 1 ...

Created a ticket for the error handling improvement: https://github.com/MichMich/MagicMirror/issues/2944


tests from crates.io tarball are failing due to missing files

---- elements::module::integration_tests::const_ stdout ----
thread 'elements::module::integration_tests::const_' panicked at 'Should be deserialized: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

---- elements::module::integration_tests::hello stdout ----
thread 'elements::module::integration_tests::hello' panicked at 'Should be deserialized: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5

---- elements::module::integration_tests::peek stdout ----
thread 'elements::module::integration_tests::peek' panicked at 'Should be deserialized: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5

---- elements::module::integration_tests::memory_space stdout ----
thread 'elements::module::integration_tests::memory_space' panicked at 'failed to deserialize: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5

---- elements::module::integration_tests::names stdout ----
thread 'elements::module::integration_tests::names' panicked at 'Should be deserialized: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5

---- elements::module::integration_tests::serde stdout ----
thread 'elements::module::integration_tests::serde' panicked at 'Should be deserialized: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5

---- elements::module::integration_tests::peek_3 stdout ----
thread 'elements::module::integration_tests::peek_3' panicked at 'Should be deserialized: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5

---- elements::module::integration_tests::peek_2 stdout ----
thread 'elements::module::integration_tests::peek_2' panicked at 'Should be deserialized: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5

---- elements::module::integration_tests::serde_code stdout ----
thread 'elements::module::integration_tests::serde_code' panicked at 'Should be deserialized: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5

---- elements::module::integration_tests::serde_import stdout ----
thread 'elements::module::integration_tests::serde_import' panicked at 'Should be deserialized: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5

---- elements::module::integration_tests::serde_type stdout ----
thread 'elements::module::integration_tests::serde_type' panicked at 'Should be deserialized: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5

---- elements::module::integration_tests::store stdout ----
thread 'elements::module::integration_tests::store' panicked at 'Should be deserialized: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5

---- elements::module::integration_tests::varuint1_case stdout ----
thread 'elements::module::integration_tests::varuint1_case' panicked at 'Maybe shouldn't be deserialized: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5

---- elements::reloc_section::tests::reloc_section stdout ----
thread 'elements::reloc_section::tests::reloc_section' panicked at 'Module should be deserialized: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5

---- elements::section::tests::import_section stdout ----
thread 'elements::section::tests::import_section' panicked at 'Should be deserialized: HeapOther("Can\'t read from the file: Os { code: 2, kind: NotFound, message: \"No such file or directory\" }")', libcore/result.rs:945:5

Please either include them or somehow disable those tests by default. Thanks!

Those tests rely on submodule, so download it before (git submodule init --update in the directory)

note that crates.io tarballs do not contain any git submodule information

Is there any way to specify it?

But if I remove it, every user will have to download the test suite, which is not at all needed

Hi @ignatenkobrain ! sorry for chiming in so late.
Cargo testing usually assumes that you're working with crate locally and crates.io packages don't always contain all necesarry files for testing.
I wonder why do you have such requirements?

We try to test all crates before we ship them to users when packaging in Fedora.
This works for most of the crates, but for those which do not, upstream usually add some flag which disables testing of data-dependent tests.

by doing this we catched a lot of different issues related to endianess and/or some specific versions of crates.

https://github.com/rust-lang-nursery/rust-bindgen/issues/1412
https://github.com/rustsim/nalgebra/issues/383
https://github.com/BurntSushi/rust-pcre2/issues/3
https://github.com/dtolnay/ryu/issues/2
https://github.com/sfackler/rust-openssl/issues/964
https://github.com/stratis-storage/devicemapper-rs/issues/343
https://github.com/mehcode/config-rs/issues/75
https://github.com/hyperium/mime/issues/85
https://github.com/sunng87/handlebars-rust/issues/219
https://github.com/serde-rs/serde/issues/1282
https://github.com/alexcrichton/filetime/issues/23
https://github.com/serde-rs/serde/issues/1230
https://github.com/servo/rust-cssparser/issues/214
https://github.com/tailhook/humantime/issues/2
Just some links for the references.

We try to test all crates before we ship them to users when packaging in Fedora.

Interesting! This is totally a legit case, but as I've said it's not officially supported... I would recommend to file an issue to cargo/crates.io repo to ask about officially supporting this use-case.
In the meantime, I think it should be possible to download the tests dynamically. Will look into that.

We stumbled over the same problem when packaging the crate for Debian. Unfortunately, adding a method to dynamically download the files also doesn't help, because in Debian all packages must be buildable without a network connection. In this case, I also think it's not worth distributing additional files of 30MB size, so I'll disable the tests for now. Even though running tests has surfaced several real issues in the past, similar to Fedora's experience.


WIP: Create readme

see https://github.com/blindnet-io/devrel-management/issues/9 & https://github.com/blindnet-io/openness-framework/pull/33

https://github.com/orgs/blindnet-io/teams/engineering: you should still add the installation steps
API Ref can be addressed after this PR, but is a top priority.

@jovana-todorovic you should NOT have merged this PR! 3 comments weren't addressed and this goes against all our processes and rules as you weren't an assignee and it had no approving reviews. Please create another PR to address the remaining comments right away.

hey, the actual code implementation that should be in the library is not on this branch i needed to merge in order to pack and publish to NuGet store. Someone made a mess with this branches, license on one branch, readme on other and source code on the third. I wasn't able to deploy to NuGet store without that.


Avoid pinning specific dependency versions

Issue subject
Dependencies are specified in requirements/*.txt with == versioning (example), against Python's best-practice guidance here.
This can cause conflicts in projects which have incompatible version requirements
Expected behaviour
Module dependencies should be as unrestrictive as possible.
If no known incompatibilities exist, then simply specify the package name, or if certain versions are known to be incompatible then use A>=1,<2 style versioning.
Actual behaviour
Dependencies are pinned to specific versions.
Steps to reproduce
N/A
Environment
N/A

Thank you @aliask, we'll update this in the next version.


[prometheus-exporter] add server and port env vars

Is your feature request related to a problem? Please describe.
While in production I tend to use the default port across the board, it is nice when testing frameworks can choose a port at random, as such i usually set any server ports to 0 when testing such that they grab any available port.
To avoid 9464 already in use issues during tests I'd like an easy way to set the prometheux exporter's server port.
Describe the solution you'd like
Implement https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/sdk-environment-variables.md#prometheus-exporter

Done with #1857 so i'm closing this one


How to retrieve a document and its subcollections' documents in php-firestore library?

Hello,
I have a collection called Articles containing article documents. Each article document has some fields (title, author, you get the gist) and a sub-collection Blocks which represent paragraphs, sub-titles, images, etc.
I am easily getting the Article object but I have to do another query to receive the Block objects it contains; i.e. two network round-trips, which is not ideal.
Is there are way to query the article in question and retrieve its sub-collections and their documents in full?
/**
 * Populates this object from a database document
 * @param  Google\Cloud\Firestore\DocumentReference &$document Document reference
 * @return object            The populated object
 */
public function populate( &$document ) {

	$snapshot = $document->snapshot();

	$this->setId($snapshot->id() ?? null);

	$this->account 	= $snapshot['account'];
	$this->title 	= $snapshot['title'] ?? 'No title ('.time().')';
	$this->status 	= $snapshot['status'] ?? 'draft';
	$this->seeds 	= [];
	$this->blocks 	= [];

	$blockCollection = $this->firestore()->collection($document->path().'/Blocks');
	# now i have to fetch the documents from this Article's Block subcollection.
}

Hey @lazharichir, I'm working on getting an answer for this. We'll follow up shortly.

@lazharichir we currently do not have support for this operation. It is planned, but I can't give an estimate at this time.

Awesome, no rush on my side, but would be a very useful and handy feature:)
On Wed, Nov 29, 2017, 19:04 John Pedrie<EMAIL_ADDRESS>wrote:

@lazharichir https://github.com/lazharichir we currently do not have
support for this operation. It is planned, but I can't give an estimate at
this time.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-php/issues/761#issuecomment-347945286,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALpkTGiYRWFsqmEktxB4o4ceVk4jUCnkks5s7ZzGgaJpZM4QsEbl
.

Moving this to the new Feature Request wiki page.


Accumulator pattern design issue: delayed notifications are always executed

Hello
when one needs to edit a single file from multiple pieces collected from several places, the common implementation relies on the accumulator pattern: https://github.com/chef/chef/issues/5438#issuecomment-351153222.
This suffers from a design issue: delayed notifications are always executed, even when the current Chef run had just failed.
As I understand it, in the normal case, for example a service that should be reloaded after a configuration change, this is exactly what is desired to prevent from leaving the system in a broken state.
However, in the accumulator pattern, this wreaks havoc if Chef fails while the accumulator has only been half filled.
This issue has already been discussed in some places:

https://github.com/sous-chefs/samba/issues/96
https://github.com/chef-cookbooks/firewall/issues/106

however there doesn't seem to be any solution.
This issue has already been discussed here in the past https://github.com/chef/chef/issues/2084. The answer at that time was to resort to a definition to leverage the fact that it is executed at compile time. Howerver, today "definitions are not yet deprecated, [but] we strongly advise migrating to custom resources immediately".
~As far as I understand it, there is a way to force a custom resource to be execute once at compile time thanks to the recent unified_mode setting. I'm not sure if this is what you had in mind @damacus when you added this into the HAproxy cookbook as your commit doesn't say much about your motivation: https://github.com/sous-chefs/haproxy/pull/440 ?~ (EDIT: please disregard that part, I misunderstood how unified_mode is working)
Even with the option of forcing a custom resource to be run at compile time, I don't feel it is enough to handle all cases, for example this would probably not work for a custom resource embedded within another custom resource (eg if my application cookbook has a custom resource that calls one of the HAproxy custom resource), would it?
A easy way to work around this would be to get access to the status of the run (run_status). Is there any way to know if the current run has failed so that we could use that information within a not_if guard?
Is there any other option that we may consider?
dud

I finally found some workaround by browsing through all the resources executed so far and checking their status:
only_if { run_context.action_collection.select { |action_record| action_record.status.nil? || action_record.status == :failed }.count == 0 }

The status is nil if Chef is interrupted eg (CTRL+C).
This allows to inhibit the notification if any of the previous has failed or if the run has been interrupted.
@Poohblah you may want to try this workaround.

Oh, wow, thank you so much.  I would love to try that out.  However, my team is in the middle of migrating away from Chef to Ansible, so it's very unlikely that I will get the chance to test that particular workaround.

This is a dup of another ticket, I can't find it think morning though

Closing this out based on the previous comment.


dynamodb: fix deleting last set element (w/attr name)

When deleting last element(s) of a set, the attribute itself is cleared from the container. This is fixing support for specifying such attributes through attribute name placeholders in update expressions.

@bblommers Thanks for the pointer! Added.

This is now part of moto >= 1.3.17.dev280


[BUG]

Need to fix the padding on the quote block.
To Reproduce
Type:
">26. Then god said, “Let us make mankind in our image, in our likeness, so that they may rule over the fish in the sea and the birds in the sky, over the livestock and all the wild animals, and over all the creatures that move along the ground.” Genesis 1:26 "
Expected behavior
Line shouldnt cut through the quote block
THanks

Hi! This was a problem with having numbered list markers with a monospace font, making it way too wide for comfort. I have made a fix already, that will be out next update.

Please confirm if the issue has been resolved with the latest update.

Still too close!

Here is it customized with better space. And could even give more space to make it look nicer. The line is better than before from what i remember but still shouldnt be touching

Please confirm if the issue has been fixed! :)

Please confirm if the issue has been fixed! :)

Nah, It's still the same distance. I changed it in the css to fix it, it's just a suggestion so you do the same and make the line farther away
If youd like to recreate it its:

Then god said, “Let us make mankind in our image, in our likeness, so that they may rule over the fish in the sea and the birds in the sky, over the livestock and all the wild animals, and over all the creatures that move along the ground.” Genesis 1:26

This is what I get with the current version fo the theme:

Please make sure you don't have any snippets that might affect it turned on.

Weird. Looks good on your screenshot but it's the same for me, even after
deleting the theme and adding it again.
On Tue, Nov 30, 2021 at 10:25 AM jdanielmourao @.***>
wrote:

This is what I get with the current version fo the theme:
[image: Loom_XZMuVLyrCj]
https://user-images.githubusercontent.com/91087143/144075946-477af83f-8626-4bce-ac80-125845187931.png
Please make sure you don't have any snippets that might affect it turned
on.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jdanielmourao/obsidian-sanctum/issues/35#issuecomment-982742158,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJIFYD6FE4STUJPLFQKTQVLUOTUINANCNFSM5H2GLPBA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Try disabling every snippet you have, as it can be overriding the theme.

tried that
On Tue, Nov 30, 2021 at 1:49 PM jdanielmourao @.***>
wrote:

Try disabling every snippet you have, as it can be overriding the theme.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jdanielmourao/obsidian-sanctum/issues/35#issuecomment-982918857,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJIFYD6HVLKYPYTCQWJ4UFDUOUMB3ANCNFSM5H2GLPBA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Nope. I made a fresh vault as well. Maybe you didn't update it on the
public theme list
On Wed, Dec 1, 2021 at 10:01 AM jdanielmourao @.***>
wrote:

Try disabling every snippets and plugin you have. There must be something
interfering with the css. Perhaps disable relationship lines as well?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jdanielmourao/obsidian-sanctum/issues/35#issuecomment-983726226,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJIFYD6L2262L7WK3CDXECDUOY2EDANCNFSM5H2GLPBA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

It came with the 0.4 update. Could you send me a screenshot of how it looks? If you could inspect it using developer tools (Ctrl+Shift+I/⌘+Shift+I), then (Ctrl+Shift+C/⌘+Shift+C) and click on the blockquote. It should show you on the right what's the css that is applying.


Add - Wells International College ( WIC ) - Educational License

Dear JetBrains GitHub support,
Could you please approve the educational license for Wells International College?
We are a vocational college in Australia in the cities of Sydney and Brisbane.
Website: https://www.wic.edu.au
Address: 101 Sussex Street, Sydney, NSW, 2000, Australia
https://abr.business.gov.au/ABN/View?abn=19080559600
email of the IT/Academic department<EMAIL_ADDRESS>wic.txt

@vitorconti9 Pull request merged. Thank you!

Dear Philip,
Thank you very much for that. We from Wells International College / Times Education appreciate your help.
Best Regards,
Vitor Mendes
From: Philip Torchinsky @.>
Date: Tuesday, 14 December 2021 at 2:26 am
To: JetBrains/swot @.>
Cc: TE_IT @.>, Mention @.>
Subject: Re: [JetBrains/swot] Add - Wells International College ( WIC ) - Educational License (PR #13125)
@vitorconti9https://github.com/vitorconti9 Pull request merged. Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/JetBrains/swot/pull/13125#issuecomment-992591391, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AW32JOAHUGYU7L4CSUAHFTLUQYGDZANCNFSM5J24DZCQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Question: How to disable cache?

Where possible, by default shiori will download a static copy of the webpage in simple text and HTML format, which later can be used as an offline archive for that page.

But how to disable this feature?

If you use command line interface, you can use --offline flag in add and update command. However, if you use the web interface, there are no way to disable caching while adding the new bookmark.
The main reason I've created shiori in the first place is because AFAIK there are no bookmarks manager that also save the archive of a webpage. So I don't think this feature will be added any time soon.

@RadhiFadlillah Thanks for your answer!


Dockerfile error when building

I was trying to build the dockerfile and fixed the version issue but I get the following error near the end of the build:
--> COPY --from=JLINKED_JAVA /jlinked /opt/java/openjdk
--
  | error: build error: API error (500): {"message":"Error processing tar file(exit status 1): invalid symlink \"/opt/java/openjdk/legal/java.compiler/ADDITIONAL_LICENSE_INFO\" -> \"../java.base/ADDITIONAL_LICENSE_INFO\""}

Any suggestions?

Resolved by using full JDK as per the instructions.


The need for 2 other build types

an optimized build type (-O, -inline) but without the -release flag and with the -unittest flag. Why?
There is a lot of DMD backend problems all the time and there is no way to dub test optimized builds in CI, since dub test -b release <package> will remove all assertions. So pre-releases DMD don't get tested on optimized builds that much by CI.

an optimized build type like release-nobounds but with debug info (-g) so that it can be used for sampling profiling. -profile is not enough as compared to sampling profilers and adding -g to dflags triggers a warning.

Dupe of #747


How do I remove grunt completely?

We much prefer Jake over Grunt and currently our Gruntfile looks like this:
/**
 * Gruntfile
 *
 * If you created your Sails app with `sails new foo --linker`,
 * the following files will be automatically injected (in order)
 * into the EJS and HTML files in your `views` and `assets` folders.
 *
 * At the top part of this file, you'll find a few of the most commonly
 * configured options, but Sails' integration with Grunt is also fully
 * customizable.  If you'd like to work with your assets differently
 * you can change this file to do anything you like!
 *
 * More information on using Grunt to work with static assets:
 * http://gruntjs.com/configuring-tasks
 */

module.exports = function (grunt) {
// Keep here to make make Sails shut up
grunt.registerTask('default', []);
};

However, if I delete the file or that last task I get errors. Is there a "safe" way to tell Sails to stop worrying about Grunt since we're doing our builds with Jake?

thanks sgress454, that'll do


Typography Updates

Typography updates and minor design refresh.
Some screenshots below. Mobile remains largely un-changed.

LGTM

Nice work Grant!

LGTM. Shall we :shipit: ?

:+1:

Done!


Bug 2029835: Revert "Merge pull request #30 from bertinatto/rebase-v2.4.1"

This reverts commit 9d66b27b9b88a7ad11178ffa797b65c46f63a3ec, reversing changes made to ade36ffbb03aad6d7b186a7ff18bbe557b0d48a9.
This reverts PR https://github.com/openshift/vmware-vsphere-csi-driver/pull/30 and brings the CSI driver back to v2.4.0.
Upstream diff between v2.4.0 and v2.4.1: https://github.com/kubernetes-sigs/vsphere-csi-driver/compare/v2.4.0...v2.4.1 . The offending upstream commit that broke CSI migration is https://github.com/kubernetes-sigs/vsphere-csi-driver/pull/1398. As you can see, there are only few other commits between 2.4.0 and 2.4.1.
The other option would be to keep v2.4.1, but revert just the bad commit. We would effectively <carry> the revert until it's fixed upstream.

Add Driver: vsphere tests passed.
/retest

/lgtm


Add akismet spam check to user model

We need to add some way to list the spammy users and let us unspam them, otherwise we will be flying blind shipping the PR.

I already adding this functionality in the soft-delete branch here
LMK if you want it to be moved as part of this PR.

I already adding this functionality in the soft-delete branch here

Doesn't that PR add delete/restore functionality? We'd have to be able to unspam a user in production to ship and I don't think we want to couple the work to soft-delete.... Can we add a sub-level to the navigation so we can see all/spam/not spam (like with comments) and put a "unspam" button in when the user is spam and "spam" button in when the user is normal?

I think we thought of Akismet after we began paranoia/soft delete branch, that's why all of the admin functionality is already there. I'll close that PR #441 and move /admin/users work here.

Just had another thought — if we don't send out activation emails on create, won't we have to send them out on "unspam" ?

@sudara What about work related to a user story "do not display any content by spam users"? Do we want to add it here as well? This will grow this PR by quite a bit, but logically it makes sense.

Will open a new PR off soft-deleted branch


Ensure tests build and run on Windows

Now that mcsema2 build on Windows, we should ensure that tests build & run on Windows as well.

Related: https://github.com/trailofbits/remill/issues/253


Unable to transfer audio from computer microphone to phone

I can't stream audio from my computer's microphone to my phone. I don't know how to set it up. I want the chat app on my phone to be able to use my computer's microphone.

No, you can't.


bug: Search missing in the new UI

Describe the bug

Search in the course content screen is missing which was present previously.
Also the sidebar header is missing the background colour.

Expected behaviour
There must be a search bar in the UI and the sidebar header should have a background colour.
Screenshots or GIFs

I was watching a class and I usually search for the topics but then saw the searchbar missing in the new UI. This might needs triage @hkirat @siinghd

@ItsFlash10  there is already one present at https://app.100xdevs.com/home

@toufiqfarhan0, not on this page, the course content page.


N queen problem in C,c++,python,java

The N Queen is the problem of placing N chess queens on an N×N chessboard so that no two queens attack each other. For example, the following is a solution for the 4 Queen problem.
2413 and 3142

refer #760


WebGL rendering artifacts

Hi there,
When I use autoDetectRenderer which gives me a webgl renderer I get artifacts (lines across dots). I've recorded a video to demonstrate the problem.
The code can be found here and a demo using CanvasRenderer here.
I am not sure what I am doing wrong and any help will be appreciated.

ikt looks like the same issue as mentioned : https://github.com/GoodBoyDigital/pixi.js/issues/1076

Interestingly using webGL renderer with drawRect causes the browser to crash after ~5500 drawRect calls

Closing to trac in #1076.


Tapiosinn's tv-logos GitLab repository is also now down

Describe the bug
Xteve is not able to find station logos from the updated  Tapiosinn's tv-logos "new" GitLab repository, which was recently set to be used instead of Tapiosinn's tv-logos Github repository in
Both repo's for Tapiosinn's tv-logos seem to be gone, and there's a corresponding message on http://tv-logos.com/ (redirects to https://justpaste.it/5pstq):

Unfortunately Gitlab has chosen to take the same action as Github, and remove my repository because of high bandwidth use. This is probably the end I'm afraid, unless I get enough support to get my own hosting.

Server (please complete the following information):

Docker
amd64
xTeVe Version 2.5.3 (latest)

Screenshots

Additional context
Maybe swap to Fourqui's fork of Tapiosinn's tv-logos. Since this appears to be a game of "whack-a-mole", perhaps also consider allowing the repo to be set in the UI (via input box, etc.)? That way another fork can be set dynamically as needed?
Thanks for the help!

UGH. I wonder if tar should be hosted somewhere and just DL them all. This is becoming a cumbersome

Right, or allow for a local version to be loaded and people can either fork, download, or otherwise provide the files?

I think the local version is the best bet. I would have to build a function for each site type (API) hosted if not.


Workflow tests failing under 3.11

In the workflow "Run Tests", when Python 3.11.x is installed onto ubuntu from actions/setup-python, the run-tests script segfaults.
With Python 3.10 from setup-python, or with 3.11 on other platforms, or with 3.11.0rc2 installed from apt, it works fine.
https://github.com/CountESS-Project/CountESS/actions/runs/4298707131/
This is a mystery.  I'm going to temporarily remove the failing ones and come back to it later.

I'm just going to close this one and worry about non-"setup-python" platforms in #35


[Add] A Sudoku Game

Addition of very popular Sudoku game, consisting of 9x9 grid.
Each box, row, and column will contain the numbers 1 to 9 without repetition.
Would love to work on this game and contribute to the project! Hoping you'd assign me this issue : )

@smilewithkhushi there is another issue opened same as this one. Please review the issues then raise.


Segmentation fault when winning on MAC oc

Hello, I am facing an error: python gives segmentation fault when it tries to execute model.load_state_dict(checkpoint["model_state_dict"]) command in line 90 of run.py file.
When I commented it out, I was getting these kinds of errors again in the ProteinFeaturesLigand() class.
Help me to solve the problem, please 🥺🙏

Try setting up a conda environment using requirements.txt file, I hope this helps!


New release of cargo-wasi that includes the fix for Rust 1.70

Would it be possible to release a new version of cargo-wasi that includes #138?
At the moment, some of our users are complaining that the version of cargo-wasi that they're executing after running $ cargo install cargo-wasi still has the bug because that version downloads the latest crate release which doesn't include the bugfix.

Done now!


Sqlformatter

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Internationalization and localization
[ ] Other (please describe):

What is the current behavior?
As a developer working with database, I'd like to be able to format some queries without having to paste them on a random website.
Issue Number: #136
What is the new behavior?
Added a SQL Formatter based on https://github.com/zeroturnaround/sql-formatter
It isn't perfect though. This is a literal translation of the JS library. Some optimizations can be made to reduce the allocation of strings.
Other information

Quality check
Before creating this PR, have you:

[X] Followed the code style guideline as described in CONTRIBUTING.md
[ ] Verified that the change work in Release build configuration
[X] Checked all unit tests pass

@akarboush, please feel free to take a look at it :)

@veler thanks for the mention.
I took a brief look at it, and It looks similar to mine since it's a direct translation.
As you already mentioned, there's a lot of optimization to do (string allocation and some regex could be replaced with a plain C# methods too).
For the mean time, I'll try to optimize it on my branch and then propose the changes if there aren't any here yet

@veler thanks for the mention. I took a brief look at it, and It looks similar to mine since it's a direct translation. As you already mentioned, there's a lot of optimization to do (string allocation and some regex could be replaced with a plain C# methods too).
For the mean time, I'll try to optimize it on my branch and then propose the changes if there aren't any here yet

Sounds good. I think I will do a little bit of clean up before merging, but likely no optimization yet. While all these regex and strings are suboptimal, it seems to work relatively well as long as the SQL query isn't super long.
I'd suggest to do the optimizations in a separated PR, what do you think @akarboush ?


EachValidator doesn't work with typed properties

What steps will reproduce the problem?
Set property type, e.g.
public array $dummy;

Validate it using each validator
[
   'dummy',
   'each',
   'rule' => [
       'boolean',
   ],
],

What is the expected result?
No errors
What do you get instead?
TypeError
https://github.com/yiisoft/yii2/blob/master/framework/validators/EachValidator.php#L143
Additional info

Q
A

Yii version
2.0.31

PHP version
7.4.1

Operating system
Ubuntu 16.04

Hi @Lisio
You can prevent this error initializing the property.
public array $dummy = [];


[QUERY] "No Managed Identity endpoint found." after successfully sending out request to the endpoint

Query/Question
I could see the imds identity endpoint is ready by sending request to "http://<IP_ADDRESS>/metadata/identity/oauth2/token?resource=https://vault.azure.net&api-version=2020-09-01". Then my service still failed to get user delegation key by calling GetUserDelegationKeyAsync().
message got:
"No Managed Identity endpoint found."
Environment:

Azure.Storage.Blobs 12.7.0
Azure.Identity 1.3.0
k8s

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

In order to see a bit more information about what is happening, could you enable logging and include those details?


pattern matches but response no taken : bug

I took Harry bot's control script and modified it so on line 6.
^addtopic(~newvisitor)

I added a new topic file with only below contents:
topic: ~newvisitor []
	t:  NVRULE3
	t:  NVRULE3
	t:  NVRULE3
		( %input==%userfirstline )
		^keep()
		Welcome. Please feel free to chat.

	u: 	NVRULE4
		(~emohello)
		^keep()
		[Hi] [Hello] [Hi there] [Hey] [Dude] [Heyya]
		What is your name

I try issue following in sequence at bot prompt:
 hello
 hello
 hello
 hello
 hello

It matches and responds correctly for initial 3 - 4 times.
From then on, any number of times I type "hello" to the bot, this is how the :trace pattern shows up
 ....,.Topic: ~newvisitor linear Statements:

 ....,..try u:1.0 NVRULE4 @0:        pattern: ( ~emohello )

 ....,..( ~emohello(~emohello)+ )+

 ....,..  **  Match: u: NVRULE4 ( ~emohello ) ^keep ( ) [ Hi ] [ Hello ] [ Hi there ] [ Hey ] [ Dude ] [ Heyya ] Wha...

 ....,.Result: NOPROBLEM Topic: ~newvisitor

 ....,.Enter Topic:

The trace clearly shows the rule matched, yet ChatScript ignores that and finally gives me the following:
  I don't know what to say.

Is this a bug?

BUG 2
Continuation of above. I execute below command:
 :topicinfo ~newvisitor

Why does it show the topic has never been visited, when its rule matched and responded several times?
 Topic: ~newvisitor  Flags: Bot: all
   Seen: never visited
   Keys:

   Rules:
     0(0) t: NVRULE3 ( %input==%userfirstline ) ^keep ( ) Welcome. Please feel free to chat
     1(118) u: NVRULE4 ( ~emohello ) ^keep ( ) [ Hi ] [ Hello ] [ Hi there ] [ Hey ] [ Dude] [ Heyya] Wha...
     2(240) ?: NVRULE7 ( [ what who ] be you ) I am a basic chatbot that gives information about this website in ...
   gambits: 1  responders: 2 (?:0 s:1 u:1)  rejoinders: 0

You don't have to edit the original simplecontrol.top file , just add a *.top file in HARRY folder , and :build Harry. The engine can find it and compile all the *.top files in HARRY.
Note:

If not work, be sure there is a "keep" flag in topic declaration. like this

topic: ~Mytopic keep ( key1 key2 key3 )

If still  not work,, you can delete introductions.top , keywordless.top,  and try to build Harry again.

I think this is because :

I also didn’t tell you that the system monitors what it says, and won’t repeat
itself (even if from a different rule) within the last 20 outputs.  —— from chapter "ADVANCED OUTPUT" in 《ChatScript-Advanced-User-Manual》

Thanks.
I put ^keep and ^repeat. It work now.
But, if rule match like this (when earlier without ^repeat)
 ....,.Topic: ~newvisitor linear Statements:

 ....,..try u:1.0 NVRULE4 @0:        pattern: ( ~emohello )

 ....,..( ~emohello(~emohello)+ )+

 ....,..  **  Match: u: NVRULE4 ( ~emohello ) ^keep ( ) [ Hi ] [ Hello ] [ Hi there ] [ Hey ] [ Dude ] [ Heyya ] Wha...

 ....,.Result: NOPROBLEM Topic: ~newvisitor

 ....,.Enter Topic:

then output must? No?
Hello What is your name

When rule match and no output, very confusing.


After auth.signOut, the session from magic link can be recreated

Describe the bug
If you login with a magic link and use auth.signOut somehow the deep link is still available (in cache?).
Using "Flutter Hot Restart" (Android Studio) automatically performs a sign in which shouldn't be possible.
(Closing + reopening the app works like expected: No session can be fetched)
To Reproduce
Steps to reproduce the behavior:

supabase.auth.signInWithOtp
Open the link from the email inside the emulator (Android Studio)
supabase.auth.signOut
Click "Flutter Hot Restart"

Expected behavior
After signOut and restart Supabase.initialize should not be able to fetch a session.
Code
Future main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await initializeSupabase(); // Supabase.initialize(...);
  runApp(const MyApp());
}

final supabase = Supabase.instance.client;

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Column(
        children: [
          Text(supabase.auth.currentUser?.email ?? 'no user'),
          TextButton(
              onPressed: () async {
                const redirect = 'XXX://login-callback/';
                await supabase.auth.signInWithOtp(email: 'XXX', emailRedirectTo: redirect);
                setState(() {});
              },
              child: const Text('signIn')),
          TextButton(
              onPressed: () async {
                await supabase.auth.signOut();
                setState(() {});
              },
              child: const Text('signOut')),
        ],
      ),
    );
  }
}

Version (please complete the following information):

Flutter 3.7.3
supabase_flutter: 1.4.1

Additional context
Maybe this isn't a problem for production, but during developing I don't want to close and reopen the app 100 times a day.

That's how deeplinks work. They are reread after hot restart. This won't be an issue in production as you can't hot restart your app. For more context see https://github.com/supabase/supabase-flutter/issues/245#issuecomment-1287797807


Update stable version in repo from 2.1.3 to 2.1.4

Think about update stable version to 2.1.4
Version: stable=2.1.3 (44 days old) => latest=2.1.4 (30 days old)
Installs: stable=233 (56.97%), latest=36 (8.8%), total=409
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!

PR is created.


tract_math  tract_volume  fails

Issue
Resolution command line argument to to tract_volume is not passed to tensor_operations.compute_all_measures, causing this error:
Traceback (most recent call last):
  File "scripts-pipeline/tractvols/tract_querier/scripts-2.7/tract_math", line 125, in <module>
    main()
  File "scripts-pipeline/tractvols/tract_querier/scripts-2.7/tract_math", line 111, in main
    tractography, *args.operation_parameters)
  File "/tmp/t/scripts-pipeline/tractvols/tract_querier/lib/tract_querier/tract_math/decorator.py", line 148, in wrapper
    process_output(func(*option_and_args))
  File "/tmp/t/scripts-pipeline/tractvols/tract_querier/lib/tract_querier/tract_math/operations.py", line 52, in tract_volume
    return tensor_operations.compute_all_measures(tractography, ['tract volume'])
  File "/tmp/t/scripts-pipeline/tractvols/tract_querier/lib/tract_querier/tract_math/tensor_operations.py", line 86, in compute_all_measures
    ordered_dict[key] = unordered_results[key]
KeyError: 'tract volume'

Here's the offending code.
# operations.py
@tract_math_operation('<volume unit>: calculates the volume of a tract based on voxel occupancy of a certain voxel volume')
def tract_volume(optional_flags, tractography, resolution):
    return tensor_operations.compute_all_measures(tractography, ['tract volume']) # <-- resolution should be passed in here

Reproducible Steps
Run
tract_math <myvtk> tract_volume 1

Thanks @reckbo ! Could you provide a link with a small example dataset please?

Copy and paste this into a terminal
cat << EOF > t.vtk
# vtk DataFile Version 4.0
vtk output
ASCII
DATASET POLYDATA
POINTS 3 double
0 1 2
0.1 1.1 2.1
0.2 1.2 2.2
LINES 1 4
3 0 1 2
EOF

and then run
tract_math t.vtk tract_volume 1

Thanks for looking into this.

Hi @reckbo I think that I've fixed the issue. Could you please double check such that I can close this thread?

@demianw sorry it took a while but I confirmed the fix works, thanks.


Add dark theme to VS Code extension

Purpose

Adds a dark theme to the Ballerina Integrator VS Code extension.

resolves #341

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


BOA: shift balance on SC novelty / ACh more to MaintInhib

maintaining a goal should inhibit SC -> ACh novelty signals.  this may do more of the work vs. the complete shutoff accommodation novelty we use now.  in particular, if you lose maint, ACh recovers, but the TrialSlow accommodation mechanism always shuts down novelty completely and that can lead to some hard-to-recover-from dynamics.

This is likely to be a more important issue in eboa -- the process of foveation is incremental as you rotate and it may take a few tries to foveate something -- by which time the novelty will be significantly decremented.   It is much more robust to condition ACh / gating on whether you've already gated -- that is always reliable.

.LDTLayer.LDT.MaintInhib = 2 works well (lower also works but takes longer at the start -- leaves more ACh around when maintaining.  #SC Act.KNa.Slow.Max = 0.2 reduces the TrialSlow novelty adaptation in SC to just take a bit of activity down as it stays around, instead of fully suppressing -- didn't do much to explore these params.

#SC Act.KNa.Slow.Max = 0.1 still suppresses eventually -- need .05?  anyway, this is all working and much better.


Need :before and :after. Rendering extra elements does not provide clearfix

I'm trying to clear some list elements. I attempted to use <i> in place of :before and :after. This does not work. Additionally, there is no support for *zoom: 1;. Here is what I am attempting to do:
// Clearfix
li: {
  *zoom: 1
  ':before': {
    content: '" "',
    display: 'table'
  },
  ':after': {
    content: '" "',
    display: 'table',
    clear: 'both'
  }
}

The visited-plugin could easily be adapted to provide support for :before and :after, but I'm not sure that we should. Besides clearfix, there really aren't any legitimate uses for :before and :after with inline styling; it is more clear to just render the element directly and make it explicit, since it is all in JS anyway.
That being said, it would be trivial to create a plugin, say clearfix-plugin, that uses addCSS to add a .clearfix {...} declaration, and then applies that class to elements putting {clearfix: true} or something similar in their inline style. I'd consider adding something like this to core Radium.

We've just committed to using Radium on our production project. All is well so far. Thanks!
However, I'm rather shocked that a defined, and example-backed solution for clearfix+radium hasn't been discussed. What is everyone else doing to solve this?

One simple solution is to define a .clearfix class in a CSS file and use
that instead. We've talked about pure radium solutions, but haven't yet
added anything. Probably worth adding to the docs.
On Fri, Aug 26, 2016 at 1:03 PM iDVB<EMAIL_ADDRESS>wrote:

We've just committed to using Radium on our production project. All is
well so far. Thanks!
However, I'm rather shocked that a defined, and example-backed solution
for clearfix+radium hasn't been discussed. What is everyone else doing to
solve this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/FormidableLabs/radium/issues/563#issuecomment-242837150,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2ziznUXXbl3fX-qhotjBtuHGWtPt9aks5qj0adgaJpZM4HNMvX
.

For sure. Its hard for me to leave the dream of a pure JS solution though.
I found this... https://gist.github.com/jbmusso/896a389ba707fe583ddc
...but Somehow it just feel like way too much effort for something simple.
We may just end up using flexbox and hopefully avoid the need for a clearfix

Closing this in favor of #510.


ORC-875: Add GitHub Action job for Windows Server 2019

What changes were proposed in this pull request?
This PR aims to add a test coverage for Windows on GitHub Action additionally.
Why are the changes needed?
This PR aims to replace AppVeyor with GitHub Action eventually.
AS IS(AppVeyor)
https://github.com/apache/orc/blob/ae660f3006cae145d0db7a897fd81fe94029c0b2/appveyor.yml#L18-L41
THIS PR(GitHub Action)
https://github.com/apache/orc/runs/4662857757?check_suite_focus=true
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe - skipped
-- compiler MSVC version 19.0.24245.0
...
Test project D:/a/orc/orc/build
    Start 1: orc-test
1/1 Test #1: orc-test .........................   Passed   61.99 sec

How was this patch tested?
Pass the GitHub Action with newly add Windows job.

Hi, @williamhyun . Could you review this?
We are going to run and monitor this job in order to decide the removal of AppVeyor.

Thank you so much, @williamhyun .

I backported this to branch-1.7 too.