No way to manually open console

Description
The default mapping for opening console does not work, and manually creating a keybind also fails.
Neovim version
NVIM v0.10.0-dev-ca735c7
Build type: Release
LuaJIT 2.1.1693350652
Operating system and version
NixOS 24.05 (Uakari)
Steps to reproduce

nvim -nu minimal.lua
Open Neogit (:Neogit)
Press #
Neovim's default keymap gets triggered instead of opening console as specified in the docs

Expected behavior
# to open the console
Actual behavior
neovim's default behaviour.
NOTE: it seems like the ability to manually open console has been completely removed, manually setting a keymap for Console throws the following error:
====Neogit Configuration Errors====
Neogit has NOT been setup!
You have a misconfiguration in your Neogit setup!
Validate that your configuration passed to `require("neogit").setup()` is valid!
------------------------------------
Config value: `mappings.status['C']` had error -> Expected a valid status command, got 'Console'. Valid status commands: { false, "D
epth1", "ShowRefs", "UnstageStaged", "Depth3", "YankSelected", "Untrack", "StageUnstaged", "StageAll", "GoToFile", "CommandHistory",
 "Depth2", "RefreshBuffer", "SplitOpen", "InitRepo", "GoToNextHunkHeader", "Stage", "Close", "TabOpen", "GoToPreviousHunkHeader", "D
epth4", "OpenOrScrollDown", "Discard", "Toggle", "OpenOrScrollUp", "Unstage", "VSplitOpen" }

I would like this feature back as I have auto_show_console set to false.
Minimal config
-- NOTE: See the end of this file if you are reporting an issue, etc. Ignore all the "scary" functions up top, those are
-- used for setup and other operations.
local M = {}

local base_root_path = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h") .. "/.min"
function M.root(path)
  return base_root_path .. "/" .. (path or "")
end

function M.load_plugin(plugin_name, plugin_url)
  local package_root = M.root("plugins/")
  local install_destination = package_root .. plugin_name
  vim.opt.runtimepath:append(install_destination)

  if not vim.loop.fs_stat(package_root) then
    vim.fn.mkdir(package_root, "p")
  end

  if not vim.loop.fs_stat(install_destination) then
    print(string.format("> Downloading plugin '%s' to '%s'", plugin_name, install_destination))
    vim.fn.system({
      "git",
      "clone",
      "--depth=1",
      plugin_url,
      install_destination,
    })
    if vim.v.shell_error > 0 then
      error(string.format("> Failed to clone plugin: '%s' in '%s'!", plugin_name, install_destination),
        vim.log.levels.ERROR)
    end
  end
end

---@alias PluginName string The plugin name, will be used as part of the git clone destination
---@alias PluginUrl string The git url at which a plugin is located, can be a path. See https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols for details
---@alias MinPlugins table<PluginName, PluginUrl>

---Do the initial setup. Downloads plugins, ensures the minimal init does not pollute the filesystem by keeping
---everything self contained to the CWD of the minimal init file. Run prior to running tests, reproducing issues, etc.
---@param plugins? table<PluginName, PluginUrl>
function M.setup(plugins)
  vim.opt.packpath = {}                      -- Empty the package path so we use only the plugins specified
  vim.opt.runtimepath:append(M.root(".min")) -- Ensure the runtime detects the root min dir

  -- Install required plugins
  if plugins ~= nil then
    for plugin_name, plugin_url in pairs(plugins) do
      M.load_plugin(plugin_name, plugin_url)
    end
  end

  vim.env.XDG_CONFIG_HOME = M.root("xdg/config")
  vim.env.XDG_DATA_HOME = M.root("xdg/data")
  vim.env.XDG_STATE_HOME = M.root("xdg/state")
  vim.env.XDG_CACHE_HOME = M.root("xdg/cache")

  -- NOTE: Cleanup the xdg cache on exit so new runs of the minimal init doesn't share any previous state, e.g. shada
  vim.api.nvim_create_autocmd("VimLeave", {
    callback = function()
      vim.fn.system({
        "rm",
        "-r",
        "-f",
        M.root("xdg")
      })
    end
  })
end

-- NOTE: If you have additional plugins you need to install to reproduce your issue, include them in the plugins
-- table within the setup call below.
M.setup({
  plenary = "https://github.com/nvim-lua/plenary.nvim.git",
  telescope = "https://github.com/nvim-telescope/telescope.nvim",
  diffview = "https://github.com/sindrets/diffview.nvim",
  neogit = "https://github.com/NeogitOrg/neogit"
})
-- WARN: Do all plugin setup, test runs, reproductions, etc. AFTER calling setup with a list of plugins!
-- Basically, do all that stuff AFTER this line.
require("neogit").setup({}) -- For instance, setup Neogit

Looks like this is caused by https://github.com/NeogitOrg/neogit/commit/5033eb3e768215b9ebf566c048f7ee4042912bba, so maybe a doc change would be sufficient.

I would actually like the console back, I was getting an error yesterday that simply said "there was an error" and I had no way to inspect it.

You can see every command run in the git history console, which is mapped to $

Docs have been updated - and auto_show_console is still useful for people if they want to never see it.

auto_show_console is still useful for people if they want to never see it.

I’m being pretty pedantic here, but could we rename the option to show_console to make it more clear?


Schematron (XSLT) - schematron/openpeppol/3.15.0/xslt/CEN-EN16931-UBL.xslt Error

What steps will reproduce the problem? Running the resultant xml through the Ecosio Validator
What is the expected result? No error.
What do you get instead?

Additional info

Q
A

Version
1.0.?

PHP version

Operating system

An exception has been coded into PeppolHelper function build_invoice_lines_array as follows:
          if (empty($item->getProduct()?->getProduct_icc_listid())) {
            throw new PeppolProductItemClassificationCodeSchemeIdNotFoundException($this->t, $product);
          }


Support Different Port for PUTs compared to GETs

Is it the intention that ANY credential issuer can use ANY tails file server ?
Currently there is only a single PORT configured for the tails server. GETs HAVE to be available to the public however allowing PUTs on the same port means that any issuers capable of writing a revocable registry entry to the ledger could use any ones tails file server.  This seems problematic and suggests a seperate PORT should be configurable for the PUT method so that it can be protected via standard firewall protection approaches.
It may seem crazy that anyone would use a tails server they don't have control of for their credentials however it does open a potential DOS avenue depending on the cost of ledger writes.

I am adding some team stories locally to see if we can spend some time on these in Q3.


thingMapping.gradle

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Could not read script 'D:\Products\duya-home-demo\homesdk_sample\app\thingMapping.gradle' as it does not exist.

@zheng351138312
https://github.com/tuya/tuya-home-android-sdk-sample-java/blob/main/homesdk-sample/app/thingMapping.gradle

这是一封自动回复邮件。已经收到您的来信，我会尽快回复。


Bug in array destructuring (compile error if destructured, but no error if direct attribute access)

TypeScript Version:  3.8.2 (reproduced on next as of publishing time, which was 3.9.0-dev.20200227)

Search Terms: "array destructuring", "array object destructuring"
Code
I am trying to utilize TypeScript bindings for the following function provided by documentation for graphql-ruby, for a TypeScript React project utilizing Apollo as a GraphQL client and Rails as the server:
import { ApolloLink } from "apollo-link"

...

const hasSubscriptionOperation = ({ query: { definitions } }) => {
  return definitions.some(
    ({ kind, operation }) => kind === 'OperationDefinition' && operation === 'subscription'
  )
}

const link = ApolloLink.split(
  hasSubscriptionOperation,
  new ActionCableLink({cable}),
  httpLink
);

According to the type bindings for ApolloLink.split, I should be able to add the type binding of Operation to the single parameter of hasSubscriptionOperation, like so:
const hasSubscriptionOperation = ({ query: { definitions } }: Operation) => {
  return definitions.some(
    ({ kind, operation }) => kind === 'OperationDefinition' && operation === 'subscription'
  )
}

Expected behavior:
There should be no tsc errors. The object destructuring on the definitions.some() parameter is valid because kind and operation are both valid attributes.
Actual behavior:
Nope! I am getting a compile error on the operation destructured parameter. BUT, what's weird is that if I rely on direct attribute access instead of destructuring, then I get no compile time issues, like so:
const hasSubscriptionOperation = ({ query: { definitions } }: Operation) => {
  return definitions.some(
    (definition) => definition.kind === 'OperationDefinition' && definition.operation === 'subscription'
  )
}

Bug in destructuring???
Playground Link:
I could not get this to work in TypeScript Playground. So, hopefully CodeSandbox will suffice. See index.ts. https://codesandbox.io/s/friendly-thunder-nsicx
Related Issues:
I noticed this open bug, but it appeared to be describing a separate issue on first glance: https://github.com/microsoft/TypeScript/issues/32465
Also this bug, but it appears to be closed as fixed: https://github.com/microsoft/TypeScript/issues/33282

Because DefinitionNode is union of different types and it looks like only OperationDefinitionNode has operation key. Therefore it's not in list of common properties and cannot be safely accesses for all types from union.
In second example you first narrow union to only OperationDefinitionNode type and then you can access this key without any problems.
Change definition.kind === 'OperationDefinition' to VariableDefinition and you'll see same error.

@IllusionMH thank you for the explanation. I guess I did not know enough about union narrowing in TypeScript before I filed this issue. Now, I fully understand what is going on; by checking that definition.kind === 'OperationDefinition', I've narrowed down the union type to be OperationDefinitionNode, which is the only union type that contains an operation key.
I shall close this out now.


Remove outdated powertoys.md

Removes the outdated powertoys.md
Closes https://github.com/microsoft/PowerToys/issues/7917

cc @alannt777 the PR can be closed now, it was deleted in commit: https://github.com/MicrosoftDocs/windows-insider/commit/12f867afab8954b0336525d06a3a4cfef97942d6.


Only lint when Dockerfile changes

If I understand correctly, the linter only looks at the Dockerfile, so it should really only run when that file is changed.

Thanks @jsoref! 💖


Reverse the preview colors in dark mode

Description
In dark mode, there shall be an option to invert the colors of the preview.
Use Case
This would prevent eye strain.

Also for consideration: make the preview darker, i.e., by overlaying the preview with a div with a black background and some low opacity.

why has this been closed?

@iraizo Inverting colors has been implemented

@iraizo Inverting previews has been implemented.


refactor: use a prefix matching for the claim in subscriptions

Description of changes
This makes subscription resolvers compatible with new default "sub:username" identity claim, and the resolvers are also backwards compatible with the old "username" default.
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #10199 (2ca84bb) into master (f2ac2b2) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master   #10199   +/-   ##
=======================================
  Coverage   54.27%   54.27%
=======================================
  Files         849      849
  Lines       46933    46936    +3
  Branches    10004    10004
=======================================
+ Hits        25471    25474    +3
  Misses      19445    19445
  Partials     2017     2017

Impacted Files
Coverage Δ

...ql-auth-transformer/src/resolvers/subscriptions.ts
96.29% <100.00%> (+0.46%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Update simple example to add scancode

Hello I tried compiling the Basic example today and it did not compile with the current version of the header anymore, so i added the scancode so it would compile as expected again.
Thanks a lot for the great graphics library

@zenitsuy Thank you for making this PR, I forgot to change this after the write.
This is technically a windowing library, not a graphics library and I'm happy it's helping you! :)
This is incorrect, I'm not 100% sure if you're confused because of some other incorrect part of RGFW. Let me know if that's the case.
u32 keycode, u32 scancode is backwards, it should be u32 scancode, u32 keycode
However, I'd prefer you use
u32 key, u32 keyChar  or u32 physicalKey, u32 mappedKey
The scancode is the "physicalKey", which means it refers to where the key is on the keyboard, rather than the actual mapping by the OS. "mappedKey" or "keycode" refers to which key it is according to the OS's mapping.
I wrote about that on the keycode rewrite PR if you want more information.

Hello, thanks I didn't see that in the keycode rewrite before, so I just messed up with the order of the physical and the mapped key. Thanks for the answer and that great overview in the keycode rewrite.


Clock in top right disappears with updates

Still have :
sensor:

platform: time_date
display_options:

'time'
'date'
'date_time'
'date_time_utc'
'date_time_iso'
'time_date'
'time_utc'
'beat'

In configuration.yaml but clock no longer appears in latest update.

I am unable to reproduce with the latest version of HA. Can you check the syntax? It was pasted in here with bullets, so it's hard to tell if you have it formatted correctly.

Solved on Discord.

@th3jesta Can you please share the solution here?


Guide for ODESystem class and its reporting components

@kziabrowska @Mk11-10 send me  the final version of the guide for the issue #29, Please.


Reenable HEVC on iOS.

This change applies 243912b03f7d089b1cdda31197baf05a2e37cb70 on m76 branch. It also fixes compile issues on iOS introduced by 6c5fb0208451b8fbfc15087465ea8c3dc9421c92.

I used to have a loopback app for testing HEVC. But I cannot find it right now. So this PR is not tested on real device so far.


Start Unit Tests for Fast HotStuff Consensus

Current dependencies on/for this PR:

feature/pos-fast-hotstuff-consensus

PR #640

PR #641   👈

This comment was auto-generated by Graphite.


rules: ignore L3MDev NLA

Ignore L3MDev NLA in order to avoid the error message.
Signed-off-by: Fernando Fernandez Mancera<EMAIL_ADDRESS>

Why we silently ignore the error message? In stead of hiding it, we should add support of it or improve the logging.

I have added L3Mdev support in PR #76

I recall you specified that we should not support L3MDev as it was not anywhere on ip rule. Anyway, I am fine with your fix on supporting it.


Is this package compatible with composer v2? Doesn't seem like.

I've tried to install this package but this is what I got.
$ composer create-project samsonasik/mezzio-authentication-with-authorization -sdev
Creating a "samsonasik/mezzio-authentication-with-authorization" project at "./mezzio-authentication-with-authorization"
Installing samsonasik/mezzio-authentication-with-authorization (dev-master dcf300d89fa38248a21ca96266d50a847653e91e)
  - Syncing samsonasik/mezzio-authentication-with-authorization (dev-master dcf300d) into cache
  - Installing samsonasik/mezzio-authentication-with-authorization (dev-master dcf300d): Cloning dcf300d89f from cache
Created project in D:\laminas\mezzio-authentication-with-authorization
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - laminas/laminas-component-installer is locked to version 2.1.2 and an update of this package was not requested.
    - laminas/laminas-component-installer 2.1.2 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
  Problem 2
    - laminas/laminas-dependency-plugin is locked to version 0.2.0 and an update of this package was not requested.
    - laminas/laminas-dependency-plugin 0.2.0 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
  Problem 3
    - dealerdirect/phpcodesniffer-composer-installer is locked to version v0.6.2 and an update of this package was not requested.
    - dealerdirect/phpcodesniffer-composer-installer v0.6.2 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
  Problem 4
    - ocramius/package-versions is locked to version 1.4.2 and an update of this package was not requested.
    - ocramius/package-versions 1.4.2 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
  Problem 5
    - laminas/laminas-component-installer 2.1.2 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
    - mezzio/mezzio-tooling 1.3.0 requires laminas/laminas-component-installer ^2.0 -> satisfiable by laminas/laminas-component-installer[2.1.2].
    - mezzio/mezzio-tooling is locked to version 1.3.0 and an update of this package was not requested.

ocramius/package-versions only provides support for Composer 2 in 1.8+, which requires PHP 7.4.
If you can not upgrade PHP you can require composer/package-versions-deprecated to resolve this with PHP 7.0+.

You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.

Hi, pull request is welcome for it 👍

Closing, the suggestion accepted, feel free to create PR for it 👍

supported composer v2 at https://github.com/samsonasik/mezzio-authentication-with-authorization/pull/20


Support for Bulgarian language

Hi! I want to help with Bulgarian language.

I can also help with Bulgarian language translations and help with the team.

Thanks! I've added empty Bulgarian templates (bg) to the repository. Please start with _common.yaml and the homeassistant*.yaml files in sentences/bg

I want to help as well!

I want to help too .. I also added Google TTS bulgarian language support and also I did it in HA.

I want to help!


Update terminology related to I2C

Following Linux and OSHWA I'd like to see the language associated with the I2C bus roles changed to be less insensitive.
At this time I haven't been able to identify an I2C-specific precedent to follow, but candidate terminology to replace "master" (device that drives the clock signal) and "slave" (reacts to the clock signal changes) include:

leader/follower
primary/secondary
controller/peripheral

These are listed in decreasing order of my personal preference taking into account the semantics and pragmatics of the different terms and how the protocol works.
At this time I'm floating this to see whether there's significant support or opposition to such a change.

I would suggest "master" -> "host" and "slave" -> "device". This terminology is common in other bus protocols like USB; and at least the term "device" is used interchangeably with "slave" in some documentation Ive seen (Ive seen "device address" used a quite alot instead of "slave address"). I would recommend against at least two of the suggestions you provided:

primary/secondary: some I2C devices have multiple I2C device addresses they can listen for (common in camera sensors); these addresses are referred to as secondary addresses, so it might be overloading terms leading to confusion.
controller/peripheral: these terms are very common to refer the I2C module on an SoC level, either as an SoC peripheral or an I2C controller; so again, overloading terms might lead to confusion as to whether something is in SoC or not.

Of course, Im sure theres some overloading of "device" at very least in I2C device documentation, but I think its the best choice.

I do not want to appear to be "insensitive" ... but unless you can get NXP to change the I2C specification, I see changing terminology here will result is a lot of confusion.  I think this is an issue to NXP to address first.

More details on why I'm using leader/follower:
"controller" already has a meaning in the Zephyr I2C world: it's the I2C peripheral that interacts with the bus.  The driver for that peripheral is the I2C controller, which can be configured into leader ("master") or follower ("slave") modes.
"Leader" is because it's the one that controls the clock, which the "follower" reacts to (absent clock stretching).

A little more background to keep this moving:
As a software professional and student of social science I feel strongly that the terms "master" and "slave" subtly reinforce structural racism in tech culture.  They also blunt the impact of the word "slave" in relation to the more euphemistic "human trafficking" that continues today world-wide.
Other major open source projects have already taken steps to address these problems.
As a contributing member of the open source community I'm in a position to act.  As the Zephyr I2C maintainer I have a responsibility to act.  So #27996 starts the process.
As I note there the text projecting my views upwards to Zephyr as a whole in the explanation of the new language is overstepping, and I'm willing to adjust that to TSC-approved text, or take it out entirely (though as I2C maintainer I think that would be foolish as it makes it harder for people to understand).
But if the requirement to merge the new documentation I've written is that it must be changed to use the terms "master" and "slave", I want that to be a positive decision made by Zephyr as a project, which I must then follow as a community member.

The requested decision has been made and the I2C terminology will change when the conditions specified in the coding guidelines have been met.
Until that point this can make no progress.

Thanks.  For reference the updated specification can be found: https://www.nxp.com/docs/en/user-guide/UM10204.pdf

Wonderful, glad to finally have some updated names. Glad to see you comment here @pabigot


Buildng for Windows

Hi,
I'm trying to get rkerberos to build on Windows 7, so far without any luck.
I have the krb5-1.13.1 from MIT built and installed.
When I try to run either "gem install rkerberos", or rake test in the gems directory, I get:
--- 8< ---
z:\exe\Ruby21-x64\lib\ruby\gems\2.1.0\gems\rkerberos-0.1.3>rake test
Failed to remove tmp/x64-mingw32/stage: No such file or directory @ unlink_inter
nal - tmp/x64-mingw32/stage
Failed to remove tmp/x64-mingw32/rkerberos/2.1.5/mkmf.log: No such file or direc
tory @ unlink_internal - tmp/x64-mingw32/rkerberos/2.1.5/mkmf.log
mkdir -p tmp/x64-mingw32/rkerberos/2.1.5
cd tmp/x64-mingw32/rkerberos/2.1.5
z:/exe/Ruby21-x64/bin/ruby.exe -I. ../../../../ext/rkerberos/extconf.rb
checking for krb5.h... no
checking for main() in -lkrb5... no
warning: com_err not found, usually a dependency for kadm5clnt
checking for kadm5/admin.h... no
*** ../../../../ext/rkerberos/extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=../../../../ext/rkerberos
--curdir
--ruby=z:/exe/Ruby21-x64/bin/ruby
--with-rkerberos-dir
--without-rkerberos-dir
--with-rkerberos-include
--without-rkerberos-include=${rkerberos-dir}/include
--with-rkerberos-lib
--without-rkerberos-lib=${rkerberos-dir}/lib
--with-krb5lib
--without-krb5lib
--with-com_err-config
--without-com_err-config
--with-pkg-config
--without-pkg-config
../../../../ext/rkerberos/extconf.rb:15:in `': kadm5clnt library not found
(RuntimeError)
rake aborted!
Command failed with status (1): [z:/exe/Ruby21-x64/bin/ruby.exe -I. ../../....]
Tasks: TOP => test => test:all => compile => compile:x64-mingw32 => compile:rker
beros:x64-mingw32 => copy:rkerberos:x64-mingw32:2.1.5 => tmp/x64-mingw32/rkerber
os/2.1.5/rkerberos.so => tmp/x64-mingw32/rkerberos/2.1.5/Makefile
(See full trace by running task with --trace)
--- >8 ---
Any sugestions?
I'm not very familiar with ruby, so apologies if I'm missing anything really obvious.
Regards
Phil

If you have the gem installed, then you don't need to rebuild. You could just do "ruby -Iext test/*.rb" I think.
If you want to run the rake task, you'll have to pass the options that you passed on the command line to build rkerberos in the first place. So, something like "rake test -- --with-rkerberos-dir=C:/path/to/kerberos".

Hi,
Thanks for the reply.  I'll take a look on Tuesday when I'm next back at
work.
I haven't yet been able to get the gem to install... as it's failing at
this step during installation.  I'll see if I can get the command line
passed on the gem install line.
Cheers
Phil
Daniel Berger wrote on 02/04/15 19:56:

If you have the gem installed, then you don't need to rebuild. You
could just do "ruby -Iext test/*.rb" I think.
If you want to run the rake task, you'll have to pass the options that
you passed on the command line to build rkerberos in the first place.
So, something like "rake test --
--with-rkerberos-dir=C:/path/to/kerberos".
—
Reply to this email directly or view it on GitHub
https://github.com/domcleal/rkerberos/issues/7#issuecomment-89008692.

Ah, it didn't successfully install. Ok, then try "gem install rkerberos -- --with-rkerberos-dir=C:/path/to/kerberos".

Any luck?

Sadly not... at least not yet.
I haven't been able to upload the logs to somewhere I can share with you

I'll have a go again at that tomorrow (the joys of restricted networks!)

I think the problem is that some parts of the kerberos codebase may not
be as cross-platform as one would like, so it ends up trying to look for
linux/unix headers on a windows system :(
Daniel Berger wrote on 08/04/15 16:05:

Any luck?
—
Reply to this email directly or view it on GitHub
https://github.com/domcleal/rkerberos/issues/7#issuecomment-90944037.

The only includes in rkerberos are these:
#include <ruby.h>
#include <krb5.h>
#include <string.h>

#ifdef HAVE_KADM5_ADMIN_H
#include <kadm5/admin.h>
#endif

None of those are unix-specific, so I'm guessing it's something else. Anyway, we'll take a look at the logs once you post them and see what we can do to help.

Oh, nm, you mean within kerberos itself. Hm, could be, I don't think I ever tried to build it on Windows.

Just curious, did you build from source or use one of the kerberos installers? Because I noticed that the installer doesn't include the admin headers for some reason.

I built from source, so have all the libraries and header files available.
The problem is a header imported from kadm5/admin.h.
admin.h includes gssrpc/rpc.h
which includes netinet/in.h
which isn't available on Windows :(
Daniel Berger wrote on 08/04/15 19:36:

Just curious, did you build from source or use one of the kerberos
installers? Because I noticed that the installer doesn't include the
admin headers for some reason.
—
Reply to this email directly or view it on GitHub
https://github.com/domcleal/rkerberos/issues/7#issuecomment-90998664.

Hmm, could be a bug in kerberos. What happens if you explicitly include winsock2.h in rpc.h before that line?


Updating file properties does not create new version in version history

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested

[X] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details
No response
Describe the bug / error
Updating properties of files does not create a new version in version history. Old changes are overwritten.
In the past new version was created, so one could track changes of the properties.
This is now impossible, as no new version is created.
Steps to reproduce

Create a new file library
Add new column (for example Text column: Test)
Upload file
Change the property Test of the file to "Test 1", then change it again to "Test 2"
View version history of the file: the changes are not tracked

Expected behavior
There should be version history for each change of file properties, so one could track who change what when.
This bug has created a massive mayhem in my firm, as tracking changes is vital to our work.
From the Documentation:

EDIT: Versioning works for me now as expected, so comparing file properties of two version of the same file is possible again.


More Company cosmetics are being copied over to others when emoting

Based on https://github.com/cmooref17/Lethal-Company-TooManyEmotes/issues/97#issuecomment-2016699743
I had some time to play the game today and can confirm this issue is still happening on the latest version.
The 2 players in the red circle have my cosmetics copied over, but when I stop emoting, their cosmetics go back to normal:

I can also confirm, this bug exists for quite a while already, I always have to tell our teammates its a common bug after they find it funny that others uses the exact same outfits xD

So the bug happens when a player has no cosmetics applied to themself.
This is something that through my testing, I believe I have fixed with my mod. I had to change the way I patched MoreCompany. Aside from you both, I have heard this is still an issue, but similarly, they used the model replacement api like you. I am not 100% sure, but my guess is that model replacement api patches more company, but does it in a way that also introduces this bug.
Again, I can't say with full certainty that my mod isn't causing this, because after I fixed it on my end, I could not reproduce it anymore. If I have time, I could try testing with te model replacement api mod, as well.

For me  - me and my friends are not using this model replacement and we all have different cosmetics too when this bug happens. Here is our code in case you wanna check: 018fa180-deac-3fa9-e035-1405dee1055d


Add new command line flag to sync repos

What are you trying to accomplish?
Change the default behavior when cloning student repos to skip any repos that have already been cloned. Add in a command line flag to allow existing repos to be sync'd instead of a full clone.
Fix issue #14
Implements Feature #8
What approach did you choose and why?
Instead of doing a fresh clone every single time, skip any repos that have already been cloned and give the user a new command line flag to sync. If the user wants a fresh clone then they can already use the --directory flag to do so.
UPDATE: This change should take some pressure off your endpoint :)
What should reviewers focus on?
I couldn't see anywhere in the documentation where the gh cli allows you to pass a path when performing a sync so I had to change the working directory. If there is a better way to do a sync with the gh client please let me know :)

@zrdaley no problem! I like that approach its keeps the semantics all lined up and doesn't overload the clone command :) I will get it all updated as soon as I can :)

Updated to align with the clone command for both student repos and starter code :)

Small nit, but otherwise LGTM! Thank you for this contribution.

No worries :) Truly appreciate the feedback! Excited to see this get merged.

Once https://github.com/github/gh-classroom/actions/runs/6395315615 is green you should be able to upgrade the CLI and use this command.


Consider using a record based Buffer.t to represent iovecs for cheaper sub operation

It might be nice to represent Buffer.t using a record as opposed to a straight up bigstring. ex:
type bigstring = (char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t
type t = { buf: bigstring; pos: int; len: int}

In some simple benchmarks in the past i've noticed the sub operation to be a little faster for the record based representation, than using the sub operation from Bigarray.Array1.
┌─────────────────┬──────────┬─────────┬────────────┐
│ Name            │ Time/Run │ mWd/Run │ Percentage │
├─────────────────┼──────────┼─────────┼────────────┤
│ Iovec           │   2.55ns │   4.00w │     10.96% │
│ Bigstringaf.sub │  23.25ns │   7.00w │    100.00% │
└─────────────────┴──────────┴─────────┴────────────┘

Potentially relevent discussion: https://discuss.ocaml.org/t/hannes-mehnert-interview-about-mirageos-and-ocaml-by-evrone/5784/10

Any chance of using Cstruct.t for this? Would save copying between all the various versions of this type. Eio is already wrapping luv buffers in cstructs.

There is a chance, but I haven't had time to evaluate the various options yet.


Add error message and TypeError for invalid route in App class

All Submissions:

[ ] Have you followed the guidelines stated in CONTRIBUTING.md file?
[ ] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change
Please delete options that are not relevant.

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

New Feature Submission:

[ ] Does your submission pass the tests?
[ ] Have you linted your code locally prior to submission?

Changes To Core Features:

[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?

After these steps, you're ready to open a pull request.
a. Give a descriptive title to your PR.

b. Describe your changes.

c. Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such).

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#3786  👈
#3785
#3784
#3783
#3782
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @elviskahoro and the rest of your teammates on  Graphite

@ElijahAhianyo going to temporarily close since match case came out in Python 3.10


Sorting out dead entries with nmap

Nice list! I'm actually keeping one myself for many years, adding and removing the most annoying networks and trackers.
Here is the question: Has anyone tried scanning for dead hostnames with nmap?
I think it would be more beneficial since you can also portscan 80,81,443,8080 and if there's no active daemons - exclude it from the resulting list.
Lets think about it.

Hi @Throwaway684736
@mitchellkrogza and @funilrys are running a project like this with dead.hosts and there have been some open discussion on you suggestion, which for what i can understand from a number of threads not what @StevenBlack desire to do, as he said (something like)

The domain can easily be reactivated by a script and then just as quickly be deactivated after a scam/malware etc.

I would which I could remember this threads as i was reading about them last night, but maybe @ScriptTiger and @dnmTX can remember more about this.

@spirillen I guess you're talking about #412 ☺ and all linked issues, PyFunceble, @dead-hosts and @Ultimate-Hosts-Blacklist?
Well, it's a different view. But it's not the place to talk about it as Steven is clear: Detection of invalid is awesome but dead/inactive flag (even with a recheck everyday like we do) is not great ☺
Now, I guess you can close this Steve @StevenBlack. I will handle this in one of the other projects if needed 😉 #412 alone says it all 😁

@funilrys you're spot on :smile:

The first problem with this would be intermittent service outages. Some guy running a junker laptop in India which he has refurbished to serve malware that frequently has power outages or suffers from inadequate system resources and loses connectivity throughout the day may pop as a dead host one minute and a live one the next. Intermittent service outages could also happen at the ISP level or anywhere else between you and the host. With modern load balancing and dynamic route propagation techniques you could even have a service outage on one route and not another so one person could detect a host as dead and someone else could detect it as not dead at the same exact time, depending on the routes they are taking through different networks to get to the host.
Many cyber attacks involve rule engines of some kind to target certain groups, such as someone running a specific browser as detected by the client's user agent header request that has a specific known vulnerability, or someone whose source IP is detected as being from a particular geographic region, most often country. Such rule engines can be implemented on everything from network devices on up to Web server configurations and beyond and trying to check if a host is dead or not will have different results depending on the client you're using, your IP address, your metadata, etc., and whether or not all of those things meet the criteria to be able to reach a given host or if it is intentionally filtered out and the host is not reachable to you because you don't meet the criteria the attacker is looking for and there's no reason to waste resources on sending you a reply. This also ensures they narrow their exposure to only select targets of their choosing and no one else, as not to take unnecessary risk and allow them to remain hidden longer.
As for Nmap specifically, it only has limited HTTP/HTTPS capability and would not be an ideal client to use when detecting HTTP/HTTPS-specific features, or when trying to present a specific signature while being detected by a Web server. Simple ping or other ICMP one-shot detection methods are also out of the question, as Web services and ICMP work on completely different ports and protocols, one may be blocked while another not. It's also important to note that this repo blocks various forms of telemetry, not only that of Web traffic. There are multiple sections in the hosts files dedicated to IoT devices, smart TVs, operating system telemetry, and even specific Android apps that all use different ports and protocols, as well. Trying to ascertain a level of confidence for each entry using Nmap would take an unreasonable amount of time and resources and would make this repo no longer relevant within a reasonable production life cycle duration.
All in all, the reason why this repo depends on multiple sources curated by different means and methods is that this repo's intent is for highly curated, high-touch results that are relevant this week, but maybe not the next and get dropped accordingly. This repo intends to include hosts that may be unreliable from one minute to the next, while also drop hosts that are known with a certain confidence to no longer be a threat. Basically each hosts list published from this repo strives to be as relevant as possible during its version cycle, or otherwise reasonable duration as deemed by Steven in his development cycle.

Hi @Throwaway684736 source curation is done upstream.  We strive to combine only actively curated sources.
It's not our place to trim anybody's list of hosts based on additional tests that we imagine, right or wrong, to be relevant or accurate or whatever.
Another factor: I estimate that 90%+ people who download our hosts files do so once, or very infrequently.
I'm not about to take someone's curated list and mechanically deem part of it to be cool.  It's NOT cool because someone who cares whom we trust, upstream from here, has decided otherwise.  That's good enough for me.
Thanks for your input though!
Closing

Another factor: I estimate that 90%+ people who download our hosts files do so once, or very infrequently.

That's a fair point, also. I said "week" in my comment, but the life cycle could be much longer. I guess not everyone is using my script. wink wink (https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate)


Encode tab_cwd in base64 (*NIX file names are permissive)

See discussion in #1000.
Since *NIX file names allow any character, using them as is in an entry can break tabs functionality. The solution is to encode them in base64 and use a separator that is not in the base64 table, such as colon.
To decode the directory name, Neovim itself can be used:
fzf.tabs({
  fzf_opts = {
    ["--preview"] = [['echo -n "Tab #"{1}": "; nvim -u NONE -es +":verbose lua print(vim.base64.decode({2}))"']],
    ["--preview-window"] = "up,1",
  }
})

Or one can use base64:
fzf.tabs({
  fzf_opts = {
    ["--preview"] = [['echo "Tab #"{1}": $(echo {2} | base64 -d -)"']],
    ["--preview-window"] = "up,1",
  }
})

Ty @lbrayner!

@lbrayner, turns out vim.base64 is a new addition of nvim 0.1, I modified the code for conditional encoding.
https://github.com/ibhagwan/fzf-lua/commit/7b7e80d33468dbf98506d2ce2f185bb9dc4923f3

@ibhagwan sorry about that. Maybe you should just disable it by setting tab_cwd_tilde_base64 to empty string "":
       local tab_cwd_tilde_base64 = vim.base64
            and vim.base64.encode(tab_cwd_tilde)
            or ""

It’s alright, the current solution is acceptable, i’ll consider adding the base64 single file lib with the windows version if I find that it makes escaping easier, if UNIX escaping can be annoying windows escaping is pure hell lol


Time Series Template:  Create template for timeseries constrained to a single site.

The time series template as it stands allows multiple features and multiple relationships between then.  Would like to create a simplified version that removes the "related features" tab and crops back the site data entry table into a single block.

Since @cdesyoun is primarily using the named ranges in excel to generate the YAML via xlwings, if we make changes to the look and feel of the template, but maintain identical names for the ranges, he should need to make very few changes to keep things working.


fix env variables described  in CONTRIBUTING.md

GOBIN shouldn't be listed twice.

[ ] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

Verification

Thanks, this is definitely correct, however i wonder what was meant by "set to PATH"?

Probably that GOBIN should be in PATH. We can fix this in a follow up PR


Restrict FloodAssistant to only perform action on a list of specific domains

A subreddit that I moderate allows only 3 news article links per user per 24 hour period. Is it possible to make a whitelist/blacklist of a list of domains that FloodAssistant take action on?

That's not currently an option. I'm not sure about adding domain-specific flooding, but I could add a toggle to exempt text posts or only limit/exempt to ones with a specific flair.

Options for exempting text posts and limit to specific flair(s) would work great too


Serving from multiple directories

Hello,
Currently its possible to specify a single directory from where the assets are served.
Is there a way to specify multiple server_dirs to serve assets from?

I believe the only way to serve another directory is by using a new path. An example would look like:
    let mut app = tide::new();
    app.at("/").get(|_| async { Ok("visit /src/*") });
    app.at("/src").serve_dir("src/")?;
    app.at("/test").serve_dir("test/")?;
    app.listen("<IP_ADDRESS>:8080").await?;

I don't believe there is currently a way to serve multiple directories from the same route.

If you really need this, I would recommend looking at the source for serve_dir and making your own endpoint for this.

Thanks for the suggestions. I will try it out


3 Test files added and one bug fix implemented

-Test that makes sure app itself renders at all
-Test to make sure all Routes are accessible
-Bug fix for the window.google is undefined error that could happen every time /home is rendered

Don't merge this until i can added tests to the new routes Laryan has added with her last pull request, so make sure to merge hers first


Email addresses with apostrophes in aren't accepted as valid.

When creating a new account and the user has an apostrophe in their name, the user validation fails and the user can't be created.

The address is valid, as per RFC 2822, I can't be the only Irishman who struggles with this, daily?

@oharab Thanks for this.
I'd like to say it was a conspiracy by the English to further oppress those from The Land of the Bogs and the Little People, but sadly I think it predates any English involvement in the project, so on this point we're blameless.
The current email validation regex is @"^(([A-Za-z0-9]+_+)|([A-Za-z0-9]+\-+)|([A-Za-z0-9]+\.+)|([A-Za-z0-9]+\++))*[A-Za-z0-9]+@((\w+\-+)|(\w+\.))*\w{1,63}\.[a-zA-Z]{2,63}$"
I think this could actually be simplified by replacing [A-Za-z0-9] with something more inclusive (far more chars are allowed, as you point out), which would get rid of the need for some of the repetition.
Do you feel like suggesting a better regex?

Based on info at http://www.regular-expressions.info/email.html how about:
^[A-Z0-9]['A-Z0-9._%+-]{0,63}@(?:[A-Z0-9-]{1,63}.){1,125}[A-Z]{2,63}$`
I've tested it online and it works with my address and some others I tried out.
Once caveat I'm sure you're aware of is that if you're passing the email address round in javascript, you'll need to sanitise your output to prevent possible SQL injection attacks.


Is it possible for drawio to launch a team editing function?

Is it possible for drawio to launch a team editing function?

what?

what?

For example, if I create an image on my computer, is there any way for someone else to edit it directly, like a team?

Yes, if you save it to a cloud service like google drive or onedrive. If you don't save it anywhere, that's not possible.

I know what to do. Thank you very much for your answer！


Add voice search remove dialog pixels

Task/Issue URL: https://app.asana.com/0/488551667048375/1207056773051296/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#4442  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @joshliebe and the rest of your teammates on  Graphite


Update concepts-identity.md

Add a required permission Microsoft.Network/virtualNetworks/joinLoadBalancer/action.

Learn Build status updates of commit bea835c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/aks/concepts-identity.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
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.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@palma21

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

#sign-off


Refactor Remind Cog

Reminder Cog
This pull request adds back the reminder cog, now with API persistence.
Features

The ability to add reminders with your own message.

Format: !reminder add <duration> [message]
Example:

The ability to list reminders, featuring pagination.

Format: !reminder list
Example:

The ability to remove reminders.

Format: !reminder delete <reminder id>
Example:

The bot will DM you when the timer is up.

Example:

API Routes

[GET] api/bot/users/{UserId}/reminders: Returns a list of reminders for that specific user that haven't been dispatched.
[GET] api/bot/reminders: Returns a list of reminder IDs and their respective date & time to go off.
[GET] api/bot/reminders/{Id}/details: Returns specific information about that reminder.
[POST] api/bot/reminders/create: Creates a reminder from the request body and returns the reminder ID.
[PATCH] api/bot/reminders/{Id}/dispatch: Marks the reminder with the given ID as dispatched.

Other

converters.Duration has been modified to be consistent and have the ability to go a duration in the future and in the past.
Parsing and formatting of Python's datetime and NodaTime's LocalDateTime has been moved to utils/helpers.py.

https://github.com/ClemBotProject/ClemBot/blob/master/ClemBot.Bot/bot/api/__init__.py also have to add the route here

https://github.com/ClemBotProject/ClemBot/blob/master/ClemBot.Bot/bot/api/__init__.py also have to add the route here

Done. 😄


Split QPDFJob::run into createQPDF and writeQPDF

Allow users to transform the QPDF object created by a QPDFJob::run using custom code prior to writing.

I haven't looked at this yet, but on my roadmap for QPDFJob is to allow QPDFJob objects to be chained in some way where you could have a QPDF object be the input or the output. This may be a different way to do what I had in mind. I will look at it when I get a chance.

I was thinking about the same thing, and what I am proposing here is not a substitute for that. What I am proposing here is less powerful but, in my opinion, more convenient for many simple cases.

I was thinking about the same thing, and what I am proposing here is not a substitute for that. What I am proposing here is less powerful but, in my opinion, more convenient for many simple cases.

It may be good enough that I wouldn't ever bother with the chaining. I have my thoughts about chaining documented in TODO if you're curious.

One additional thing that will be useful and that I want before release would be to add corresponding functions to the C API.

That was understood. I intended to wait until the C++ is nailed down.
Do you think we need a separate  C example?

@jbarlow83 , could you have a look at this proposal.
I was hoping that auto job = QPDFJob::initializeFromJson; job.getQPDF() could be easily wrapped in a Python procedure, allowing pikepdf to be used to customize qpdf jobs, i.e. allow users to write something lke
# some code to setup QPDFJob config JSON
with  wrapped_get_QPDF(json) as pdf:
    #custom processing implemented in pikepdf
# output automatically written on exiting the with statement

Does that look feasible/sensible?

Yes it does look this could be done.
I do recommend instead doing
std::unique_ptr<QPDF>
QPDFJob::createQPDF()

void
QPDFJob::writeQPDF(QPDF &qpdf)

because this allows the caller of the API to decide how to store the pointer. It's only necessary to return a shared_ptr when the callee still has a "stake" in the data, which I don't believe to be the case here.
This is the opposite of what I was suggesting a few months ago - I learned some new things and changed my mind.
Practically speaking, it turns out pybind11 cannot handle situations where a C++ class (or any member in a class hierarchy) may be returned in more than one type of pointer holder, e.g. shared_ptr and unique_ptr. Currently QPDF is managed with unique_ptr.

@jbarlow83 , I agree with your points.
@jberkenbilt , I have pushed up the suggested changes. I had to change QPDFJob to use unique pointers rather than shared pointers but I don't think there is a downside to the change.

Do you think we need a separate C example?

I'd have to wait until I saw the C API, but I doubt it.


Improved SafeERC20 allowance handling

Fixes #1404

I think, build needs to re-run.

@Aniket-Engg thank you for your great help, as always! We need to get this fix in soon since we plan on finishing the release tomorrow, so I pushed directly to your branch - sorry about that!

No problem at all @nventuro


"SQL Information Protection" is not available under "Security Center --> Pricing & Settings"

The option "SQL Information Protection" is not available under "Security Center --> Pricing & Settings"
[Enter feedback here]

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

ID: 4ecc186b-cbfd-1c4e-fc2e-165883dc0a02
Version Independent ID: 207f8456-0e71-c5c6-ddbd-88c0762dfc1e
Content: SQL information protection policy in Azure Security Center
Content Source: articles/security-center/security-center-info-protection-policy.md
Service: security-center
GitHub Login: @memildin
Microsoft Alias: memildin

Thanks for your feedback! We will review and update the doc shortly.

Thanks for your feedback! We will review and update the doc shortly.

@gb5757870
Thank you for pointing this out!
In order to gain access to the SQL information protection policy option within ASC, you'll need to Grant tenant-wide permissions for yourself.

I've also created a PR to update the documentation making this easier to find. Since accessing the SQL Information protection policy option from ASC is still available, and working, after enabling tenant-wide permissions, I'll go ahead and close out this issue.
If you have any other questions, or require additional assistance, please let me know.
Thank you for your time and patience throughout this issue!

@gb5757870
Thank you for pointing this out!
In order to gain access to the SQL information protection policy option within ASC, you'll need to Grant tenant-wide permissions for yourself.

I've also created a PR to update the documentation making this easier to find. Since accessing the SQL Information protection policy option from ASC is still available, and working, after enabling tenant-wide permissions, I'll go ahead and close out this issue.
If you have any other questions, or require additional assistance, please let me know.
Thank you for your time and patience throughout this issue!

Terrific. Thank you!
On Tue, 26 Jan 2021 at 00:08, James Tran-MSFT<EMAIL_ADDRESS>wrote:

@gb5757870 https://github.com/gb5757870
Thank you for pointing this out!
In order to gain access to the SQL information protection policy option
https://docs.microsoft.com/en-us/azure/security-center/security-center-info-protection-policy?tabs=sqlip-tenant#how-do-i-access-the-sql-information-protection-policy
within ASC, you'll need to Grant tenant-wide permissions for yourself
https://docs.microsoft.com/en-us/azure/security-center/security-center-management-groups#grant-tenant-wide-permissions-to-yourself
.
[image: ascSQLProtection]
https://user-images.githubusercontent.com/36619112/105758845-9472ee00-5f04-11eb-8173-e667bbc0fd0c.gif
I've also created a PR to update the documentation making this easier to
find. Since accessing the SQL Information protection policy option from ASC
is still available, and working, after enabling tenant-wide permissions,
I'll go ahead and close out this issue.
If you have any other questions, or require additional assistance, please
let me know.
Thank you for your time and patience throughout this issue!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/69374#issuecomment-767081487,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJD4NWYGCK7RPJX5NN5IV3S3XFULANCNFSM4WP2R5OA
.

Terrific. Thank you!
On Tue, 26 Jan 2021 at 00:08, James Tran-MSFT<EMAIL_ADDRESS>wrote:

@gb5757870 https://github.com/gb5757870
Thank you for pointing this out!
In order to gain access to the SQL information protection policy option
https://docs.microsoft.com/en-us/azure/security-center/security-center-info-protection-policy?tabs=sqlip-tenant#how-do-i-access-the-sql-information-protection-policy
within ASC, you'll need to Grant tenant-wide permissions for yourself
https://docs.microsoft.com/en-us/azure/security-center/security-center-management-groups#grant-tenant-wide-permissions-to-yourself
.
[image: ascSQLProtection]
https://user-images.githubusercontent.com/36619112/105758845-9472ee00-5f04-11eb-8173-e667bbc0fd0c.gif
I've also created a PR to update the documentation making this easier to
find. Since accessing the SQL Information protection policy option from ASC
is still available, and working, after enabling tenant-wide permissions,
I'll go ahead and close out this issue.
If you have any other questions, or require additional assistance, please
let me know.
Thank you for your time and patience throughout this issue!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/69374#issuecomment-767081487,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJD4NWYGCK7RPJX5NN5IV3S3XFULANCNFSM4WP2R5OA
.


Design Doc Tweaks

Changing sample seed to 32 characters so it's directly usable. Removing publish_to_ledger parameter which was not implemented.

@jjensen-evernym please fix DCO for the first commit in the PR

I had a local git issue so I re-did the fork and resubmitted as PR 520. DCO should be correct on that PR. Thank you.

Moved to #520


Build Failure with Apple Clang 10

Hi, I'm hoping to add clip to Homebrew for Mac, but clip fails to build on High Sierra (Apple Clang 10). Relevant logs:
In file included from /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/api.cc:15:
In file included from /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/environment.h:18:
In file included from /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/graphics/page_description.h:19:
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/graphics/page_elements.h:40:8: error: no template named 'optional' in namespace 'std'
  std::optional<uint32_t> zindex;
  ~~~~~^
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/graphics/page_elements.h:42:8: error: no template named 'optional' in namespace 'std'
  std::optional<mat3> transform;
  ~~~~~^
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/graphics/page_elements.h:48:8: error: no template named 'optional' in namespace 'std'
  std::optional<Color> fill_color;
  ~~~~~^
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/graphics/page_elements.h:49:8: error: no template named 'optional' in namespace 'std'
  std::optional<uint32_t> zindex;
  ~~~~~^
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/graphics/page_elements.h:51:8: error: no template named 'optional' in namespace 'std'
  std::optional<AntialiasingMode> antialiasing_mode;
  ~~~~~^
In file included from /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/api.cc:15:
In file included from /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/environment.h:18:
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/graphics/page_description.h:41:8: error: no template named 'optional' in namespace 'std'
  std::optional<uint32_t> zindex;
  ~~~~~^
In file included from /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/api.cc:15:
In file included from /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/environment.h:23:
In file included from /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/element_factory.h:18:
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/element.h:44:20: error: no template named 'optional' in namespace 'std'
        const std::optional<double> max_width,
              ~~~~~^
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/element.h:45:20: error: no template named 'optional' in namespace 'std'
        const std::optional<double> max_height,
              ~~~~~^
[  8%] Building CXX object CMakeFiles/clip.dir/core/element.cc.o
/usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++   -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/Cellar/harfbuzz/2.6.5_1/include/harfbuzz -I/usr/include} -I/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core -I/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/utils -I/tmp/clip-20200512-2952-1jfy49v/clip-0.5  -DNDEBUG -fPIC   -std=gnu++17 -o CMakeFiles/clip.dir/core/element.cc.o -c /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/element.cc
8 errors generated.
make[2]: *** [CMakeFiles/clip.dir/core/api.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/element.cc:14:
In file included from /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/element.h:19:
In file included from /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/graphics/page_description.h:19:
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/graphics/page_elements.h:40:8: error: no template named 'optional' in namespace 'std'
  std::optional<uint32_t> zindex;
  ~~~~~^
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/graphics/page_elements.h:42:8: error: no template named 'optional' in namespace 'std'
  std::optional<mat3> transform;
  ~~~~~^
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/graphics/page_elements.h:48:8: error: no template named 'optional' in namespace 'std'
  std::optional<Color> fill_color;
  ~~~~~^
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/graphics/page_elements.h:49:8: error: no template named 'optional' in namespace 'std'
  std::optional<uint32_t> zindex;
  ~~~~~^
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/graphics/page_elements.h:51:8: error: no template named 'optional' in namespace 'std'
  std::optional<AntialiasingMode> antialiasing_mode;
  ~~~~~^
In file included from /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/element.cc:14:
In file included from /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/element.h:19:
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/graphics/page_description.h:41:8: error: no template named 'optional' in namespace 'std'
  std::optional<uint32_t> zindex;
  ~~~~~^
In file included from /tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/element.cc:14:
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/element.h:44:20: error: no template named 'optional' in namespace 'std'
        const std::optional<double> max_width,
              ~~~~~^
/tmp/clip-20200512-2952-1jfy49v/clip-0.5/core/element.h:45:20: error: no template named 'optional' in namespace 'std'
        const std::optional<double> max_height,
              ~~~~~^
8 errors generated.
make[2]: *** [CMakeFiles/clip.dir/core/element.cc.o] Error 1
make[1]: *** [CMakeFiles/clip.dir/all] Error 2
make: *** [all] Error 2

Full logs: https://github.com/Homebrew/homebrew-core/pull/54612/checks?check_run_id=665937993
Reference: https://github.com/Homebrew/homebrew-core/pull/54612

Thanks for reaching about about this and sorry that it took me so long to reply. It would be brilliant to have a homebrew recipe for clip!
The macOS 10.13 build should be fixed clip v0.7 (tagged). With any luck this will also fix the homebrew build: https://travis-ci.org/github/asmuth/clip/builds/686998011
Still, at this point, clip is not completely stable just yet, which is why I have been a bit hesitant to put a proper release up. I just hope nobody will be disappointed in case there are more minor but breaking changes. Although the 0.x version number probably implies that is a possibility.
At any rate, the interface to the plotting parts should not change much anymore, at least not in backwards incompatible ways, and I'm currently working on fixing up and extending the documentation, so hopefully the usability will improve quickly.

Thanks @asmuth, looks like that fixed it!
fwiw, I think most developers expect some breaking changes before 1.0. I typically use minor releases for breaking changes before 1.0 and patch releases for non-breaking.

clip is now on Homebrew 🎉 Mac users can do:
brew install clip

To install clip and all of its dependencies.


docs: in-tree plugin

Signed-off-by: Jim Ma<EMAIL_ADDRESS>
Description

Related Issue

Motivation and Context

应该加上中文？


Add embedding

🚀 🚀 Pull Request
Checklist:

[ ]  My code follows the style guidelines of this project and the Contributing document
[ ]  I have commented my code, particularly in hard-to-understand areas
[ ]  I have kept the coverage-rate up
[ ]  I have performed a self-review of my own code and resolved any problems
[ ]  I have checked to ensure there aren't any other open Pull Requests for the same change
[ ]  I have described and made corresponding changes to the relevant documentation
[ ]  New and existing unit tests pass locally with my changes

Changes
Added embedding htype and made minor readme updates

Done. What is this test for?

Just a sanity check.


package extensions and interoperability with different domain types

At the start of DomainSets we identified a host of packages that did similar work (#14). There is an uncountable number of Julia packages defining a Point type!
The combination of package extensions with the improvements in DomainSets v0.7 towards domains-as-an-interface makes a lot more things possible. I'm experimenting with that in DomainSetsExtensions.jl. The mechanism of associating domains with "canonical domains" is essential here. It allows for automatic translation of types across packages.
Here is an example (works with master):
julia> using DomainSets, DomainSetsExtensions

julia> using Intervals, IntervalSets, GeometryBasics, Meshes

julia> d1 = Intervals.Interval(0.0, 1.0)
Intervals.Interval{Float64, Closed, Closed}(0.0, 1.0)

julia> d2 = IntervalSets.Interval(2.0, 3.0)
2.0 .. 3.0

julia> productdomain(d1, d2)
[0.0 .. 1.0] × (2.0 .. 3.0)

julia> isequaldomain( productdomain(d1, d2), Meshes.Box((0.0, 2.0), (1.0, 3.0)))
true

The code allows to combine domains of different types and different packages. It also automatically deduces that the cartesian product of an interval from Intervals.jl with an interval from IntervalSets.jl is equal to a Box as defined in Meshes.jl.

What's more: as soon as one package somewhere has the ability to plot a domain, we can borrow that functionality!
Proof of concept:
using DomainSets, DomainSetsExtensions, StaticArrays
using Meshes, CairoMakie

viz( 2 .* UnitCube() .+ SA[1.0,2.0,3.0])

On my setup in a notebook, this uses the plotting functionality of Meshes to show a cube defined in DomainSets.


ValidationError could have a more helpful message

"Validation hook returned false!" leaves you wondering what caused the hook to return false. When using ActiveModel::Validations the details of what validations failed are available by errors.full_messages.
I wonder if we could optionally use the ActiveModel::Validations errors.full_messages, or create a hook that would allow a consumer to inject whatever text they wanted for the ValidationError message.

I agree on this as a concept, and I'm considering the PR.
One reason it was done this way is to be as agnostic as possible to the validation method you bring. As your PR notes, the ability to get the error message for ActiveModel::Validations isn't broken by the not-super-helpful exception, so I want to be cautious about depending on the behavior of outside libraries.

Got it, agreed. Just hoping to find a way that makes it easier for consumers to get consistent behavior more easily while not being so intrusive. I've pushed another version of this that I feel has better separation and maybe that's far enough?
If not we can leave it up to the consumers to implement, but I really think it'd be great if this library could have some built-in assistance.

I think it's a reasonable idea to be able to decorate the exception thrown from a validation error in #save!, but such a hook would have to avoid new dependencies. If you look at the gemspec, we currently only depend on the aws-sdk-resources gem, which in turn only depends on the standard library and the jmespath gem (which is small and maintained by us). I'd like to avoid adding new required gem dependencies if at all possible.

Ah I see...sorry I totally glanced over the gem group. Agree that we shouldn't add a new dependency here.
We can just require any consumers to implement an _aws_record_validation_error_message as they see fit.

Another possibility (we've been discussing on this side offline) could be to change how we do the validation hook, slightly. I would not want to have @api private methods be overridden, since technically they're not part of the backwards compatibility guarantee, but we would sort of be saying "wink, nod, go for it just this one time".
You'd have a :validator member of an Aws::Record class, which could be overridden and provides the validation and error message hooks, possibly other hooks as well. By default, there's a null validator that does nothing (return true to all #valid? calls, return "You're not supposed to be here." for error messages, something of that sort). Main issue there is that it increases the risk of collision with whatever validation library you bring (not sure I could even use #valid? for that member, because that makes it difficult to cleanly bring in ActiveModel::Validations.
Working on it.

So would this look something like:
# our_project/lib/aws-record/validation/active_model_validation.rb

module Aws::Record::Validation::ActiveModelValidation
  def self.valid?(subject)
    subject.valid?
  end

  def self.error_message(subject)
    return if valid?(subject)
    "Validation failed: #{subject.errors.full_messages.join(', ')}"
  end
end

# our_project/app/models/thingy.rb

class Thingy
  include Aws::Record
  include ActiveModel::Validations

  aws-record_validation Aws::Record::Validation::ActiveModelValidation

  ...
end

And if validation failed you would raise your AWS::Record::Errors::ValidationError with our Aws::Record::Validation::ActiveModelValidation.error_message?
I could get behind that. It's a little unfortunate that we'd have to define our own our_project/lib/aws-record/validators/active_model_validator.rb, as would everyone else, but I totally agree that it shouldn't be built in to aws-record and add new dependencies on ActiveModel::Validations there.

Hey Alex any update here? I'm happy to help where I can, just let me know!

Sorry, I've been pulled into other things lately and haven't had a chance to spec out a hook for this. It's still something I want to look at before GA.

I've closed the related PR, and I'm going to talk about our thoughts on this:
This library is designed as a persistence layer, with the existing validation hook into #save and the exception hook in #save! provided as a convenience.
As a best practice, the #save vs #save! behavior does step around this issue, and doesn't require making one validation library preferred over another, or even any custom behavior at all. For example, there are two ways to handle an invalid record:
item = Model.new(hash_key: "hk")

# Handling an invalid record via #save
unless item.save
  reason = item.errors.full_messages.join(", ")
  # Handle this however you find appropriate.
end

# Handling an invalid record via exceptions.
begin
  item.save!
rescue Aws::Record::Errors::ValidationError => e
  # Handling the error & message.
end

It's generally discouraged, for various reasons (many related to performance) to use exceptions for control flow. I am designing a simple/optional hook to allow users to define a custom ValidationError message pattern, but I don't want to go much further than that to avoid complexity.
Are there any reasons I'm missing for using ValidationError exceptions over if/else flow?


Toggle-button overlays overlaying div

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ x ] 3.x
I'm submitting a ...  (check one with "x")
[ x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
I'm struggling with a strange issue with the toggle-component.
On my pages I've got a pink, almost full-page-sized help div, which overlays the page content. The user can close this help div.
This works fine on all pages, except of one where I'm using the toggle component. The toggle button comes to the front on iOS devices (iOS 10.3.3), as you can see in the following picture. It's not like this all the time, but if you slided to the left or right for example, or move the page just a little bit to the left or right, then it may happen.

I'm using the ionic2-super-tabs, in case that might be important. And the page where the issue occurs is one of the main tabs.
Everything works fine on ionic serve (iOS and Android) and on android devices.
I tried to use z-index in different ways, but I don't get it running as expected. Would be gratefull vor any idea where to look at.
Expected behavior:
Toggle stays behind the help div and doesn't come to the front. Like all other components do.
Steps to reproduce:
Create Ionic 3 Project -> use toggle component -> add an overlaying div (code below).
Related code:
Here's my code. Tried different things (everything with !important as well, as you can see...).
html
<ion-content>

  <div class="helpDiv" *ngIf="showHelp">
    Helptext
  </div>

  <ion-list no-lines class="profile_list">

    <ion-item no-padding>
      <ion-label>Label</ion-label>
      <ion-toggle [(ngModel)]="shopOpenToggle" class="toggle_class"></ion-toggle>
    </ion-item>

  </ion-list>

</ion-content>

CSS
    .toggle-icon{
        z-index: 3!important;
        position: relative;
    }

    .toggle-inner{
        z-index: 3!important;
        position: relative;
    }

    .toggle_class{
        z-index: 3!important;
        position: relative;
    }

    .helpDiv{
        position: absolute;
        z-index: 9999!important;
    }

Ionic info:

    @ionic/cli-utils  : 1.8.1
    ionic (Ionic CLI) : 3.8.1

global packages:

    Cordova CLI : 7.0.1

local packages:

    @ionic/app-scripts : 2.1.4
    Cordova Platforms  : android 6.2.3 ios 4.4.0
    Ionic Framework    : ionic-angular 3.6.0

System:

    Android SDK Tools : 25.2.5
    Node              : v8.2.1
    npm               : 5.3.0
    OS                : Windows 10

Hello! Thank you for opening an issue with us! Would you be able to provide a sample application via GitHub that demonstrates the issue you are having? I tried your code, but out of context like that, it didn't reproduce your issue.
Thanks for using Ionic!

Hi @kensodemann. Thank you for looking into this.
I helped myself by just not showing the toggle if the overlaying help-div is shown. This isn't a real solution, but it's good enoug for now...


mamp.rb certificate used to sign package not trusted

General troubleshooting steps

[x] I have retried my command with --force and the issue is still present.
[x] I have checked the instructions for reporting bugs (or making requests) before opening the issue.

[x] None of the templates was appropriate for my issue, or I’m not sure.

[x] I ran brew update-reset && brew update and retried my command.
[x] I ran brew doctor, fixed as many issues as possible and retried my command.
[x] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
I recently committed a pull request on a wrong sha256 checksum for the current MAMP 4.4 package ( https://github.com/caskroom/homebrew-cask/commit/3835cff4973606935f0fb09254353e24d988eb3e ). The checksum was verified from the official website and the pull request merged. Now the checksum error I had before disappeared, but I get a "certificate used to sign package was not trusted" error.
Output of your command with --verbose --debug
==> Hbc::Installer#install
==> Printing caveats
==> Hbc::Installer#fetch
==> Satisfying dependencies
==> Downloading
==> Downloading https://downloads.mamp.info/MAMP-PRO/releases/4.4/MAMP_MAMP_PRO_4.4.pkg
Already downloaded: /Users/xxxx/Library/Caches/Homebrew/Cask/mamp--4.4.pkg
==> Downloaded to -> /Users/xxxx/Library/Caches/Homebrew/Cask/mamp--4.4.pkg
==> Verifying download
==> Determining which verifications to run for Cask mamp
==> Checking for verification class Hbc::Verify::Checksum
==> 1 verifications defined
Hbc::Verify::Checksum
==> Running verification of class Hbc::Verify::Checksum
==> Verifying checksum for Cask mamp
==> SHA256 checksums match
==> Installing Cask mamp
==> Hbc::Installer#stage
==> Extracting primary container
==> Determining which containers to use based on filetype
==> Checking container class Hbc::Container::Pkg
==> Using container class Hbc::Container::Pkg for /Users/xxxx/Library/Caches/Homebrew/Cask/mamp--4.4.pkg
==> Executing: ["/usr/bin/ditto", "--", "/Users/xxxx/Library/Caches/Homebrew/Cask/mamp--4.4.pkg", "/usr/local/Caskroom/mamp/4.4/MAMP_MAMP_PRO_4.4.pkg"]
==> Creating metadata directory /usr/local/Caskroom/mamp/.metadata/4.4/20180209212224.495.
==> Creating metadata subdirectory /usr/local/Caskroom/mamp/.metadata/4.4/20180209212224.495/Casks.
==> Installing artifacts
==> 3 artifact/s defined
#<SortedSet:0x007f957a2d1420>
==> Installing artifact of class Hbc::Artifact::Pkg
==> Running installer for mamp; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
==> Executing: ["/usr/bin/sudo", "-E", "--", "/usr/sbin/installer", "-pkg", "/usr/local/Caskroom/mamp/4.4/MAMP_MAMP_PRO_4.4.pkg", "-target", "/", "-verboseR"]
==> installer: Package name is MAMP & MAMP PRO 4.4
==> installer: Certificate used to sign package is not trusted. Use -allowUntrusted to override.
==> Purging files for version 4.4 of Cask mamp
Error: Command failed to execute!

==> Failed command:
/usr/bin/sudo -E -- /usr/sbin/installer -pkg /usr/local/Caskroom/mamp/4.4/MAMP_MAMP_PRO_4.4.pkg -target / -verboseR

==> Standard Output of failed command:
installer: Package name is MAMP & MAMP PRO 4.4
installer: Certificate used to sign package is not trusted. Use -allowUntrusted to override.

==> Standard Error of failed command:

==> Exit status of failed command:
#<Process::Status: pid 98677 exit 1>

/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:70:in `assert_success'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:36:in `run!'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:14:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:18:in `run!'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/pkg.rb:53:in `block in run_installer'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/pkg.rb:59:in `with_choices_file'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/pkg.rb:51:in `run_installer'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/pkg.rb:32:in `install_phase'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:174:in `block in install_artifacts'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/set.rb:674:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/set.rb:674:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:166:in `install_artifacts'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:80:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:20:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:14:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:14:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:98:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:156:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'

Output of brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.5.3-6-g646d696
caskroom/homebrew-cask (git revision 0ce92; last commit 2018-02-10)
==> macOS
10.13.3
==> SIP
Enabled
==> Java
9.0.4, 1.8.0_121
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask (24 files, 1.9GB)
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3909 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-drivers (141 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-eid (10 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-fonts (1159 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions (178 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib
/Library/Ruby/Site/2.3.0
/Library/Ruby/Site/2.3.0/x86_64-darwin17
/Library/Ruby/Site/2.3.0/universal-darwin17
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin17
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/universal-darwin17
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/x86_64-darwin17
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin17
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/zsh"

You will need to report this to upstream.

Same issue. This is the third release in a row where there's something wrong with the package itself or the SHA ...

I opened an issue on http://bugs.mamp.info/view.php?id=6132 but I am not sure if this will lead to anything. Any ideas?

This new checksum is failing for me as well. If I manually check:
> openssl dgst -sha256 ~/Downloads/MAMP_MAMP_PRO_4.4.1.pkg
SHA256(/Users/dpardes/Downloads/MAMP_MAMP_PRO_4.4.1.pkg)=
5eab5e3bcca0e7c9641d4cf21c7ee4a5698fa0c2ed7980cdb6a728de7857084b

I think this should be reopened.

On the day when 4.4.1 was published, I could install without any checksum error. Maybe they changed the file again?


Segment cells

I would like to segment cells in an image with membrane staining. Can I do this with nsbatwm?
git-bob comment

What if I didn't have a label image for the nuclei?
git-bob comment

I also don't have an image showing the nuclei. I only have one image showing the membranes. What function can process it to segment cells?
git-bob comment


Add Electronics

https://github.com/monostable/awesome-electronics
This is a list of sites, software and services for electronic engineers and hobbyists.
By submitting this pull request I confirm I've read and complied with the below requirements.
Failure to properly do so will just result in the pull request being closed and everyone's time wasted. Please read it twice. Most people miss many things.

I have read and understood the contribution guidelines and the instructions for creating a list.
This pull request has a descriptive title. For example, Add Name of List, not Update readme.md or Add awesome list.
The entry in the Awesome list should include a short description about the list project/theme (not the list itself), and should be added at the bottom of the appropriate category.
The list I added

has been around for at least 30 days,
is the result of hard work and is the best I could possibly produce,
is a non-generated Markdown file in a GitHub repo,
is not a duplicate,
includes a succinct description of the project/theme at the top (example),
includes a project logo/illustration (whenever possible) at the top right of the readme (example). (The logo should link to the project website or any relevant website. The logo should be high-DPI, so set it to maximum half the width of the original image.),
only has awesome items with descriptions (Awesome lists are curations of the best, not of everything),
contains the awesome badge on the right side of the list heading,
has a Table of Contents section named Contents as the first section,
has an appropriate license (Meaning something like CC0, NOT a code licence like MIT, BSD, Apache, etc) (If you use a license badge, it should be SVG, not PNG),
has contribution guidelines,
doesn't include a Travis badge,
has been checked for inconsistent formatting, spelling, and grammar:

Each link description starts with an uppercase character and ends with a period.
Drop all the A / An prefixes in the descriptions.
Consistent naming. For example, Node.js, not NodeJS or node.js.

includes a succinct description of the project/theme at the top (example),

Not followed.

has contribution guidelines,

Should be adjusted to your list. Not just copy-pasted.

Drop the Inspired by the awesome list thing.
Any related IRC, Gitter, Slack chats you could include in your list?
StackOverflow => Stack Overflow
Totally optional, but would be cool to have an illustration at the top. Here's a good example: https://github.com/websemantics/awesome-synthetic-biology

includes a succinct description of the project/theme at the top (example),

Not followed.

I don't fully understand this one, but I adjusted the GitHub description. Is that what you meant?

has contribution guidelines,

Should be adjusted to your list. Not just copy-pasted.

I did, do you mean to say I should re-do the screenshots? I think it would be better to just link to the GitHub help on how to edit files rather than repeating these instructions across every list, no?

Drop the Inspired by the awesome list thing.
done

Any related IRC, Gitter, Slack chats you could include in your list?
I don't know any very general ones. Would be a good section to have though.

StackOverflow => Stack Overflow
done

Illustration would be nice but I likely won't find the time to do it any time soon. :smile:

I don't fully understand this one, but I adjusted the GitHub description. Is that what you meant?

See the linked example. Just a short description of what the list is actually about, like what is an electronics engineer, that the list is about creating custom electronics, boards, etc.
For example, in the linked example they have:

The Quantified Self is a movement to incorporate technology into data acquisition on aspects of a person's daily life in terms of inputs (e.g. food consumed, quality of surrounding air), states (e.g. mood, arousal, blood oxygen levels), and performance (mental and physical).

I did, do you mean to say I should re-do the screenshots? I think it would be better to just link to the GitHub help on how to edit files rather than repeating these instructions across every list, no?

No, just noticed Use the following format: [List Name](link), which needs to be updated to say Resource or Item instead of List Name.

Ok, thanks for your help. Should be good now.

Looks good :)


Enable strict mode in js

In my crude and limited tests, I didn't see any relevant performance difference not within run-to-run variance (i.e. also no degradation), but I'm not familiar with benchmarking js.
@ThaUnknown: would you like to take a look and see, if this has a negative, positive or no performance impact?

In my crude and limited tests, I didn't see any relevant performance difference not within run-to-run variance (i.e. also no degradation), but I'm not familiar with benchmarking js. @ThaUnknown: would you like to take a look and see, if this has a negative, positive or no performance impact?

as I already mentioned in https://github.com/libass/JavascriptSubtitlesOctopus/pull/138, most performance lost is in constructing data objects like ImageData and Uint8ClampedArray and converting the bitmaps to images, so strict mode doesn't offer much performance benefits here anyways
you can insanely easily minimize the JS overhead to close to 0 by patching the resizable buffer function of EMSC so you don't need to construct the data array, and instead just reference it or if you don't want to implement offscreen rendering just slice the buffer exposed my EMSC  and move bitmap conversion to WASM as you can see by:

[decode time and draw time is JS, rest is WASM]

With strict mode I'm mostly interested in catching otherwise silent bugs early. I would like to ensure there’s no performance penalty; a performance improvement would ofc be a neat side effect.
Since my tests had high run-to-run variance and I'm not familiar with benchmarking JS, but you appear to be, it would be reassuring if you could verify there’s no penalty. I don't want to coerce you into anything though, if you are not interested just say so and I'll see what else I can do.

With strict mode I'm mostly interested in catching otherwise silent bugs early. I would like to ensure there’s no performance penalty; a performance improvement would ofc be a neat side effect.
Since my tests had high run-to-run variance and I'm not familiar with benchmarking JS, but you appear to be, it would be reassuring if you could verify there’s no penalty. I don't want to coerce you into anything though, if you are not interested just say so and I'll see what else I can do.

strict mode only really changes things if there's a JS function called say 100k times in a few seconds, then it might be marginally slower
when reading the chromium source I recall seeing basic if checks, so treat any enforcement by strict mode an extra if check
supposedly it can offer benefits to V8, for it to optimise things... better, but that's NOT what it was made for [from my understanding]
you shouldn't really use strict mode to catch bugs, it won't do that for you, not even in the slightest, from the sounds of it you'll be interested in a linter such as eslint preferably with some strict configuration. I personally use standard.js, as it's as you put it "good at catching bugs early"
You could use standard, then before compiling JS or even on any commit/PR have a lint test using an npm script which would do something along the likes of standard src/worker.js which will fail the CI which ran it
see: https://binary-studio.com/2021/12/21/lint-your-project-with-github-actions/ [first good result I found on google]

you shouldn't really use strict mode to catch bugs, it won't do that for you, not even in the slightest,

It will in some cases, as I can personally account for :)  (for example typos in variable assignments not silently creating new global variables)
Also, Modules use strict mode by default and some use JSO inside Modules, as evident by past fixes for strict mode having been sent to JSO. If we enable strict mode in our own default non-module setup *(assuming it has no perf penalty), we’ll avoid again introducing something which doesn't work with strict mode in the future.

but that's NOT what it was made for [from my understanding]

Exactly, that’s why this isn't the focus of this change.Yet performance degradations (due to additional checks) are undesireable so this must be tested beforehand (i.e. does the better optimisation due to not having to account for some features and side effects outweigh or neutralise the additional checks; or are the additional checks insignificant?)
The essence is, it would be really great if you could leverage your js benchmark knowledge and check if this casuses perf degradation (bad), perf improvement or no change (both good).

If you provide me with the built files I could benchmark this, FYI I'm on IRC right now, we can chat there

If you provide me with the built files I could benchmark this

Sure, here’s a version of current master (after the build cleanup patches were merged) and one with this patch applied: strict-nonstrict-comp.zip.
The only difference apart from a changed package_uuid are three "use strict";s (one per worker version and one in subtitles-octopus.js).

OffTopic:

FYI I'm on IRC right now,

I am now, but you aren't anymore ^^`. Fyi, if you plan to use IRC more: there are IRC Bouncers which will let you stay connected and not miss messages even when your client(s) are offline, or alternatively using e.g. a XMPP<->IRC or Matrix<->IRC bridge will also serve as a sort of bouncer.
From quickly skimming through the backlog, it appears like https://github.com/libass/JavascriptSubtitlesOctopus/commit/af1dc9ac94cc057e8f63641fcb7e0dbe1c320c54 might perhaps be of interest to you.

strict mode was ~1% slower which could be chalked up to measuring error from inaccurate/missing samples

Thanks! It seems this is good to merge then.


trailing whitespaces in date leads to null date

In some rss feeds like
http://boerse.ard.de/index~rss.xml
are trailing whitepaces in the pubDate element
This results in a null date. Please make it more robust

@stormqueen23 - That feed is no longer available.
Can you provide an XML snippet that shows an example of the bug?


Move Documentation Into Repo

I think it would be a good thing for the Wiki documentation to get moved into the repo under the docs/ folder
This would allow PR's to include updated documentation.

I'm currently working on a dedicated Frontman documentation site, stay tuned! 👀


Possible debug UI wireframe issue: cones

Hi!
I am enjoying debugging aframe-physics-system with the debug option set to true so I can see the wireframes.
However, the cone wireframes seem inverted, even though the physics system is actually reading the real geometry, not the wireframe geometry.  It's possible that just the wireframe is inverted by accident?
For reference:

It looks like, the problem is not in wireframe only:

Thanks!


Exceptions

Currently std::runtime_exception is thrown in a few cases. Should we have our own exception type?.
In the case of get<wrong_type>() P0088R0 uses bad_variant_access derived from logic_error for this.

:+1: to custom exception type if you see a benefit (as long as it inherits from std::exception of course).

A custom exception type would allow a user to differentiate between an exception thrown by our variant type and an exception that is somehow propagated from a type wrapped in the variant. I am not sure this is strictly necessary, but it would be cleaner in any case.
Before I change this: Is there any code checking for this exception somewhere? @artemp ?

@joto - sounds good re: custom exception.
Lets derive it from std::exception so existing code will continue to work or at least it'll be easy to fix.

I have create a new class bad_variant_access now derived from std::runtime_error and use this in the get<T>() functions. This is backwards-compatible. User code using this should switch to the new type and then we can later on switch the parent class to the more correct std::logic_error as in the upcoming standard.

closing as this issue moved to #95


Split DeclEffectSpecifiers into AccessorEffectSpecifiers and FunctionEffectSpecifiers

Part of #1373

Thanks for your comments! I think I only considered SwiftParserDiagnostics as the client of the parser, which makes the changes in my PRs not friendly to other clients. I think your suggestions make sense and I will make a try to modify my PRs.

AccessorEffectSpecifiers and FunctionEffectSpecifiers where FunctionEffectSpecifiers does not allow rethrows and reasync.

Just want to make sure if there is a typo and it should be

where AccessorEffectSpecifiers does not allow rethrows and reasync

Yes, that was a typo indeed. Good catch

I have took AccessorEffectSpecifiers apart from DeclEffectSpecifiers and renamed DeclEffectSpecifiers to FunctionEffectSpecifiers. It seems that this split also solves the TODOs in EffectfulPropertiesTests.swift without much add-ons.😀

Oh, I forgot to delete that. I've removed it and squashed my changes into a single commit.

@swift-ci please test

@swift-ci Please test Windows


[FEATURE]: support citext on introspection

Describe want to want
actually it's not able to introspect a citext column
// TODO: failed to parse database type 'citext'
email: unknown("email").notNull(),

As an alternative, is there a way to tap into a field-type generator during introspection? So I can convert this:
// TODO: failed to parse database type 'citext'
some_field: unknown("some_field")

Into this:
some_field: my_custom_type("some_field")

unknown(...) makes generated schema invalid


⚠ Bio Links has degraded performance

In 9a45459, Bio Links (https://bio.rheinklang.events/links) experienced degraded performance:

HTTP code: 200
Response time: 2555 ms

Resolved: Bio Links performance has improved in a48d493 after 18 minutes.


[Animation]  Animating header text

Description
Adding
Typing effect to H1 text on Milan website
@tamalCodes  will you please assign me this issue under GSSOC'23?
Screenshots
No response
🥦 Browser
Google Chrome
Checklist ✅

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (blank for no)
[X] I am a GSSoC23 contributor (blank for no).

Hi @Dimple-Choudhary , if you have seen our new look at: https://beta.milanhub.org, you will notice that we are focused to keep our website minimal and focused. So for that reason we will not be continuing with this type of issues where we add any kind of animations.
Thankyou so much for your effor in raising up the issue.


WP Config WordPress Auto Update Issue

I have about 3 dozen WordPress websites, I am trying to make it quick to update all of the website.
In the WP Config file I have define('DISALLOW_FILE_MODS',true); added because I can not have users adding plugins to the website, but of course this disable all auto updates.
I am trying to quickly update all websites by temporarily commenting out the //define('DISALLOW_FILE_MODS',true); and adding define( 'WP_AUTO_UPDATE_CORE', true ); to the WP Config file... though when I do this WordPress doesn't automatically update (maybe it waits 24hr or something, I don't know).
Is there a way to have WordPress automatically update the second comment out //define('DISALLOW_FILE_MODS',true); and add  define( 'WP_AUTO_UPDATE_CORE', true );?
Any help would be appreciated! Thank you in advance!

#262.