Supporting importing graphql documents from files

A user should have the freedom to decide if they want to import their documents from a file or define them inline.

I assume something about the way the houdini pre-processor was designed is used is what's leading to this limitation and causing issues like #201. If so, and there's an opportunity to generic graphql preprocessor of some sort I think that would be a nice feature of the design.

I assume something about the way the houdini pre-processor was designed is what's leading to this limitation and causing issues like #201. If so, and there's an opportunity to generic graphql preprocessor of some sort I think that would be a nice feature of the design.

I presume something about the way the houdini pre-processor was designed is what's leading to this limitation and causing issues like #201. If so, and there's an opportunity to generic graphql preprocessor of some sort I think that would be a nice feature of the design.

I presume something about the way the houdini pre-processor was designed is what's leading to this limitation and causing issues like #201. If so, and there's an opportunity to generic graphql preprocessor of some sort I think that would be a nice feature of the design—and something I perceive to be lacking in all other SvelteKit GraphQL libraries I've seen to date.

I presume something about the way the houdini pre-processor was designed is what's leading to this limitation and causing issues like #201. If so and there's an opportunity to create a generic graphql preprocessor I think that would be a nice feature of the design, and something I perceive to be lacking in the community.


[WIP] Experimenting with new manifestival package structure

WIP, not merged yet: https://github.com/manifestival/manifestival/pull/59

/test all

/retest


Create Custom Views based on existing ones (change rowLimit in Month view)

It's a question, not an issue. However it might be helpful to others who are using this module.
Let's say I want to modify the rowLimit in MonthView module
As well as I want to add more props to events and display them, like lets say owner of the task.
How do I make my custom view to copy existing MonthView and adding the changes that I want to add to meet the needs for my needed behaviour?
I am new to React and es6 so I might have missed something, but would appreciate if someone could help me understand it.

We are using this component for an app, and having an issue. We'd like to specify the max number of events per slot before the "see more" button appears.
After researching I've reached the conclusion that there's logic somewhere for the button to only appear if there isn't room to fit another event. This logic seems to not work at all for us, with our events running out of the slot box until there are 4 events.
We don't want to increase the height of the calendar as this ruins the no-scrolling experience. I do believe there's room for improvement here. I do wish I had time to contribute something towards this, but I don't so I just wanted to bring it up again.

@jquense @tobiasandersen @driglou My use case is kind of similar however what I want is the ability to display 6 rows in the month view like google calendar and full calendar does.
I can't seem to figure out a way to do it.

we have the exact same problem but we cant get the above solution to view, as big calendar keeps reseting the state of the view


Make recent changes to updateheader.sh compatible with POSIX Shells

[[ ]] won't work with dash, the Shell used by Debian and Ubuntu.

merged as a part of #13


Renamed WEBJOB_STOPPED setting to WEBJOBS_STOPPED

Issue: #88078

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

#label:"aq-pr-triaged"

@ggailey777,
Yes, it's WEBJOBS_STOPPED - when this setting to 1 to disable running any job (will also stop all currently running jobs). As mentioned in this GitHub wiki section 'Configuration Settings'.
Cc: @BryanTrach-MSFT.
Ruben, Thanks again for brining this to our attention and raising this PR to fix.

#sign-off

@AjayKumar-MSFT: I'm sorry - only the author of this article, @ggailey777, 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.

#sign-off


Reduce Sonar major issues - "Static Variable Name" and "Avoid commented-...

...out lines of code"

change static variable name match pattern '^[a-z][a-zA-Z0-9]*$'
remove commented-out lines of code

Resolves: https://jira.duraspace.org/browse/FCREPO-1332

Resolved with: https://github.com/fcrepo4/fcrepo4/commit/9ab07deb13f0d299006a9ad81f804f4cd2bc6b7e


Type definitions for node-config

Project name: node-config
Project: https://github.com/lorenwest/node-config
Definitions by: Roman Korneev https://github.com/RWander
Definitions: https://github.com/borisyankov/DefinitelyTyped

I don't know much about TypeScript.  Is there someone out there that could validate these files with a code review?
They don't appear to cause any problems, so if nobody responds in this thread in a few days I'll go ahead and merge.

Implemented.

Now it looks good to me. ^_^

@RWander Thank you for your contribution!
Please rename the definition file to config/config.d.ts.
via: https://www.npmjs.com/package/config
The reason is here: http://definitelytyped.org/guides/contributing.html#naming-the-file

renamed.

@RWander Thanks mate!


Clean up intro docs

The first few paragraphs are bizarre and don't get to the point fast enough. Clean them up to concisely describe what Cadence is and why / when you'd use it.

Fixed as part of #115

Fixed as part of #115


NIFI-3387 Updated NOT_YET_CONNECTED value in DisconnectionCode enum

@jtstorck Thanks for the correction, I will merge it into master.


Add class diagram generator component

GitHub added support for mermaid diagrams:

Blog
Official announcement

Example
classDiagram
class Shape~T~


Use SourceText instead of string for generated code

Currently our C# and Html generated documents are stored in a string, which seems like an obvious LOH problem waiting to happen (or already happening?). This potential will only increase when we get rid of the runtime/designtime split. At various points in tooling we use SourceText.From to create a SourceText for these strings, to party on them.
This seems obviously backwards, and we should build and store SourceTexts directly, and only convert to string if/when necessary.
This might require introducing a new dependency, which is possibly why it wasn't done, so I might be way off base with this suggestion, if that is a bad thing.

Note Web Tools uses GeneratedCode, so would need some coordination: https://devdiv.visualstudio.com/DevDiv/_git/WebTools?path=%2Fsrc%2FLanguages%2FRazor%2FVS%2FCore%2FRazorCodeGenerator.cs&_a=contents&version=GBmain

FWIW, SourceText.From doesn't actually help here. That just results in a StringText that simply wraps around the string and has the same LOH concerns. The only SourceText implementation that really gains any memory benefit is SnapshotSourceText which is used in Roslyn for SourceText instances that are backed by a Visual Studio text snapshot.

SourceText.From is what is currently use, I was hoping there was a SourceText implementation that worked more like a string builder, and the compiler could add to it directly. eg when calling sourceText.WithChanges it chunks

Sadly, there is not such a SourceText implementation today, other than the one that is backed by a VS text buffer. SourceText.From just returns a StringText that holds onto the entire string that you pass in. There is no optimized override of StringText.WithChanges -- it just relies on the default SourceText.WithChanges.

Sadly, calling SourceText.From isn't any better at solving LOH problems.

Ahh, I think I was dealing with a [ChangedText](https://sourceroslyn.io/#Microsoft.CodeAnalysis/Text/ChangedText.cs), because I was coming from a diff algorithm, and that chains changes together. Maybe we can expose StringBuilderText or LargeText through our EA (or write a new something if there isn't one that already exists)

ChangedText just wraps around other SourceText instances. In all of the cases discussed here, that'll end up being StringText instances.
We actually need something new and there was a discussion about that yesterday. We need something that is optimized for design-time editing when a VS text buffer isn't available. Today we don't have such an implementation.

Sounds like fun

Sorry, I was slightly incorrect. SourceText.From will return a LargeText if it's passed a TextReader and the length is larger than 40KB. However, if SourceText.From is called with a string, that never happens.

Note, https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1823644 has 100s of traces of this which you can use to drive decisions here. See the "all failures tracked with this bug" table at the bottom of the Repro steps.

Had a quick look at this and bringing in a copy of https://github.com/dotnet/roslyn/blob/main/src/Compilers/Core/Portable/Text/StringBuilderText.cs and using it for generated code is a pretty easy win, and pretty much every place where the generated code is used already has overloads that take SourceText. Unfortunately we have to wait for a few more things to line up before we can action it though, as it requires breaking public API, and referencing Roslyn from a lower layer of the compiler. Work on both of moving both of those blockers out of the way is already underway.
Using StringBuilderText is still not the ideal solution for this (see conversation above, and in https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1823644) but I think its a reasonable first step, allowing this issue to be completed, which then makes the specific choice of SourceText and implementation detail at least.

I would prefer that we not use StringBuilderText, since we just got away from using a StringBuilder due to other allocation concerns. IMO, we should just use LargeText. And, with CodeWriter removing its internal StringBuilder, we can just to provide a method that returns a TextReader of generated code rather than a giant string. Then, we can call SourceText.From(TextReader...) to get a more memory efficient solution without changing any public APIs.

Indeed, your change to make CodeWriter not use a StringBuilder does kind of put a damper on using StringBuilderText 😛


Should work on Windows/MSVC

A windows port shouldn't be very difficult using MinGW, but MSVC will require a little caressing (some C99 uses in test.c, no stdint.h, etc.)

In MSVC 2015, I've got
1>minibsdiff.obj : error LNK2005: _bsdiff already defined in bsdiff.obj
1>minibsdiff.obj : error LNK2005: _bsdiff_patchsize_max already defined in bsdiff.obj
1>minibsdiff.obj : error LNK2005: _bspatch already defined in bspatch.obj
1>minibsdiff.obj : error LNK2005: _bspatch_newsize already defined in bspatch.obj
1>minibsdiff.obj : error LNK2005: _bspatch_valid_header already defined in bspatch.obj
1>C:\Users\Suvorov\Desktop\diff\minibsdiff-master\minibsdiff\Release\minibsdiff.exe : fatal error LNK1169: one or more multiply defined symbols found
when compiling last version.

and results for my given .exe file are different.
i created patch, zlib it, and apply. and then use fc to compare files.
Using this port they differ, using default bsdiff - they are the same (


Update docs

PR Checklist:

[x] I have tested this extensively and it does not break any existing behavior.
[x] I have added/updated examples and tests for any new behavior.
[x] If this is a significant change, an issue has already been created where the problem / solution was discussed: [N/A]

PR Description

I saw that some methods are not in the new docs and wondered when to doc was last built.
I found out it was 3 years ago, so I decided to update the build step and publish the new docs

It should be merged as this represent the latest state the repo is in. The current docs are not meaningful anymore

@offizium-berndstorath thanks a lot i need to update the repo "template" to be the same as all other repos in community.
That way it will build automatically


Please consider adding Sciter.JS

Sciter.JS: https://github.com/c-smile/sciter-js-sdk
Is a 5mb  HTML/CSS/JS (ES6) runtime aimed as a direct ElectornJS replacement.

Added @c-smile, Thank you:)


⚠ SceneTime has degraded performance

In 95d6bbb, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1323 ms

Resolved: SceneTime performance has improved in 0f8a2e1 after 14 minutes.


Скласти додаткові інформаційні блоки

Можна зробити резюме менш формальним, додавши додаткові блоки, які містять корисну інформацію, але подають її в "розважальній" формі. Наприклад, що подобається і не подобається, сильні і слабкі сторони, перелік навиків чи хобі, інфографіка або ж інтерактивні модулі, тощо. Варто написати контент такого блоку раніше, ніж починати верстку, бо його розміри впливатимуть на розміщення елементів на сторінці.

Skills & Competences

Decision Making
Confidence
Storytelling
Public Speaking
Negotiation
Deflection
Goal Setting
Authenticity
Charisma

Achievements

Star on the Hollywood Walk of Fame Received the 2015 Marine Corps - Law Enforcement Foundation's annual Leadership Award in recognition for his contributions to American military education programs .
New Jersey Boxing Hall of Fame ( November 2015 )
Liberty Award at the Algemeiner Jewish 100 Gala ( 2015 ) in honor of his positive contributions to Israel - United States relations .
Statesman of the Year , The Republican Party of Sarasota ( 2012 and 2015 )
Honorary Doctor of Business ( Hon . D.B. ) From Liberty University in 2012
2007 Muhammad Ali Entrepreneur Award

Books written (most recent)

Crippled America : How to Make America Great Again ( 2015 )
Time to Get Tough : Making America No. 1 Again ( 2011 )
Midas Touch : Why Some Entrepreneurs Get Rich — and why Most Don't ( 2011 )
Think Like a Champion : An Informal Education in Business and Life ( 2009 )
Trump Never Give Up : How I Turned My Biggest Challenges into Success ( 2008 )

Interests
Golf | Cars | Miss Universe | Stock Market | Investment | Real estate | Entrepreneurship

Skills & Competences

Decision Making
Confidence
Storytelling
Public Speaking
Negotiation
Deflection
Goal Setting
Authenticity
Charisma

Achievements

Star on the Hollywood Walk of Fame Received the 2015 Marine Corps - Law Enforcement Foundation's annual Leadership Award in recognition for his contributions to American military education programs .
New Jersey Boxing Hall of Fame ( November 2015 )
Liberty Award at the Algemeiner Jewish 100 Gala ( 2015 ) in honor of his positive contributions to Israel - United States relations .
Statesman of the Year , The Republican Party of Sarasota ( 2012 and 2015 )
Honorary Doctor of Business ( Hon . D.B. ) From Liberty University in 2012
2007 Muhammad Ali Entrepreneur Award

Books written (most recent)

Crippled America : How to Make America Great Again ( 2015 )
Time to Get Tough : Making America No. 1 Again ( 2011 )
Midas Touch : Why Some Entrepreneurs Get Rich — and why Most Don't ( 2011 )
Think Like a Champion : An Informal Education in Business and Life ( 2009 )
Trump Never Give Up : How I Turned My Biggest Challenges into Success ( 2008 )

Interests
Golf | Cars | Miss Universe | Stock Market | Investment | Real estate | Entrepreneurship


FR: Terminal on the right side

Hey! I was wondering if there would ever be a possibility to have terminal (and problems, output, debug console) on the right side of the screen. I think that very big amount of people would benefit from that. There are people who have 21:9 screens or similar and vertical space is more important than horizontal space.
Here's my screen, I attach PhpStorm with terminal on the right for comparison:

This was actually just done today and will be in tomorrow Insiders! https://github.com/Microsoft/vscode/issues/2806

@Tyriar toggleMaximizedPanel doesn't work anymore. It executes the "Move to Right" command now.


Inital changes for custom name

Contains
It allows You to change name of worlds while creating game.
How to test
click on advance game setup then
add world
click on configure change name in it
then click on done after this either you add new world by clicking on add or
click on continue then you will be able to see new name in dropdown menu
Outstanding before merging
If anything. You can use neat checkboxes! Feel free to delete if not needed

[ ] need to refresh page after clicking on back button in configure this can be done by creating a refresh button below dropdown menu

Hooray Jenkins reported success with all tests good!


Feature Request - showTopMenu()

Due to Youtube's top menu,  the fullscreen controls are hidden under the top menu on some phones ( most IOS )...
If we had a showTopMenu() I could then control the duration the top menu is displayed after transitioning the play state.
Which might help staying within Youtube's TOS.

Haven't tested this, but you could try to delay hidetopmenu().

Haven't tested this, but you could try to delay hideTopMenu().

Thank you for your response.
I am using a timer to hideTopMenu() and it works to HIDE the top menu.
hideTopMenu() that woks Example:
class ManageTopMenu extends StatelessWidget {
  ManageTopMenu();
  @override
  Widget build(BuildContext context) {
    return YoutubeValueBuilder(
      builder: (context, value) {
        if (value.playerState != PlayerState.playing) {
          Timer(Duration(seconds: 5), () {
            context.ytController.hideTopMenu();
          });
        }
        return Container();
      },
    );
  }
}

But after you hide the top menu it is never displayed again for the life of the controller ( until it is destroyed). I need the ability to display or show ( un-hide ) it again during play state transitions for a few seconds and then I can hide the top
What I need to be able to do is something like this...
class ManageTopMenu extends StatelessWidget {
  ManageTopMenu();
  @override
  Widget build(BuildContext context) {
    return YoutubeValueBuilder(
      builder: (context, value) {
        if (value.playerState != PlayerState.playing) {
           **context.ytController.showTopMenu();**
           Timer(Duration(seconds: 5), () {
              context.ytController.hideTopMenu();
           });
        }
        return Container();
      },
    );
  }
}

Alright, published new version with showTopMenu() included.
Could you check if that's what you requested? youtube_plyr_iframe: ^2.0.1

Alright, published new version with showTopMenu() included.
Could you check if that's what you requested? youtube_plyr_iframe: ^2.0.1

Quick test on an Android and iOS it worked as expected.
perfect
thank you!


Add a link to SideCI into the documentation

I work at Actcat inc. and we develop SideCI in this company. https://sideci.com
This service is similar to Codacy and Hound.
I added SideCI section into rubocop documentation.

Nice! It's good to see your company investing time (your time) to help with RuboCop's development.

@bbatsov  I updated the descriptions for other services.


Changes the Zencoder wrapper to use the job status found in the jobDe…

…tails for the JobState

LGTM. I'll run a job in dev when this is built and deployed there.


Python: postgres memory connector get nearest matches times out during integration testing

Describe the bug
The postgres get nearest matches integration test is timing out after attempting to get a connection for 30 seconds. Currently the test is marked as xfail so that it doesn't block the pipeline.
We need to look into why this may be happening and possible ways to make the test more robust.

The failing test: https://github.com/microsoft/semantic-kernel/actions/runs/8162697453/job/22314246891#step:7:293

Intermittent and not easily reproducible. Closing.


[50376] Added check for top view controller in order to set correct status ba…

…r color when burger menu is open

@jonasofrich please check the pipeline


[Bug] AWS IAM auth support not complete

Insomnia Version: v5.8.4
Operating System: Ubuntu 16.04.3 LTS

Details
When using GET/POST methods it works OK, but not for PUT method:

It looks like the HTTP method isn't being passed into the aws4 library. This works for GET and POST currently because the library assumes GET or POST based on whether a body is passed. I'll push a quick commit to add method.

@wonderbeyond  You can use my aws IAM v4 proxy tool for walkaround.
https://github.com/hunterhug/GoProxy
@gschier Please note *(used in ElasticSearch, e.g. /m* to find indices by glob) in URL.


Facing issues while adding policies via json/yaml file

Good Day,
I'm  able to set and authenticate my existing GCP project and able to create and deploy the proxy successfully.
But while trying to add policies via json/yaml file as input using APIGEE Templater we are running into below issues.
Passed input file as httpbin.json that has spike arrest policy configured:
httpbin.json
Passed the input file as openapiyaml.yaml:
openapi.json

It would be really great if you can help me to resolve this issue.
Thanks.

Hi, thanks for testing, will take a closer look and get back to you..

Hi, I tested the template json and it works fine for me, the issue above is probably because you don't have any default credentials to authenticate to GCP with.. The easiest way is to just run the command gcloud auth application-default loginin the same shell, you will then be asked to authorize the CLI access to use your user account for automation in our shell environment, see more info here: https://cloud.google.com/docs/authentication/provide-credentials-adc

You can also authenticate with a service account key file with the -k parameter.

This was probably an incorrect error message, several bugs fixed last week, should be working now (in case still having issues open a new issue with the new error message).


Added tests for SpatialReference.to_esri()/from_esri().

buildbot, test this please.

@claudep Thanks for checking :+1:


Change the default release version to v0.3.0

Signed-off-by: leonwanghui<EMAIL_ADDRESS>This patch is proposed for changing default release version to v0.3.0, so as to comply with OpenSDS Bali milestone-1.

lgtm.
@stmcginnis Please take a look.


Use camelCase when specifying responseFile parameter during install

The current call to runInstaller tries to pass the responseFile parameter in all lower case. The script will reject it. https://github.com/oracle/docker-images/blob/master/OracleDatabase/dockerfiles/<IP_ADDRESS>/installDBBinaries.sh#L54
This happens when trying to run the Oracle 11x installer. I was using this file since no one bothered to provide a template for the 11.x versions. Even if this is supported in the 12.x versions, it should still be fixed.

The Oracle Universal Installer parameter syntax check has changed between 11.2 and 12.1 to allow case insensitive parameters. As 11gR2 is out of premium support and 12cR2 is planned to be released soon, we do not plan on providing 11gR2 Docker build files, except for Express Edition.

Such an Oracle response. Fail

Hi @stanpalatnik,
We appreciate your interest in running Oracle DB 11gR2 on Docker containers, but we believe that customers who want to use this new approach (DB on container) should do so with the latest versions of the database to guarantee they get the best support possible, since these are versions that still have Premium Support. The same decision was made for WebLogic 11g and other products as you can see in the directory.
Not "such an Oracle response", but an honest one. I hope you understand it, and appreciate the transparency.
Thank you


Allowing GET at introspection.

https://tools.ietf.org/html/rfc7662#section-4

To prevent the values of access tokens from leaking into server-side
logs via query parameters, an authorization server offering token
introspection MAY disallow the use of HTTP GET on the introspection
endpoint and instead require the HTTP POST method to be used at the
introspection endpoint.

We have a vendor who can only currently send GET requests. Id like to be able to easily toggle allowing a GET.
Is there currently an easy workaround for us?

Not without changing the source code.

I could implement my own endpoint essentially copy and pasting 90% of the current endpoint right? Im considering doing a PR with a flag allowing GETs but the other issue is our vendor wants to send the tokens in the QueryString too. So it's looking like the changes needed will be more than just allowing GETs.

The spec discourages GET because the tokens are passed in the query string, which might end up in a log file. This is not ideal and this is why we never did this.
We're open for a PR after our 2.3 release.

I assumed as much. We're waiting to see if this change would fix the issue with our vendor. If it does I'll PR the changes which I'm pretty much done with.

Closing. If you still have issues, feel free to reopen.


.NET FX 4.6 TryAdd failure!

.NET FX 4.6  After TryAdd, State = INV
Standard 2.0 does not have this problem!
if (!argAttr.TryAdd(attr))
{
System.Console.WriteLine("ConcurrentLinkedList TryAdd error! State = INV");
}
Should I give up using .NET FX 4.6?

Hey - the project targets .Net Standard 2.0, which is not supported by .NET FX 4.6.
You could try upgrading to .NET FX 4.6.1, which does support .Net Standard 2.0. I've tested in 4.6.1 and seems to work okay.
See compatibility table here for reference: https://docs.microsoft.com/en-us/dotnet/standard/net-standard

Thank you for your reply. I'll check him again.


Use NormalFloat instead of Normal for cmp.config.window.bordered()'s winhighlight

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Announcement

[X] I have checked Breaking change announcement.

Minimal reproducible full config
if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !filereadable(s:plug_dir .. '/plug.vim')
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end

execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'hrsh7th/nvim-cmp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/vim-vsnip'
Plug 'neovim/nvim-lspconfig'
call plug#end()
PlugInstall | quit

" Setup global configuration. More on configuration below.
lua << EOF
local cmp = require "cmp"
cmp.setup {
  window = {
    completion = cmp.config.window.bordered(),
    documentation = cmp.config.window.bordered(),
  },
  snippet = {
    expand = function(args)
      vim.fn["vsnip#anonymous"](args.body)
    end,
  },

  mapping = {
    ['<CR>'] = cmp.mapping.confirm({ select = true })
  },

  sources = cmp.config.sources({
    { name = "nvim_lsp" },
    { name = "buffer" },
  }),
}
EOF

lua << EOF
local capabilities = require('cmp_nvim_lsp').default_capabilities()

require'lspconfig'.cssls.setup {
  capabilities = capabilities,
}
EOF

Description
The winhighlight does not follow the :help docs when using the bordered configuration. the help docs recommends pairing NormalFloat and FloatBorder when configuring floating windows, but nvim-cmp is using Normal with FloatBorder.
winhighlight is assigned  Normal:Normal here
I was wondering if it could change the borders window winhighlight to
NormalFloat:NormalFloat,FloatBorder:FloatBorder,CursorLine:Visual,Search:None  or
Normal:NormalFloat,FloatBorder:FloatBorder,CursorLine:Visual,Search:None
In order to make backgrounds and borders consistent with the nvim help docs, other floating windows.
This becomes an issue for colorscheme editors when trying to make nvim-cmps's borders the have the same background color as the main nvim-cmp floating window, it breaks the way borders look for all other floating windows, that follow the :help docs.
Steps to reproduce
use  cmp.config.window_bordered()
cmp.setup({
    window = {
       completion = cmp.config.window.bordered(),
       documentation = cmp.config.window.bordered(),
     },
})

Expected behavior
the winhighlight should use NormalFloat for the background when using the bordered config``
Actual behavior
the winhighlight  uses Normal for the background when using the the bordered config
Additional context
nvims help docs

:help hl-NormalFloat says "Normal text in floating windows"
:help hl-FloatBorder says "Border of floating windows"

related issues
This is an essentially asking for the same thing as issue #748 (merged in  PR #1689) but for the main window's fg/bg instead of just the border.
I would be happy to create a PR if this is approved :)

this is what i used for testing my proposed change to winhighlight
                completion = vim.tbl_extend("force", cmp.config.window.bordered(), {
                    winhighlight = "NormalFloat:NormalFloat,FloatBorder:FloatBorder,CursorLine:Visual,Search:None",
                }),
                documentation = vim.tbl_extend("force", cmp.config.window.bordered(), {
                    winhighlight = "NormalFloat:NormalFloat,FloatBorder:FloatBorder,CursorLine:Visual,Search:None",
                }),

I would also recommend changing the default CursorLine to PmenuSel rather than Visual since that matches the semantics a bit more as well as to what it means to "select something in a pop up"


⚠ Bofrost.fr has degraded performance

In 64e39b7, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1396 ms

Resolved: Bofrost.fr performance has improved in b3887a9 after 8 minutes.


feature: added requests number check to avoid getting "429 too many requests" error

The review is done.


Remove Ryan from the list of maintainers - as requested

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender


[Help] How to get record data ... ?

record = pb.collection('abc').get_one(id)
record['xyz']  # error
record.xyz  # error
record.__getattribute__('xyz') # you guessed it, error

A little bit more examples on the readme would be nice

Please have a look at our integration tests
https://github.com/vaphes/pocketbase/blob/master/tests%2Fintegration%2Ftest_record.py#L92
This test does exactly what you seem to want.
record.xyz in your example should work perfectly fine in case the table abc has a field xyz
Not sure what your problem is...

Closed due to inactivity


How to use  sendgrid

How to set up send grid settings ,I have tried to set up Api key in AppSettings.json but it does not respond as expected.
"Sendgrid": {
    "apiKey": "##################"
  }

@xmichaelx - can you please help with SendGrid settings? :)

@denisisack
according to the code, you should add a connectionstring with "Sendgrid" as key
and the configuration sections should be like
"SendgridConfiguration" :{
"SourceEmail": "",
"SourceName": "",
}

@martea - Thanks - I wasn't sure about using of ApiKey ;)

Thanks


10/05 Publish

Docs Build status updates of commit ad9b519:
:clock10: Pending: waiting for processors (13 builds ahead of you)
:warning: Docs Build is busy, currently there are 13 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit ad9b519:
:warning: Validation status: warnings

File
Status
Preview URL
Details

rd/index.yml
:warning:Warning

Details

rd/map.yml
:warning:Warning

Details

rd/martin-abbott.yml
:white_check_mark:Succeeded

rd/media/profiles/martin-abbott.jpg
:white_check_mark:Succeeded

rd/toc.yml
:white_check_mark:Succeeded

rd/index.yml

Line 14, Column 8: [Warning-file-not-found] Invalid file link: './map'.
Line 16, Column 8: [Warning-file-not-found] Invalid file link: './about'.
Line 18, Column 8: [Warning-file-not-found] Invalid file link: './CodeOfConduct'.

rd/map.yml

Line 15, Column 8: [Warning-file-not-found] Invalid file link: './map'.
Line 17, Column 8: [Warning-file-not-found] Invalid file link: './about'.
Line 19, Column 8: [Warning-file-not-found] Invalid file link: './CodeOfConduct'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Support for asymmetric Filter's

As-Is:
If a user performs something akin to:
selects as_uuid(lower, higher) as context
where context = '123e4567-e89b-12d3-a456-426614174000'

spark will recognise a Filter(as_uiid(lower, higher), '') but won't be able to translate that into a push down predicate.
To-Be:
Allow replacement of a filter expression with an optimised expression, initially using longpairfromuuid to allow break up of the string into base longs.

3.1.3 may have issues as reflection is needed when aqe is enabled - not the case on the other 3.x versions.
The other BinaryComparison's could be swapped out like EqualTo the constructor just needs passing through.  Matching wise BinaryComparison could be used directly.

8f04689d32c236c9324b084b44e9e6f68125e011 12.2 lts only fails on one frameless related test, all others work on test suite, 11.3 lts shows the plan works but testing with the extension shows Databricks uses LocalTableScanExec and not Adaptive.  This only occurs in the tests that use an additional > filter, otherwise it's the same on databricks.  Oddly using and additional alower >  0 on databricks causes a full scan, could be because it knows the data is so small.

test simplified plan results from dbr 12.2 (disablng the rule didn't work for some odd reason, adding extra stdout logging), with the test a + b files registered as tables:
select * from (select *, as_uuid(alower, ahigher) acontext from aasymfilter) join (select *, as_uuid(blower, bhigher) bcontext from basymfilter) on acontext = bcontext where acontext = '123e4567-e89b-12d3-a456-426614174008'

Running without the extension no unpacking of the data fields is performed and the join is on acontext = bcontext:
(5) Scan parquet spark_catalog.default.basymfilter
Output [2]: [blower#6L, bhigher#7L]
Batched: true
Location: InMemoryFileIndex [dbfs:/user/hive/warehouse/basymfilter]
ReadSchema: struct<blower:bigint,bhigher:bigint>

(6) ColumnarToRow [codegen id : 1]
Input [2]: [blower#6L, bhigher#7L]

(7) Filter [codegen id : 1]
Input [2]: [blower#6L, bhigher#7L]
Condition : (isnotnull(asuuid(blower#6L, bhigher#7L)) AND (asuuid(blower#6L, bhigher#7L) = 123e4567-e89b-12d3-a456-426614174008))

(8) Project [codegen id : 1]
Output [3]: [blower#6L, bhigher#7L, asuuid(blower#6L, bhigher#7L) AS bcontext#18]
Input [2]: [blower#6L, bhigher#7L]

(9) Exchange
Input [3]: [blower#6L, bhigher#7L, bcontext#18]
Arguments: SinglePartition, EXECUTOR_BROADCAST, [plan_id=97]

(10) ShuffleQueryStage
Output [3]: [blower#6L, bhigher#7L, bcontext#18]
Arguments: 0, Statistics(sizeInBytes=72.0 B, rowCount=1, isRuntime=true)

(11) BroadcastHashJoin [codegen id : 2]
Left keys [1]: [acontext#17]
Right keys [1]: [bcontext#18]
Join type: Inner
Join condition: None

With the rule but not the where filter:
(5) Scan parquet spark_catalog.default.basymfilter
Output [2]: [blower#277L, bhigher#278L]
Batched: true
Location: InMemoryFileIndex [dbfs:/user/hive/warehouse/basymfilter]
PushedFilters: [IsNotNull(blower), IsNotNull(bhigher)]
ReadSchema: struct<blower:bigint,bhigher:bigint>

…

(7) Filter [codegen id : 1]
Input [2]: [blower#277L, bhigher#278L]
Condition : (isnotnull(blower#277L) AND isnotnull(bhigher#278L))

(8) Project [codegen id : 1]
Output [3]: [blower#277L, bhigher#278L, asuuid(blower#277L, bhigher#278L) AS bcontext#300]
Input [2]: [blower#277L, bhigher#278L]

(9) Exchange
Input [3]: [blower#277L, bhigher#278L, bcontext#300]
Arguments: SinglePartition, EXECUTOR_BROADCAST, [plan_id=379]

(10) ShuffleQueryStage
Output [3]: [blower#277L, bhigher#278L, bcontext#300]
Arguments: 0, Statistics(sizeInBytes=720.0 B, rowCount=10, isRuntime=true)

(11) BroadcastHashJoin [codegen id : 2]
Left keys [2]: [alower#174L, ahigher#175L]
Right keys [2]: [blower#277L, bhigher#278L]
Join type: Inner

With the rule and acontext = filter:

(5) Scan parquet spark_catalog.default.basymfilter
Output [2]: [blower#277L, bhigher#278L]
Batched: true
Location: InMemoryFileIndex [dbfs:/user/hive/warehouse/basymfilter]
PushedFilters: [IsNotNull(blower), IsNotNull(bhigher), EqualTo(blower,-6605018797301088248), EqualTo(bhigher,1314564453825188563)]
ReadSchema: struct<blower:bigint,bhigher:bigint>

…

(7) Filter [codegen id : 1]

Input [2]: [blower#277L, bhigher#278L]

Condition : (((isnotnull(blower#277L) AND isnotnull(bhigher#278L)) AND (blower#277L = -6605018797301088248)) AND (bhigher#278L =<PHONE_NUMBER>825188563))

(8) Project [codegen id : 1]

Output [3]: [blower#277L, bhigher#278L, asuuid(blower#277L, bhigher#278L) AS bcontext#327]

Input [2]: [blower#277L, bhigher#278L]

(9) Exchange

Input [3]: [blower#277L, bhigher#278L, bcontext#327]

Arguments: SinglePartition, EXECUTOR_BROADCAST, [plan_id=456]

(10) ShuffleQueryStage

Output [3]: [blower#277L, bhigher#278L, bcontext#327]

Arguments: 0, Statistics(sizeInBytes=72.0 B, rowCount=1, isRuntime=true)

(11) BroadcastHashJoin [codegen id : 2]

Left keys [2]: [alower#174L, ahigher#175L]

Right keys [2]: [blower#277L, bhigher#278L]

Join type: Inner

Join condition: None

In both “with rule” cases 11 shows the join push down has worked (now on the underlying fields), for the filter case we see the condition is present on the filter AND in the push downs to parquet.

disabling confirmed as working with databricks.

row id's tested on 13.0 against the 12.2 build

wrong size's tested.  only in is size intolerant

wrong size's tested.  only in is size intolerant


WMS ID 4862 Quarterly QA

WMS ID: 4862
I've corrected the images and markdown files so they are:

descriptive

lowercase

This is consistent within the individual markdown files as well.
Fixed rogue gerund in manifest.json files as well.
Thanks!
Chris

@anooshapilli this should look correct now. I just made those fixes. Thanks!


New arrowhead with curvy features

Love the new arrow content, super sleek!

do you like the curvaceous qualities


Readme Update to be more clear about usage

#679

Copying the command-line output to the readme doesn't make much sense to me. Usage is mentioned in aur(1), including several examples, which is mentioned explicitely.

Humm IMO It does make sense a lot - it's not the point where redundancy is to be fought against xD
One could even automate to print the output into the Readme ;-)
Even print the whole manual into the Readme in a format where it is easier to be read. (Maybe, but maybe it would be even too much then)
Best option would be to have an even more explanatory whole documantation in the Readme. Of course that would take time and effort^^.
This would be a fast fix. And it even has an advantage - 1:1 relation to how it looks in action.

The argument about user effort. I would debate that in a longer discussion thread. In very short: it's not just a matter of effort also a matter of strategy.
For now it's just me who had the experience of being confused for a day, crawling through multiple ressources and don't know what is really going on until - I luckiliy figured it out.
I'm sure I'm not the only one who has ran into this trouble^^
So hopefully the discussion is about how to adjust the readme, and not if adjust at all?

The usage section included in the README explicitly calls for one to read the manual and provides a link to it.

aurutils was never meant to be an all-encompassing, minimal effort solution to AUR packages. It instead gives users tools for common AUR and packaging tasks, so they can focus on whatever specific AUR workflow they have in mind rather than worry about abstruse technical details. Each of these tools are documented in their own man pages, with an overview provided in aur(1).
Copy pasting terminal output for the "main binary" (aur is really only a wrapper for commands in lib, with no other functionality) as here doesn't lead to the conceptual understanding those man pages provide and the next steps would then be to copy paste local repository creation instructions and aur sync commands with no further thought. If you want to do that, there's other projects like trizen or aurto that are more suited.
Side-note: It would be nice if https://github.com/AladW/aurutils/blob/master/man1/aur.1 was pre-rendered be but github doesn't support this. Any conversions (to HTML) have to be done manually, leading to possible discrepancies. If automatic conversion is possible similar to what we do with github actions and shellcheck, I'm open for ideas. But the current proposal is not something I'm willing to merge for the reasons outlined above.

ok unfortunate^^ - probably the question thread will help others who encounter the same problem.
Cheers! And thanks for the work on those tools btw! Helping me now for my AUR workflows alot ;-)


Specify -zmuldefs for compiler options

How would someone add -zmuldefs for compiler.c.elf.libs.esp32s2 like what's shown in platform.txt

Can't you use extra-arduino-cli-args?

@ArminJo I did try that but I don't know if I got the syntax correct because I kept getting "xyzfunction first defined here" errors which I overcome with -zmuldefs

Just for some more context, I've accomplished what it is I am trying to do with your action but with bash and it looks pretty gross.
    - name: Modify platform.txt
        run: |
          echo "Chicken"
          for i in $(find /home/runner/.arduino15/packages/esp32/hardware/esp32/ -name "platform.txt"); do
            sed -i 's/compiler.c.elf.libs.esp32s2=/compiler.c.elf.libs.esp32s2=-zmuldefs /' "$i"
            sed -i 's/compiler.c.elf.libs.esp32=/compiler.c.elf.libs.esp32=-zmuldefs /' "$i"
            cat "$i" | grep compiler.c.elf.libs.esp32s2
            cat "$i" | grep compiler.c.elf.libs.esp32
          done


Fix localization of "time ago in words"

Not all languages have the same order as English ("x months ago" <-> "il y a x mois")

It's giving SyntaxError...

should be fixed now

Looks good, thanks!


Paper stub added to repo

Mind as well do our TeX paper here in this repo (we can also have a copy in printing press as well).

pushed report stub to develop branch report/report.tex


[FLINK-13437][test] Add Hive SQL E2E test

What is the purpose of the change
Set up a docker-based yarn-cluster and hive service using the new java based test runtime framework, add HiveConnectorITCase to cover data read/write function, including:

hive data writen by Hive, read by Flink.
hive data writen by Flink, read by Hive.
read/write to a non-partition table.
multi-format for read and write, cover textfile/orc/parquet
Based on this PR, we can add more test such as function/view in further more.

Brief change log

3488ec6 Add e2e test for hive data connector using docker based environment
2f8b127 refactor hive e2e test using new java-based test framework
76c6f08 add muliti format test and all data types test case
31cc4b7 remote e2e bash test

Verifying this change

*Added integration tests for end-to-end deployment *

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable )

cc @bowenli86 @xuefuz @JingsongLi @KurtYoung @lirui-apache to have a review

It's a base work, and we can add more ITCase based on this PR.

@bowenli86 @JingsongLi Do you guys have time to have a basic look?

@lirui-apache @JingsongLi can you guys help review? I can help merge once it passes

Thanks @zjuwangg for your great work! I will continue to working on this.

What's the status of this?

What's the status of this? With the new sql filesystem connector I suspect more flink users will rely on Hive integration. It would be good to try and get this in for 1.12.

Yes, we should move on.
I plan to modify testing to sql-client but don't have enough time in 1.11, we should finish this in 1.12.

Close this comment!


Array vs Float32Array: Performance measurements (again)

TL;DR
Float32Array is faster for IO operations than usual Array. Only creation of new objects is slower for Float32Array.
Measurements
I saw issues there about complains of performance and I did recent clean and exact measurements about casual Array vs Float32Array:
https://www.measurethat.net/Benchmarks/Show/30129/3/array-vs-float32array-performance-test
And IO operations with Float32Array are 2x FASTER than usual Array. Array wins only in creation of new objects (arrays). But if we create needed data (preallocated) before main render loop (cycle) then Float32Array is big win.
Summary
So I want to say author should not remove support of Float32Array and still use approach available now: default is Float32Array but you can change it by method glMatrix.setMatrixArrayType(Array)

TL;DR
Float32Array is faster for IO operations than usual Array. Only creation of new objects is slower for Float32Array.
Measurements
I saw issues there about complains of performance and I did recent clean and exact measurements about casual Array vs Float32Array:
https://www.measurethat.net/Benchmarks/Show/30129/3/array-vs-float32array-performance-test
And IO operations with Float32Array are 2x FASTER than usual Array. Array wins only in creation of new objects (arrays). But if we create needed data (preallocated) before main render loop (cycle) then Float32Array is big win.
Summary
So I want to say author should not remove support of Float32Array and still use approach available now: default is Float32Array but you can change it by method glMatrix.setMatrixArrayType(Array)

When I run your benchmark suite on my computer (Windows - Chrome 129) the Array beats the TypedArray in all tests except for sort.


Extend Aave Forks

Deliverables:

Add extended schema to aave v2 forks in a new directory
Fix handleCollateralEnabled/Disabled this event is actually for a position not the whole market

Test Subgraphs:

https://okgraph.xyz/?q=dmelotik%2Fgeist-finance-ext
https://okgraph.xyz/?q=dmelotik%2Faave-v2-avalanche-ext

Great work! Looks good to me. Would you rename the folder to aave-v2-forks-ext?

Also add CI/CD to:
https://thegraph.com/hosted-service/subgraph/messari/aave-v2-ethereum-extended
https://thegraph.com/hosted-service/subgraph/messari/aave-v2-polygon-extended
https://thegraph.com/hosted-service/subgraph/messari/aave-v2-avalanche-extended

@this-username-is-taken don't want it for ethereum amm ? And geist extended ?

@this-username-is-taken don't want deployments for ethereum amm ? And geist extended ?

Nope, just the high TVL ones for now


Fix Broken UI Test for all Admin Configurable Settings

This is a pull request raised for issue https://github.com/odk-x/tool-suite-X/issues/470
Reason for Fix:
There are configurable settings available for a normal user of the app and there are configurable settings available for a user with admin privileges. The UI tests for these settings screen was broken following a rework of the settings screen. This PR was raised to fix the broken UI Test for the configurable settings that are available to a user with ADMIN privileges. These tests includes the following:
-AdminConfigurableServerSettingsFragmentTest.java
-AdminConfigurableDeviceSettingsFragmentTest.java
-AdminConfigurableTablesSettingsFragmentTest.java
What was changed in these files:
AdminConfigurableServerSettingsFragmentTest.java
--Nothing changed. this test was fixed when the enableAdminMode(); function in BaseUItest was fixed
AdminConfigurableDeviceSettingsFragmentTest.java
--corrected the reference for the string to be matched.
AdminConfigurableTablesSettingsFragmentTest.java
--corrected the reference for the string to be matched.
*Also updated the PR with a fix for VerifyUserPermissionTest.java
What was changed in these files:
VerifyUserPermissionTest.java
--corrected the reference for the string to be matched.
*N/B: Please note that following update of this PR with the fix for VerifyUserPermissionTest.java, this concludes the fixing of all the broken UI tests in the Preferences package. except for the QR code scanner test which has no current implementation.

Hi @Redeem-Grimm-Satoshi I've  added the screenshot(s) as requested.

More work needed

Those questions have been answered.

More work needed

Those questions have been answered.

I don't think you've understood me well. Answer the questions I asked up, It's that simple!

More work needed

Those questions have been answered.

I don't think you've understood me well. Answer the questions I asked up, It's that simple!

If you think i misunderstood you , i think the productive thing to do is explain what you think i missed. I gave a response based on how i understood your previous comment.


Add stream-faqs

I made a FAQ for streams that tries to address some common, real-world, production use cases, where left to the Node.js manual and google, you'd be lost.
https://github.com/stephenplusplus/stream-faqs
Hope this is the right fit, and the right category! (Cheatsheets?)

Ah yeah. How could I forget adding it here.

Cause you have 60 thousand other issues to deal with :)
Thanks!

Neat work @stephenplusplus!

Thanks! :D


setuptools warning

By packaging 3.5.0 on Gentoo Linux I see the following setuptools warning:
 * QA Notice: setuptools warnings detected:
 *
 *      Package 'pgactivity.profiles' is absent from the `packages` configuration.
 *      Package 'pgactivity.queries' is absent from the `packages` configuration.

What command do you run to get these warnings?

Based on https://setuptools.pypa.io/en/latest/userguide/datafiles.html it's not clear to me what would be missing in our setup.

What command do you run to get these warnings?

the warning comes from portage that search for 'setuptools warning' string:
https://github.com/gentoo/portage/blob/08a2bc3800ea2e997716903244ec041339b45b06/lib/portage/package/ebuild/doebuild.py#L2395
The exact command used to build is:
python3.12 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-db/pg_activity-3.5.0/work/pg_activity-3.5.0-python3_12/wheel

For completeness I'm attaching the full build log:
pg_activity-3.5.0_20240403-070656.log.txt
An interesting part is:
/usr/lib/python3.12/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'pgactivity.profiles' is absent from the `packages` configuration.
!!

        ********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'pgactivity.profiles' as an importable package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to distribute this
        package, please make sure that 'pgactivity.profiles' is explicitly added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'pgactivity.profiles' to be distributed and are
        already explicitly excluding 'pgactivity.profiles' via
        `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
        you can try to use `exclude_package_data`, or `include-package-data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        ********************************************************************************

I can reproduce indeed; thank you.
Will look at it.

Just released version 3.5.1 with this and #410 fixed.


How to compress again?

Hi,
How to compress again after changed files?
Thanks.

Hi. You can't. This tool only unpack assets

Hi. You can't. This tool only unpack assets

Thanks, can you help to solve this problem?
I just want to modify one object in the assets pack.

Hi. You can't. This tool only unpack assets

Thanks, could you help to solve this problem?
I just want to modify one object in the assets pack.

Hi. You can't. This tool only unpack assets

Thanks, could you help to solve this problem?
I just want to replace one object in the assets pack.

You can try UnityEx. Other option is to use UABE to replace asset content. You can export asset with ripper, edit it, rebuild serialize file in unity and then replace asset content with UABE


'DSUNet' object has no attribute 'config'

I'm unable to get the example script working from here:
https://github.com/microsoft/DeepSpeed-MII/blob/main/examples/local/txt2img-example.py
When I run without arguments it loads the model and deploys okay.
But then using the --query produces this:
ERROR:grpc._server:Exception calling application: 'DSUNet' object has no attribute 'config'
Traceback (most recent call last):
  File "/home/snd/bin/miniconda3/envs/ldm/lib/python3.8/site-packages/grpc/_server.py", line 443, in _call_behavior
    response_or_iterator = behavior(argument, context)
  File "/home/snd/bin/miniconda3/envs/ldm/lib/python3.8/site-packages/mii/grpc_related/modelresponse_server.py", line 77, in Txt2ImgReply
    response = self.inference_pipeline(request, **query_kwargs)
  File "/home/snd/bin/miniconda3/envs/ldm/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "/home/snd/bin/miniconda3/envs/ldm/lib/python3.8/site-packages/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py", line 504, in __call__
    height = height or self.unet.config.sample_size * self.vae_scale_factor
  File "/home/snd/bin/miniconda3/envs/ldm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1265, in __getattr__
    raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'DSUNet' object has no attribute 'config'
Traceback (most recent call last):
  File "deploy.py", line 52, in <module>
    result = generator.query({
  File "/home/snd/bin/miniconda3/envs/ldm/lib/python3.8/site-packages/mii/server_client.py", line 367, in query
    response = self.asyncio_loop.run_until_complete(
  File "/home/snd/bin/miniconda3/envs/ldm/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/snd/bin/miniconda3/envs/ldm/lib/python3.8/site-packages/mii/server_client.py", line 263, in _query_in_tensor_parallel
    await responses[0]
  File "/home/snd/bin/miniconda3/envs/ldm/lib/python3.8/site-packages/mii/server_client.py", line 313, in _request_async_response
    response = await self.stubs[stub_id].Txt2ImgReply(req)
  File "/home/snd/bin/miniconda3/envs/ldm/lib/python3.8/site-packages/grpc/aio/_call.py", line 290, in __await__
    raise _create_rpc_error(self._cython_call._initial_metadata,
grpc.aio._call.AioRpcError: <AioRpcError of RPC that terminated with:
        status = StatusCode.UNKNOWN
        details = "Exception calling application: 'DSUNet' object has no attribute 'config'"
        debug_error_string = "UNKNOWN:Error received from peer ipv6:%5B::1%5D:50050 {created_time:"2022-11-28T15:19:01.639187607-08:00", grpc_status:2, grpc_message:"Exception calling application: \'DSUNet\' object has no attribute \'config\'"}"

Versions:
deepspeed                     0.7.5
deepspeed-mii                 0.0.3
transformers                  4.24.0

+1, I'm using EC2 g5.4xlarge (64GB RAM)
Deep learning AMI with pytorch 1.12.1 and CUDA 11.6
I am able to run the baseline script successfully

This was resolved in https://github.com/microsoft/DeepSpeed/pull/2536
Just tested and it's working. Please update DeepSpeed to 0.7.6 and installing deepspeed-mii from source or install version 0.0.4 when we release it later today.

Installing 0.7.6 and 0.0.4 did not work for me.
Required the above PR to fix, installing deepseed from source fixes this. Just waiting on PYPI release.
PR: https://github.com/microsoft/DeepSpeed/pull/2589
pip install git+https://github.com/microsoft/DeepSpeed.git

Then via ds_report:
deepspeed info ................... 0.7.7+2076bf23, 2076bf23, master

After that, all worked!


Test Issue

This is a test issue

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.
Happy Coding!


Be more defensive with AnonymousProfile

If no authorizers have been defined and the authenticated user is an AnonymousProfile, the access should not be granted.
To prevent people from forgetting to use the isAuthenticated authorizer.

The AnonymousClient is a direct one so the risks are limited to the current HTTP.


Discovering Convolutional Neural Networks is also in progress?

Is training ENAS to discover CNN architecture working already? If it is in progress, why a run example is given?
python main.py --network_type cnn --dataset cifar --controller_optim momentum --controller_lr_cosine=True \
               --controller_lr_max 0.05 --controller_lr_min 0.0001 --entropy_coeff 0.1


octernship project complete

you need to detect if polkit works well, and elevate priviledge with alternative way

You did not handle this.

Can I try to do it again?


Fixing the example of blurred card in docs

Closes #3717
📝 Description

Fixes the example given for the blurred card

⛳ Current behavior (updates)

Currently the blurred card example is not wrapped in the parent component with background which does worker when user tries it.

🚀 New behavior

Modified the example in the docs so that it is in workable condition.

💣 Is this a breaking change (Yes/No): No

Summary by CodeRabbit

New Features

Enhanced the visual presentation of the card component with a new gradient background.

Documentation

Updated documentation to clarify the interaction of the isBlurred prop with the parent component's properties.

ack, makes sense. In order to avoid the duplication, I think it makes sense to add a note in the docs rather than wrapping the example code.

Added the example for necessary background


feat: ask extra features of the plugin cms:plugin:create

https://redmine.archielite.com/issues/1913

2. Do not enter \\, developer didn't known that, only enter \ in the namespace field.

da anh


Cursor in unexpected position when moving it while selecting

Observed in Atom 1.10.2 on Windows 10 Home using Atom One UI Theme and Atom Light syntax theme.

Create a new file and enter some lines of text in it. Make sure there are around 40 characters per line.
Position your cursor somewhere halfway the second line (say, column 20)
Hold Shift and move the cursor up one line using the arrow Up key
Observe: The cursor is in the expected position, line 1 column 20, exactly one column above where it was before, and text from where the cursor is now up to where it was before is now selected
Release the Shift key
Press the Up key on the keyboard
Observe: The text is no longer selected (expected)
Observe: The cursor is now at the beginning of the line (column 1) (not expected)
Press the Down key on the keyboard
Observe: The cursor is now on line 2, column 1.

Expected behavior: Since we started on line 2 and are on line 1 at step 6, it's not possible to go up one more line so I would expect the cursor to remain where it is. I do expect to lose the selection when I attempt to move the cursor, but I don't expect it to move to the beginning of the line.
The problem with the current behavior is that when you do Up, Down, you don't return to where you were before. This gives unexpected cursor 'jumps' when editing.
I compared with Microsoft Notepad and Notepad++
MS Notepad:
Behaves as I would expect. The cursor remains at it's position when we press Up on line 1, selection is lost
Notepad++
Has some mysterious behavior of itself. It also moves the cursor to column 1 when we press up (like Atom), but, crucially, when we press Down it moves the cursor back to where it was. This is actually also unexpected
I guess it's a minor issue. But I've found myself selecting the wrong stuff / deleting the wrong parts of a line etc when editing from muscle memory and I've traced it back to this quirk. I think it would improve the editing experience if it was fixed.
Also, note that if we don't hold Shift when moving Up and Down, Atom behaves as Notepad++:
When we press Up while the cursor is on line 1, it visually moves to the beginning of the line, however if we then press Down it actually moves back to where it was before, therefore maintaining command symmetry. This behavior changes (for the worse imho) when we hold Shift to select some text.

Activity to prevent bot from removing my issue....
It won't solve itself. Maybe the'll make a bot for that once  :)

:wave: @Download as previously mentioned, I tried to repro this issue.  It seems that Atom is now exhibiting the same behavior as Notepad++.  Here's a gif.

Would you consider that acceptable behavior?

Yes it would seem acceptable indeed! The problem with the old behavior was that command symmetry was lost.
So... it does seem like some issues do solve themselves! Thanks for your patience @50Wliu !

Hurray!  In addition, we're looking into updating the stale comment based on your feedback :).


Bump minor deps

This change bumps a handful of dependencies to their next minor versions.
pep440_rs and pep508_rs are also candidates, but both require non-trivial code changes. I left those out for now.

pep508 is updated in #928


[storage-file-datalake] [Bug Fix] Fix the date property(createdOn, expiresOn) in some of the returned responses

Packages impacted by this PR
@azure/storage-file-datalake
Issues associated with this PR
Fixes #25068
Describe the problem that is addressed by this PR
windowsFileTimeTicksToTime calculation somehow went wrong since 2023 with a 1-day difference, perhaps due to miscalculation w.r.t leap days.
This PR attempts to fix the bug and fix the tests.
The new implementation makes use of the JS Date object to do most of the calculation instead of relying on the numbers/constants to account for the leap days.
// Existing Code - Straight from the storage-file-datalake code
function windowsFileTimeTicksToTime(timeNumber: string | undefined): Date | undefined {
  if (!timeNumber) return undefined;
  const timeNumberInternal = parseInt(timeNumber!);

  if (timeNumberInternal === 0) return undefined;

  const date = new Date(timeNumberInternal / 10000);
  date.setUTCFullYear(date.getUTCFullYear() - 369);
  return date;
}

// New Implementation - Alternative algo from stackoverflow that works as expected
// Reference https://stackoverflow.com/a/24188106
function windowsFileTimeTicksToTime2(timeNumber: string | undefined): Date | undefined {
  if (!timeNumber) return undefined;
  const timeElapsed = parseInt(timeNumber)/10000;

  if (timeElapsed === 0) return undefined;

  // Milliseconds calculated relative to "12:00 A.M. January 1, 1970" (will be negative)
  const initialFrameOfReference = Date.UTC(1601, 0, 1);

  // TimeRelativeTo1970 = (TimeAt1601 - TimeAt1970) + (Current - TimeAt1601) = (Current - TimeAt1970)
  return new Date(initialFrameOfReference + timeElapsed);
}

// Value from a saved recording
const olderTicks = "132934495529749313"; // April 3rd, 2022
console.log(windowsFileTimeTicksToTime(olderTicks))  // "2022-04-03T08:52:32.974Z"
console.log(windowsFileTimeTicksToTime2(olderTicks)) // "2022-04-03T08:52:32.974Z"

// Current time (At about the time of this PR)
const newerTicks = "133222649014464202"; // March 2nd, 2023
console.log(windowsFileTimeTicksToTime(newerTicks))  // "2023-03-01T21:08:21.446Z"
console.log(windowsFileTimeTicksToTime2(newerTicks)) // "2023-03-02T21:08:21.446Z"

Playground if you want to play with
windows filetime to JS date - TS playground

/azp run js - storage-file-datalake - tests

API change check
API changes are not detected in this pull request.

Change looks good to me! @EmmaZhu do you have any concerns?

/check-enforcer evaluate

/check-enforcer override


System.Net.Http.HttpRequestException: An error occurred while sending the request

I have made a basic bot. Earlier it was working when I had the following as my BOT URL
https://localhost:3979/api/messages . However now it is throwing me an error.
The stack trace can be found in the attached image below.

Now the following error gets resolved when you use the link, however I get 401 Unauthorized error.
http://localhost:3979/api/messages as your BOT URL.
Ultimately I want the BOT to be hosted on Azure and therefore would require https.
Any fix to the above issue?

Is your issue similar to this: https://github.com/Microsoft/BotBuilder/issues/1211

I would restart the emulator.

What is the solution guys


Install a default allow-all NetworkPolicy

For namespaces we auto-enroll into a ServiceMeshMemberRoll, we'll now
also install a default allow-all ingress and egress NetworkPolicy. We
only do this if we detect there are no other NetworkPolicy objects in
the namespace except those managed by Service Mesh and us.
If there are other NetworkPolicy objects, we assume the user has taken
responsibility for managing NetworkPolicy in this namespace and thus
do not install our allow-all NetworkPolicy.
This is intended to give the user the same level of ingress and egress
after they create a Knative Service (and thus add this namespace to
our SMMR) as they had before.

I added some new unit tests for this, but have yet to run any e2e tests with this to verify the new NetworkPolicy has the intended effect. Where should I add those e2e tests?

I believe the integration test can be added here: https://github.com/openshift-knative/serverless-operator/blob/master/test/e2e/knative_serving_test.go (or another file in the same folder). There are functions for deploying Subscription, KnativeServinng CR and Knative Service. What remains is adding a check for the new network policy.

I believe the delete logic in here is ready for review as well.


404 Error

Installed and activated, courses are all loaded and listed but WordPress generates an 404 error when clicking on the Permalink?  Any ideas of what I am missing?  We are using the Corpo theme.

I figured it out if any one is interested.  We were using a custom structure in the WordPress permalink settings, changed it to plain and it is now working.

We're using a plugin by WooCommerce for allowing enrollments/purchases, and it's working great now for us.  We tried using the WordPress plugin by Litmos, but we haven't been able to find any documentation on it, and Litmos stated to us that they didn't have any.  Can I ask how you are using it with WordPress?


getHistoryInterpreter: AcquireFailurePointTooOld

If the node state is deleted and then node and db-sync started together then sometimes we get a error:
getHistoryInterpreter: AcquireFailurePointTooOld

Would be nice to find a neat work around for this.

When this issue happens, db-sync will retry (possibly multiple times) and eventually work correctly.

Looking at the logs above hash 5266a9ca0a5195dcb4368968f35900bcf8d1f81a6fb53a93a115bd1e87eefe1b this is epoch 17. This is the epoch with a record number of transactions for the Byron era. In my tests the error appears between epochs 16-20, which have many transactions in general. This can't be a coincidence. Looking at logs it takes 10-15s between recvMsgRollForward and when the block is finally added to the DB during this period. This probably shows some big congestion at the DB queue, I haven't verified this with logs for the queue size though.
evalSlotDetails always fails for EBBs and a new interpreter is acquired. When there is a congestion and a new interpreter is required, the AcquireFailurePointTooOld is usually triggered.
I'm not sure if there is any way to actually fix the race condition without changes at ouroboros-netowrk. On our side, we can try to take the interpreter as fast as possible after recvMsgRollForward runs. I found very suspicious that I sometimes get Error: Switchboard's queue full, dropping log items! warnings.  Digging deeper, I found this from iohk-monitoring
instance IsEffectuator Switchboard a where
    effectuate switchboard item = do
        let writequeue :: TBQ.TBQueue (LogObject a) -> LogObject a -> IO ()
            writequeue q i = do
                    nocapacity <- atomically $ TBQ.isFullTBQueue q
                    if nocapacity
                    then handleOverflow switchboard
                    else atomically $ TBQ.writeTBQueue q i

        sb <- readMVar (getSB switchboard)

        if (sbRunning sb) == SwitchboardRunning
            then writequeue (sbQueue sb) item
            else TIO.hPutStrLn stderr "Error: Switchboard is not running, dropping log items!"

    handleOverflow _ = TIO.hPutStrLn stderr "Error: Switchboard's queue full, dropping log items!"

It seems there is another race condition here: First it checks if the queue is full and then writes on it. But These are not atomic, so the queue may get full in between, so the thread will sleep.
I need to have a better look on exactly how these issues trigger the error.

This should have been fixed in PR #495 .

This should have been fixed in PR #495 .


<#23>

Added the Method: FindAllTimeEntriesForProjectAsync
Tested the Method: FindAllTimeEntriesForProjectAsync
Description: This method will return all time-entries in a project, with ability to be filtered.
Arguments:
string workspaceId (the workspace Id)
string id (the project id)
Arguments for filtering data:
string description = null,
DateTimeOffset? start = null,
DateTimeOffset? end = null,
string task = null,
bool? projectRequired = null,
bool? taskRequired = null,
bool? considerDurationFormat = null,
bool? hydrated = null,
bool? inProgress = null,
int page = 1,
int pageSize = 50
PS: There are a lot of changes the code formated on run.

Base your PR on develop branch please

And now there is a conflict... Damn.

I think the merge conflict is produced by the formatted code.

I'll try to fix that.


Use smaller Github avatars

GitHub allows adding an s parameter in the avatar URL. We can set it to different values at different places in the App.
Such as, on the room page, the pictures are smaller, we can use something like s=50.  And if a user opens the profile modal, then we can use a bigger number.

#282


Limited support: authentication plugins

Hi,
I encountered the following error lately:
NotImplementedError: mysql_clear_password authentication plugin is not implemented
Found out that CyMySQL only support mysql_native_password and caching_sha2_password.
PyMySQL , on the the hand, support other plugins like sha256_password, mysql_old_password, mysql_clear_password, etc.  See (https://github.com/PyMySQL/PyMySQL/blob/f0bbe54ef7f977c8cc8a55f583e85d06bea44e7c/pymysql/connections.py#L881)
It would be better if CyMySQL support can be extended since this library is fast compared to PyMySQL.
Cheers!

I heard that  Amazon RDS IAM authentication use  mysql_clear_password.
So I hope support mysql_clear_password at least.
I add it now.
Can you connect with mysql_clear_password plugin ?
Sorry I don't know how to set up my local environment.

Hi @nakagami ,
I build the master branch on Windows and Python 3.6/3,7 and I am getting the following error:
  File "cymysql\connections.py", line 248, in cymysql.connections.Connection.__init__
  File "cymysql\connections.py", line 416, in cymysql.connections.Connection._connect
  File "cymysql\connections.py", line 507, in cymysql.connections.Connection._request_authentication
AttributeError: 'cymysql.packet.MysqlPacket' object has no attribute 'read_auth_switch_request'

Oh, sorry. It is not result for this commit.
Wait

Cython-0.28.3
Probably a compiler issue. I'm using Microsoft Visual C++ 14.0
It will probably work with MinGW but cannot test that now.

Now, release version 0.9.12 in pypi.

Thanks @nakagami
Are there plans to add other plugins?

Not yet.

Let's close this ticket for now.
Thanks @nakagami 🥂


Output stats JSON for examples

What kind of change does this PR introduce?

Did you add tests for your changes?

Does this PR introduce a breaking change?

What needs to be documented once your changes are merged?

(sorry, hit some hotkey accidentally, did not mean to PR this!!)


[WIP] Experimental config system

Configs are statically defined using Property<T> and Group.
Each plugin gets a config section under plugins -> <class name>.
JsonAdapter converts a given config object to and from a JsonElement. Ideally this would preserve commented out fields, invalid fields, etc... when saving but I'm not sure how.
ConfigView takes an arbitrary config object and displays it in a swing window. Ideally this would be abstracted into the renderer somehow.

Here's a screenshot with a tree view.
We need to have a discussion about how to best handle saving. Namely,

Do we write all values, or just non-default ones. The current system does the latter, but it's up for discussion.
Do we remove invalid/non-existent proprties from the JSON? I'd argue we should preserve them were possible, though the current system will not do that. As mentioned in the OP, ideally we could preserve formatting that's not really possible.
How/when should we save? The easiest solution would be to attach a change listener to every element and fire it for each change. However saving after every key press would get expensive, so we'd want a better way.

Do we write all values, or just non-default ones. The current system does the latter, but it's up for discussion.

I doubt the user cares if they're using the GUI.

Do we remove invalid/non-existent proprties from the JSON? I'd argue we should preserve them were possible, though the current system will not do that. As mentioned in the OP, ideally we could preserve formatting that's not really possible.

I don't think preserving formatting is that important, but keeping invalid properties should be a priority, since users may be switching between CCEmuX versions, which would cause it to delete properties which are perfectly valid in newer versions.

How/when should we save? The easiest solution would be to attach a change listener to every element and fire it for each change. However saving after every key press would get expensive, so we'd want a better way.

Make a save button in the top right? We should still listen to every element, so the button only activates when a change has been made. That way, the user gets a visual response to having saved, being the button being deactivated. I hate programs where you click "Save" and you don't know if it did anything or not.

Right, I've got it to preserve invalid properties and the rough layout of the original file. It currently saves the config file when closing the GUI, though @Lignum would rather we explicitly ask for permission.
I'd quite like to add a "reset to default" button for each field, just not sure how to make it look good. Seeing as we're switching to GTX I don't know how much effort to expend.

As far as defaults go, I think defaults shouldn't be saved - if we change the default value in a future release, it shouldn't require users to go reset it IMO.

Couple small things - there's a crash when there's no config file (should be an easy fix) and also we should integrate the config with Renderer now rather than just showing it every time it starts - I think we should have it as an optional extension to Renderer - something like public Optional<Runnable> configWindowRunner(...) or similar?
CCEmuX version: unknown
OS name: Linux
OS version: 4.12.10-2-zen
OS architecture: amd64
JRE vendor: Oracle Corporation
JRE version: 9.0.1
JRE architecture: 64

java.nio.file.NoSuchFileException: /home/dominic/.local/share/ccemux/ccemux.json
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:215)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:369)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:415)
	at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
	at java.base/java.nio.file.Files.newInputStream(Files.java:154)
	at java.base/java.nio.file.Files.newBufferedReader(Files.java:2827)
	at net.clgd.ccemux.init.UserConfig.load(UserConfig.java:33)
	at net.clgd.ccemux.init.Launcher.launch(Launcher.java:219)
	at net.clgd.ccemux.init.Launcher.main(Launcher.java:79)


WebsocketHandler.Send is sometimes not working

I am using the WebsocketHandler in an MVC application. On the client I am using WebsocketsSharp on the Unity3d platform. Everything works fine on the first / fresh launch. I boot up the server, I connect the client, and they communicate fine.
If I disconnect the client and reconnect it, things start breaking. Specifically calling the WebsocketHandler.Send method stops working. I can still send to the server from the client. I can still communicate with the client via using the WebsocketCollection.Broadcast() method.
I was wondering what I could do to debug this.
Did a little more debuging. Restarting the client does not help. In fact, sometimes restarting the server does not help. What does help is killing the IISExpress instance. That will guarantee the issue 'is resolved' (at least until I disconnect again).

What is WebsocketHandler?

From Microsoft.Web.Websockets ?
// Decompiled with JetBrains decompiler
// Type: Microsoft.Web.WebSockets.WebSocketHandler
// Assembly: Microsoft.WebSockets, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
// MVID: 5B384535-780C-4B64-BE65-5FF3C5D5F2E8
// Assembly location: E:\Projects\Avarice\Foundation\Foundation-Premium\Foundation Server\packages\Microsoft.WebSockets.<IP_ADDRESS>\lib\net45\Microsoft.WebSockets.dll

using System;
using System.ComponentModel;
using System.Threading.Tasks;
using System.Web.WebSockets;

namespace Microsoft.Web.WebSockets
{
  public class WebSocketHandler
  {
    public WebSocketHandler();
    public virtual void OnOpen();
    public virtual void OnMessage(string message);
    public virtual void OnMessage(byte[] message);
    public virtual void OnError();
    public virtual void OnClose();
    public void Send(string message);
    public void Send(byte[] message);
    public void Close();
    [EditorBrowsable(EditorBrowsableState.Never)]
    public Task ProcessWebSocketRequestAsync(AspNetWebSocketContext webSocketContext);
    public int MaxIncomingMessageSize { get; set; }
    public AspNetWebSocketContext WebSocketContext { get; set; }
    public Exception Error { get; set; }
  }
}

Yea, that package isn't supported and has nothing to do with this repository.


Docker/Singularity container version update on quay.io

Hi!
We have been using both T1K and TRUST4 with much pleasure. They are both great and easy-to-use tools to work with.
I would like to use the latest T1K docker image to use within singularity. I was wondering if you could update the version available on https://quay.io/repository/loukas_moutsianas/t1k?tab=tags&tag=latest to the latest version?
We have tried installing conda+T1K within a singularity image, which also works decently. However, only if we enter the container directly with shell instead of running it as run or exec, so automating it in a bash script is a bit harder.
Kind regards,
Serge

My apologies, I probably saw the link floating around here somewhere with the assumption that it was made by you.
I will try to reach out to the repository owner. Thanks for your quick help!


Define model as a property of all estimators

Signed-off-by: Beat Buesser<EMAIL_ADDRESS>Description
This pull request define model as a property of all estimators. This enables access to the model in a classifier.
Fixes #371
Type of change
Please check all relevant options.

[ ] Bug fix (non-breaking)
[x] New feature (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@seanpmorgan Thank you very much for your review and suggestions!


Add script that pulls disposable domains

from https://raw.githubusercontent.com/FGRibreau/mailchecker/master/list.json

Thank you Nikita!


Suffix isn't being added to columns when pivoting wider

Not a bug, bad JSON file used in testing.


Div Contenteditable element can be validated only when it has both id and name attributes

Subject of the issue
Refer to the fix of issue #1946, a div contenteditable element should have both id and name attributes for validation. If it only has id, the rules cannot be assigned. If it only has name attribute, "TypeError: Cannot read property 'replace' of undefined" occurs. However, there is no name attribute for div elements.
Your environment

jquery-validate v1.16.0
Chrome browser v57.0.2987.133 (64-bit)

Steps to reproduce

Create a form with div contenteditable element which has both id and name attributes
Validate it with the rules such as required and minlength for it
Validation works
Now, remove id from the element and keep the name attribute
Validate it with the same rules
Validation doesn't work
Next, remove the name attribute and add the id back
Validate again with the same rules
"TypeError: Cannot read property 'replace' of undefined" occurs

Expected behaviour
Suggest to use id only for div contenteditable element
Actual behaviour
Use both id and name attributes for div contenteditable element

How do you assign the rules to your contenteditable div ?
because AFAIK, the fix you referenced is not yet published.

I modified the code manually according to your fix because i need it in my development. Then, I assign the rules as usual, i.e. $('#form').validate({ rules: { fieldname: { required: true, minlength: 5 }, ... } }).
Moreover, Is it possible to add the flexibility to use other attribute such as custom attribute "data-name" for the element, instead of "name" or "id" only? :)

I've modified my code manually too with this fix, but now it seems to have this same error on $.validator.escapeCssMeta, using contenteditable.
"jquery.validate.js:1025 Uncaught TypeError: Cannot read property 'replace' of undefined"
Any ideas?

Hi alinearielo,
Have you tried to assign both id and name attributes for the contenteditable element?
I got "TypeError: Cannot read property 'replace' of undefined" when it only had name attribute. It worked when I assigned both id and name attributes.
This is my temp solution for the contenteditable div element, although div has no name attribute.


telescope: Error: Unable to get property 'address'

Hey Axel!
I saw that you updated earlier this script, just wanted to try in Foxit:
0:000> r
eax=0573a338 ebx=0592f58c ecx=0573b1c8 edx=00000000 esi=66f0aaf0 edi=754d5f20
eip=66f0ab16 esp=02fe9fa4 ebp=02febe7c iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246
ConvertToPDF_x86!CreateFXPDFConvertor+0x26:
66f0ab16 c3              ret
0:000> dds @eax L4
0573a338  67236f1c ConvertToPDF_x86!CreateFXPDFConvertor+0x32c42c
0573a33c  00000000
0573a340  00000000
0573a344  00000000
0:000> dds poi(eax) L4
67236f1c  66f0b060 ConvertToPDF_x86!CreateFXPDFConvertor+0x570
67236f20  66f09b40 ConvertToPDF_x86!DestorFXPDFConvertor+0xd10
67236f24  66f0a2d0 ConvertToPDF_x86!DestorFXPDFConvertor+0x14a0
67236f28  66f0a8f0 ConvertToPDF_x86!DestorFXPDFConvertor+0x1ac0
0:000> !telescope @eax
Populating the VA space with modules..
Populating the VA space with TEBs & thread stacks..
Error: Unable to get property 'address' of undefined or null reference [at telescope (line 345 col 9)]

Have you ever encountered that?
From your JS file:
    VaSpace.push(new _Region(
            Teb.address,
            Teb.targetType.size,
            'Teb of ' + Thread.Id.toString(16),
            'rw-'
        ));

How come it's complaining about that line? Doesn't make sense to me!
Thanks, cheers :)

Interesting - do you have a crash dump where I could repro / debug to see
what's going on?
Cheers man!
Le jeu. 12 déc. 2019 à 12:02, Symeon<EMAIL_ADDRESS>a écrit :

Hey Axel!
I saw that you updated earlier this script, just wanted to try in Foxit:
0:000> r
eax=0573a338 ebx=0592f58c ecx=0573b1c8 edx=00000000 esi=66f0aaf0 edi=754d5f20
eip=66f0ab16 esp=02fe9fa4 ebp=02febe7c iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246
ConvertToPDF_x86!CreateFXPDFConvertor+0x26:
66f0ab16 c3              ret
0:000> dds @eax L4
0573a338  67236f1c ConvertToPDF_x86!CreateFXPDFConvertor+0x32c42c
0573a33c  00000000
0573a340  00000000
0573a344  00000000
0:000> dds poi(eax) L4
67236f1c  66f0b060 ConvertToPDF_x86!CreateFXPDFConvertor+0x570
67236f20  66f09b40 ConvertToPDF_x86!DestorFXPDFConvertor+0xd10
67236f24  66f0a2d0 ConvertToPDF_x86!DestorFXPDFConvertor+0x14a0
67236f28  66f0a8f0 ConvertToPDF_x86!DestorFXPDFConvertor+0x1ac0
0:000> !telescope @eax
Populating the VA space with modules..
Populating the VA space with TEBs & thread stacks..
Error: Unable to get property 'address' of undefined or null reference [at telescope (line 345 col 9)]
Have you ever encountered that?
From your JS file:
VaSpace.push(new _Region(
        Teb.address,
        Teb.targetType.size,
        'Teb of ' + Thread.Id.toString(16),
        'rw-'
    ));

How come it's complaining about that line? Doesn't make sense to me!
Thanks, cheers :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/0vercl0k/windbg-scripts/issues/2?email_source=notifications&email_token=AALIORJFI54HDKD5SVBIUADQYKKG5A5CNFSM4J2DWYL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IAEZT4Q,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALIORI3OIZ44F4GYMQTTLDQYKKG5ANCNFSM4J2DWYLQ
.

Heyia!
I've created a quick dump so you can reproduce it, you can get it from here.
Thanks so much Axel!

Awesome - got the dump and I can repro; working on it now :).
Cheers
Le ven. 13 déc. 2019 à 01:17, Symeon<EMAIL_ADDRESS>a écrit :

Heyia!
I've created a quick dump so you can reproduce it, you can get it from
here https://drive.google.com/open?id=1itnBHyWlZ4ASckUF1r5aSNJs4OVoAThq.
Thanks so much Axel!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/0vercl0k/windbg-scripts/issues/2?email_source=notifications&email_token=AALIORJGTN2QBJHX6VEUKMLQYNHJDA5CNFSM4J2DWYL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGZMOII#issuecomment-565364513,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALIOROYR2AD7IVVM7ONFRLQYNHJDANCNFSM4J2DWYLQ
.

I just pushed a fix - please reactivate if it doesn't address the issue :).
Cheers
Le ven. 13 déc. 2019 à 01:22, Axel Souchet<EMAIL_ADDRESS>a écrit :

Awesome - got the dump and I can repro; working on it now :).
Cheers
Le ven. 13 déc. 2019 à 01:17, Symeon<EMAIL_ADDRESS>a écrit :

Heyia!
I've created a quick dump so you can reproduce it, you can get it from
here https://drive.google.com/open?id=1itnBHyWlZ4ASckUF1r5aSNJs4OVoAThq
.
Thanks so much Axel!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/0vercl0k/windbg-scripts/issues/2?email_source=notifications&email_token=AALIORJGTN2QBJHX6VEUKMLQYNHJDA5CNFSM4J2DWYL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGZMOII#issuecomment-565364513,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALIOROYR2AD7IVVM7ONFRLQYNHJDANCNFSM4J2DWYLQ
.

Reply to this email directly, view it on GitHub
https://github.com/0vercl0k/windbg-scripts/issues/2?email_source=notifications&email_token=AALIORKEJ3KBCMEXAQZL7UTQYNVPRA5CNFSM4J2DWYL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGZWKQY#issuecomment-565404995,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALIORISLJPAFTOATDZIPOTQYNVPRANCNFSM4J2DWYLQ
.


changed folder structure

Hello I have changed the folder structure of backend
I have added separate routes and controllers for auth and todo
Also separated passport functionality

@param-code do you have more issues that I can solve


Istio sidecar stripping Expect: 100-Continue header.

Bug description
While uploading a large file we want to first authenticate the request before accepting the data. When client send Expect: 100-Continue, we want to validate authenticate the request and return 401 if request is not valid . Since istio proxy strips off the Expect headers and sent 100-continue back by default, our server doesn't even know if client sent the Expect header.
It looks like envoy supports this feature as part of
https://github.com/envoyproxy/envoy/pull/2497
But there is no way in istio to enable this. I tried writing Envoy filter , but it fails with below error
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: enable-expect-header-envoyfilter
  namespace: confighub
spec:
  configPatches:
  - applyTo: NETWORK_FILTER
    match:
      listener:
        filterChain:
          filter:
            name: "envoy.http_connection_manager"
    patch:
      operation: MERGE
      value:
        typed_config:
          "@type": "type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager"
          proxy_100_continue: true

Error
admission webhook "pilot.validation.istio.io" denied the request: configuration is invalid: envoy filter: missing filters

Expected behavior
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
How was Istio installed?
Environment where bug was observed (cloud vendor, OS, etc)

I have tried the Envoyfilter on latest code, it works. You must have an old Istio version.
@rshriram @lambdai is this something we should consider enabling by default? Not sure of the implications of this

100-continue must be implemented in each hop.
My understanding is that we could turn on proxy_100_continue everywhere: it doesn't guarantee deliver to client, but it should not raise any trouble either, for http1.0, http1.1, http2
@PiotrSikora Is above true?


Chapter0 - Chapter4 (products-api-management)

The first thing that I see is your commit history. I should be able to understand from the commit message exactly what it contains so you can imagine that seeing only "chapter03" and "chapter04" is not describing the content of the commits at all. Even though this is just a training you should get used to give concise and explicite commit messages so that by looking at the commit history you can understand exactly the flow of the branch. E.g.: "Chapter 03 implemented the entitites". A good practice is to make small commits as often as possible, this way it's also easier to find a good name for its contents


[Bug] RunProject <mode> does not work for me

Description
If I use RunProject command in a project, it works well.
But if I use RunProject <mode>, it does not work, e.g. RunProject toggleterm.
Vim Version
NVIM v0.8.1
Build type: Release
LuaJIT 2.1.0-beta3

Thank you very much,  the command can be executed as expected.
However, some errors are displayed.
Error executing Lua callback: ...cker/start/code_runner.nvim/lua/code_runner/commands.lua:177: attempt to index global 'opt' (a nil value)
stack traceback:
        ...cker/start/code_runner.nvim/lua/code_runner/commands.lua:177: in function 'call_mode'
        ...cker/start/code_runner.nvim/lua/code_runner/commands.lua:196: in function 'run_mode'
        ...cker/start/code_runner.nvim/lua/code_runner/commands.lua:274: in function <...cker/start/code_runner.nvim/lua/code_runner/commands.lua:271>
        ...e/pack/packer/start/code_runner.nvim/lua/code_runner.lua:78: in function <...e/pack/packer/start/code_runner.nvim/lua/code_runner.lua:77>

After I updated to the latest version and executed the command, it threw some errors. Then the command worked correctly.
Error executing Lua callback: ...cker/start/code_runner.nvim/lua/code_runner/commands.lua:177: attempt to index global 'opt' (a nil value)
stack traceback:
        ...cker/start/code_runner.nvim/lua/code_runner/commands.lua:177: in function 'call_mode'
        ...cker/start/code_runner.nvim/lua/code_runner/commands.lua:196: in function 'run_mode'
        ...cker/start/code_runner.nvim/lua/code_runner/commands.lua:274: in function <...cker/start/code_runner.nvim/lua/code_runner/commands.lua:271>
        ...e/pack/packer/start/code_runner.nvim/lua/code_runner.lua:78: in function <...e/pack/packer/start/code_runner.nvim/lua/code_runner.lua:77>

Thank you very much for your efforts, it works very well.


Can any one please tell me where i get the $newsletter_id in the function?

Can any one please tell me where i get the $newsletter_id in the function?
showing the documentation https://github.com/mailjet/mailjet-apiv3-php-simple/
if you go to the function  getNewsletterDetailcontent($newsletter_id)
I cannot find how to get the newsletter id , as also i have created several newsletter on the main site of the newsletter also.

Hey @prspace :airplane:
When you create a newsletter, you're getting a response with all your nl information, including its ID.
By the way, please be aware that this repository is going to be left as unmaintained. You can use the new one and get all of your newsletter with:
$result = $client->get(Resources::$Newsletter);
if ($result->success())
{
 var_dump($result->getData()) // newsletters list
}

then you will be able to view the newsletter you would like to get with:

$mynL = $client->get($Newsletter, ['id' => $newsletter_id])

NewsletterDetailcontent is used when you want to add a body to a newsletter with either POST or PUT.
$body = [
    'Html-part' => "Hello world!",
    'Text-part' => "Hello world!"
];
$response = $mj->put(Resources::$NewsletterDetailcontent, ['id' => $id, 'body' => $body]);

use POST, if you only give a value to Html-part or Text-part, the other one will be set to empty. use PUT, if you only give a value to Html-part or Text-part, the other one keeps its previous value.
Please let me know if it answers your query :)
Best,
Guillaume

Hey ! please let me know if it solved your problem ! :)


Security Login for Label Studio

I think it will be great to have a security mechanism for entering into the label studio like a simple username and password which we can set during the setup phase or deployment phase.
I think when we deploy the studio and start using it on a server, it is open on the web and people dealing with sensitive data can have a problem there. It will be great to have an option to enable a login feature for the studio.

Added in https://github.com/heartexlabs/label-studio/pull/320

@hsethi2709 It will be cool if you check it and write feedback :slightly_smiling_face:
From new docs:
### Auth with login and password
You can restrict the access for LS instance with the basic HTTP auth.

label-studio start my_labeling_project --username user --password pwd

Or put `username` and `password` in the project config.json.
{
 ...
 "username": "user",
 "password": "pwd",
 ...
}

It will be the same username and password for all the users.

My Apologies! However, I didn't find this anywhere in the published guide ([https://labelstud.io/guide/]). It should be included in the project setup page.

We haven't released this feature yet. It's only in PR of release 0.7.3
right now.
On Fri, Jul 3, 2020, 03:54 Harshit Sethi<EMAIL_ADDRESS>wrote:

My Apologies! However, I didn't find this anywhere in the published guide
([https://labelstud.io/guide/]). It should be included in the project
setup page.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/heartexlabs/label-studio/issues/338#issuecomment-653276435,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD2QFDZUE4WQ4NGTIX3VVTRZUT35ANCNFSM4ONCTAHA
.