the best models  case insensitive?

the best models  case insensitive?can you give case sensitive best models?

Yes. the model is case-insensitive.
We will give case-sensitive models soon (maybe in 1 week?).

I just uploaded the case-sensitive model. please check here
But it could have low accuracy because the training data and validation data contains some case insensitive labeling.
In detail:

Some fonts always generate the upper case even though the ground truth label have lower cases. Some example of MJSynth or SynthText might have been generated by these fonts.
The training data of IIIT5k and SVT are used as the validation data.  Their label is always the upper case, even though the ground truth label has the lower case. please check here

If you want a more accurate case sensitive model, fine-tuning this model with your own data or more cleaned case sensitive data.
Best.

thanks

I forgot to notify one thing.
use case-sensitive model with --sensitive option.

@ku21fan Thanks for your great job. I have a question:
I test the pre-trained model of case-sensitive on IIIT5K 3000 by filtering special characters and change to upper case, I got a good accuracy: 90%. I wonder if the model is trained only on MJSynth + SYNText? The performance is incredible. Could you please explain why?
Best.

@solitaire2015
Yes, the model is trained only on MJSynth + SynthText.
But, in case --sensitive mode, we used all of SynthText.
After validation checks for each bounding box,
[a] SynthText has about 5.5 million images which do not contain special characters (only alphanumeric).
[b] SynthText has about 1.5 million images which contain special characters.
Our model was trained on [a] with case insensitive mode,
and trained on [a] and [b] with --sensitive mode
For now, only [a] is uploaded in our google / baidu drive, and I will upload [b] soon.
Best.

@ku21fan That's great, thank you very much.

@solitaire2015 I just uploaded [b] as 'ST_spe.zip' at here
Download/unzip/move it into the data_lmdb_release/training/
And then try to train with ST_spe :)

@ku21fan I trained the model on --sensitive mode with the [a] + [b]. here are the training accuracy and loss:
[272000/300000] Loss: 0.06758 elapsed_time:<PHONE_NUMBER>6
acer                , gt: acer                ,   True
Endless             , gt: ENDLESS             ,   False
BBQ                 , gt: BBQ                 ,   True
The                 , gt: The                 ,   True
THE                 , gt: THE                 ,   True
[272000/300000] valid loss: 2.01074 accuracy: 64.745, norm_ED: 1728.75
best_accuracy: 66.390, best_norm_ED: 1609.72
I trained this model on two 1080Ti, selected the best combination, TPS + ResNet + BiLSTM + Attn, for some reasons I add one convolutional layer at the end of ResNet feature extractor to keep the output width to be 25(26 before), I test the model on IIIT5k 3000, after filtering special characters and converting lower case to upper case, I got total accuracy: 88.5%, a little bit lower than yours 90%.
I investigate some failure cases of IIIT5K, some special characters are treated as alphanumeric characters, I think it's the reason why the sensitive model is more accurate than the insensitive model.
Best.

Hi @solitaire2015, did you use grayscale or rgb mode for your input images?

@alwc I use grayscale images.

Hi,
I trained the model on --sensitive mode with the  MJSynth + ST_spe . here are the training accuracy and loss:
[79000/300000] Loss: 0.09761 elapsed_time:<PHONE_NUMBER>8
FOR,                , gt: FOR                 ,   False
Mo-vediplon         , gt: MOVCD1PLO1          ,   False
REBATE              , gt: REBATE              ,   True
WALK                , gt: WALK                ,   True
NISSAN-SBI          , gt: NISSANSBI           ,   False
[79000/300000] valid loss: 2.17037 accuracy: 58.939, norm_ED: 2006.77
best_accuracy: 60.812, best_norm_ED: 1922.32
**model gives constant accuracy from this iteration **
[47500/300000] valid loss: 2.29950 accuracy: 56.822, norm_ED: 2124.85
best_accuracy: 60.812, best_norm_ED: 1922.32
[48000/300000] Loss: 0.11939 elapsed_time: 62696.96234
proudly             , gt: proudly             ,   True
LOVE                , gt: LOVE                ,   True
SAXONS              , gt: SAXONS              ,   True
TESCO               , gt: TESCO               ,   True
------------ Options -------------
experiment_name: TPS-ResNet-BiLSTM-Attn-Seed1111
train_data: data_lmdb_release/training
valid_data: data_lmdb_release/validation
manualSeed: 1111
workers: 4
batch_size: 192
num_iter: 300000
valInterval: 500
continue_model:
adam: False
lr: 1
beta1: 0.9
rho: 0.95
eps: 1e-08
grad_clip: 5
select_data: ['MJ', 'ST_spe']
batch_ratio: ['0.5', '0.5']
total_data_usage_ratio: 1.0
batch_max_length: 25
imgH: 32
imgW: 100
rgb: False
character:<PHONE_NUMBER>abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$$
sensitive: True
PAD: False
data_filtering_off: False
Transformation: TPS
FeatureExtraction: ResNet
SequenceModeling: BiLSTM
Prediction: Attn
num_fiducial: 20
input_channel: 1
output_channel: 512
hidden_size: 256
num_gpu: 1
num_class: 96
should i stop training ...
what should i change to  improve accuracy.


Allow providing a service account directly for storage object

In short, for a specific use case for a project, I'm handling multiple firebase accounts and the current setup stores the service accounts in a database instead of using the file system.
I need to be able to supply the service account directly to the storage constructor instead of specifying the file name as suggested in the docs:
 var gcs = storage({
   projectId: 'grape-spaceship-123',
   keyFilename: '/path/to/keyfile.json'
 });

Duplicate of #2536
You can use the options.credentials object when instantiating the client. That is expected to be the contents of a JSON service account key file.


NuGet package leads to null reference in @Html.Kentico().PageBuilderScripts()

Description
After installing the RichText NuGet package, @Html.Kentico().PageBuilderScripts() raises "Object reference not set to an instance of an object". After uninstalling the package and removing all of its files from wwwroot, the page builder correctly works again.
Thoughts
The optimization (System.Web.Optimization) of the inline editor scripts doesn't work correctly.
Links
Kentico DevNet
Stacktrace
[NullReferenceException: Object reference not set to an instance of an object.]
   Microsoft.Ajax.Utilities.Member.GetFunctionGuess(AstNode target) +33
   Microsoft.Ajax.Utilities.AnalyzeNodeVisitor.GuessAtName(AstNode node) +117
   Microsoft.Ajax.Utilities.AnalyzeNodeVisitor.Visit(FunctionObject node) +388
   Microsoft.Ajax.Utilities.FunctionObject.Accept(IVisitor visitor) +35
   Microsoft.Ajax.Utilities.AnalyzeNodeVisitor.Visit(BinaryOperator node) +73
   Microsoft.Ajax.Utilities.AnalyzeNodeVisitor.Visit(Block node) +860
   Microsoft.Ajax.Utilities.AnalyzeNodeVisitor.Visit(FunctionObject node) +1467
   Microsoft.Ajax.Utilities.FunctionObject.Accept(IVisitor visitor) +35
   Microsoft.Ajax.Utilities.TreeVisitor.Visit(AstNodeList node) +169
   Microsoft.Ajax.Utilities.TreeVisitor.Visit(ArrayLiteral node) +43
   Microsoft.Ajax.Utilities.ArrayLiteral.Accept(IVisitor visitor) +35
   Microsoft.Ajax.Utilities.TreeVisitor.Visit(AstNodeList node) +169
   Microsoft.Ajax.Utilities.TreeVisitor.Visit(CallNode node) +56
   Microsoft.Ajax.Utilities.AnalyzeNodeVisitor.Visit(CallNode node) +2661
   Microsoft.Ajax.Utilities.CallNode.Accept(IVisitor visitor) +35
   Microsoft.Ajax.Utilities.AnalyzeNodeVisitor.Visit(Block node) +860
   Microsoft.Ajax.Utilities.JSParser.InternalParse() +2529
   Microsoft.Ajax.Utilities.Minifier.MinifyJavaScript(String source, CodeSettings codeSettings) +805
   System.Web.Optimization.JsMinify.Process(BundleContext context, BundleResponse response) +115
   System.Web.Optimization.Bundle.ApplyTransforms(BundleContext context, String bundleContent, IEnumerable`1 bundleFiles) +325
   System.Web.Optimization.Bundle.GetBundleResponse(BundleContext context) +59
   System.Web.Optimization.BundleResolver.GetBundleContents(String virtualPath) +213
   System.Web.Optimization.AssetManager.DeterminePathsToRender(IEnumerable`1 assets) +408
   System.Web.Optimization.AssetManager.RenderExplicit(String tagFormat, String[] paths) +34
   Kentico.PageBuilder.Web.Mvc.PageBuilderAssetsProvider.GetPageComponentsAdminScriptBundleTag() +157
   Kentico.PageBuilder.Web.Mvc.HtmlHelperExtensions.PageBuilderScriptsInternal(ExtensionPoint`1 instance, IAllowedDomainsRetriever retriever, IComponentLocalizationService localizationService) +798
   ASP._Page_Views_Shared_WebPage_cshtml.<Execute>b__3_1() in C:\inetpub\wwwroot\staff-k12\Staff\Views\Shared\WebPage.cshtml:8
   System.Web.WebPages.<>c__DisplayClass7.<RenderSection>b__5(TextWriter tw) +414
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +108
   ASP._Page_Views_Shared_Layouts_Page_cshtml.<Execute>b__3_1() in C:\inetpub\wwwroot\staff-k12\Staff\Views\Shared\Layouts\Page.cshtml:12
   System.Web.WebPages.<>c__DisplayClass7.<RenderSection>b__5(TextWriter tw) +414
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +108
   ASP._Page_Views_Shared_Layouts_PageOuter_cshtml.Execute() in C:\inetpub\wwwroot\staff-k12\Staff\Views\Shared\Layouts\PageOuter.cshtml:27
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122
   System.Web.WebPages.<>c__DisplayClass3.<RenderPageCore>b__2(TextWriter writer) +309
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +108
   System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +89
   System.Web.WebPages.WebPageBase.PopContext() +310
   System.Web.WebPages.<>c__DisplayClass3.<RenderPageCore>b__2(TextWriter writer) +309
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +108
   System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +89
   System.Web.WebPages.WebPageBase.PopContext() +310
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +378
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +91
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +793
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +793
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +793
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81
   System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +188
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
   System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +32
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
   System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +46
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +651
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134

Hi @rkeitel,
Thank you for the issue report. It is caused indeed by the .NET bundler's minification feature.
Disabling the minification and bundling .NET feature is a possible workaround for now.
BundleTable.EnableOptimizations = false
We'll try to address the issue as soon as possible.

Hi,
Thank you for the quick response. Sadly your workaround doesn't work :-(.

That is strange, this line of code should disable the bundler together with the minifier.
Did you place it into the Global.asax.cs into the Application_Start method?

Yes, I did.

Do you have another idea?

I am afraid we would need backups of your project and database to further investigate it.
To use our FTP, please follow these instructions:
Compress the backup files to a ZIP archive using WinZip or 7-zip. If the ZIP file(s) are larger than 150 MB, you can split them into smaller files so that you can simultaneously upload more than one file. If there are many physical files that are not related to this issue (typically media files), feel free to remove them from the backup.
Connect using a client like FileZilla to the nearest server and the credentials below:
Western Europe: EU-west.ftp.kentico.com
U.S. East Coast: US-east.ftp.kentico.com
Username: kentico
Password: kenti38Co
Create a new folder on the FTP server using e.g. your nickname for the folder name. Make sure to enter the name when you create the folder, since for security reasons you are not allowed to modify folder names. If you make a mistake, just make a new folder and let us know.
Upload the ZIP file(s) into that folder and let us know when you are finished and what folder you used.
Thank you!

Hi,
sadly I cannot successfully connect to your FTP. I uploaded the files to my business OneDrive, there are no sensitive data:

Source code ZIP
Database backup file

I configured a new Kentico test project and install this NuGet package, there all is working fine. But I couldn't figure out, why it is not working in my project :-(

Hi @rkeitel, thank you for the backups I was able to reproduce the issue on your solution. I'll get back to you as soon as I'll have more info.

Thanks, now it is working :-)


Alwayson High availability Group deployment via Visual Studio

When i am trying to deploy Dacpac on always on high availability group  sql server 2016 i am getting following errors.
.Net SqlClient Data Provider: Msg 1468, Level 16, State 1, Line 5 The operation cannot be performed on database "Database" because it is involved in a database mirroring session or an availability group.  Some operations are not allowed on a database that is participating in a database mirroring session or in an availability group.
IF EXISTS (SELECT 1
FROM   [master].[dbo].[sysdatabases]
WHERE  [name] = N'$(DatabaseName)')
BEGIN
ALTER DATABASE [$(DatabaseName)]
SET PAGE_VERIFY NONE,
DISABLE_BROKER
WITH ROLLBACK IMMEDIATE;
END
How to deploy to high availability group using winRM in on-prem SQL servers.

In Primary server i have DB dbo access where as in fail-over server has read only access.

@Ramakoteswarudu Thank you for the feedback. Can you let me know which article this feedback is for, so I can assign it to the author? You can reply here with the URL of the topic, or you can create a new issue by browsing to the topic on docs.microsoft.com and choosing Content feedback at the bottom.

I'm closing this issue since it is not associated with a topic. To continue the discussion, please open a new issue that is associated with a topic by browsing to the topic on docs.microsoft.com and choosing Content feedback at the bottom. Thank you for your feedback.


.gitignore improvement

Super tiny change. Just wanted to add just a tiny changes to gitignore so that people like me that work with jetbrains IDE do not have to suffer. :smile:

Pull Request Test Coverage Report for Build 408

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 26.841%

Totals

Change from base Build 404:
0.0%

Covered Lines:
1126

Relevant Lines:
4195

💛  - Coveralls


ActiveModel::RangeError in UserSiteSettingsController#create

If you input a high enough number when changing max_flags it fails:
"%input% is out of range for ActiveModel::Type::Integer with limit 4 bytes"
Extracted source (around line #40):
    @preference.site_ids = params[:user_site_setting][:sites]

    if @preference.save
      flash[:success] = 'Saved your preferences.'
      redirect_to url_for(controller: :user_site_settings, action: :index)
    else

Rails.root: /var/railsapps/metasmoke/releases/20200103021727
Trace: app/controllers/user_site_settings_controller.rb:40:in `create'

Declined: that's a 32-bit integer, i.e. max of<PHONE_NUMBER>. There's no reason to go anywhere north of 100 in that field, let alone that high.


ComosDB Emulator does not start on machine

When I run the local emulator, I just get the notification that it's starting and then it shows me this:

In Event Viewer I get this:

Application: DocumentDB.GatewayService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
at Microsoft.Azure.Documents.Azure.GatewayService.GatewayHost.Main()

Application: DocumentDB.StartupEntryPoint.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
at Microsoft.Azure.Documents.Services.ServiceStartupEntryPoint.ServiceStartupEntryPoint.Main(System.String[])

Any ideas what could be going wrong?

did you try the following command in the troubleshooting guide ?
If you experience crashes in CosmosDB.StartupEntryPoint.exe, run the following command from an admin command prompt: lodctr /R


Where is the example?

I came here from https://github.com/flutter/samples/tree/master/isolate_example, which says, "If you run into an issue with the sample itself, please file an issue in the main Flutter repo."
My issue is that I can't find the example of isolates, which I'd like to see.  I came here from the "isolates example link" at https://dart.dev/guides/language/language-tour#isolates . Documentation could be a bit clearer for newcomers.

I'm also a newcomers, I see examples in:
https://github.com/flutter/samples/blob/master/isolate_example/lib/page_three.dart
in line 86

@David263 the whose repo is the example, do you search for something specific?

Hello @David263 !
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
P.S. If anyone still experience the same problem, please file a new issue with the information required in the template.
All system setups can be slightly different so it’s always better to open new issues and reference related issues.


[PoC][WIP] Support for multiple composer projects

I am hacking together proof of concept for multiple composer channels. take a look

This change is

I think just reset the composer root and restart phpcd is enough. I do this in https://github.com/phpvim/phpcd.vim/pull/25, and it works well.

it won't work for me. #25 assumes i will work with single project at a time, closing one and opening another. While i tend to have 3-4 in parallel. Each module as separate project.

Even though there should not make a separate php process for each module project, because we could not work true parallel.

For what i can see processes should be separate since both phpcd and phpid are very specific to single composer project.

it got too diverged and and current impl works, closing

I am not currently working with php or using phpcd/neovim. Until I get my productivity back or until I get back to php i don't expect to work on this issue. So, probably, not for another month or so.


Cannot import cell2location

Dear cell2location team,
I am trying to do analyze Visium data I have but I can't successfully import the library. I am running the following code:
import os
os.environ["THEANO_FLAGS"] = 'device=cuda,floatX=float32,force_device=True
import cell2location

But I am getting the following error:
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Input In [6], in <cell line: 3>()
      1 import os
      2 os.environ["THEANO_FLAGS"] = 'device=cuda,floatX=float32,force_device=True'
----> 3 import cell2location

File ~/miniconda3/lib/python3.9/site-packages/cell2location/__init__.py:5, in <module>
      2 from pyro.distributions.transforms import SoftplusTransform
      3 from torch.distributions import biject_to, transform_to
----> 5 from .run_c2l import run_cell2location
      6 from .run_colocation import run_colocation
      7 from .run_regression import run_regression

File ~/miniconda3/lib/python3.9/site-packages/cell2location/run_c2l.py:18, in <module>
     15 import scipy
     16 import theano
---> 18 import cell2location.models as models
     19 import cell2location.plt as c2lpl
     20 from cell2location.cluster_averages import compute_cluster_averages, select_features

File ~/miniconda3/lib/python3.9/site-packages/cell2location/models/__init__.py:1, in <module>
----> 1 from ._cell2location_model import Cell2location
      2 from .downstream import CoLocatedGroupsSklearnNMF
      3 from .pymc3.LocationModelLinearDependentWMultiExperimentLocationBackgroundNormGeneAlpha import (
      4     LocationModelLinearDependentWMultiExperimentLocationBackgroundNormGeneAlpha,
      5 )

File ~/miniconda3/lib/python3.9/site-packages/cell2location/models/_cell2location_model.py:11, in <module>
      9 from pyro import clear_param_store
     10 from pyro.nn import PyroModule
---> 11 from scvi import _CONSTANTS
     12 from scvi.data._anndata import get_from_registry
     13 from scvi.model.base import BaseModelClass, PyroSampleMixin, PyroSviTrainMixin

ImportError: cannot import name '_CONSTANTS' from 'scvi' (/Users/elisulvarang/miniconda3/lib/python3.9/site-packages/scvi/__init__.py)

I do have scvi-tools installed, this is the output when I run print(scvi.__version__):
0.15.4
Same thing with pyro: print(pyro.__version__)
1.8.0
I do not get any errors when I want to import any of these two libraries.
And this is the output when I run python -V:
Python 3.9.7
Thanks!

Hi @elisulvaran
Please make sure that you install cell2location as described in README https://github.com/BayraktarLab/cell2location#installation and follow the latest tutorial https://cell2location.readthedocs.io/en/latest/notebooks/cell2location_tutorial.html. It could help to create a clean conda environment by following those installation steps and theano options are no longer relevant. The error you observe originates from a version mismatch between cell2location and scvi-tools which should go away if you recreate conda environemnt.

Also good to try this solution https://github.com/BayraktarLab/cell2location/issues/142#issuecomment-1100842578


Fix heroku deployment

Fixes # .
Overview
Changed fetch request from localhost to be variable based on url
Data Model / DB Schema Changes
<N/A if no changes>
Environment / Configuration Changes
<N/A if no changes>
Notes

@jaycribas took your suggestion. trying it on staging now.


Type cast is failing to check when there is more than 1 object in array

Acknowledgement

[X] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

Comment
I couldn't find anything like that on the internet, so I'm not even sure if it's a bug, a feature request or something else, please advise.
Examples:
type Item = { id: 'Row' | 'Column' }
type Menu = {
    menu: readonly Item[]
}

const worksVar: Menu = {
    menu: [{ id: '' }, { id: 'Row' }] // Type '""' is not assignable to type '"Row" | "Column"'
}

const kindaWorksVar = {
    menu: [{ id: '' }] // Type '""' is not assignable to type '"Row" | "Column"'
} as Menu

const notWorksVar = {
    menu: [{ id: '' }, { id: 'Row' }] // Doesn't care
} as Menu

Link to Typescript playground
Why do I need type cast?
I'm having a big configuration object that has a lot of objects and props inside. Since it's tedious to list every possible key in type I'm using <const>, so Typescript is expecting and suggesting exactly those keys, but I also want to ensure that the configuration meets the described shape — so it's assured that the configuration wasn't accidentally broken and bug will be detected before going into production.
Example of my configuration object:
type Configuration = {...}

export default <const>{
  key1: {...} as Configuration,
  key2: {...} as Configuration,
  key3: {
    key1: {...} as Configuration
  },
  ...
};

Is it possible to have everything as constant and control the shape with types?
### Tasks

You probably want to use satisfies here instead of as: TS Playground

as is a type assertion, it's basically "Trust me, it's actually this type here, even if you don't think so".  While TS tries to reject "obviously wrong" casts, it's still unsafe by design (e.g. stuff like animal as Dog is allowed since the types are related).
satisfies properly checks for assignability, which seems to be what you intended to do here.

For the record this has nothing to do with how many items the array has; the one that's not an error is simply because it has an entry in common with the type.  If all the values are non-matching, you get an error again:
const alsoWorksVar = {
    menu: [{ id: '' }, { id: 'foo' }] // error again
} as Menu

Basically, X as Y succeeds if X is related to Y.  I don't know the exact criteria for what's considered "related" though, but it's a much weaker check than assignability.

@fatcerberus Thank you very much, I've completely forgotten about satisfies!


HDFS-16157. Support configuring DNS record to get list of journal nodes.

NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute

LGTM. Let's wait for some time if others have some comments. @Hexiaoqiao FYI. We are doing this in a series to help reducing the dependency on a single host name.

Thanks @LeonGao91 and @fengnanli . It is great improvement here. Just some nits here,
a. We should put the new configuration item to hdfs-default.xml.
b. If enable this feature, DNS Resolver has to support resolve multiple hostnames from one domain name, right? Just suggest add some note to HDFSHighAvailabilityWithQJM.md.
Thanks.

thanks for the review @fengnanli @Hexiaoqiao ! will make the change accordingly.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  7s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
markdownlint
0m  1s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
12m 30s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
23m  6s

trunk passed

+1 :green_heart:
compile
22m 50s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
19m 33s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
3m 56s

trunk passed

+1 :green_heart:
mvnsite
3m  3s

trunk passed

+1 :green_heart:
javadoc
2m  6s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
3m 15s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
5m 47s

trunk passed

+1 :green_heart:
shadedclient
19m 21s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 50s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 17s

the patch passed

+1 :green_heart:
compile
22m 17s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
22m 17s

the patch passed

+1 :green_heart:
compile
19m 29s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
19m 29s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
3m 52s
/results-checkstyle-root.txt
root: The patch generated 3 new + 245 unchanged - 0 fixed = 248 total (was 245)

+1 :green_heart:
mvnsite
3m  1s

the patch passed

+1 :green_heart:
xml
0m  2s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
2m  4s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
3m  7s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
6m 12s

the patch passed

+1 :green_heart:
shadedclient
19m 32s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
16m 57s

hadoop-common in the patch passed.

-1 :x:
unit
360m 51s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 59s

The patch does not generate ASF License warnings.

576m 40s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.ha.TestEditLogTailer

hadoop.hdfs.server.namenode.TestDecommissioningStatusWithBackoffMonitor

hadoop.hdfs.server.namenode.TestDecommissioningStatus

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3284/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3284

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell xml markdownlint

uname
Linux 717662c223d8 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 0d2242f0369b82d5523aed163def02fe7123f6d7

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3284/2/testReport/

Max. process+thread count
2016 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3284/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  0s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
markdownlint
0m  1s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
12m 32s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
23m  4s

trunk passed

+1 :green_heart:
compile
22m 47s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
19m 37s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
3m 53s

trunk passed

+1 :green_heart:
mvnsite
3m  4s

trunk passed

+1 :green_heart:
javadoc
2m  7s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
3m 12s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
5m 50s

trunk passed

+1 :green_heart:
shadedclient
19m 13s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 21s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 11s

the patch passed

+1 :green_heart:
compile
22m 14s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
22m 14s

the patch passed

+1 :green_heart:
compile
19m 28s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
19m 28s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
3m 49s
/results-checkstyle-root.txt
root: The patch generated 1 new + 245 unchanged - 0 fixed = 246 total (was 245)

+1 :green_heart:
mvnsite
3m  1s

the patch passed

+1 :green_heart:
xml
0m  2s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
2m  5s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
3m 10s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
6m  8s

the patch passed

+1 :green_heart:
shadedclient
19m 25s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
17m  1s

hadoop-common in the patch passed.

-1 :x:
unit
367m 50s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 59s

The patch does not generate ASF License warnings.

582m 51s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.ha.TestEditLogTailer

hadoop.hdfs.server.datanode.TestBlockScanner

hadoop.hdfs.TestSnapshotCommands

hadoop.hdfs.server.diskbalancer.command.TestDiskBalancerCommand

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3284/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3284

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell xml markdownlint

uname
Linux e5548063a24e 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 22d1a5612571e3defabc64fc2b054aca4a4dc66d

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3284/3/testReport/

Max. process+thread count
3143 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3284/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  8s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
markdownlint
0m  0s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
12m 41s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
23m 25s

trunk passed

+1 :green_heart:
compile
23m  7s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
20m 48s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
3m 53s

trunk passed

+1 :green_heart:
mvnsite
3m 10s

trunk passed

+1 :green_heart:
javadoc
2m  8s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
3m 13s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
5m 51s

trunk passed

+1 :green_heart:
shadedclient
19m 25s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 23s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 14s

the patch passed

+1 :green_heart:
compile
22m 24s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
22m 24s

the patch passed

+1 :green_heart:
compile
21m  1s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
21m  1s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
4m 27s

the patch passed

+1 :green_heart:
mvnsite
4m  0s

the patch passed

+1 :green_heart:
xml
0m  2s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
2m 39s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
3m 25s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
6m 14s

the patch passed

+1 :green_heart:
shadedclient
19m 37s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
17m 14s

hadoop-common in the patch passed.

-1 :x:
unit
364m  0s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 59s

The patch does not generate ASF License warnings.

586m 45s

Reason
Tests

Failed junit tests
hadoop.hdfs.tools.TestDFSAdminWithHA

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3284/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3284

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell xml markdownlint

uname
Linux 9ae600bda287 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 376eba3da73e2a8def032736312a444e0166f175

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3284/4/testReport/

Max. process+thread count
3143 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3284/4/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


Ability to tile Terminal Area Charts with Sectional charts

I was wondering if this was possible at zoom levels above 9 or some other values. I copied the tiles on top of the ones from Sectional and it works but they have a grey border because they aren't stitched together I assume

My chartserver app uses OpenLayers as the rendering engine and I added a menu that allows me to select charts by type. When I process the full US sectional chart and the Terminal Area charts, the app puts the TA charts as a overlay layer, so they seamlessly overlay the sectional.  I think that is pretty much exactly what you are going for... Are you using leaflet for the map rendering?

Actually, that gives me an idea... maybe I can split out the individual TA charts into separate mbtiles db's

I am using leaflet. No way will I convert over to OpenLayers at this point it would be a total struggle with all the code I've written for Leaflet

Are you using mbtiles databases for leaflet, or filesystem?

Here's a Chicago terminal chart overlaying the US Sectional chart.  If this can be done in OL, there's got to be some way to do it in Leaflet...

I figured it out

Milwaukee has a TAC, but its not like the others. I'm not sure how they extract that one.
Here is a screenshot from vfrmap.com

Picking out an inset off the main area chart is probably a little too challenging at the moment...  also FYI, I'm implementing the US VFR Planning Chart as # 53 in the list of individual charts.

On second thought, I could make a list of any area charts that have an inset feature on the side, and implement a new process that clips off everything but the inset...  ???

I was digging around wondering how they did it. Someone must have some clipshapes already made for it

They're pretty easy to create in QGis - once you get the process down... let me know what you want and I'll make them

After too much time looking into these insets - I find they are not geo-referenced to the main chart, plus their scaling is 1/2 of the scale of the main chart.  I think the ability to zoom on the main chart kinda makes an inset a moot point, plus I have no idea how to properly geo-reference it. When I made a shape file for the Indianapolis inset on the St Louis chart and clipped it, produced a Indianapolis.db file, it comes out on the OSM map right where it was physically on the St Louis chart.  Maybe some future release, but right now I think the proper way to handle this would be a simple PNG or WEBP of the inset and when clicking on the major airport in the main map, have the inset image pop up.
Since this issue was about overlaying terminal charts and that is working, I'm closing this issue.


Added meetup stub to meetup exercise folder.

Added meetup stub to meetup exercise folder.

Closed in favour of #748


Typo "Azure notebooks"→"Azure Notebooks"

https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-machine-learning-edge-04-train-model

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good.


Update PowerShell instructions with correct syntax

Describe the bug
https://docs.microsoft.com/en-us/partner-center/revoke-reinstate-csp
Step 5 instructs readers to use:
New-AzureRoleAssignment
This results in the following PowerShell error:
New-AzureRoleAssignment : The term 'New-AzureRoleAssignment' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.

To Reproduce
Steps to reproduce the behavior:

Open PowerShell and sign-in to Azure using Connect-AzAccount
Try to use New-AzureRoleAssignment

Expected behavior
The correct command is: New-AzRoleAssignment
as referenced here: https://docs.microsoft.com/en-us/powershell/module/az.resources/new-azroleassignment?view=azps-5.0.0
Desktop

OS: Windows 10
Client: PowerShell
Version: 5.1.19041.546

@vthn Please move this issue to https://github.com/MicrosoftDocs/partner-center-docs-powershell/issues

@vthn Please move this issue to https://github.com/MicrosoftDocs/partner-center-docs-powershell/issues

That's the Partner Center PowerShell module documentation, but the issue was related to the general Partner Center docs. I believe the repo for those docs is private.
At any rate, it looks to be resolved in the current version (November 11, 2021).


HTTPError when trying to use CoreNLPParser with multiprocessing

I'm using from nltk.parse.corenlp import CoreNLPParser for POS. To try and speed it up I thought I'd try and use multiprocessing. So I create the parser parser = CoreNLPParser(url='http://localhost:9000', tagtype='pos') and use multiprocessing.Pool.map where I pass a list of files and a partial of a function which processes each file (with the parser in the partial).
Unfortunately after running for a bit (maybe 30min using ~20 threads), it always crashes with
  File "/usr/local/lib/python3.5/dist-packages/nltk/parse/corenlp.py", line 382, in tag
    return self.tag_sents([sentence])[0]
  File "/usr/local/lib/python3.5/dist-packages/nltk/parse/corenlp.py", line 361, in tag_sents
    return [sentences[0] for sentences in self.raw_tag_sents(sentences)]
  File "/usr/local/lib/python3.5/dist-packages/nltk/parse/corenlp.py", line 361, in <listcomp>
    return [sentences[0] for sentences in self.raw_tag_sents(sentences)]
  File "/usr/local/lib/python3.5/dist-packages/nltk/parse/corenlp.py", line 401, in raw_tag_sents
    tagged_data = self.api_call(sentence, properties=default_properties)
  File "/usr/local/lib/python3.5/dist-packages/nltk/parse/corenlp.py", line 257, in api_call
    response.raise_for_status()
  File "/home/seni/.local/lib/python3.5/site-packages/requests/models.py", line 935, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:9000/?properties=%7B%22outputFormat%22%3A+%22json%22%2C+%22ssplit.isOneSentence%22%3A+%22true%22%2C+%22annotators%22%3A+%22tokenize%2Cssplit%2Cpos%22%7D

What could be going wrong?

Check the console output of the CoreNLP server. It might be an exception on
that side, as it returns the 400 error code.
On Wed, Nov 14, 2018, 7:34 AM Rudolf A. Braun<EMAIL_ADDRESS>wrote:

I'm using from nltk.parse.corenlp import CoreNLPParser for POS. To try
and speed it up I thought I'd try and use multiprocessing. So I create the
parser parser = CoreNLPParser(url='http://localhost:9000', tagtype='pos')
and use multiprocessing.Pool.map where I pass a list of files and a
partial of a function which processes each file (with the parser in the
partial).
Unfortunately after running for a bit (maybe 30min using ~20 threads), it
always crashes with
File "/usr/local/lib/python3.5/dist-packages/nltk/parse/corenlp.py", line 382, in tag
return self.tag_sents([sentence])[0]
File "/usr/local/lib/python3.5/dist-packages/nltk/parse/corenlp.py", line 361, in tag_sents
return [sentences[0] for sentences in self.raw_tag_sents(sentences)]
File "/usr/local/lib/python3.5/dist-packages/nltk/parse/corenlp.py", line 361, in
return [sentences[0] for sentences in self.raw_tag_sents(sentences)]
File "/usr/local/lib/python3.5/dist-packages/nltk/parse/corenlp.py", line 401, in raw_tag_sents
tagged_data = self.api_call(sentence, properties=default_properties)
File "/usr/local/lib/python3.5/dist-packages/nltk/parse/corenlp.py", line 257, in api_call
response.raise_for_status()
File "/home/seni/.local/lib/python3.5/site-packages/requests/models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url:
Why does this happen?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nltk/nltk/issues/2178, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2D9zD0IkEBtw4hg8uAVnoqsEo4lcsLks5uvA3UgaJpZM4Ydpv7
.

java.io.IOException: Broken pipe
        at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
        at sun.nio.ch.IOUtil.write(IOUtil.java:65)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
        at sun.net.httpserver.Request$WriteStream.write(Request.java:391)
        at sun.net.httpserver.FixedLengthOutputStream.write(FixedLengthOutputStream.java:78)
        at java.io.FilterOutputStream.write(FilterOutputStream.java:97)
        at sun.net.httpserver.PlaceholderOutputStream.write(ExchangeImpl.java:439)
        at edu.stanford.nlp.pipeline.StanfordCoreNLPServer$CoreNLPHandler.handle(StanfordCoreNLPServer.java:883)
        at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
        at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
        at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
        at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
        at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
        at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

Maybe, the load is to high to the server. Would decreasing the number of
concurrent requests help? Or increasing the timeout on the server? Or
givinng more memory to the Java virtual machine?
Also, I would have as many threads in your script as you have cpu cores (or
one less, so you still could use your machine without delays).
On Wed, Nov 14, 2018, 7:52 AM Rudolf A. Braun<EMAIL_ADDRESS>wrote:

java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
at sun.net.httpserver.Request$WriteStream.write(Request.java:391)
at sun.net.httpserver.FixedLengthOutputStream.write(FixedLengthOutputStream.java:78)
at java.io.FilterOutputStream.write(FilterOutputStream.java:97)
at sun.net.httpserver.PlaceholderOutputStream.write(ExchangeImpl.java:439)
at edu.stanford.nlp.pipeline.StanfordCoreNLPServer$CoreNLPHandler.handle(StanfordCoreNLPServer.java:883)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nltk/nltk/issues/2178#issuecomment-438651504, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA2D943fvhwYTLUKG2vy391-bTqQPFbwks5uvBIYgaJpZM4Ydpv7
.

Still crashes when just using 5 processes (I have 16 cores) and setting Xmx to 26G...

What is the longest sentence length in your dataset?


Add support for KMS and keystore signers in Relay

Extend the current signer flags to accept different kinds of signers, like AWS KMS and keystore signers.
Note that these flags should be mutually exclusive, e.g. if I pass --secret-key, I cannot also enable AWS KMS.
Depends on #90

https://docs.rs/alloy/latest/alloy/signers/aws/struct.AwsSigner.html
https://docs.rs/alloy/latest/alloy/signers/aws/struct.AwsSigner.html#impl-TxSigner<PrimitiveSignature>-for-AwsSigner
https://docs.rs/alloy/latest/alloy/signers/aws/struct.AwsSigner.html#impl-Signer-for-AwsSigner
https://docs.rs/alloy/latest/alloy/network/trait.TxSigner.html
https://docs.rs/alloy/latest/alloy/signers/trait.Signer.html

just dumping these for vis

Sure! Some inspiration here: https://github.com/init4tech/builder/blob/375d976c112f0a7e6de0d4c9790166805bcc1e92/src/signer.rs#L52


Data import tool performs poorly with large numbers of messages containing links to attachments

I had the interesting experience today of doing a data import for an organization with O(500K) messages and having it take like 50 times as long as one would have expected based on the message count.   It turned out the issue is that this organization had O(500K) uploaded files, and most messages refer to an uploaded file.  There are two phases that are slow:
(1) Importing the attachments themselves to S3 -- this is a classic case for parallelization.  In the manage.py convert / download phase, I ran with 24x parallelism, and it made a huge difference.  But for the manage.py import phase, uploading those files took 4 hours with the 450K message import, and could easily have been O(10 minutes) if we were able to run with 24x parallelism (At least, I think basically all the time is likely just the network latency for a single upload repeated 450K times).
(2) Markdown rendering for messages containing links.  Here's a log from the import process, which shows that basically all the time gets spent in the markdown rendering phase:
2018-12-01 15:54:59.722 INFO [] Successfully rendered markdown for message batch
2018-12-01 15:55:00.088 INFO [] Successfully imported <class 'zerver.models.Message'> from zerver_message.
2018-12-01 15:55:01.251 INFO [] Successfully imported <class 'zerver.models.UserMessage'> from zerver_usermessage[83].
2018-12-01 15:55:01.302 INFO [] Importing message dump messages-000084.json
2018-12-01 15:58:56.320 INFO [] Successfully rendered markdown for message batch
2018-12-01 15:58:56.666 INFO [] Successfully imported <class 'zerver.models.Message'> from zerver_message.
2018-12-01 15:58:57.871 INFO [] Successfully imported <class 'zerver.models.UserMessage'> from zerver_usermessage[84].
2018-12-01 15:58:57.924 INFO [] Importing message dump messages-000085.json
2018-12-01 16:02:53.603 INFO [] Successfully rendered markdown for message batch
2018-12-01 16:02:54.082 INFO [] Successfully imported <class 'zerver.models.Message'> from zerver_message.
2018-12-01 16:02:55.274 INFO [] Successfully imported <class 'zerver.models.UserMessage'> from zerver_usermessage[85].
2018-12-01 16:02:55.394 INFO [] Importing message dump messages-000086.json
2018-12-01 16:06:42.725 INFO [] Successfully rendered markdown for message batch

As you can see, we're spending ~240s to render a message batch of 1000 messages, which is like 250ms each!  To be honest, that seems really high; as useful comparison is that sending a random message in the zulip webapp containing a link only takes about 50ms all-included.
There are a few natural options for fixing that:
(A) Just profile + optimize the markdown processor runtime itself when called in this context.  It seems like there's a factor of ~5 available here if we can figure out why markdown rendering is so much slower here than when normally sending messages.
(B) Parallelize the message import phase.  This may be somewhat challenging, because at present, we allocated message IDs to each batch of messages as it is is loaded, so doing multiple batches in parallel could be hard, but I think we could potentially fork N threads on each message batch (one for each 1/N of the batch) for calling fix_message_rendered_content, which is where all the work is happening.
(C) Move markdown rendering for messages containing links to a separate post-processing phase that runs after the main import finishes.  This is a kinda annoying refactor in several ways, since it adds more database queries, but would allow us to parallelize this phase easily (Also, the organization is available for use even if markdown rendering is not complete).
@showell FYI, I'd love your thoughts on this, since you did the last batch of performance work on our import tool.

As you can see, we're spending ~240s to render a message batch of 1000 messages, which is like 250ms each!

Between "Importing message dump" and "Successfully rendered markdown for message batch" there are 3 re_map_foreign_keys, fix_datetime_fields, fix_upload_links, fix_message_rendered_content that might cause the 5x slowdown instead of the rendering itself. I will test profile with kernprof later.

Those operations should all be fast (and they are for messages without lots of attachments).  We should just add logging statements to confirm where the time is.

Dropping the priority, since we haven't had an actual problem with this in years, and I am aware of some profiling-driving optimizations to the markdown processor since then.


Github action: Enable unittest on MACOS

Different behavior between gcc and clang could cause unittest fail on one platform while succeed on the other.
Enable unittest for MACOS to catch this issue.

Fix by #490


Initial seeds disappears after running the seed:migrate

Issue

Initial seeds are contained in the seeds.rb. The code were contained inside the ActiveRecord::Base.transaction do and end
When ran the rake seed:migrate, it did the migration, it added the timestamp like the following SeedMigration::Migrator.bootstrap(20170309193307). However, it has removed all the seed code from the file. There were no reference to these initial contents anymore.
When I try to run the rake db:reset, then rake seed:migrate, the it doesn't pull the data back anymore.

Hi,
Sorry for the late reply, I don't exactly know what I changed but I apparently muted the notifications from this repo by mistake and didn't notice new issues opened in the last 6 months. Sorry about that.
Thanks for the bug report. I don't have a lot of time so I doubt that I'll get a chance to work on a fix but feel free to open a PR. I'll happily review it.

Closing in favor of #51


Timezone not returned with queryRaw for timetz data type

Bug description
When you do a raw query for some data that is typed timetz, the data you get back does not have the timezone included.
Here is the raw query against the database:
devidgmefdn94u=> select * from classes;
 id | day_of_week | class_time  | instructor | class_type | virtual
----+-------------+-------------+------------+------------+---------
 19 |           5 | 11:30:00+00 |          3 |          7 | t
 20 |           5 | 11:30:00+00 |          3 |          7 | t
 48 |           1 | 12:00:00-05 |          3 |          5 | t

Here is the code that I'm executing:
    // const data = await prisma.$queryRaw<classes[]>`select * from classes;`
    const data = await prisma.$queryRaw`select * from classes;`
    console.log(data)

The output of that code is this:
[
  {
    id: 19,
    day_of_week: 5,
    class_time: '11:30:00',
    instructor: 3,
    class_type: 7,
    virtual: true
  },
  {
    id: 20,
    day_of_week: 5,
    class_time: '11:30:00',
    instructor: 3,
    class_type: 7,
    virtual: true
  },
  {
    id: 48,
    day_of_week: 1,
    class_time: '12:00:00',
    instructor: 3,
    class_type: 5,
    virtual: true
  }
]

As you can see, the class_time here has its timezone stripped out at some point in this process.
How to reproduce
You can use the following SQL to reproduce the code I have above:
CREATE TABLE instructors (
    id serial,
    name text unique not null,
    image_url text unique not null,
    PRIMARY KEY (id)
);

CREATE TABLE class_types (
    id serial,
    name text not null,
    description text not null,
    duration integer not null,
    image_url text,
    PRIMARY KEY (id)
);

CREATE TABLE classes (
    id serial,
    day_of_week integer not null,
    class_time timetz not null,
    instructor integer not null,
    class_type integer not null,
    virtual boolean default true,
    PRIMARY KEY (id),
    FOREIGN KEY (instructor) REFERENCES instructors (id) ON DELETE cascade,
    FOREIGN KEY (class_type) REFERENCES class_types (id)
);

Expected behavior
Include the zone in the returned string e.g. 12:00:00-05 or 11:30:00+00
Prisma information

Environment & setup

OS: Mac OS
Database:

Client: Postgres 13.3
Server:  PostgreSQL 12.7 (Ubuntu 12.7-1.pgdg16.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609, 64-bit

Node.js version: v12.22.1

Prisma Version
prisma               : 2.25.0
@prisma/client       : 2.25.0
Current platform     : darwin
Query Engine         : query-engine c838e79f39885bc8e1611849b1eb28b5bb5bc922 (at node_modules/@prisma/engines/query-engine-darwin)
Migration Engine     : migration-engine-cli c838e79f39885bc8e1611849b1eb28b5bb5bc922 (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine : introspection-core c838e79f39885bc8e1611849b1eb28b5bb5bc922 (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary        : prisma-fmt c838e79f39885bc8e1611849b1eb28b5bb5bc922 (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash : c838e79f39885bc8e1611849b1eb28b5bb5bc922
Studio               : 0.402.0

I can reproduce this, thanks for the detailed reproduction.


ECCurve uses equal(=) sign internally instead of the Equal function

Hi guys,
I was wondering why the Equal function in the math/ec/ECCurve.java is never used in the ECCurve.java itself.
I'm importing some (decoded) points and the curve object is somehow not the same object as in the ECPoint's. However, the curve is the same curve and the Equal function evaluates to true. But this line uses a plain equal sign instead, and of course, the Java objects are not the same. The other instance is here.
Is there any reason for that? Or it's some sort of a mistake?
Cheers!

It's not a mistake. ECCurve methods taking existing ECPoint instance(s) are intended to be used only on points actually created by the specific ECCurve instance. If you are unsure of the provenance of an ECPoint instance, you can use ECAlgorithms.importPoint to recreate it (if necessary) on the actual ECCurve you are using. However I would probably advise to work with byte encodings in your APIs to avoid this issue.
It's not really a common problem, so I am curious how you are getting points from different curve instances. If you can show some code, it may be that I would see some simpler problem with it.

Hi Peter, thanks for your response and the suggestion.
I would like to share my code from our (prototype) project; however, the codebase is quite chaotic. So I grabbed the relevant nuggets in a small repository for you. The following line evaluates to true:
Assert.check(q.getCurve().equals(domainParams.getCurve()));
Anyways, your suggestion to use ECAlgorithms.importPoint fixed my problem. It's commented in the code. When I uncomment it, it will be fine.

@emad7105 I took a quick look at your example. I suggest replacing this method:
    private static ECDomainParameters createECDomainParams(String curve) {
        X9ECParameters ecp = CustomNamedCurves.getByName(curve);
        if (ecp == null)
        {
            ecp = ECNamedCurveTable.getByName(curve);
        }

        ASN1ObjectIdentifier oid = ECNamedCurveTable.getOID(curve);
        return new ECNamedDomainParameters(oid, ecp);
    }

By using ECNamedDomainParameters, the encoded keys will identify their curve using a standard OID instead of explicitly specifying the curve parameters. Thus, when parsing, the OID is recognized and the global curve looked up instead of a new ECCurve instance being created.
CustomNamedCurves has optimized code for many popular curves (including this one) that is many times faster than the implementation you would get from SECNamedCurves (or this better fallback of ECNamedCurveTable).
You should still use importPoint since it will validate that the encoded point is actually for the expected curve.


Adding a function to access specific member of the state

Right now to access a deep member of the state while keeping immutability looks like :
const actions = store => ({
  setSpecificValue: state => value => ({
    ...state,
    specific: {
      ...specific,
      value
    }
  }),
});

it would simplify it more if we had some utility functions for us to use like this :
const actions = store => ({
  setSpecificValue: editStoreWithState('specific.value', (state) => (value) => value ),
  setSpecificValue: editStore('specific.value', (value) => value ),
});

What do you think ?

Just checket the reactz-tools repo, sorry for distrupt


run(filename, args) macro does not work with shard paths

Note: I'm encountering this in my Slang shard, at this line: https://github.com/jeromegn/slang/blob/master/src/slang/macros.cr#L2
It appears that the run macro can't find paths from shards, only relative paths.
When I'm working on it locally, I use a different path, a path relative to where the file I'm running resides.
For instance if I'm running it from my examples folder, I need to change the path to ../src/slang/process or else it bombs with:
expanding macro
in macro 'embed_slang' /Users/jgn/projects/jeromegn/slang/src/slang/macros.cr:1, line 1:

  1.   {{ run("slang/process", "basic.slang", "__slang__") }}

  {{ run("slang/process", "basic.slang", "__slang__") }}
     ^~~

error executing macro run: can't find file 'slang/process' relative to '/Users/jgn/projects/jeromegn/slang/examples'

I tried adding a symlink (examples/libs/slang as I was suggested to) but that didn't help.
I thought my code would work since this works: https://github.com/manastech/crystal/blob/938a083906057fb21c3ac0e64249527e5621746d/src/ecr/macros.cr#L2
But I think this might just work because of how Crystal resolves paths.
Any idea?

Hm, it seems to work if I change it to "slang/slang/process". It works with "ecr/process" because we have "src/ecr/process.cr". In your case it's more like "libs/slang/slang/process.cr" and it can't deduce that from just "slang/process".
I also tried changing it to this:
macro embed_slang(filename, io_name)
  {% process = "#{__DIR__}/process.cr" %}
  \{{ run({{process}}, {{filename}}, {{io_name}}) }}
end

but it doesn't work: run doesn't let you use absolute paths. Maybe it should. In that case __DIR__ is processed when the macro is invoked and has the directory where that macro is defined, so we can go from there to process.cr. That's the way it will always work, since it's a relative path, and we could do the same with ecr, but I'll need to fix that in the compiler.
That is, unless we find another way to do this...

Thanks, I updated my shard. Looks like this works! Great start.
Yes, if run could just check for a leading /, it would know not to try to resolve the path relatively.

@jeromegn This will be fixed in the next release. You'll be able to solve it with:
macro embed_slang(filename, io_name)
  \{{ run("{{__DIR__.id}}/process", {{filename}}, {{io_name}}) }}
end

__DIR__ will be expanded to the directory where that macro is defined, and if a process.cr file is in that directory, it will work. So it will work if used from a shard, or used via require "./src/slang".

BTW the Ruby like way of having library files under lib/slang isn't working great with Crystal and Shards. Files should be directly in src so when installed they'll be available as slang/process instead of slang/slang/process which is kind of repetitive.

@ysbaddaden How can we fix that? One idea we had was putting the src directory inside lib, so you'd end up with:

lib

slang

src

slang

process.cr

Then we also change how require works. If you do require "slang/process" it will also check slang/src/slang/process in CRYSTAL_PATH. If you do require "slang" then it will also check slang/src/slang, etc. A bit of this is described here, though I'm not sure I like that solution, but I'd use it if we don't come up with a better one.

I like that we don't have to mimic the rubygems convention of puting library files under a lib/name folder to "namespace" the files. I really prefer having files righ under src, the shard itself acts as the "namespace" (hey, cool).
The one thing that could change is for require "name/foo" to also look for libs/name/src/foo so Shards could link the shard root folder as libs/name instead of just its src directory. That could simplify a few things, and allow shards to have data outside the src folder.

@ysbaddaden If you want and have time, since you are the shards master, you can toy with how require is resolved. The logic is here. That way you can check different layouts for how shards are put inside the libs directory and check that require works for different uses cases. The current code is a bit messy, and it predates the powerful Dir.glob, so if you also find something to improve it's readability, it'll be very welcome :-)


[Feature request] Team members

It would be great to expand the buildkite_team resource and have something like buildkite_team_member
resource "buildkite_team_member" "my_team_member" {
  team_id  = buildkite_team.team.id
  username = "SomeUser"
  role     = "MEMBER"
}

Just adding on to this (please let me know if you'd prefer a separate feature request) - it'd be great if there were data sources available for buildkite_team. We're transitioning all our pipelines to be managed with Terraform and being able to use existing teams we've already setup via the UI would be awesome.

@bluemalkin we agree, we're keen on making it possible to manage team membership via terraform, probably via a distinct resource as you've suggested.
@mogggggg I reckon a dedicated GH issue would help keep your proposal visible. It's uncontroversial and a good idea - and it could be shipped with out without a resource for managing team membership.

Just to link things up. @mogggggg created ticket #139 to cover the buildkite_team data source


Revamp the third party deposit screen

Ours

versus theirs:

You don't need the disclaimer here and button to go back to std bridge. Let the user select the from chain back to Rollux to go back to std bridge.
If you choose another protocol it gives option to select token (just like withdrawal third party):

https://github.com/syscoin/rollux-bridge/commit/40156529dbd679a3deccd9f5b3bfe949a9a35a6e

font sizes are off, colours are a bit different


docs: include PyArrow in Tutorial/DataFrame

In https://narwhals-dev.github.io/narwhals/basics/dataframe/ we only show pandas + Polars. Let's get PyArrow in there too?
I'd suggest:

for all except for "example 4", we could have tabs for: pandas, Polars[lazy], PyArrow
for example 4, we could have: pandas, Polars[eager], PyArrow

file to modify: https://github.com/narwhals-dev/narwhals/blob/main/docs/basics/dataframe.md
contributing guide: https://github.com/narwhals-dev/narwhals/blob/main/CONTRIBUTING.md

I would like to work on this one!


🐛 Bug Report: Failed to load entity kinds

📜 Description
I am not able to use backstage, on interface I see Failed to load entity kinds catalog is not loaded.
Below you can see the database, I can't see for example,  backstage_plugin_auth backstage_plugin_catalog and backstage_plugin_scaffolder.
bash-5.1# psql -U $POSTGRES_USER
psql (13.2)
Type "help" for help.

backstage=# \l
                                  List of databases
   Name    |   Owner   | Encoding |  Collate   |   Ctype    |    Access privileges
-----------+-----------+----------+------------+------------+-------------------------
 backstage | backstage | UTF8     | en_US.utf8 | en_US.utf8 |
 postgres  | backstage | UTF8     | en_US.utf8 | en_US.utf8 |
 template0 | backstage | UTF8     | en_US.utf8 | en_US.utf8 | =c/backstage           +
           |           |          |            |            | backstage=CTc/backstage
 template1 | backstage | UTF8     | en_US.utf8 | en_US.utf8 | =c/backstage           +
           |           |          |            |            | backstage=CTc/backstage
(4 rows)

backstage=#

👍 Expected behavior
Be able to load catalog and work with backstage.
👎 Actual Behavior with Screenshots

👟 Reproduction steps
Follow documentation steps:
https://backstage.io/docs/deployment/k8s
📃 Provide the context for the Bug.
No response
🖥 Your Environment
yarn backstage-cli info
yarn run v1.22.19
$ /Users/anderson/labs/backstage-demo/backstage-demo/node_modules/.bin/backstage-cli info
OS:   Darwin 21.6.0 - darwin/x64
node: v18.12.1
yarn: 1.22.19
cli:  0.21.1 (installed)
backstage:  1.8.0

Dependencies:
  @backstage/app-defaults                          1.0.10
  @backstage/backend-common                        0.16.0, 0.17.0
  @backstage/backend-plugin-api                    0.2.0
  @backstage/backend-tasks                         0.3.7, 0.4.0
  @backstage/catalog-client                        1.2.0
  @backstage/catalog-model                         1.1.4
  @backstage/cli-common                            0.1.11
  @backstage/cli                                   0.21.1
  @backstage/config-loader                         1.1.7
  @backstage/config                                1.0.5
  @backstage/core-app-api                          1.3.0
  @backstage/core-components                       0.12.2
  @backstage/core-plugin-api                       1.2.0
  @backstage/errors                                1.1.4
  @backstage/integration-aws-node                  0.1.0
  @backstage/integration-react                     1.1.8
  @backstage/integration                           1.4.1
  @backstage/plugin-api-docs                       0.8.13
  @backstage/plugin-app-backend                    0.3.39
  @backstage/plugin-auth-backend                   0.17.2
  @backstage/plugin-auth-node                      0.2.8
  @backstage/plugin-catalog-backend                1.6.0
  @backstage/plugin-catalog-common                 1.0.9
  @backstage/plugin-catalog-graph                  0.2.25
  @backstage/plugin-catalog-import                 0.9.3
  @backstage/plugin-catalog-node                   1.3.0
  @backstage/plugin-catalog-react                  1.2.3
  @backstage/plugin-catalog                        1.7.1
  @backstage/plugin-github-actions                 0.5.13
  @backstage/plugin-org                            0.6.3
  @backstage/plugin-permission-common              0.7.2
  @backstage/plugin-permission-node                0.7.2
  @backstage/plugin-permission-react               0.4.8
  @backstage/plugin-proxy-backend                  0.2.33
  @backstage/plugin-scaffolder-backend             1.9.0
  @backstage/plugin-scaffolder-common              1.2.3
  @backstage/plugin-scaffolder                     1.9.1
  @backstage/plugin-search-backend-module-pg       0.4.2
  @backstage/plugin-search-backend-node            1.1.0
  @backstage/plugin-search-backend                 1.2.0
  @backstage/plugin-search-common                  1.2.0
  @backstage/plugin-search-react                   1.3.1
  @backstage/plugin-search                         1.0.6
  @backstage/plugin-tech-radar                     0.5.20
  @backstage/plugin-techdocs-backend               1.5.0
  @backstage/plugin-techdocs-module-addons-contrib 1.0.8
  @backstage/plugin-techdocs-node                  1.4.3
  @backstage/plugin-techdocs-react                 1.1.1
  @backstage/plugin-techdocs                       1.4.2
  @backstage/plugin-user-settings                  0.5.1
  @backstage/release-manifests                     0.0.7
  @backstage/test-utils                            1.2.3
  @backstage/theme                                 0.2.16
  @backstage/types                                 1.0.2
  @backstage/version-bridge                        1.0.3
✨  Done in 2.39s.

👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

@soaand01 Any update?
Hit the same problem, but seems the db is correct:
postgres=# \l
                                           List of databases
            Name             |  Owner   | Encoding |   Collate   |    Ctype    |   Access privileges
-----------------------------+----------+----------+-------------+-------------+-----------------------
 backstage_plugin_auth       | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 |
 backstage_plugin_catalog    | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 |
 backstage_plugin_scaffolder | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 |
 backstage_plugin_search     | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 |
 postgres                    | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 |
 template0                   | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres          +
                             |          |          |             |             | postgres=CTc/postgres
 template1                   | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres          +
                             |          |          |             |             | postgres=CTc/postgres
(7 rows)

Seems my problem is caused  by cross-domain-cors, after correct setting, issue gone

@soaand01 please post more information about how the request is failing, such as browser console and network logs.

Seems my problem is caused by cross-domain-cors, after correct setting, issue gone

Can you post the solution I am facing the same issues
Thanks

I believe the fix is to make sure that the backend.cors config are correct if you make requests across domains.

No fixed so far @henrik-koren

Hi @vincent-pli how did you resolve ?  Hi @henrik-koren No solution found so far, I had a break on this work that I was doing and now I am back to this.

hey @soaand01 I think that the other issue that you opened here: https://github.com/backstage/backstage/issues/15299 is probably something to do with this. I will close the other and bring the conversation here instead. Can we see the app-config.yaml and the backend logs on start up?


Remove AUTHORS.md

This was a partial, unmaintained list of the project contributors.  For a complete list of contributors, see the Git log.  E.g.
git shortlog -s | cut -c8-

Good idea. Please merge!

I agree that the content of this file is partial and outdated. Please merge.


Fix typo

Fixes #32183

@Potapy4 : Thanks for your contribution! The author, @davidmu1, has been notified to review your proposed change.

#sign-off

@shashishailaj: I'm sorry - only the author of this article, @davidmu1, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

confirmed typo fix


[SECURITY] Missing configurations inside Nginx - Docker image

Describe your problem
There are missing configurations inside nginx's server which degrade the blog's security.
I open this issue because Bludit project don't have "Security policy" and docker's image is official.
Steps to reproduce the problem
With many security tools is easy to find that type of issues, for example; OWASP ZAP which is the most popular tool.
Bludit version
3.13.1
Missing security configurations

Missing; add_header X-Frame-Options "SAMEORIGIN"; in conf.d/default.conf server block.
Missing; add_header Content-Security-Policy-Report-Only: "default-src 'none'; script-src http://yoursite.com"; in conf.d/default.conf server block.
Missing; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; in conf.d/default.conf server block.
Missing; add_header X-Content-Type-Options "nosniff" always; in conf.d/default.conf server block
Missing; add_header Cache-Control "public, no-transform"; in conf.d/default.conf server block.
Missing; fastcgi_hide_header X-Powered-By; in in conf.d/default.conf "location php" block.
Missing; add_header X-XSS-Protection "1; mode=block"; in conf.d/default.conf server block.
Missing; add_header X-Permitted-Cross-Domain-Policies master-only; in conf.d/default.conf server block.
Missing; add_header Referrer-Policy same-origin;  in conf.d/default.conf server block.
Missing; add_header Feature-Policy "geolocation 'none'; camera 'none'; speaker 'none';"; in conf.d/default.conf server block.

Hello, with the new version of Bludit v4.0 rc1, I would like to close the old Github issues. If you feel that your issue is not resolved in the latest version, create a new ticket.

Help and Support use the Forum https://forum.bludit.org
Bugs and new requests here in Github https://github.com/bludit/bludit/issues


Can't get version of binary

Cannot get current version of binary. Command gatekeeper -v or gatekeeper --version returns gatekeeper version unable to parse compiled time.

@PraserX yup confirmed

@PraserX fixed 1.3.1-3


Remove the suppression in dependency check plugin for Jackson dependency

Addressed in https://github.com/devatherock/gradle-includes/pull/20


fix: Aggregating indices now allow multiple field names in the key column

Resolves https://packboard.atlassian.net/browse/FIR-8715
Checklist

[x] I have run this code in development and it appears to resolve the stated issue.
[x] This PR includes tests, or tests are not required/relevant for this PR.
[x] I have updated CHANGELOG.md and added information about my change.
[x] If this PR requires a new PyPI release I have bumped the version number.
[x] I have pulled/merged from the main branch if there are merge conflicts.
[x] I have verified that this PR contains only code changes relevant to this PR.

@stepansergeevitch can you please review?


Incorrect return results from some non-default methods

The testing output in #22 shows that some methods return incorrect roots without failing with an error.
It is a bug that a method, used with default settings, can return incorrect results without throwing an error.

@ikirill I just invited you to be a contributor on Roots.jl.

Thanks for your attention here @ikirill. This should be addressed with 719fc2bb9c8fb6e85759d6e2e8208e34f6a5973a.

@ViralBShah  Thank you! What does that mean?


how do i use aos in next js?

This is:

Bug
Feature request
Question
Idea

Specifications

AOS version:
OS:
Browser:

Expected Behavior

Actual Behavior

Steps to Reproduce the Problem

Detailed Description

Possible Solution

Hi,
To use AOS with Nextjs, it's pretty easy:
Install dependency:
yarn add aos
then in your _app file add this lines:
import AOS from "aos";
import "aos/dist/aos.css";

and in your app component:
  useEffect(() => {
    AOS.init();
  }, []);

and now it's work you can use it:

thanks


RGB LCD Panel Example: unknown type name 'esp_lcd_rgb_panel_event_data_t' (IDFGH-9557)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.1-dev-3710-gacac972
Operating System used.
Linux ubuntu 4.4.0-210-generic #242-Ubuntu SMP
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
It should compile
What is the actual behavior?
Breaks with error: unknown type name 'esp_lcd_rgb_panel_event_data_t'
Steps to reproduce.

idf.py -p /dev/ttyUSB0 build flash monitor

Build or installation Logs.
/home/h/Documents/rgb_panel/main/rgb_lcd_example_main.c:71:72: error: unknown type name 'esp_lcd_rgb_panel_event_data_t'
   71 | static bool example_on_vsync_event(esp_lcd_panel_handle_t panel, const esp_lcd_rgb_panel_event_data_t *event_data, void *user_data)
      |                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/h/Documents/rgb_panel/main/rgb_lcd_example_main.c: In function 'app_main':
/home/h/Documents/rgb_panel/main/rgb_lcd_example_main.c:128:5: error: unknown type name 'esp_lcd_rgb_panel_config_t'; did you mean 'esp_lcd_panel_handle_t'?
  128 |     esp_lcd_rgb_panel_config_t panel_config = {
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |     esp_lcd_panel_handle_t

More Information.
This is my hardware: https://www.makerfabs.com/esp32-s3-parallel-tft-with-touch-4-3-inch.html

Hi @w3llschmidt The RGB LCD example can only run on esp32s3, if you have read the README:

Maybe you forgot to run the idf.py set-target esp32s3 before the idf.py build?  https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/get-started/linux-macos-setup.html#configure-your-project

@suda-morris - yes, esp32s3, this is what i have here. I did also a idf.py set-target esp32s3
https://www.makerfabs.com/esp32-s3-parallel-tft-with-touch-4-3-inch.html

Controller: ESP32-S3-WROOM-1, PCB Antenna, 16MB Flash, 8MB PSRAM

I did a fresh install! It complies now!
Thx!!!