[DISQ-56] Add KEYS file with public code signing keys

Fixes #56
@tomwhite @lbergelson @magicDGS and anyone else who thinks they might take on the release manager role at some point, please pull request to this branch to add your code signing keys.
Or there is a new Github feature that turns feedback suggestions into commits, I haven't tried it yet
https://help.github.com/articles/incorporating-feedback-in-your-pull-request
The Apache Software Foundation has good docs on creating code signing keys
https://www.apache.org/dev/release-signing.html

@heuermh thanks for doing this. I added my key here: https://github.com/tomwhite/disq/commit/90561d56c9d89e30136edc5f40af148fca3c6e1c.


Import fails when field is null

Trying to input a previously output file with null fields results in failure

I have also run into this.  Will check out the pull request.

Have encountered the same issue.  Will check out the pull request @Salman2301, thanks!


Consistency: Non uniform format.

The subheading in case of "Added On" messaging needs to be consistent.

Have added cards components for these in the Keeper Design System page - For both text logic and Date Logic, cards can be picked up from there to maintain consistency throughout
https://www.figma.com/design/m5eMFTKD391AiJAXaEzgxB/Bitcoin-Keeper?node-id=0-1&t=MLvkLAtGDTlYHFBX-1

can't see in latest one

Completed


What is the formula nyc is using to calculate the code coverage

What is the formula nyc is using to calculate the code coverage?
Will you please let us know how nyc framework is calculating the code coverage, statements covered, etc.

The simple answer is that the function I linked calculates the percentage.  The longer answer is that everything in https://github.com/istanbuljs/istanbuljs/ contributes to this (this is a monorepo so see inside the packages directory).

istanbul-lib-coverage merges coverage data from multiple runs
istanbul-lib-source-maps repoints the coverage data to original source locations
istanbul-lib-instrument alters source code so it generates coverage data


fixes broken grokit url

Fixes https://github.com/andreis/interview/issues/50
More info here: https://github.com/andreis/interview/issues/50#issue-188893424

Sorry, I decided to remove that particular resource.

Hello- how do I unsubscribe?

On Apr 24, 2017, at 8:40 AM, Andrei Simionescu<EMAIL_ADDRESS>wrote:
Closed #51.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hey @SKwiatkowski
Not sure as I have my email notifications disabled, but you can start here:
https://help.github.com/articles/about-notifications/
https://help.github.com/articles/managing-notifications-for-pushes-to-a-repository/
https://help.github.com/articles/about-notification-emails/


jasmine tests run in random order

Hi!
After update to version 0.3.3 our tests have started to fail unexpectedly.
We have checked why, and found out, that tests were running in a different order each time.
Reverting to 0.3.2 fixed this issue/feature.
(maybe this issue will help someone to figure it out faster)

If there was any flag added to the configuration, or something changed - please update plugin description docs.

If you need more information about the issue - I will try to give it here.

Seconded

@Mechanicalkeyboard this change was introduced in Jasmine, not WebdriverIO. In fact WebdriverIO is not responsible for executing the specs in any order.

Hello @christian-bromann
It is from Jasmine, can we change the setting to disable it from the wdio-jasmine-framework?
Thanks.

Yes with 0.3.3 it gets executed in a random order. Going back to 0.3.2.

I was able to run jasmine init, and then configure the setting in my project.

Hi,
I would like to help.
In Jasmine, you can disable this by setting the random: false in conf file. I didnot find the conf file in the wdio-jasmine-framework. Could you please guide me how to fix it?
Thanks

@dudaming @christian-bromann I had a PR ready for this. But now only I saw @dudaming 's comment.
@dudaming, if you still wish to open a PR:
open this file:

lib/adapter.js

right after we initialize Jasmine(), add the following:
const { random = true } = this.jasmineNodeOpts // Optional, but recommended. To have jasmine's default behavior.
this.jrunner.randomizeTests(this.jasmineNodeOpts.random)

That's it!.
Now you can control the ordering of tests from jasmineNodeOpts in wdio.conf.js, by having a property called random.

@giridharangm please open a PR for this. Thanks!

@christian-bromann done!
I've few suggestions on the tooling (devDependencies) that we're using right now. For example babel-preset-es2015 / stage-0 can be  dropped. Instead, we could use the env preset.  Also, it looks like we're running rm -rf in package scripts which will cause conflicts in Windows. We can use rimraf instead.
Do you want to include those in the same PR or a new one?


Add basic ServiceWorker configuration - caching and offline support

@ctrlplusb Hi man, are you looking into this enhancement?

Hi @EugeneHlushko
Yep, definitely plan to.  Last couple of weeks was all about React Router v4 and the redux branch.  The outstanding issues will be up next now, including this.
Addy Osmani has a great series I want to go through in relation to this.
https://addyosmani.com/blog/progressive-web-apps-with-react/

This will be slowly implemented with the pwa branch.

Hi @ctrlplusb! Great news!
I am willing to help but still cannot find time :/ if by any means i will find time - expect some help asap

Adding a service worker was actually really easy! :D
With this being a universal application I already had everything I needed in place.  Just patching up a few things and then this is ready to roll. :)

Results thus far when testing with Lighthouse:
https://www.dropbox.com/s/zy6ssgcciz141ih/Screenshot 2016-10-26 17.25.45.png?dl=0
87/100
Need offline support, then all good. :)

You could consider using this webpack plugin offline-plugin
Great project BTW

The numbers of the Lighthouse extension are really high. I think this is partially to the code-split and tree-shaking that resulted in smaller chunks. I expect the number to hit 100 when implement the offline support.

Yep, the SSR helps too. I reckon you are right

@ctrlplusb Does sw-precache-webpack-plugin take care of asset versioning?

The webpackmd5hash plugin takes care of that.

@EugeneHlushko sorry for the terse response. On mobile. Let me know if the cache busting needs explaining.

I think I have a solution for offline support too. :-)
Sleep first.

@ctrlplusb didnt notice md5 at first glance on pwa 👍 This is awesome setup

Yeah, I definitely find doing the md5 hashing based on file contents is simplest approach.  There are a few others, but md5 hash of a file is easy for anyone to understand.  :)
Works really well too, only the files that actually change will have cache invalidation. So a code change won't result in all assets being invalidated, only the chunks that changed (e.g. vendor, image, code split route chunk etc)

We are in business. :)
https://www.dropbox.com/s/yl8m783vtsambdz/Screenshot 2016-10-27 16.23.45.png?dl=0

Awesomeness! Good job man! @ctrlplusb

Released!

Great job. Impressive!
Not sure if the version of the Lighthouse extension you are using is old but my take on generating the report yielded a missing item in your report --> Cache contains start_url from manifest (alpha)
https://www.dropbox.com/s/fsy3m3cp6q9k5ne/Capture.PNG?dl=0
I think all you need to do is to provide a manifest JSON file (Specification is here)
that you can reference in your html like so
 <link rel="manifest" href="/swmanifest.json" />

Awesome thanks @kikoanis
I'll double check my extension is up to date. :-)

Something similar to this would work
{
  "name": "React Universally",
  "short_name": "react-universally",
  "icons": [
    {
      "src": "/images/android-icon-48x48.png",
      "sizes": "48x48",
      "type": "image/png",
      "density": 1.0
    },
    {
      "src": "/images/android-icon-96x96.png",
      "sizes": "96x96",
      "type": "image/png",
      "density": 2.0
    },
    {
      "src": "/images/android-icon-144x144.png",
      "sizes": "144x144",
      "type": "image/png",
      "density": 3.0
    },
    {
      "src": "/images/android-icon-192x192.png",
      "sizes": "192x192",
      "type": "image/png",
      "density": 4.0
    }
  ],
  "start_url": "/",
  "display": "standalone",
  "orientation": "portrait",
  "background_color": "#ffffff",
  "theme_color": "#222222"
}

of course, you need to change to match your images path.

I see you already added a manifest file in an earlier commit.
For the missing item in the Lighthouse report, I think the reason is that you are running the extension on a local site where I was running it on a non-local site.


Improve documentation/wiki

Hey, in lieu of full documentation do you think you could you provide some super basic getting started tips? I've downloaded the npm repo and saved it to my angular project, but I'm not sure how to go about importing it into my app.module, or using it within a component.
Sorry if this is a newb question.

Hi @rmsween !
Sorry for the lack of documentation. We're working on providing a quickstart as soon as possible.
In the meantime you can take a look at this jsbin that shows the minimum setup required to run this library in your angular app.

Wop! Looks like jsbin is misbehaving today and refused to save the example. This is the good one.

https://github.com/googleads/angular-dfp/wiki/Getting-Started

@Vintharas Thank you very much for the quick reply and the steps! They worked great for me.

Awesome! :) Glad to help! ^^


New RaMP guidance and managing on-premises AD env

[Enter feedback here]
As part of Securing Privileged Access (based on new [RaMP guidance] (https://docs.microsoft.com/en-us/security/compass/privileged-access-devices)), which I felt is more focused on managing cloud services/ workloads running on Azure.
I have the following questions:

Does PAW devices still support managing on-premises AD env?

What are the supported authentication methods to RDP to on-premises servers/ DCs from PAW device? I suppose one can use Windows Hello for logging in to the PAW device itself?

What is the story on Azure PAW or Azure Shielded VMs in place of physical PAW?

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

ID: c37910f2-b54e-53e5-4762-639d542deb84
Version Independent ID: 179dd0af-e9cf-ba49-d6fb-df474af11f5e
Content: Why are privileged access devices important
Content Source: compass/privileged-access-devices.md
Service: security
Sub-service: ****
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


Bower doesn't seem to find version 1.2

Hello,
hope this is isn't just an issue on my side, if it is my apologies in advance.
It seems bower isn't picking version 1.2 both if I specify "latest" or "1.2" in bower.json.
In the former case, I get:

bower ENORESTARGET  No tag found that was able to satisfy 1.2
Additional error details:
Available versions: 1.1.0, 1.0.4, 1.0.3, 1.0.2, 1.0.1

Thank you,
Andrea

Could be an issue with my versioning ("1.2"). I just updated the version name to "v1.2.0". Please check if it works better now.
Regards,
David

Now it's working, thank you David!
Have a nice weekend,
Andrea


feat: following blog ToC

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


is_unbalance parameter - documentation

I've noticed following parameter:
is_unbalance : bool - Is unbalance for binary classification
As far I understand, when set to True, then there is some algorithm in LightGBM that deals with  imbalanced classes for binary classification. I didn't find any information what method is used.
Is it for example SMOTE from here https://github.com/scikit-learn-contrib/imbalanced-learn or something completly different?
Btw. xgboost doesn't have this parameter, so it could be interesting to compare performance on dataset with unbalanced classes. Of course if I'm correct about meaning of this parameter.

refer to this paper:
Burges, Christopher JC. "From ranknet to lambdarank to lambdamart: An overview." Learning 11.23-581 (2010): 81.

Thank you!


Fluent mapping does not reflect changes to model

This will seem like some noob complaint but i assure you it's not. Please don't write this off as me being a goof with the data model and/or fluent syntax.
I recently removed an unnecessary foreign key column from my sql server data model. To mirror the change in my app i removed the same property and its navigation property from the POCO model class, then also removed the column and foreign key mapping from the (fluent syntax) code in my db context class.
In my mind the application should have run just fine after these changes as the model class no longer contains any reference to the removed column whatsoever. Alas there is something causing an issue and i think it's due to EF.
My best guess is that somewhere there is a cached or otherwise alternative version of my old, unedited model type stepping in for the actual model. I have already tried deleting and recompiling the compiled binaries to no avail.
Exception message: Invalid column name 'MaterialCategoryId'.

Stack trace:
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, bool breakConnection, Action<Action> wrapCloseInAction)
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, bool breakConnection, Action<Action> wrapCloseInAction)
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, bool callerHasConnectionLock, bool asyncClose)
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, out bool dataReady)
System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
System.Data.SqlClient.SqlDataReader.get_MetaData()
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, string resetOptionsString)
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, bool returnStream, bool async, int timeout, out Task task, bool asyncWrite, SqlDataReader ds)
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, bool returnStream, TaskCompletionSource<object> completion, int timeout, out Task task, bool asyncWrite, string method)
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, bool returnStream, string method)
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
System.Data.Common.DbCommand.ExecuteReader()
Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, string executeMethod, IReadOnlyDictionary<string, object> parameterValues, bool closeConnection)
Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteReader(IRelationalConnection connection, IReadOnlyDictionary<string, object> parameterValues)
Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable+Enumerator.BufferlessMoveNext(bool buffer)
Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.Execute<TState, TResult>(Func<TState, TResult> operation, Func<TState, ExecutionResult<TResult>> verifySucceeded, TState state)
Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.Execute<TState, TResult>(IExecutionStrategy strategy, Func<TState, TResult> operation, TState state)
Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable+Enumerator.MoveNext()
Microsoft.EntityFrameworkCore.Query.QueryMethodProvider+<_ShapedQuery>d__3.MoveNext()
Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider+<_TrackEntities>d__15.MoveNext()
Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider+ExceptionInterceptor+EnumeratorExceptionInterceptor.MoveNext()
System.Collections.Generic.List..ctor(IEnumerable<T> collection)
System.Linq.Enumerable.ToList<TSource>(IEnumerable<TSource> source)

... beyond this point is irrelevant and secret business stuff

Edit
I tried adding the field back into the model with the [NotMapped] data annotation, and now i get
[NotMapped]
public int MaterialCategoryId { get; set; }

SqlException: Invalid column name 'MaterialCategoryId1'.

Which is the same column but with a 1 appended for what i assume is uniqueness. But why is EF so adamant about including this deleted column? Is there some cache file i can delete?
Further technical details
EF Core version: 1.1.2
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system:
IDE: Jetbrains Rider & Visual studio 2017 (it makes no difference)

I recently removed an unnecessary foreign key column from my sql server data model. To mirror the change in my app i removed the same property and its navigation property from the POCO model class, then also removed the column and foreign key mapping from the (fluent syntax) code in my db context class.

Did you remove the inverse navigation property from target POCO model class?
If following are your classes
public class Blog
{
    public int Id { get; set; }
    public List<Post> Posts { get; set; }
}

public class Post
{
    public int Id { get; set; }
    public int BlogId { get; set; }
    public Blog Blog { get; set; }
}

Then removing Post.BlogId foreign key property & Post.Blog navigation will not remove relationship. There is still navigation Blog.Posts which indicate relationship between Post & Blog. And EF Core convention will create relationship for that. Since Post is dependent side (due to collection navigation), Convention will introduce shadow property named BlogId on Post class. If you add Post.BlogId and mark it as NotMapped then EF will name shadow property as BlogId1 to avoid clash.

Yeah that worked. Thanks for the help!


BUG: There is no fetchbookController.js file anywhere

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
There is no fetchbookController.js file anywhere but still it is mentioned in server.js.
Line 160.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hi @abhi03ruchi , I can see myself in the gssoc ext contributors list right??after it's updated??


go2nix: 1.1.0 -> 1.1.1

Motivation for this change
https://github.com/kamilchm/go2nix/releases/tag/v1.1.1
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Awesome, thanks!


Enhance summary info & add http-connect options

add parserSuccess to comfirm data integrity
add parserSpeed to get performance results directly
record the import speed of each data source in the log for comparison
add 2 options for adjusting HTTP connection parameters

split into two commits, one is summary info, another is http-connection


It's useful. Why not make it a widget or make the anonymous OnTouchListener a customized Listener?

Hmm. Thank you for your attention!
The reason I do not modularize this codes is that.. i'm not a skilled android developer,
and currently I don't develop any android codes.. Sorry for nasty code ㅠㅠ


#2545 Read value from SLO file with and without apostrophe - backport 0.7.3

Fixes #2545

Codecov Report

Merging #2672 (218fda2) into release-0.7.3 (f16c811) will decrease coverage by 12.55%.
The diff coverage is 0.00%.

@@                Coverage Diff                 @@
##           release-0.7.3    #2672       +/-   ##
==================================================
- Coverage          35.05%   22.50%   -12.56%
==================================================
  Files                158       49      -109
  Lines               9213     1093     -8120
  Branches             196      196
==================================================
- Hits                3230      246     -2984
+ Misses              5488      821     -4667
+ Partials             495       26      -469

Flag
Coverage Δ

moduleA
22.50% <0.00%> (ø)

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

Impacted Files
Coverage Δ

...uation-details/ktb-evaluation-details.component.ts
11.92% <0.00%> (ø)

cli/cmd/onboard_service.go

cli/pkg/credentialmanager/handler.go

...elm-service/controller/workflow_engine_replacer.go

gatekeeper-service/pkg/handler/handler.go

helm-service/controller/helm/helm_mock_executor.go

...ouse-service/event_handler/evaluate_sli_handler.go

cli/cmd/configure.go

cli/pkg/platform/platform_openshift.go

...mediation-service/handler/problem_event_handler.go

... and 100 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f16c811...218fda2. Read the comment docs.


Tweaks to performance testing framework.

This is a PR into #1198 with some changes I made while debugging CesiumGS/cesium-native#717. I don't think you'll want to merge it as-is, which is why I've marked it draft. More for your consideration @csciguy8.
I'll add notes inline explaining these changes.

Thanks for the pull request @kring!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium for Unreal Samples works.

Some of the comments above are suggestions for improvements, and some are commentary on the original PR. Sorry if that's a bit confusing, let me know if you have any questions @csciguy8.

Caught an interesting bug today. The test seems to have completed, but there was obviously more loading happening after the end mark. This means the reported time is faster than it actually is.
This suggests that LoadProgress was calculated as 100, but wasn't really done yet. Was testing Google Tiles, Unreal Insights capture below...

Merging this into the base. It doesn't make sense to review both as separate. Performance tests are a new effort this branch is the better one.


Library artifacts are published to jcenter only, which will close in 3 months

Basic Information
Hello! Your library is published only to jcenter. Please consider publishing it also to mavenCentral, as jcenter is shutting down in May.
Here is some info on how to publish artifacts to mavenCentral.

@entibaldi thanks for the issue!  We're looking into it

Any updates on this issue?
Time is running out and this does not work:
repositories {
       google()
//        mavenCentral()
       jcenter()
       // https://jeroenmols.com/blog/2021/02/04/migratingjcenter/
           jcenter() {
               content {
                   includeModule("pub.devrel", "easypermissions")
               }
           }
   }

The result is:

Could not resolve all files for configuration ':app:debugCompileClasspath'.
Could not find pub.devrel:easypermissions:3.0.0.
Required by:
project :app

I just published version 3.0.0 to Maven Central, it should be available now or maybe in a few minutes when the caches clear.

Confirmed:
https://repo1.maven.org/maven2/pub/devrel/easypermissions/3.0.0/

This was swift, thank you!

Hello,
Can you move the "pub.devrel:easypermissions:2.0.1" also to mavenCentral()? Because I'm using the Android Support Library and JCenter is down. Thank you!


Can we add new xSQLServer DSC resource to backup/restore the MS SQL database?

Hello, Team,
It seems that currently there is not one xSQLServer DSC resource that can backup/restore the MS SQL database..
Can we add new xSQLServer DSC resource to backup/restore the MS SQL database? Thanks in advanced.
Thanks&Best regards,
Henry

I am also trying to do this with a script resource and it is a terrible way to do this.

Do you guys have a use case we can take as an example? What are you trying to accomplish?
Thinking we could use the use cases to build the parameters (schema) needed.

Yes, I have a sharepoint server that i am creating.
It will mirror our production environment.  The idea behind this is that when DSC is complete, the website will look exactly like the production.
This requires that we copy down a backup of the content database, metadata database and our CRM database to the new system and then restore it to server prior to starting the sharepoint installation.
So far anyway i try to do it just gives me a lot of dumb errors.

Okay so you need to do this in two steps.
Are you thinking of running the "Backup resource" in a configuration on the source server (or several source servers) to a destination path (destination server)?
And running the "Restore resource"  in a configuration on the destination server reading from the destination path in step 1?
Or do you want to run both "Backup resource" and "Restore resource" on the server being configured (destination server)? Then the resource needs to be able to connect to one or more remote server to backup one or more databases to a destination path.
"Backup resource" and "Restore resource" can be the same resource.
Maybe we must support both scenarios?

You raise some interesting additional use cases.  Like having the system automate the backup from one system and restoring to the local system.  In a case like this, the system would need to be capable of authenticating to the remote system.
But to support both, you would need to have a property for the action type 'backup' or 'restore'
But one thing i noted is that you might need to add a class to this to allow for the relocation of the files on the destination source.
               FileLocations               = @(                     MSFT_SQLFileRestoreMapping{                         LogicalFileName = "db_Name" 			PhysicalFileName = "F:\Data\db_Name.mdf"                     },                     MSFT_SQLFileRestoreMapping{                         LogicalFileName = "db_Name_log" 			PhysicalFileName = "G:\Log\db_Name.ldf"                     }                 )
Restore-sqldatabase has a parameter called -relocatefile(Param, Param, etc) where the number of parameters is equivalent to the number of files associated with the database.
Daren

Any reason you aren't using the "portable" native SQL exports like dacpac/bacpac/ispac/etc instead of regular backups? These seem to be easier to automate according to the various forums that specialize in these things (OctopusDeploy and DLM consulting).

Can you do those from SQL2005?  Some of these databases are coming from systems that old.

There is one workaround is that we can use xSQLServerScript DSC Resource to invoke SQL Script to implement this feature.

I looked at that but that means there are no DSC parameters that can be passes to the scripts so they become one-offs every time.  And while that will give me what I need in the near-term.  To me this would seem something that should be implemented just for the devops side of this.

Thanks

I'm reopening this because this is resource proposal and I haven't seen any comment saying that this would be an unnecessary resource.

I have a use case, I would like to extend an ALWAYSON AG to the cloud. being able to automate and deploy an AG replica would be very valuable.

@stephensmalls, take a look at the SqlAGReplica and see if it'll meet your needs.


Grayscale vs RGB input

Hello,
Thank you for your work!
I have noticed from your 'datasets/base_dataset.py' file that there are cases where your network accepts RGB inputs (if self.config['stage'] == 'reg'). However, when looking at all your evaluations, you are always feeding grayscale images to the network. I was wondering in which cases you would prefer RGB images, if any at all. In general, did you notice an increase in performance by using grayscale input instead of RGB?
Best,
Ali

Local features usually operate on grayscale images, e.g. SIFT. As said by Zixin, there is no significant difference between grayscale input and RGB.


Error in iPython example

on line model1 = build_supervised(X, Y, Qs=(1,), Ms=(15,15))  in the notebook example, I get an error that comes down to:
in compute_KL_term in layers.py, line 167, the sizes of self.q_of_U_precision and self.Kmmi[:,:,None] do not align
self.q_of_U_precision is (15,15,15) and
self.Kmmi[:,:,None] is (15,15,1)

Follow up:  can you run step_fn_demo?

Feedback is much appreciated, thanks.
Should be fixed now, check it out!
James.

Thanks!  Works great!  Note I built it on a mac running Yosemite, so if
there are other people having problems getting it to work, I can post my
build steps...
On Thu, Jul 16, 2015 at 9:47 AM, James Hensman<EMAIL_ADDRESS>wrote:

Feedback is much appreciated, thanks.
Should be fixed now, check it out!
James.
—
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/deepGPy/issues/2#issuecomment-122017892.

@mathDR , I am having some issues running the step_fn_demo (and the ipynb) as well, and just like you I am running Yosemite. I would appreciate it if you can share your build steps.

@yberol What, specifically are the errors you are getting?

@mathDR  Quick info:
. Python 2.7.11 |Anaconda 2.5.0 (x86_64)| (default, Dec  6 2015, 18:57:58)
. [GCC 4.2.1 (Apple Inc. build 5577)] on darwin
. Numpy version: 1.11.0
. Scipy version: 0.17.0
When I run the step_fn_demo.py I get this.
Similarly if I try to run the notebook, after the model1 = build_supervised(X, Y, Qs=(1,), Ms=(15,15)) line, I get this.
Thanks for your help!

The problem lies in your compiler.  When you type 'which gcc'  I assume you get the clang version sent with apple.
To build and run these types of programs, you are much better off using a fresh gcc.
I use homebrew, so I brew install gcc-5 (The latest), then in my .bashrc file, I create an alias that allows for gcc to compile.
The relevant lines are:
alias gcc='gcc-5'
alias cc='gcc-5'
alias g++='g++-5'
alias c++='c++-5'
but, of course you can alias to whatever gcc command you have.

@mathDR well I installed the latest gcc and added the aliases to my .bash_profile. Now gcc --version
returns: gcc-5 (Homebrew gcc 5.3.0) 5.3.0, however step_fn_demo.py still gives the same errors as in the previous post. Specifically this part:
scipy.weave.build_tools.CompileError: error: Command "g++ -fno-strict-aliasing -I/Users/yusufbugraerol/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/yusufbugraerol/anaconda/lib/python2.7/site-packages/scipy/weave -I/Users/yusufbugraerol/anaconda/lib/python2.7/site-packages/scipy/weave/scxx -I/Users/yusufbugraerol/anaconda/lib/python2.7/site-packages/scipy/weave/blitz -I/Users/yusufbugraerol/anaconda/lib/python2.7/site-packages/numpy/core/include -I/Users/yusufbugraerol/anaconda/include/python2.7 -c /Users/yusufbugraerol/.cache/scipy/python27_compiled/sc_9354f24db217fdec00d0dd1964056e7a4.cpp -o /var/folders/y5/9t3nq1f1463fnynd8w4dpjf40000gn/T/scipy-yusufbugraerol-AmIDut/python27_intermediate/compiler_a43d27c4d7e0f14e6813041b5f426380/Users/yusufbugraerol/.cache/scipy/python27_compiled/sc_9354f24db217fdec00d0dd1964056e7a4.o -fopenmp -O3" failed with exit status 1

what does g++ --version return?

@mathDR , sorry just updated it above but:
which g++ returns /usr/bin/g++ and g++ --version returns /usr/bin/g++
similarly
which gcc: /usr/bin/gcc and cc --version: gcc-5 (Homebrew gcc 5.3.0) 5.3.0

I don't use anaconda, but maybe you need to rebuild your python with the new compiler engaged?

@mathDR maybe, I will check that out. Quick question though:
which g++ returns /usr/bin/g++ instead of usr/local/bin which is where homebrew installed the gcc binaries. Should I add something like export PATH=/usr/local/bin:$PATH to the bash_profile?
If that is not the case, I will probably go for a clean install of anaconda as you recommended.

I added export PATH=/usr/local/bin:$PATH to the bash_profile and created a symbolic link and on top of it did a clean install of anaconda. It seems to be working now.
@mathDR , thanks a lot for your help!

Great! I suspect it was your path not linking to g++. Glad to be of some help


OSError: [Errno 32] Broken pipe MoviePy error: FFMPEG encountered the following error while writing file

OSError: [Errno 32] Broken pipe MoviePy error: FFMPEG encountered the following error while writing file /MoneyPrinterTurbo/storage/tasks/92879ae3-1fd2-4ce2-99dc-6e2a62265bf1/combined-1.mp4:
Traceback:
File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
    exec(code, module.__dict__)
File "/MoneyPrinterTurbo/webui/Main.py", line 529, in <module>
    result = tm.start(task_id=task_id, params=params)
File "/MoneyPrinterTurbo/app/services/task.py", line 144, in start
    video.combine_videos(combined_video_path=combined_video_path,
File "/MoneyPrinterTurbo/app/services/video.py", line 107, in combine_videos
    video_clip.write_videofile(filename=combined_video_path,
File "<decorator-gen-60>", line 2, in write_videofile
File "/usr/local/lib/python3.10/site-packages/moviepy/decorators.py", line 56, in requires_duration
    return f(clip, *a, **k)
File "<decorator-gen-59>", line 2, in write_videofile
File "/usr/local/lib/python3.10/site-packages/moviepy/decorators.py", line 135, in use_clip_fps_by_default
    return f(clip, *new_a, **new_kw)
File "<decorator-gen-58>", line 2, in write_videofile
File "/usr/local/lib/python3.10/site-packages/moviepy/decorators.py", line 24, in convert_masks_to_RGB
    return f(clip, *a, **k)
File "<decorator-gen-57>", line 2, in write_videofile
File "/usr/local/lib/python3.10/site-packages/moviepy/decorators.py", line 89, in wrapper
    return f(*new_a, **new_kw)
File "/usr/local/lib/python3.10/site-packages/moviepy/video/VideoClip.py", line 343, in write_videofile
    ffmpeg_write_video(
File "/usr/local/lib/python3.10/site-packages/moviepy/video/io/ffmpeg_writer.py", line 265, in ffmpeg_write_video
    writer.write_frame(frame)
File "/usr/local/lib/python3.10/site-packages/moviepy/video/io/ffmpeg_writer.py", line 196, in write_frame
    raise IOError(error)

some texts will get this error

I googled this post: https://github.com/lengstrom/fast-style-transfer/issues/253
You can try.


New legal document

Please read and check carefully.

I tried to push here a merged master but I was rejected


MakerNotes exif metadata for Sony

Problem
The support for metadata has been greatly improved in https://github.com/OpenImageIO/oiio/issues/1739.
Unfortunately Exif contains many custom cases and it would be great to support more MakerNotes as they contain a large part of the image information.
Here is an example of Sony image:

In our use case (photogrammetry), we need to retrieve the BodySerialNumber and the LensSerialNumber which are unfortunately in the MakerNotes.

Hi, @fabiencastan , I've been sitting on a patch for this for a few weeks, but before submitting it I was hoping you could maybe tell me exactly which metadata you need so I'm sure it's among what I'm retrieving successfully?

Hi Larry,
I'm sorry, I missed you previous messages!!
The full list of metadata we are looking for are:

Exif:BodySerialNumber
Exif:LensSerialNumber
Exif:FocalLength
Exif:FocalLengthIn35mmFilm
Make
Model
Orientation
Exif:PixelXDimension
Exif:PixelYDimension

As mentioned in my initial message,  the problem is that unfortunately the *SerialNumber ones are in the MakerNotes and that's a key issue for photogrammetry to be able recognize if images were taken from the same device or from another one.
Thanks a lot for working on this topic, that's really helpful!

You know, I'm not sure that these weren't there all along. We already look for all of these, including the body and lens serial numbers.
The BodySerialNumber or LensSerialNumber do seem to be Exif fields, not MakerNote fields. They are described in the Exif 2.3 specification, and are not anywhere to be found on this list of Sony makernote fields (which may not be authoritative): https://sno.phy.queensu.ca/~phil/exiftool/TagNames/Sony.html
The image that you reference as an example -- I tested with Apple Preview.app, ImageMagick "identify --verbose", and exiftool, and all fail to list either BodySerialNumber or LensSerialNumber for this image, though the rest of the Exif fields there and match what OIIO lists.
Can you double check on your end, and provide a link to a Sony camera image that you are sure has these fields in them? I think that everything may already be working for files that have this data. (And I do still have a patch ready to send that expands the makernote info that OIIO understands, but like I said, the lens and body serial numbers do not appear to be among them.)

The Exif does contain a LensType and LensModel. Not sure if this is different data than the lens serial number or not. And does "Model" not tell you everything you would get from the body serial number?

Hi Larry,
Thank you for the investigation.
We need the serial number as it provides a unique ID for the device which enables to make the difference between 2 cameras with the same Model. If I use 2 Sony ILCE-7SM2 devices to make the acquisition (which is a common use case), I need to detect them to avoid using the same internal camera parameters for both in the Structure-from-Motion optimization. It's even worse in the case of a studio booth with hundred of cameras with exactly the same Model and Lens. The serial number is the only way to see that it's not the same device.
With the latest exifTool, I can see the serial number (from the Maker Notes):
(exifTool-11.31): ~ > exifTool -a /path/to/footage/2019_01_20_buddha/DSC01728.JPG | grep -i serial
Internal Serial Number          : dcfe0000ac0a

But I don't have access to this information from OpenImageIO:
(oiio-1.8.15): ~ > oiiotool --info -v -i /path/to/footage/2019_01_20_buddha/DSC01728.JPG
Reading /path/to/footage/2019_01_20_buddha/DSC01728.JPG
/path/to/footage/2019_01_20_buddha/DSC01728.JPG : 4240 x 2832, 3 channel, uint8 jpeg
   channel list: R, G, B
   oiio:ColorSpace: "sRGB"
   jpeg:subsampling: "4:2:2"
   ImageDescription: "                               "
   Make: "SONY"
   Model: "ILCE-7SM2"
   Orientation: 1 (normal)
   XResolution: 350
   YResolution: 350
   ResolutionUnit: "none"
   Software: "ILCE-7SM2 v2.00"
   DateTime: "2019:01:20 13:56:44"
   Exif:YCbCrPositioning: 2
   ExposureTime: 0.1
   FNumber: 22
   Exif:ExposureProgram: 1 (manual)
   Exif:PhotographicSensitivity: 8000
   Exif:SensitivityType: 2
   Exif:RecommendedExposureIndex: 8000
   Exif:DateTimeOriginal: "2019:01:20 13:56:44"
   Exif:DateTimeDigitized: "2019:01:20 13:56:44"
   Exif:CompressedBitsPerPixel: 2
   Exif:BrightnessValue: 2.68906
   Exif:ExposureBiasValue: 0
   Exif:MaxApertureValue: 2.96875 (f/2.79796)
   Exif:MeteringMode: 5 (pattern)
   Exif:LightSource: 0 (unknown)
   Exif:Flash: 16 (no flash, flash supression)
   Exif:FocalLength: 16 (16 mm)
   Exif:ColorSpace: 1
   Exif:PixelXDimension: 4240
   Exif:PixelYDimension: 2832
   Exif:CustomRendered: 0 (no)
   Exif:ExposureMode: 1 (manual)
   Exif:WhiteBalance: 1 (manual)
   Exif:DigitalZoomRatio: 1
   Exif:FocalLengthIn35mmFilm: 16
   Exif:SceneCaptureType: 0 (standard)
   Exif:Contrast: 0 (normal)
   Exif:Saturation: 0 (normal)
   Exif:Sharpness: 0 (normal)
   Exif:LensSpecification: 16, 35, 2.8, 2.8
   Exif:LensModel: "16-35mm F2.8 G SSM II"

Thanks!

Hi, Let me know if you need more information or if I can help in one way or another to see this issue solved.

Hi @lgritz ,
Can I start testing the patch you have started?
It would be really great to have this feature for the next release of Meshroom.
Best,


Latest release breaks some type imports

Release version: 4.0.0
What I'm trying to do:
import { AppSpec } from '@algorandfoundation/algokit-utils/types/app-spec';

Last version this worked with: 2.3.3 (I did not try the 3.x releases)
Error message received by webpack bundler using TSC as its build tool, this actually looks like an eslint error though so it's not even getting to the bundler:

And in fact I see the same error in VSCode, although the path is getting rewritten to @algorandfoundation/algokit-utils/types/types/app-spec I believe due to the typesVersions key in this project's package.json
What I've tried:

Importing the direct types/types path, same error
Clearing my VSCode and node_modules cache, reinstalling node modules, & restarting VSCode

Not sure what changed, for now as a workaround I'm simply going to copy that file into my project as it's just being used for type safety in my appkit calls.

@codinronan What version of TypeScript are you using? Also what are your TypeScript settings for both module and moduleResolution?

@codinronan Are you able to install 5.0.0 and see if that fixes the issue?

@neilcampbell apologies didn't see your messages!
TS version: 4.9.5 (need to check if I can pull this forward to 5.x)
module/Resolution values: ES2022, node
I'll give your 5.0.0 a try today :)

@neilcampbell seems I still have the issue. I have done the following:

Updated @algorandfoundation/algokit-utils to 5.0.0
Updated algosdk to 2.7.0
Updated Typescript for the project to 5.2.2
Removed our shim for AppSpec
Replaced the import with the one from @algorandfoundation/algokit-utils: import { AppSpec } from '@algorandfoundation/algokit-utils/types/app-spec';

I still see the following behavior from VSCode, however when I Command+Click on the import it does successfully take me to the file where the type is exported, for some reason:

However, webpack (which is using tsc underneath, this is being built with serverless-bundle), does throw the following error:

I'm not sure what the solution is here honestly, this is arcane magic inside TS's import resolver I'd imagine... what changed from 2.3.3 to 4?

@neilcampbell ok I have fixed this, I also needed to upgrade:

@typescript-eslint/eslint-plugin
@typescript-eslint/eslint-parser
eslint-plugin-import
eslint-import-resolver-typescript

To their latest versions, and now it works. Seems like later versions of TS resolve imports differently and the older linting versions didn't use the newer resolver.
Feel free to close, all good now!


app.once()

What is the problem this feature would solve?
I noticed that app.on() is available but app.once() is not.
What is the feature you are proposing to solve the problem?
app.once() should also be available.
What alternatives have you considered?
None.

I can't see the use case why this would be beneficial for server-side and Elysia.
I think it made sense for client-side but not on sever-side, closing as not going to implemented.
If you would like to propose this feature, please create a proposal on why we would like to add this, thanks.


Bad Request  -- Microsoft.KeyVault/vaults

Error deploying Learn-LTI tool from Azure AD
when I run the Learn-LTI tool implementation guide it generates an error with the Key Vault, I already tried in different tenants and different subscription and is the same error:
{
"status": "Failed",
"mistake": {
"code": "BadRequest",
"message": "Invalid value found at accessPolicies[0].ObjectId: "
}
LMS (please complete the following information):

Platfrom: [Azure, Key Vault]

OS: [Windows 11 Enterprise  and Windows 10 pro 22h2]

Browser Chrome,edge, Firefox

Version [Firefox 103.02]

Please simply downgrade your Azure CLI to v2.27
See https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli
This is a known issue which is documented in the troubleshooting guide. https://github.com/microsoft/Learn-LTI/issues/189
Specific version
To download the MSI installer for specific version, change the version segment in URL https://azcliprod.blob.core.windows.net/msi/azure-cli-.msi and download it. Available versions can be found at Azure CLI release notes.


Update @types/vscode

For #7832

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] Has a news entry file (remember to thank yourself!)
[n/a] Appropriate comments and documentation strings in the code
[n/a] Has sufficient logging.
[n/a] Has telemetry for enhancements.
[n/a] Unit tests & system/integration tests are added/updated
[n/a] Test plan is updated as appropriate
[n/a] package-lock.json has been regenerated by running npm install (if dependencies have changed)
[n/a] The wiki is updated with any design decisions/details.

Codecov Report

Merging #7833 into master will decrease coverage by 0.36%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7833      +/-   ##
==========================================
- Coverage   59.25%   58.88%   -0.37%
==========================================
  Files         498      498
  Lines       22295    22295
  Branches     3580     3575       -5
==========================================
- Hits        13210    13128      -82
- Misses       8263     8338      +75
- Partials      822      829       +7

Impacted Files
Coverage Δ

src/client/testing/serviceRegistry.ts
48.64% <0%> (-46.85%)
:arrow_down:

src/client/testing/codeLenses/main.ts
44.44% <0%> (-33.34%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
66.66% <0%> (-33.34%)
:arrow_down:

src/client/formatters/serviceRegistry.ts
75% <0%> (-25%)
:arrow_down:

src/client/common/utils/icons.ts
83.33% <0%> (-16.67%)
:arrow_down:

src/client/api.ts
78.57% <0%> (-14.29%)
:arrow_down:

src/client/datascience/cellFactory.ts
75.86% <0%> (-13.8%)
:arrow_down:

src/client/common/utils/platform.ts
76.47% <0%> (-11.77%)
:arrow_down:

src/client/providers/providerUtilities.ts
83.33% <0%> (-5.56%)
:arrow_down:

src/client/common/platform/pathUtils.ts
66.66% <0%> (-5.56%)
:arrow_down:

... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9fe2a76...0f07b21. Read the comment docs.


Issue when using the itables package

Description
The itables package allows for making pandas dataframes more interactive: https://github.com/mwouts/itables
It seems to be working fine with the Pyodide kernel:

However xeus python has issues importing the package with import itables:
FileNotFoundError: [Errno 44] No such file or directory: '/tmp/xeus-python-kernel/envs/jupyterlite-tutorial-demo/lib/python3.10/site-packages/itables/html/itables.css'

While checking the directory content looks fine with:
import os
os.listdir()

Reproduce
Create a new environment with itables as a dependency.
Expected behavior
itables should work in the xeus python kernel.
At first it looked like it could have been an issue with the service worker not able to find the files.
But digging into this more it seems that the html folder is missing:

Context
This might be similar to https://github.com/jupyterlite/xeus-python-kernel/issues/120

Or maybe it's an issue with empack filtering the html folder?

Or maybe it's an issue with empack filtering the html folder?

I'm almost certain this is it. We may want to add an entry for itables in https://github.com/emscripten-forge/empack/blob/main/config/empack_config.yaml

Ah this is where the config file is located, nice.
Not sure this would still be an issue with the new empack==3.0.0? Maybe this was changed in the new version? cc @DerThorsten

I'm almost certain this is it. We may want to add an entry for itables in https://github.com/emscripten-forge/empack/blob/main/config/empack_config.yaml

In the meantime happy to try that and see if it fixes the issue.

Note that it's also possible to provide your own config through a jupyterlite-xeus-python addon option.

Note that it's also possible to provide your own config through a jupyterlite-xeus-python addon option.

Ah indeed, looks like it's defined here:
https://github.com/jupyterlite/xeus-python-kernel/blob/c7e7c48c5c1092ba46494e4457638e78c306f716/jupyterlite_xeus_python/env_build_addon.py#L48-L53
It would be great to add that to the documentation so it's more visible: https://xeus-python-kernel.readthedocs.io/en/latest/configuration.html
It could be handy for fixing packages quickly without requiring a new empack release.

I haven't documented it yet because I've not tested this feature so much yet :) But a bit of testing and documentation would be good indeed!

Right, for example does it handle merging the user provided config with the default empack config?

I am not entirely sure, but that would be great indeed.

In practice we probably don't expect users to make heavy use of it anyway?

So for example this could be documented as an advanced configuration option.

In practice we probably don't expect users to make heavy use of it anyway?

Correct:
The actual reason we made it configurable is, that there might be a non-python wasm ecosystem, like a hypothetical c++-wasm which would need to include a different set of files for the same package.
For instance for such a c++ wasm thingy we would like to include all  *.h files

@jtpio / @martinRenou  actually I already implemented the merging =)
https://github.com/emscripten-forge/empack/blob/4b388b67035ee3fe47f9efad2c5cc57fe8593116/empack/file_patterns.py#L99

Ah nice, thanks for providing the extra context :+1:


When open a thread the feed should jump and highlight the note that replied the parent note.

Hi,
When open a thread the feed should jump and highlight the note that replied the parent note.
Thanks, great client.

That's a bit tricky because there is a delay in loading the subscription for all the other replies and jumping to the note would make the UI seem jerky, which I want to avoid. What I can do however is sort the note that replied to the top (right now it's all chrono)

I don't see a problem waiting all data loading. https://nostter.vercel.app works this way.
https://github.com/lovvtide/satellite-web/assets/1178856/14100c3a-d7a3-40ac-8ab7-09fddb896afb

But I'm satisfied if you just highlight the post. Without need to jump automatically to the position.


Qt internal error: qt_menu.nib could not be loaded

Issue Description
What did you expect to see happen?
plots to work in case of MACs
What did you see instead?
Qt internal error: qt_menu.nib could not be loaded. The .nib file should be
placed in QtGui.framework/Versions/Current/Resources/  or in the resources
directory of your application bundle.

Do you have a suggested fix for the development team?
From the Glue library:

Qt internal error: qt_menu.nib could not be loaded. The .nib file should be
placed in QtGui.framework/Versions/Current/Resources/  or in the resources
directory of your application bundle.

This is due to the PySide conda package in the defaults conda channel being broken (see the following issue for the latest status on this issue). The workaround is to either use PyQt instead of PySide, or to use the PySide package from the conda-forge channel:

conda install -c conda-forge pyside

Please attach the input file(s) that generate this error.  The simpler the input, the faster we can find the issue.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or improvement?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[ ] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest stable branch? If yes, is there any issue tagged with stable (create if needed)?
[x] 5. If the issue is being closed without a merge request, has an explanation of why it is being closed been provided?

Approved for closure by #714


Issue: unset variable LDAP_FULLNAME_FIELD

I got this error today : [WARN] Lookup for unset variable: LDAP_FULLNAME_FIELD
Everything was functional before.
Any idea ? Thanks

@alkemyst
How did you configure CN to fullname at #10 at that I included in newest release of Wekan ?
Should it have some default value in Snap config and Snap help and Wekan repo's Dockerfile + docker-compose.yml etc?
Can you add those?

Well, unfortunately I do not know any ldap database other than our own. For our database the LDAP_FULLNAME_FIELD is "displayName"
I am not familiar with snap, but if you point me to the right file I can add it. In any case I would tend to avoid setting it by default, as it might not match with the users LDAP server

I have to apologize: I introduced the regression, apparently. In order to avoid error it is necessary that the LDAP_FULLNAME_FIELD is set. If it's set to an empty value, it's fine @xet7 : is that already the case with the new builds?

@alkemyst
I will add default empty setting to next Wekan release.


why

UserWarning: Failed to load image Python extension:
warn(f"Failed to load image Python extension: {e}")

Can you give more details?

I got the same error; what I did is that I deleted that conda and made a new one with the indicated versions in the README.md. It seems to me that the error was related to installing PyTorch on a newer version of Python. Since PyTorch has been deprecated by Torch, trying to downgrade to Python=3.7 and PyTorch=1.7, with Torch installed, will make it take over and create an error.


Cluster detail

"Cluster-creation fix" is already merged, can you remove it from here

How do I remove that part?


Encrypted incremental MySQL backups

This strives to create incremental backups to an S3 bucket which
are no more than 15 minutes out of date.
Functionally it uses Percona Xtrabackup (https://www.percona.com/doc/percona-xtrabackup/2.4/index.html), using the innobackupex wrapper (https://www.percona.com/doc/percona-xtrabackup/2.2/innobackupex/innobackupex_script.html) and gof3r (https://github.com/rlmcpherson/s3gof3r) to take the stream output and push to an S3 bucket.
It's recommend use is to take a base backup and then incremental backups on top of that. It also compresses and encrypts on the fly.
Within the bucket, it creates a new folder for each set of backups, and does this by the base backup echoing a date into a file, which the incremental backup then references. This is so it splits up the daily
backups and hopefully makes it easier to restore.
To test this in Integration it requires an S3 bucket and user creating.

As a general approach I'd rather have the if wrap the include than every resource inside the class itself. But that might be a personal thing and we can discuss it in the team meeting.

So, is there way we could use gpg encryption. AES is good enough but we probably just need to check with Paul Colman before we backup any sensitive data. /cc @daibach

Do we want this on the master instead of the backup slave?

Addressed comments. @rjw1 see the encryption options for the innobackupex tool. Using GPG might be complicated because of how this script pipes into the gof3r tool. In theory we could pipe into GPG... but not sure how that would then pipe in gof3r to upload to S3 in the current mechanism, and they might need to be written to disk, encrypted and then uploaded, which is less efficient.
tl;dr I'll check the options

The gof3r package now gets installed as a .deb package.

@rjw1 What features of GPG is that we'd take advantage of? For example, you can ask GPG to use AES.

@rjw1 also probably better on a slave, yes.

Additionally, we can encrypt the backups in S3 using the '-m x-amz-server-side-encryption:AES256' switch with the gof3r command.

@rjw1 FWIW, innobackupex uses libgcrypt 1, which is based on GPG 2.

So I have no real objection to the encryption so Im happy to  have this merged.

I've updated some stuff and added a test, so as per @rjw1's comment I'll merge soon

I think the commits may need squashing a bit.


Allow page types to easily restrict what type of requests they respond to

The main benefit of these changes is to prevent unwanted cache-bypassing on projects by only permitting GET requests for most pages (POST, PUT and DELETE requests are widely known to bypass edge caching and can put unnecessary strain on servers). From a theoretical perspective, it's also fitting to bring pages a little more in-line with Django views, as both are essentially HTTP response generators, and as such, it makes sense for them to have similar controls.

@RealOrangeOne Any ideas on the Django 4.2 failure? It seems not to like me setting the ALLOWED header

This looks great to me and works well, I will rebase, add the docs / release notes, squash some commits and force push.
When POST is not allowed
class FormPage(AbstractEmailForm):
    allowed_http_methods = [HTTPMethod.GET, HTTPMethod.OPTIONS]

When POST was added back
class FormPage(AbstractEmailForm):
    allowed_http_methods = [HTTPMethod.GET, HTTPMethod.OPTIONS, HTTPMethod.POST]


Supported OS versions

RHEL 7.6 and Centos 7.6 are not supported yet. please change.

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

ID: 17a20cc3-d50f-ff9f-d781-ecfeb366807f
Version Independent ID: 12557b74-5318-f7c6-3098-544bc9634c04
Content: Learn about Azure Image Builder for Linux Virtual Machines (preview)
Content Source: articles/virtual-machines/linux/image-builder-overview.md
Service: virtual-machines-linux
GitHub Login: @cynthn
Microsoft Alias: cynthn

@smereczynski Thanks for your feedback! We will investigate and update as appropriate.

@cynthn Can you please look into the issue.

I have noticed that in docs it is said that AIB "will support Azure Marketplace base OS images" and there is 7.6 mentioned. It can be misunderstood because some people (like me) are using ISO sources. Reading docs I missed the info about source type.

@smereczynski Thanks for the feedback! Yes, you can use an .iso. The engineering team has created some sample .json files for the public preview that cover RHEL deployments using an .iso. You can see the .iso topic here: https://github.com/danielsollondon/azvmimagebuilder/tree/master/quickquickstarts/2_Creating_a_Custom_Image_using_Red_Hat_Subscription_Licences.
Thank you!
#please-close

But you cannot use rhel 7.6 ISO...

@VikasPullagura-MSFT can you reopen?
@danielsollondon Can you chime in on OS support for ISO deployments?

7.6 is supported for RHEL images in the Azure Marketplace. RHEL 7.6 ISO's are not supported. The doc now states that ISO's are being tested for 7.6, but aren't currently supported.
#please-close


Do not merge yet. Http api copds 1549

Can you fix the type check action please

I updated the branch and now all checks are passing.


dev -> master

This change is

Reviewed 1 of 57 files at r2, 3 of 59 files at r4, 1 of 1 files at r5, 74 of 74 files at r6.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 2 of 2 files at r7.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


fix: change radio button to sync on change rather than on blur

fixes TECH-1353
Changes in this PR
Before the change: for boolean radios, when a user clicks an option (yes or no), then immediately clicks the clear button, two POSTs are sent simultaneously one with the selected value, and another with the empty value from the Clear. This results in a race condition between the two POSTs and the result is not predictable.
Syncing on blur is a needed optimisation when it comes to input fields (we don't want to be syncing every character as the user types) but for inputs that just have a single action, it would be more user-friendly to sync the action immediately (same as we do with the clear button).
After the change: the sync of the radio buttons happens on click. This fixes the race condition issue, and more inline with what the user would expect - once they click yes or no, that value should be saved (not only when they tab to the next field).
(note: this behaviour is also inline with the other component with a clear button - the option set component)

Looks good @kabaros!
At the moment, it seems that we won't get the cell formatting until the cell is blurred, which is now a bit misleading because the value has actually been synced upon click of the radio button:

Should we blur on the click of the yes/no?
I think it is a bit undesirable (e.g. from a user training perspective) that we would have this input behave differently than other inputs in terms of sync upon value update/rather than upon user-initiated blur, but probably better than refactoring more as I imagine that would be time-consuming (and the current implementation blurs/syncs on hitting clear)

I think this is OK, and fits into the system of cell states:

If cell is synced and not active: green background, green triangle.
If cell is synced and active: white background, green triangle.

There is some inconsistency, as @tomzemp says, with the handling of sync onblur vs. onChange, but I think there's enough difference in the way users interact with text inputs vs. selection controls that the inconsistency is trumped by "doing the expected thing".
Possible fix for the future, if this proves problematic, would be to move to a debounced sync onChange for text values, I think, rather than the other way around.


ENH: Add a Preset Box to the Interactive PDF Segmenter [0014227]

Mantis Info:

User should be prompted to use a convenient preset first, rather than set the parameters manually in the "Advanced" tab.
Additional Information:
Platform:
OS:
OS Version:
Product Version:
Target Version:
Reproducibility: have not tried
Priority: normal
Severity: feature
ID: 0014227

No longer applicable.


Apparent memory leak introduced with v2.1.7

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

Bug

What did you do?
We have deployed Traefik v2.1 on a couple of nodes, limited to 128 MB memory each. This setup has been running stable ever since Trafik 2.x was released.
Last night our Traefik deployments have been automatically updated from v2.1.6 to v2.1.7.
Since then the instances are regularly OOM-killed. The following Grafana chart shows the difference in behavior (old: constant memory usage after a ramp-up, new: restart cycles due to OOMs):

What did you expect to see?
Traefik continues running as before.
What did you see instead?
Traefik is periodically killed by the Linux kernel due to an OOM (when hitting the 128 MB memory limit).
The issue can be reproduced more quickly by firing plenty of requests against the instance, e.g., using ab:
ab -n 100000 -c 10 https://<fqdn>/

Output of traefik version: (What version of Traefik are you using?)

$ docker exec -it traefik traefik version
Version:      2.1.7
Codename:     cantal
Go version:   go1.13.8
Built:        2020-03-18T16:43:27Z
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?
Linux amd64, running on Ubuntu 18.04 w/ Docker 19.03.8
accessLog:
    filePath: /log/access.log
api:
    dashboard: true
    debug: false
entryPoints:
    http:
        address: :80
    https:
        address: :443
    traefik:
        address: :81
log:
    format: json
    level: INFO
metrics:
    prometheus:
        entryPoint: traefik
providers:
    docker:
        exposedByDefault: false
    file:
        directory: /etc/traefik/rules
        watch: true
serversTransport:
    insecureSkipVerify: true

Thank you @ginkel :+1:
We fixed that in #6522, and we will create a release today.

Closed by #6522.


Opening CPU sample in Perfview show multiple "processes"  for the same PID

We are evaluating the .Net runtime 5 preview7, and I see a change in behavior when opening cpu samples (perf.data.txt file inside a *.trace.zip archive) in Perfview.
I collected cpu samples (using perf tools) of an application running on Linux with the runtime 5 preview 7. I noticed that in the perf.data.txt file the first line does not contain only the process name, but the name of the thread instead (when the thread has a name, otherwise the process name).
.NET ThreadPool    84/2671  72906.063991:    1001001
   0x534535
   ...
dotnet    84/155   72906.370060:    1001001
   0x2422
   ...
Ghost.ThreadPoo    84/498   72908.177015:    1001001
   0x654645
   ...
.NET Server GC    84/702   72908.227497:    1001001
   0x432411
   ...

As you can see the process Id (84) is the same in every "header" line, but the corresponding name is different.
I opened it in Perfview (putting it in a trace.zip file, see attached) and I got this:

When collecting cpu samples from a 3.1 runtime, it's always dotnet for the name. It seems something has changed (maybe a bug fix) in the runtime since 3.X, but it feels like that something should handled in Perfview.
I was expecting in Perfview to display one line per process and not one line per named-thread. Am I missing something? is it the expected behavior ?
trace_sample.trace.zip

Yup @gleocadie, this is expected.  In .NET 5 many of the standard threads have been named.  There is similar functionality on Windows, but it is surfaced in the ETW trace differently, which is why it doesn't show up in the processes dialog.
On Linux, the process name that perf displays gets hijacked by the "thread name".  We can definitely do something here, but the real question is what.  One thing that we could consider is using the process name from the very first sample that we encounter.  This would likely work most of the time for traces that capture process start, but would be hit or miss for those that capture in the middle of the process, where the first sample is very likely to be on a "named" thread.
Another potential option would be to merge the names together and pull out the well known ones that we know aren't the process names (e.g. .NET ThreadPool, .NET Timer, etc.)  This wouldn't be perfect, but would definitely get us closer.  Is there a specific scheme that you have in mind?

Hello @brianrob , sorry for the late reply.
I was thinking that the perfcollect script could generate a file in which we associate a PID to a process name (from the perf.data.txt file), and save this file in the .trace.zip artifact.
When Perfview opens the .trace.zip file, we could take this into a account. If this file is not present, we could go for your second potential option (merge the names).
With this file, we could even further: on linux process name is always "dotnet", but if you have multiple .NET process, it becomes hard to differentiate them when opening in Perfview. We could extract the dll file used in the command line and as the process name.
What do you think ?

Sure, I'm all for capturing a bit more context information.  I don't think that the process name is in perf.data.txt in a different spot than where we get it today for display in PerfView.  So, I don't think you'll be able to get what you want from perf.data.txt.  I am wondering if there's a good way to get the command line for each process in the trace - that would be an awesome disambiguator.  We could implement a step at the beginning and/or end of the trace to get these, but I'm not sure of a nice way to get them for traces that get spawned during the trace - there probably is a reasonable way to do this, but not sure.  What do you think?

To retrieve the name of the process and the command-line, I was thinking about  /proc//cmdline. (we could also look at /proc//status which contains the process name).
Here what I was thinking, let me know what you think:

Once the trace is done, get all the PIDs from the perf.data.txt
For all the PIDs, read from /proc//cmdline and/or /proc//status to get the process name and the command-line.
Generate a file which associates the pid to this infos
Add this file to the archive.

For processes that get spawned during the trace or died during the trace, we could just for the "merge names" option at first.
In Perfview, we will rely on this file and the perf.data.txt (in case we need to merge the names) to have a meaningful name for a given PID.
What do you think ?
PS: I found execsnoop , but the script needs to be run as root to be effective. That could be an option.

@gleocadie, thanks for this.  I think that doing what you suggest seems reasonable.  As you point out, it's not perfect, but it should handle many cases, and I think that's worth trying as a first attempt.  We can refine from there.  execsnoop is also interesting, and running as root is OK - we force that right now, but I'd like to avoid adding another dependency we have to package, so I think skipping that for now is a good choice.


Support for disabling BKDReader packedIndex off heap

Is your feature request related to a problem? Please describe.
In Lucene 8.4 the BKDReader packedIndex was moved off heap (LUCENE-8932).  In some cases this can cause the BKDReader to consume more CPU cycles and increase request latency
Describe the solution you'd like
Add a setting to allow the BKDReader packedIndex to be moved on heap.
Describe alternatives you've considered
Move the BKDReader packedIndex on heap by default, but this would likely increase memory consumption for users.
Additional context
Similar issue - https://github.com/opensearch-project/OpenSearch/issues/825
Flame graphs are included for Elasticsearch versions 7.9 and 7.1
ES 7.9 Lucene 8.6.2

ES 7.1 Lucene 8.0.0

I think I'm hitting this too... 8-10x search latency increase on 7.9 vs 7.1. Do certain types of queries / operations cause this more than others?
Also, from the Lucene bug I see this:
"I have added a second constructor that takes both the IndexInput and a boolean for on/off-heap. The first constructor will select off-heap iff the IndexInput extends ByteBufferIndexInput."
I'm wondering if there's any way to make IndexInput not an instance of ByteBufferIndexInput. I don't know the code, so I don't know what else it possibly could be, or how to get there, or what (if any) ramifications that might have.

It was made default in LUCENE-9398 from 8.6. We need support in lucene that can be exposed as setting in Opensearch for moving it on/off heap as per the use case

+1 regarding the feature to enable/disable BKDReader on-heap/off-heap, for select use cases. Teams that are upgrading from ES 7.1 to ES 7.9 are observing increased SearchLatencies as called out on this issue.
My limited understanding is that BKDReader data structure is used for searching and indexing high-dimensional data. BKDReader off heap was a performance optimization to reduce memory usage and improve overall scalability of Elasticsearch.
May I request additional insights and guidance to below mentioned topics - as part of this github issue Or should this be discussed and addressed separately?

List the "query patterns" that exercise BKDReader. In my limited experience, BKDReader gets exercised when range queries are executed on numeric fields. Are there additional query patterns that exercise BKDReader? or Is there additional guidance for users of OpenSearch to understand the "query patterns" that would exercise BKDReader under the covers.
What are the  "access patterns", "use cases" or "scenarios" wherein BKDReader on-heap performs better than BKDReader off-heap (and vice-versa)? It appears that BKDReader on-heap may be better suited when query performance compromise is not acceptable, and dimensionality of underlying data is not very high. Thoughts?

More context is needed here. Direct memory (mmaped files) is subject to swapping. Was this tested w/ swapping disabled which can seriously impact a nodes performance? e.g.,:

Was swapping enabled? Try rerunning w/ and w/o swap enabled and report findings.

Try memory locking the process bootstrap.memory_lock true

We're ulimits set to unlimited?

opensearch soft memlock unlimited
opensearch hard memlock unlimited

Was swapping enabled?

No, swapping is disabled due to performance degradation concerns

We're ulimits set to unlimited?

Yes they are:
%cat '/etc/security/limits.d/10-memlock.conf'
*         hard    memlock           unlimited
*         soft    memlock           unlimited

In some cases this can cause the BKDReader to consume more CPU cycles and increase request latency

Can we get more information on the "some cases"? The flamegraph is pretty but we need more context. Can we get a query profile before/after? Field mappings? Segment geometry?
More specifically, this change was made in Lucene which impacts not just OpenSearch but Solr and Elasticsearch. I have yet to see any concern from the latter two. It's possible they haven't hit it yet, but any changes to upstream Lucene will need more context with supporting benchmarks to clearly show this regression results from the BKD on/off heap changes.
With supporting query information it will also be easier to repro this using the lucene benchmark tool to support a change in the upstream. It's unfortunate no benchmarks were provided with the original change.

As long as the index is fully hot (is it here?), moving the BKD index off-heap should not cause anything near the performance regression that the o.p. flame charts seem to indicate.  The BKD index is still in RAM in both cases, just accessed via slightly different APIs.  Also, traversing the BKD index is not the hot spot over the overall BKDReader.intersect -- visiting the leaf blocks (which are off-heap in both cases) is where the heavy work happens.
Could you attach a delta flame-chart as well?  That would show us precisely what's slower and what's faster.  And, any way to attach or link to a fully interactive flame chart?  We need the equivalent of Pastebin but slightly interactive so I can drill down on the flame chart.
Also note that in Lucene's nightly benchmarks, the IntNRQ query tasks tests BKD performance, and it does not show any regression in the June 20, 2020 time-frame:
https://home.apache.org/~mikemccand/lucenebench/IntNRQ.html
Aside: it's nice to see the GC reduction from old to new Lucene versions in the o.p. flame charts.

As long as the index is fully hot (is it here?)

Good question. I assumed it was during the run but the description doesn't give any specifics on the configuration when the the flame graph was obtained. Was this obtained from a single node in a cluster? Was this a single node setup? What else was going on during the query (e.g., concurrent indexing) or is this isolated to the query only?  Is there a hot threads dump?
The more details to help here the better.

For the offending queries you might also try warming the page cache on those indexes using the "index.store.preload": ["*"] index setting to make sure the index is hot. Although if this regression is seen in a production cluster I think that could be evicted based on the 30second Shard Idle default. That might be another area to look at, increase index.search.idle.after to try and prevent shard idle (e.g., file cache evictions). I think if you set this to -1 it will disable? (double check that)

Which Directory implementation is in use here @travisbenedict?  If it's a buffered implementation (SimpleFSDirectory or NIOFSDirectory) can you try switching to MMapDirectory instead?  The buffered reads are sometimes costly, e.g. see https://github.com/apache/lucene/issues/12356.

Also, if possible, please render flame charts to SVG so they remain interactive after attaching to GitHub issues.


Temporarily disable Find 2.0 API for now

Disabling it untill int8 fix is in mainline from MIOpen and also so that QA tests could run migraphx-driver and unittests from MIGraphX.

I understand this disables Find 2.0 from the develop branch for now.

Yes, I can retarget to master  if you want to keep it alive on develop.

There should be a cmake variable to disable or enable it, so we dont have to edit CMakeLists.txt to enable or disable.


Show Build Warnings and Errors Summary for bicep build command

When running a bicep build, if there are errors and/or warnings output, it would be really nice to have some basic summary as the last output to stdout. Something like
Build failed: 10 Warnings, 5 Errors

This looks like quite a good first issue for me!
I'll take a look at this one today.

☝ @alex-frankel, would love some feedback on the PR!

☝ added the PR - would love some feedback!


[xxxTrainer] multi-tags support for tagging

What does this PR do?
Instead of pushing a single tag, this PR changes the current behaviour of xxxTrainer tagging to push multiple tags (e.g. trl & sft) instead of a single tag
cc @lvwerra @osanseviero
example here: https://huggingface.co/ybelkada/test-multi-tag

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Regex or Re

I'm encountered an error using a .txt with 12 DOIs that traces back to the regular expressions in .Paper. The Re package won't download because it has depreciated. Could you update the .Paper module to import Regex instead of Re?

Hi,
sorry for the late reply, but PyPaperBot had been on standby until now.
I've decided to resume development to improve it.
I've created a Telegram channel where you can suggest improvements, report bugs, or request custom data mining scripts. Feel free to join if you're interested with the following LINK
Thanks!


Unsupported symlink found

I haven't built my blog in a while, but I'm getting a ton of failures now and can't proceed:
Building sites … WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-brands-400.ttf", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-brands-400.svg", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-brands-400.woff", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-brands-400.woff2", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-regular-400.eot", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-regular-400.svg", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-regular-400.ttf", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-regular-400.woff", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-regular-400.woff2", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-solid-900.eot", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-solid-900.svg", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-solid-900.ttf", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-solid-900.woff", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-solid-900.woff2", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-brands-400.eot", skipping.
ERROR 2019/08/15 18:53:59 Failed to read Git log: fatal: unknown error occured while reading the configuration files
ERROR 2019/08/15 18:53:59 render of "page" failed: execute of template failed: template: _default/single.html:13:3: executing "_default/single.html" at <partial "mastodon" .>: error calling partial: "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/layouts/partials/mastodon
.html:23:23": execute of template failed: template: partials/mastodon.html:23:23: executing "partials/mastodon.html" at <resources.Get>: error calling Get: symlinks not allowed in this filesystem
ERROR 2019/08/15 18:53:59 render of "page" failed: execute of template failed: template: _default/single.html:13:3: executing "_default/single.html" at <partial "mastodon" .>: error calling partial: "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/layouts/partials/mastodon
.html:23:23": execute of template failed: template: partials/mastodon.html:23:23: executing "partials/mastodon.html" at <resources.Get>: error calling Get: symlinks not allowed in this filesystem
ERROR 2019/08/15 18:53:59 render of "page" failed: execute of template failed: template: _default/single.html:13:3: executing "_default/single.html" at <partial "mastodon" .>: error calling partial: "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/layouts/partials/mastodon
.html:23:23": execute of template failed: template: partials/mastodon.html:23:23: executing "partials/mastodon.html" at <resources.Get>: error calling Get: symlinks not allowed in this filesystem
ERROR 2019/08/15 18:53:59 render of "page" failed: execute of template failed: template: _default/single.html:13:3: executing "_default/single.html" at <partial "mastodon" .>: error calling partial: "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/layouts/partials/mastodon
.html:23:23": execute of template failed: template: partials/mastodon.html:23:23: executing "partials/mastodon.html" at <resources.Get>: error calling Get: symlinks not allowed in this filesystem
Total in 89 ms
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:13:3: executing "_default/single.html" at <partial "mastodon" .>: error calling partial: "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest
/layouts/partials/mastodon.html:23:23": execute of template failed: template: partials/mastodon.html:23:23: executing "partials/mastodon.html" at <resources.Get>: error calling Get: symlinks not allowed in this filesystem

This used to work perfectly fine back in Jun 13.

It's https://github.com/julian-klode/blog.jak-linux.org, the theme is included as a submodule https://github.com/julian-klode/ernest/tree/20d409d466cd1a150b6affdf2c6d3c6bead96a76 and it contains various symlinks in static/webfonts (to link to the fonts gotten via npm).
These symlinks were resolved and then the real file put into the output as intended.

We stopped supported symlinks from themes in a recent release. Mostly for security reasons, but we also added a powerful directory mount support that should be possible to replace those symlinks in a more portable and easier to reason about manner.
You may want to ask further questions on https://discourse.gohugo.io/

@bep why don't give option, sometimes We known what we are doing.

This breaks the integration with some build systems that are relying on symlinks to sandbox the inputs (i.e. Bazel). This is not great :-(


cmd/compile: error message for missing method on type with another type embedded talks about the embedded type instead

What version of Go are you using (go version)?

$ go version
go version go1.17 linux/amd64

Does this issue reproduce with the latest release?
Yes
What did you do?
package main

type T0 struct {
	x int
}

func (T0) M0() {}

type T2 struct {
	T0
}

type Q *T2

var q Q

func main() {
	q.M0()
}

What did you expect to see?
q.M0 undefined (type Q has no field or method M0)

What did you see instead?
q.T0.M0 undefined (type T0 has no field or method M0, but does have M0)

Is this new in Go 1.17?
CC @griesemer

This is fixed at tip 8fff20ffebadfea2c5c3dd58f7007246f3408495
Actually, it was fixed when the compiler switched to use types2. With go1.17, you can do:
$ go1.17 tool compile -G=3 r.go
r.go:18:4: q.M0 undefined (type Q has no field or method M0)

As this is not qualified for backporting, I will close it.


Warning about behavior of job start

Type of issue
Missing information
Feedback
The documentation should be enhanced by including a cautionary note regarding the start of a new job and overridden configuration. In particular, based on my examinations:

Emphasize that options such as --command, --args, --env-vars, etc., are functional only when used in conjunction with --image
Referring to the documentation, note that "When overriding the configuration, the job's entire template configuration is replaced with the new configuration. Ensure that the new configuration includes all required settings.". Therefore, the statement "Empty string to clear existing values" on certain parameters may be misleading, as in my assessments, the environment variables specified by the container are cleared even in the absence of the --env-vars parameter.

Page URL
https://learn.microsoft.com/en-us/cli/azure/containerapp/job?view=azure-cli-latest
Content source URL
https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/containerapp/job.yml
Author
@dbradish-microsoft
Document Id
82b112a1-eba3-d9bd-072b-1cfda2403013

@fleed, Thank you for your feedback. Because this article's source is the reference command's in-line help, I am moving your feedback to Azure/azure-cli GitHub issue #29356 so that the engineering team can respond and make the needed update. Please continue this discussion in the new location.


Authentication support

Thank you very much for the great work!
Shall we expect to have Databricks client unified authentication supported + profile support ?

That would be up to databricks. The endpoint used to to get temporary table credentials used here in the code: https://github.com/duckdb/uc_catalog/blob/main/src/uc_api.cpp#L125 is actually not available to use in databricks.

I created a local fork and make some changes to allow for IAM pass-through if you're using normal S3 credentials that duckdb already supports, and it works there. But I wouldn't really count on databricks making it where you can pull your blob storage credentials from their API since it may have more permissions than what Unity Catalog would allow the acting principal.

Super excited about this new UC integration!
However, since temporary-table-credentials is not working, currently I cannot read any table
Getting Error interacting with object store: Generic S3 error: Client error with status 403 Forbidden:


QGPC looks unfinished compared to QGPR

Is this true?

FAP tests it with QASM and SV after evaluation issue has been fixed. If qasm is problematic, we include a warning. If both are problematic, we remove QGPC

Tested QGPC with new get_ & set_params setting and QASM / SV -> works both


Seems like data isn't following the parents correctly

es-mx's group shouldn't be .: link
From CLDR's JSON data: link
es's group is '.'.
I think the parentLocales aren't being followed correctly. But I will explore soon to learn more.

I just haven’t found time to covert over to using the JSON data/repos; currently still using the XML data.
my workload is pretty heavy right now, don’t know when I’ll get a chance to look into it

Made a PR: #20

@joeybloggs this can be closed.


After voting, all players in the game will be redirected to the result page.

completed with commit 6bf61a68f84411d7833b24a5003a8331edf26dd6


replace @enumFromInt to @intFromEnum and updated the link also

Updated exercise in Chapter 1 - Enums to use @intFromEnum instead of @enumFromInt which does not exist, and also updated the documentation link to the correct builtin function

closed in favour of ceb025f784f5cbe65067a996c2b0b6acb008cead


debounce buttons with a non-memorizing startup delay based on std::thread

Introduce a new Worker class which is a wrapper around a std::thread and:

allows for a delayed start of the actual work
allows to abort while still in the start delay
provides a getter to see if the thread is finished (without the need to join()

Resolves #113.

My current attempt (f61d16bf3f29ddf3fdf1f871570fb94ebd1a93bd) is problematic as using functions from the C++ Standard Library within an ISR can cause problems.
For debouncing I may simply use millis(). But the question remains on how to do the actual work if I don't want to do this in the context of the ISR nor by starting a std::thread directly from within an ISR.

See also:

Using xQueueOverwriteFromISR() from ISR: https://github.com/sandeepmistry/arduino-LoRa/issues/224#issuecomment-488434092
xTaskNotifyFromISR()
ulTaskNotifyTake()
Recommendation for using vTaskNotifyGiveFromISR 👀

I moved the thread management outside of the ISR into a separate thread which continuously polls for signals set by the ISR. The signals are set by the ISR using std::atomic_flag which are lock-free.
This works in general. But it means that we have a polling thread which is not a good design (comment 1, comment 2, article (did not read yet)). It may become a problem when we want to use sleep modes for the processor for power saving. 🔋

This is closed in favour of #116 which does not rely on polling.


We need search input

Hi, please can you add search feature?

Hey 👋 . We ask that you please do not use GitHub for support or feature requests 😄. We use GitHub solely for bug-tracking and on-going feature development.
Our forum is a great place to get community support, plus it helps create a central location for searching problems/solutions.
Thanks!


how do i use it with cart file

I tried adding
github "Kylef/Commander" but didn't help.
What is the proper way to use commander with Cartfile?

Commander does not support Carthage, you can use any of the installation methods mentioned in the README.
Swift Package Manager being the recommended approach.

thanks @kylef . It would have been nice if it had supported Cartfile.

Yeah, simply because the SPM sucks terribly at the moment, many of us have no choice but stick to Carthage. For anyone who still wish to use Carthage, use version 0.2.2, or fork it and create a xcodeproj for it.


feat: 🎸 Add on mode init hook

Add on mode init hook to be run before the mode enters/initialize services

Context

Changes & Results

Testing

Checklist
PR

[] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[] My code has been well-documented (function documentation, inline comments,
etc.)

Public Documentation Updates

[] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[] OS:
[] Node version:
[] Browser:

@sedghi I'm back on this hook. Can we add it? this allows me to add new data sources on the fly based on the mode's URL. If I do that using onModeEnter is too late since initialization of the data source and other stuff is already done. This is the cleanest alternative I could find to avoid refactoring the Mode use effects and I think its going to be useful.