Dont call set project access if not provided

Problem:
Currently our editor calls PUT /project/project-id for every project save. We have a code in the PUT method that sets the access level to PRIVATE if not provided - and while it knows not to override it in the DB - it sets it in FGA on every save.
Fix:
This is a TEMP fix - change the route code not to set the access level if not provided - and check in the createProjectAccess method that the project access is indeed empty.
The proper fix will be to have the editor not call the PUT endpoint on every project save

hotfixing since currently every project change makes it private again


.net 7 benchmark

they have improvements in .net 7 can u re-run benchmarks and show results on the websites with .net 7?

Done.


Use base64 -D instead of -d

This change is

I signed it!
On Wed, Feb 1, 2017 at 2:29 PM, k8s-ci-robot<EMAIL_ADDRESS>wrote:

Thanks for your pull request. Before we can look at your pull request,
you'll need to sign a Contributor License Agreement (CLA).
📝 Please follow instructions at
https://github.com/kubernetes/kubernetes/wiki/CLA-FAQ
https://github.com/kubernetes/kubernetes/wiki/CLA-FAQ to sign the CLA.
Once you've signed, please reply here (e.g. "I signed it!") and we'll
verify. Thanks.

If you've already signed a CLA, it's possible we don't have your
GitHub username or you're using a different email address. Check your
existing CLA data and verify that your email is set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
If you signed the CLA as a corporation, please sign in with your
organization's credentials at https://identity.
linuxfoundation.org/projects/cncf
https://identity.linuxfoundation.org/projects/cncf to be authorized.

Instructions for interacting with me using PR comments are available here
https://github.com/kubernetes/community/blob/master/contributors/devel/pull-request-commands.md.
If you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
https://github.com/kubernetes/test-infra/issues/new?title=Prow issue:
repository. I understand the commands that are listed here
https://github.com/kubernetes/test-infra/blob/master/prow/commands.md.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/kubernetes.github.io/pull/2401#issuecomment-276788111,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEjl7FBP0i8XoWTYiXn4UNGme84TAstvks5rYPkpgaJpZM4L0aTj
.


onChange is triggered even when values are not changing

to reproduce:
      gui
        .add({ count: 1 }, 'count', 1, 5, 1)
        .name('count')
        .onChange(count => {
          console.log('change', count)
        })

Originally posted by @Sceat in https://github.com/georgealways/lil-gui/issues/124#issuecomment-1807726827

Thanks for this. I'm able to reproduce, but to confirm, it seems like this only affects number sliders with a step?

most probably yes

I can confirm this right in the off docs example:
https://lil-gui.georgealways.com/#Guide#Numbers-and-Sliders

If you put cursor in field

scroll mouse wheel in any direction, example up

step will be not 10 as set by step() method, but 1130

if scroll mouse wheel backward it will be default value again (i.e. offset / step is not calculated correctly, but calc for + and - is ok)

I can confirm this for number input fields and for sliders too

Hi @psnet, I'm not sure if this was intentional but it appears to be a duplicate of your comment on another issue: https://github.com/georgealways/lil-gui/issues/46#issuecomment-1972019070
As for extra onChange events, there will be a fix for this issue in the next release.

Hi all, this issue is fixed as of 0.19.2


Performance problem, maybe has to do with multiple chromium initializations

Hi, I'm developing an app with cordova and I installed the crosswalk plugin.
The app is currently rather simple, yet the startup time has come to 7-8 seconds.
After inspecting logcat, I found some errors related to chromium which can easily be false positives.
However every time I launch the app, the logs are saying 3 times the following thing:
Initializing chromium process, singleProcess=true. Maybe this can be related to slow load times? Full logs below: http://paste.fedoraproject.org/306181/51576865/

Which devices you are using?

Which devices you are using?

Samsung galaxy S4.

Samsung galaxy S4.

It's work finely in S3, S6, we are trying to test it on S4. we have filed a issue on JIRA https://crosswalk-project.org/jira/browse/XWALK-6087


Panel freeze

Hi, i started a proyect where i send data to esp over wifi, but when i reveive date into my esp the display freeze, Can Run a "on-demand" complete matrix update an wait for new data and re-update the matrix, because i dont kno who meke it because the refresh function is into the loop and i cant detect finish send all screen matrix data to finish

Hi.
Try this out https://github.com/2dom/PxMatrix


Escape spaces in Command path of Custom Formatter

OS
Windows 11
VERSION
1.5.5
ISSUE DESCRIPTION
Custom formatter does not support spaces in Command path.

fixed, thx!


Heap elimination, minor optimizations

The underlying library provides us fully zero-copy interface, let's use it!

Heap-allocated string has been replaced by raw slices pointed by the data buffer you own. User can convert it into the owning string easily.
Methods that return method name, error name and its description now returns static string.
At last, the version function now returns tuple instead of string, which allows to compare versions without decoding it from a string.

Also this commit should resolve #1.
Benchmarking gives us the following results:
Before:
running 1 test
test bench_request_parser ... bench:         818 ns/iter (+/- 2)
After:
running 1 test
test bench_request_parser ... bench:         503 ns/iter (+/- 3)

Wow, awesome improvements!
Thank you very much! :)


[FEAT] Vector2 class support

Describe your feature
Support for the Vector2 class; this is more of a personal need so I apologize in advance. I use Zap for voxel replication and I only need to save 2 values instead of 3.

For transparency here zap will never support the Vector2 class, but will instead support Vector3's with two values. This is due to luau heap-allocating Vector2's and stack-allocating Vector3's. This means they have a dramatic performance difference.


bug: Seems like submodules do not follow the url_format config

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.9.5
Operating system/version
macOS 14.3
Describe the bug
When I set git = { url_format = "https://ghproxy.com/https://github.com/%s" }, every plugins follow the url_format config, however, all submodules of the plugins still use https://github.com/%s as their repository urls.
For example, cat ~/.local/share/nvim/lazy/rainbow-delimiters.nvim/.git/config:
[core]
        repositoryformatversion = 1
        filemode = true
        bare = false
        logallrefupdates = true
[submodule]
        active = .
[remote "origin"]
        url = https://ghproxy.com/https://github.com/HiPhish/rainbow-delimiters.nvim
        fetch = +refs/heads/*:refs/remotes/origin/*
        promisor = true
        partialclonefilter = blob:none
[branch "master"]
        remote = origin
        merge = refs/heads/master
[submodule "test/xdg/local/share/nvim/site/pack/testing/start/nvim-treesitter"]
        url = https://github.com/nvim-treesitter/nvim-treesitter

And all other plugins containing submodules have the same problem.
Steps To Reproduce

Set git = { url_format = "https://ghproxy.com/https://github.com/%s" }
Install a package containing submodule(s)
Check the git config file of the package's folder

Expected Behavior
The repository url of submodules should follow the url_format as well.
e.g. ~/.local/share/nvim/lazy/rainbow-delimiters.nvim/.git/config:
...
[submodule "test/xdg/local/share/nvim/site/pack/testing/start/nvim-treesitter"]
	url = https://ghproxy.com/https://github.com/nvim-treesitter/nvim-treesitter

Repro
lua/insis/lazy.lua
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"

local M = {}
M.avaliable = function()
  return vim.loop.fs_stat(lazypath)
end

M.install = function()
  vim.notify("Installing plugin manager lazy.nvim ...")
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://ghproxy.com/https://github.com/folke/lazy.nvim.git",
    "--branch=stable", -- latest stable release
    lazypath,
  })
  vim.notify("plugin manager installed complete")
end

M.setup = function()
  vim.opt.rtp:prepend(lazypath)
  local status_ok, lazy = pcall(require, "lazy")
  if not status_ok then
    vim.notify("require lazy.nvim")
    return
  end
  local plugins = require("insis.plugins")
  lazy.setup({ git = { url_format = "https://ghproxy.com/https://github.com/%s" }, spec = require("insis.plugins") })
end

return M

Currently, when lazy.nvim fetches the plugin, a simple --recurse-submodules is part of the git command.
Conceptually, I think that the submodules of a plugin are part of its source code.
Technically, the fetch process would need to change quite a bit. For each submodule, lazy would have to figure out the current sha, and retrieve the submodule from the remote specified by the user.
The user can also choose not to retrieve submodules for a specific plugin.
From the plugin spec:

submodules .... When false, git submodules will not be fetched. Defaults to true

Would that be a possible workaround?

That should be OK. Perhaps I should review my plugins and minimize the effect, then try to set an environment variable when I have to upgrade them.
Still, it would be better if there were a more elegant solution :D

Is it necessary for me to close this issue?

You can close this issue if you think the workaround is doable.
Otherwise, Folke will decide.
Best regards!


Resources$NotFoundException con vectores en Android < 21 #181

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>


SAN  Friendly Name Field

When creating a  single SAN certificate, the "Friendly Name Field" could be improved for presenting the first site name. In current version v1.9.1 the field shows the ids submitted and the date.
(Y)

Good idea, should be part of #398 though as we rework how plugins such as this one work.


Better timestamp support

For our needs we wanted the field named time to work for both text timestamps as well as numeric timestamps. This adds support for second, millisecond and nanosecond timestamps as well.

Thanks! I'll fix Travis in another PR.

@coccyx I made a release with this change, on macOS you can get it by doing brew upgrade humanlog if you're using my homebrew tap.

Thanks for the fast response!


VSIX has 4.2 dependencies. Should have 4.3

The VSIX Project should create a bot with the latest dependencies.

fix merged into samples-work-in-progress branch.  plan is to merge this into master in about a week


Question about main module

So at line 41 in Server > Server why do you define a bunch of functions over again?
local _G, game, script, getfenv, setfenv, workspace, getmetatable, setmetatable, loadstring, coroutine, rawequal, typeof, print, math, warn, error,  pcall, xpcall, select, rawset, rawget, ipairs, pairs, next, Rect, Axes, os, time, Faces, unpack, string, Color3, newproxy, tostring, tonumber, Instance, TweenInfo, BrickColor, NumberRange, ColorSequence, NumberSequence, ColorSequenceKeypoint, NumberSequenceKeypoint, PhysicalProperties, Region3int16, Vector3int16, elapsedTime, require, table, type, wait, Enum, UDim, UDim2, Vector2, Vector3, Region3, CFrame, Ray, spawn, delay, task = 	_G, game, script, getfenv, setfenv, workspace, 	getmetatable, setmetatable, loadstring, coroutine, 	rawequal, typeof, print, math, warn, error,  pcall, 	xpcall, select, rawset, rawget, ipairs, pairs, 	next, Rect, Axes, os, time, Faces, unpack, string, Color3, 	newproxy, tostring, tonumber, Instance, TweenInfo, BrickColor, 	NumberRange, ColorSequence, NumberSequence, ColorSequenceKeypoint, 	NumberSequenceKeypoint, PhysicalProperties, Region3int16, 	Vector3int16, elapsedTime, require, table, type, task.wait, 	Enum, UDim, UDim2, Vector2, Vector3, Region3, CFrame, Ray, task.defer, task.delay, task;

This is just loading globals instead of fetching them when there first executed, making the script not have (pretty minor in real-world use) slow downs while in use. In practice, this is already built into Luau, however getfenv/setfenv is used in Adonis so the built-in optimization is disabled.

This is just loading globals instead of fetching them when there first executed, making the script not have (pretty minor in real-world use) slow downs while in use. In practice, this is already built into Luau, however getfenv/setfenv is used in Adonis so the built-in optimization is disabled.

This is only part of it. The real reason is this was originally done in the client to prevent changes to global variables trickling in to the client. It was also done on the server just for the sake of consistency (and the very slight potential of better performance, but more so the first thing)

But yeah I really need to get rid of setfenv usage as much as possible so we get those juicy optimizations.

The question has been answered.


Wrong OpenGL equivalent for TEX_FORMAT_BC1_UNORM_SRGB

In GraphicTypes.h, GL_COMPRESSED_SRGB_S3TC_DXT1_EXT is mentioned as the OpenGL counterpart of TEX_FORMAT_BC1_UNORM_SRGB (DXGI_FORMAT_BC1_UNORM_SRGB).
I think, the correct counterpart is GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT.

The engine currently uses GL_COMPRESSED_SRGB_S3TC_DXT1_EXT for TEX_FORMAT_BC1_UNORM_SRGB.

That will probably ignore the alpha bit.

Do you need alpha?

No, I'm good, thanks. I just noticed this when I was googling for the right OpenGL equivalent for BC1_UNORM_SRGB for my own engine ;)


Notification appear on top

I have implemented the ng-notify but I am facing issues when it comes to placing the notification on top of all the content on the page whether its top section or the bottom section. The notification goes behind the content especially when I scroll the page.
Any guidance.

Sounds like a layering issue.  Try giving .ngn class a z-index greater than the content it seems to be displaying behind and seed if that helps.


fixes #474 register light-hybrid-4j services in Server module

Codecov Report

Merging #475 into master will decrease coverage by 0.02%.
The diff coverage is 18.57%.

@@             Coverage Diff              @@
##             master     #475      +/-   ##
============================================
- Coverage     49.84%   49.81%   -0.03%
- Complexity     1768     1770       +2
============================================
  Files           251      251
  Lines         10827    10829       +2
  Branches       1535     1537       +2
============================================
- Hits           5397     5395       -2
- Misses         4796     4802       +6
+ Partials        634      632       -2

Impacted Files
Coverage Δ
Complexity Δ

...java/com/networknt/server/DefaultConfigLoader.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ain/java/com/networknt/metrics/MetricsHandler.java
31.34% <100%> (ø)
5 <0> (ø)
:arrow_down:

...ver/src/main/java/com/networknt/server/Server.java
35.95% <16.41%> (-1.97%)
17 <1> (ø)

...n/java/com/networknt/client/oauth/OauthHelper.java
40.95% <0%> (+0.68%)
25% <0%> (+2%)
:arrow_up:

Continue to review full report at Codecov.

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

@stevehu I see that the static server config variable is added back again in Server class. We had removed that variable to support config server solution. Config Loader is triggered later in the class which fetches config values and puts it in Config.configCache. So, all the configs should be read after that step & it wont work as expected if we read configs before this step.
Other reason was, config is cached in Config class & it should be maintained there only. If we keep static variables for configs in other classes, its as good as cashing the config in those classes. In that case, if the configs are refreshed in Config.configCache, other classes (using static configs) will continue using old values, which is not good.
If its absolutely required to keep that static config variable in Server class, we have to delay its  initialization at least; otherwise config server solution will not work quite well.

@santoshaherkar I didn't realize that there is a timing issue when l loading the static server configuration. I rollback the changes because I was reported by multiple users that their applications are broken after upgrade to 1.6.0 and they have to downgrade back to 1.5.x. We have too many places in our application and light-codegen to rely on the Server.config. Unless we fix all references in the platform and ask users to regenerate their code, we cannot remove the config. We need to have an internal discussion for the solution.

@stevehu As discussed on the phone call, I have made the changes to make it backward compatible and to keep config server solution working as well.

@santoshaherkar I have reviewed the code and it looks good. Thanks a lot for your help.

@stevehu when are you planning to merge this PR?

@santoshaherkar Thanks a lot for your help. I am planning to merge it before the 1.6.1 release. I would like another member to review it so that we can ensure that no issues introduced by this PR.


[wrt] Remove android extension tests from WRT

BUG=https://crosswalk-project.org/jira/browse/XWALK-5772

Please drop a mail to @qiuzhong about this update, we need to remove this suite in weekly test suite release.

LGTM


Update list of issues with status

I was running over the list of issues while preparing slides for the OCaml Workshop talk,
and thought it could be a good idea to annotate each of them

new/known - depending on whether an issue turned out to be a new discovery or a known one
fixed/open - depending on whether the issue has been fixed or not

For the In/Out_channel crash I'm unsure of the current status.
The utop issue may very well have been fixed.

CI failures are unrelated:

In the Linux run the Ephemeron test made it crash (known issue)
In the MacOS run the Ephemeron expected failure didn't trigger across the 1000 iterations


Get Itinerary badges from API

Get badges like "wifi", "cheapest flight" from the server, not from constant (ResultsListItem.js)

Seems like the current design only shows Cheaper than 20% of results badge, and the API docs for Search API does not mention anything regarding this.

close because of duplication #552


clean up css and js and compress imgs and video

the kickstarter.css is shrunk from 1500+lines to 800 lines
@jtamiace I put your features section's styling into a separately file _kickstarter_features.css

fixed the merge conflict on my branch, closing for now and opening a new pr to get your changes in


How to add type to nodes and process it by pods?

Hello! I'm a new one in kubernetes.
I want to add type to nodes, for example, node with huge hard, node with small RAM, etc.
Then I need to check the nodes type and add pods to nodes depends on the type.
Can I get some help, what is the best way to do this?

Why no just spec your pods as needing particular resources, and let the
scheduler sort out which nodes to use?  If yo need 16 GB of memory for a
particular pod, just say that.  If you are busy considering which nodes
jobs should run on, you aren't really experiencing the full power of the
system.
On Mon, Feb 2, 2015 at 9:53 PM, Nikita<EMAIL_ADDRESS>wrote:

Hello! I'm a new one in kubernetes.
I want to add type to nodes, for example, node with huge hard, node with
small RAM, etc.
Then I need to check the nodes type and add pods to nodes depends on the
type.
Can I get some help, what is the best way to do this?
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/4047.

I'm working on adding an example doc on how to pin pods to nodes in #2406

Some nodes might have specific characteristics and be non-uniform (like nodes with SSD, or GPU nodes). It would be nice to be able to specify that POD needs specific type of node (like SSD/GPU) -> and that is where scheduler would kick in and schedule them for node of specific type.

Check out the new example showing how to do this - https://github.com/GoogleCloudPlatform/kubernetes/tree/master/examples/node-selection


not getting list from futbin

line 884, in fetch_player_data
rating = card_details[1]
IndexError: list index out of range

I had some time to take a look at this. I think it is simply because futbin added the little arrow as the first column in the row. So simply adjust the code to account for it should fix, I think. I'll update if I get it working.

change tbody to this tbody = self.driver.find_element(By.XPATH, '//*[@id="repTb"]/tbody')
and stats = tbody.find_elements(By.XPATH, './tr')
stats = stats[::2]
from discord


Allow remaining news formats to be indexed

For https://trello.com/c/SlaLEmdQ/86-change-rummager-to-index-the-documents-were-publishing-l
This enables the remaining news formats that we will publish from Content Publisher to be indexed to the govuk index.

This looks good - we shouldn't need news_articles though as that is no longer used as a document_type and is just a schema name: https://github.com/alphagov/govuk-content-schemas/blob/master/formats/news_article.jsonnet#L2-L7

@kevindew ok cool - I used this to get the list, so will update this too.

Sure, it might make sense for it to still be in that list since they exist but no new ones are created.

@kevindew Ah I see, I will leave it be then :) I've removed the commit adding news_article from this PR.

Digging into things it looks like world_location_news_article isn't used anymore (which probably means it should be removed from content_schemas - I'll add a note in our trello) as there is only one published document on gov.uk with that type and if you filter Whitehall by it you get 0 whereas there are lots of world stories.
So I think we should just do nothing about world_location_news_article

@kevindew world_location_news_article removed, government_response added 👍


Istio archive contains outdated k8s manifests

Running make istio-archive VERSION=0.8.0 ISTIO_DOCKER_HUB=gcr.io/istio-release generates "istio-0.8.0-linux.tar.gz", which contains many outdated YAML files under "install/kubernetes":
- istio-mixer-validator.yaml
- istio-mixer-with-health-check.yaml
- istio-one-namespace-auth.yaml
- istio-one-namespace.yaml
- orig_istio-auth.yaml
- orig_istio-one-namespace-auth.yaml
- orig_istio-one-namespace.yaml
- orig_istio.yaml

These ones do not seem outdated; they are still in documentation.
- istio-ca-plugin-certs.yaml
- istio-ca-with-health-check.yaml

/cc @mandarjog

/subscribe

Thanks for taking this @Tahler.

@wattli how can we update istio-ca-plugin-certs.yaml, istio-ca-with-health-check.yaml ?
Do they need to be there?


Like/Unlike issue

A photo at Home is not updated when it is liked/unliked from PhotoDetails

In HomeViewController I have a tableView that contains images that I am fetching from the API. When I like/unlike a photo, I can see immediately the result(full/empty heart). The problem, is when the cells are dequeued the result changes.
Example:

Photo is unliked -> empty heart.
Photo is liked -> full heart.
Cell is dequeued -> Photo appears unliked 😕

I know why this happens, but I have no clue how to fix it.
Any clue  Shai @freak4pc ?


Epic: getpage@lsn benchmark

Motivation
https://www.notion.so/neondatabase/Test-Tools-633ddee0cf1d4e6b9962ff5df433a27d?pvs=4
DoD
There is a benchmark for getpage@lsn performance that does not require a compute to run for benchmark execution (ok for benchmark setup).
The benchmark is run as part of the performance regression tests

nightly against staging
as part of the pre-release testing

The benchmark results are reproducible for Pageserver developers.
Pageserver developers get alerted about perf regressions.
Tasks
### High Level
- [x] determinic creation of a large working set (i.e., many tenants, many layer files)
- [x] implementation of a stand-alone getpage client
- [x] implement benchmark that uses client to drive load & deliver throughput and latency metrics
- [x] implementation of a pytest performance benchmark that records the results and is easily (re-)runnable by developers on a non-CI machine
- [ ] nightly run of said benchmark as a performance regression test on predictable, developer-reproducible infrastructe
- [ ] process: automatic alerting of storage team on perf regressions, inclusion of this benchmark in the pre-release testing process

### Impl
- [ ] https://github.com/neondatabase/rust-postgres/pull/25
- [ ] https://github.com/neondatabase/neon/pull/5896
- [ ] https://github.com/neondatabase/neon/pull/5894
- [ ] https://github.com/neondatabase/neon/pull/5933
- [ ] https://github.com/neondatabase/neon/pull/5934
- [ ] https://github.com/neondatabase/neon/pull/5939
- [ ] https://github.com/neondatabase/neon/pull/5955
- [ ] https://github.com/neondatabase/neon/pull/6127
- [ ] https://github.com/neondatabase/neon/pull/6145
- [ ] https://github.com/neondatabase/neon/pull/6128
- [ ] https://github.com/neondatabase/neon/pull/6166
- [ ] https://github.com/neondatabase/neon/pull/6174
- [ ] https://github.com/neondatabase/neon/issues/6209
- [ ] https://github.com/neondatabase/neon/issues/6210
- [ ] https://github.com/neondatabase/neon/issues/6033
- [ ] https://github.com/neondatabase/neon/pull/6295
- [ ] https://github.com/neondatabase/neon/issues/6298
- [ ] https://github.com/neondatabase/neon/pull/6303
- [ ] https://github.com/neondatabase/neon/pull/6327
- [ ] https://github.com/neondatabase/neon/pull/6328
- [ ] https://github.com/neondatabase/neon/issues/6299
- [ ] https://github.com/neondatabase/neon/pull/6350
- [ ] https://github.com/neondatabase/neon/pull/6351
- [ ] https://github.com/neondatabase/neon/pull/6392
- [ ] https://github.com/neondatabase/neon/pull/6393
- [ ] https://github.com/neondatabase/neon/pull/6388
- [ ] https://github.com/neondatabase/neon/pull/6429
- [ ] https://github.com/neondatabase/neon/pull/6433
- [ ] https://github.com/neondatabase/neon/pull/6444
- [ ] https://github.com/neondatabase/neon/pull/6443
- [ ] https://github.com/neondatabase/neon/pull/6450
- [ ] https://github.com/neondatabase/neon/pull/6457
- [ ] https://github.com/neondatabase/neon/pull/6458
- [ ] https://github.com/neondatabase/neon/pull/6214
- [ ] https://github.com/neondatabase/neon/issues/6473
- [ ] https://github.com/neondatabase/neon/pull/6477
- [ ] https://github.com/neondatabase/neon/issues/6476
- [ ] https://github.com/neondatabase/neon/issues/6297

### Follow-Ups
- [ ] https://github.com/neondatabase/neon/pull/6348
- [ ] https://github.com/neondatabase/neon/pull/6349
- [ ] https://github.com/neondatabase/neon/issues/6390

Status from Alexander:

There’re 2 things left

Currently the test is skipped on CI because of https://github.com/neondatabase/neon/issues/6925
Move it to EC2 runner — this one is on my, but I’m busy with other things right now

@bayandin his one has been stuck as In Progress for a while?


feat: #50 Support for Front Matter Banner Images

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: resolve #50
What is the new behavior?
Banner Conversion (Experimental)
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Codecov Report
Patch coverage: 93.93% and project coverage change: +11.89 :tada:

Comparison is base (d8b2732) 37.79% compared to head (58763fe) 49.68%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #51       +/-   ##
===========================================
+ Coverage   37.79%   49.68%   +11.89%
===========================================
  Files           3        4        +1
  Lines         127      159       +32
  Branches       11       17        +6
===========================================
+ Hits           48       79       +31
- Misses         78       79        +1
  Partials        1        1

Impacted Files
Coverage Δ

src/jekyll/chirpy.ts
18.36% <33.33%> (+0.65%)
:arrow_up:

src/jekyll/convertFrontMatter.ts
100.00% <100.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Getting Started with the Input-Output Streams

Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
Pre-submission checks
Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes
This closes #3621

Hi @TheresaAtieno, welcome to @Section.
I'm looking forward to reviewing this article as soon as possible!
Thank you!

Plagiarism check done.

Hi @TheresaAtieno, welcome to @section. I'm looking forward to reviewing this article as soon as possible!
Thank you!

@jumamiller how do I add my author details? Check your slack I sent you a message there too!

@jumamiller done!

Just what I needed for the school project! Thank you @TheresaAtieno for this informative article on streams in PHP.
Once again, welcome to the Section community, looking forward for more articles on PHP.

Jumping on this one 🚀

ready to merge once question is clarified.

ready to merge once the question is clarified.

Hello sir, the comment addressed! Thank you!


Fix small error in PHPs arrowFunction Syntax

Arrow functions in PHP are written like:
$arrow = fn () =>  'Something';

the fn was missing in the docs.

it is now fixed here https://github.com/gleam-lang/website/pull/327/files

Thank you both!


Fix orphaned annot window

This fixes problems with the matplotlib backend of the raw browser:

[x] the figure was not actually displaying; required a fig.show()
[x] annotation figures were not being properly cleaned up when the main window was closed (#10454)
[x] escape key doesn't close the figure window anymore (upstream report: https://github.com/matplotlib/matplotlib/issues/23298)
[x] for some reason the browser's close event is apparently happening during creation (turns out to have the same cause as the failed escape key).

MWE for the last item:
import os
import mne

sample_data_folder = mne.datasets.sample.data_path()
sample_data_raw_file = os.path.join(sample_data_folder, 'MEG', 'sample',
                                    'sample_audvis_filt-0-40_raw.fif')
raw = mne.io.read_raw_fif(sample_data_raw_file).crop(tmax=10).load_data()
annot = mne.Annotations([1], [1.5], 'foo')
raw.set_annotations(annot)
mne.set_log_level('debug')
fig = raw.plot()

yields this output
[ ...omitted Raw loading stuff ]
Using matplotlib as 2D backend.
Opening raw browser...
Closing raw browser <MNEBrowseFigure size 2560x1440 with 5 Axes>
Channels marked as bad:
['MEG 2443', 'EEG 053']

note the line "Closing raw browser...", that shouldn't happen during figure creation

OK, I'm totally flummoxed. I've added some extremely verbose debugging lines, and here is the result:
import os
import mne

mne.set_config('MNE_BROWSER_BACKEND', 'matplotlib')
sample_data_folder = mne.datasets.sample.data_path()
sample_data_raw_file = os.path.join(sample_data_folder, 'MEG', 'sample',
                                    'sample_audvis_filt-0-40_raw.fif')
raw = mne.io.read_raw_fif(sample_data_raw_file).crop(tmax=10).load_data()
mne.set_log_level('debug')
fig = raw.plot()

output:
[ ... omitting the "opening raw data file stuff ... ]
Using matplotlib as 2D backend.
Opening raw browser...
* calling "plt_show(True, block=False, fig=<MNEBrowseFigure size 2560x1440 with 5 Axes>)"
* calling "import matplotlib.pyplot as plt"
* calling "if show and get_backend() != 'agg'" (show=True)
Closing raw browser <MNEBrowseFigure size 2560x1440 with 5 Axes>
Channels marked as bad:
['MEG 2443', 'EEG 053']
* calling "if fig and 'block' in kwargs" (fig=<MNEBrowseFigure size 2560x1440 with 5 Axes>, kwargs='dict(block=False)')
* calling fig.show(block=False)

So for some reason, Closing raw browser ... (which is a debug line in the _close method of BrowserBase class) is showing up on this line:
https://github.com/drammock/mne-python/blob/670981ad9206b49fe6122051919f5b2a823bae07/mne/viz/utils.py#L123
which makes absolutely no sense.

ok, after commenting out these lines
https://github.com/drammock/mne-python/blob/670981ad9206b49fe6122051919f5b2a823bae07/mne/viz/utils.py#L154-L157
and replacing them with pass, then going line-by-line through the plt_show function, I get the following extremely surprising result:
In [1]: import os
   ...: import mne
   ...:
   ...: mne.set_config('MNE_BROWSER_BACKEND', 'matplotlib')
   ...: sample_data_folder = mne.datasets.sample.data_path()
   ...: sample_data_raw_file = os.path.join(sample_data_folder, 'MEG', 'sample',
   ...:                                     'sample_audvis_filt-0-40_raw.fif')
   ...: raw = mne.io.read_raw_fif(sample_data_raw_file).crop(tmax=10).load_data()
   ...: mne.set_log_level('debug')
   ...: fig = raw.plot()
Opening raw data file /data/mne_data/MNE-sample-data/MEG/sample/sample_audvis_filt-0-40_raw.fif...
    Read a total of 4 projection items:
        PCA-v1 (1 x 102)  idle
        PCA-v2 (1 x 102)  idle
        PCA-v3 (1 x 102)  idle
        Average EEG reference (1 x 60)  idle
    Range : 6450 ... 48149 =     42.956 ...   320.665 secs
Ready.
Reading 0 ... 1502  =      0.000 ...    10.003 secs...
Using matplotlib as 2D backend.
Opening raw browser...
In [2]: from matplotlib import get_backend
In [3]: import matplotlib.pyplot as plt
In [4]: get_backend()
Closing raw browser <MNEBrowseFigure size 2560x1440 with 5 Axes>
Channels marked as bad:
['MEG 2443', 'EEG 053']
Out[4]: 'QtAgg'

The get_backend() function does this:
def get_backend():
    """
    Return the name of the current backend.

    See Also
    --------
    matplotlib.use
    """
    return rcParams['backend']

so drilling down further:
In [1]: import os
   ...: import mne
   ...:
   ...: mne.set_config('MNE_BROWSER_BACKEND', 'matplotlib')
   ...: sample_data_folder = mne.datasets.sample.data_path()
   ...: sample_data_raw_file = os.path.join(sample_data_folder, 'MEG', 'sample',
   ...:                                     'sample_audvis_filt-0-40_raw.fif')
   ...: raw = mne.io.read_raw_fif(sample_data_raw_file).crop(tmax=10).load_data()
   ...: mne.set_log_level('debug')
   ...: fig = raw.plot()
Opening raw data file /data/mne_data/MNE-sample-data/MEG/sample/sample_audvis_filt-0-40_raw.fif...
    Read a total of 4 projection items:
        PCA-v1 (1 x 102)  idle
        PCA-v2 (1 x 102)  idle
        PCA-v3 (1 x 102)  idle
        Average EEG reference (1 x 60)  idle
    Range : 6450 ... 48149 =     42.956 ...   320.665 secs
Ready.
Reading 0 ... 1502  =      0.000 ...    10.003 secs...
Using matplotlib as 2D backend.
Opening raw browser...
In [2]: import matplotlib
In [3]: matplotlib.rcParams['backend']
Closing raw browser <MNEBrowseFigure size 2560x1440 with 5 Axes>
Channels marked as bad:
['MEG 2443', 'EEG 053']
Out[3]: 'QtAgg'

somehow matplotlib's instantiation of rcParams is triggering a close event on the figure?!
it even happens if I just type matplotlib.rcP<tab>!

If anyone has any shadow of an idea about what might be going on here, please LMK

If anyone has any shadow of an idea about what might be going on here, please LMK

Any way you could connect a on_close handler to the figure that will raise RuntimeError, then you do your tab completion? It might spit out a traceback that tells you where it comes from.
If that doesn't work, I'd dig into the matplotlib code, find a place that will handle on_close in the Qt backend (or whatever you're using), and traceback.print_stack()

The code on this is ready for review but I'd still like to add some tests that would have caught these regressions.

Looks good so far!

OK, I've added a test that fails on main and passes here (locally at least).  Ready for review/merge if the CIs are all happy.

@drammock This PR reverts some changes e.g. in the changelog that shouldn't be reverted, I think something went wrong during a rebase or so

@drammock this PR reverts lots of changes that should not be reverted, possibly a rebase went wrong or so

Argh sorry. I did rebase but git didn't complain about conflicts, I'll have to see what happened.

@drammock this PR reverts lots of changes that should not be reverted, possibly a rebase went wrong or so

Argh sorry. I did rebase but git didn't complain about conflicts, I'll have to see what happened.

I think there was a caching problem somewhere, I cannot see these problems anymore
So all is good to go from my end!

the macOS conda job timed out after 6 hours on the install step. Restarted. Has that behavior been seen before?


feat: remove path limit

Closes #
📑 Description

移除自动为证书路径加 . ，支持使用绝对路径配置证书。

✅ Checks

[x] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[x] All the tests have passed

ℹ Additional Information

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6d6dcf7) 78.72% compared to head (2ecb06c) 79.26%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
+ Coverage   78.72%   79.26%   +0.54%
==========================================
  Files          12       12
  Lines         879      873       -6
==========================================
  Hits          692      692
+ Misses        155      151       -4
+ Partials       32       30       -2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Changelog Entry
version: <log entry>

Checklist:

[x] I have performed a self-review of my own code
[ ] I have documented my code in accordance with the documentation guidelines
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have run the unit tests
[ ] I only have one commit (if not, squash them into one commit).
[x] I have a descriptive commit message that adheres to the commit message guidelines

Please review the CONTRIBUTING.md file for detailed contributing guidelines.

Codecov Report

Merging #680 (64c0232) into main (d8ce177) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff            @@
##               main     #680   +/-   ##
=========================================
  Coverage     69.03%   69.03%
  Complexity      406      406
=========================================
  Files           152      152
  Lines         13836    13836
  Branches        290      290
=========================================
  Hits           9551     9551
  Misses         4133     4133
  Partials        152      152

Flag
Coverage Δ

rust
67.02% <ø> (ø)

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


pyglet.resource default loader cannot find files when running Unittests in Pycharm

I'm trying to write a test using python's unittest library without using patch to mock Pyglet's resource module. Said another way, I want my code to be able to actually load an image using pyglet.resource.image during my test. I'm writing my test in Pycharm and using its built-in test runner to run the test.
I kept getting a ResourceNotFoundException, but I couldn't figure out why, because I triple-checked that the relative path from my working directory to the folder where the image was had been passed to resource.path, I had called resource.reindex(), and I spelled the filename correctly.
I did some debugging and found that resource's DefaultLoader thinks the script_home is the directory where Pycharm keeps its unittest runner: /home/<username>/Applications/pycharm-community-2020.1.1/plugins/python-ce/helpers/pycharm. This is happening even though I explicitly set my run configuration's working directory to the root of my project, where my assets folder containing the image lives.
pyglet.resource.get_script_home is getting this directory on line 136: main = sys.modules['__main__']
Is there a way I can tell resource to use a custom Loader instance instead of the default while my tests are running?

To use a custom Loader, you can just subclass pyglet.resource.Loader, and provide your own script_home string and path list. Make sure to use forward slashes ( / ) in your paths.
myloader = pyglet.resource.Loader(script_home='/some/custom/path')

Thank you, this works well.
My main issue is that I can't fully mock out Pyglet's image class when I'm writing a unit test for a subclass of Sprite, because the super class' __init__ expects a real Pyglet image, not a unittest Mock object. I had no luck mocking Sprite - when my production code called super().__init__(mock_image), it would always throw an error because my Mock object didn't have the correct attributes. For anyone who is looking for help doing this in the future, here are two solutions:
Subclass Loader
If you want to subclass Loader as @benmoran56 suggests above, you can do something like this, where my actual production assets live in a directory called "assets" inside the root of my application, which is also my current working directory while running tests:
import os
from pyglet.resource import Loader

class CustomResourceLoader(Loader):
    def __init__(self):
        super().__init__(path=['assets'], script_home=os.getcwd())

This means I can now use the CustomResourceLoader directly in my production code, or I can just use it in my tests. I prefer to only use this in my tests, because Pyglet does an excellent job of discovering assets packaged up with py2app or PyInstaller, and I don't want to mess with that. To just use this in my tests, I can patch pyglet.resource and provide a CustomResourceLoader instead of a Mock. That way, my production code still loads images using pyglet.resource while the game is running, and I can let it load real images and avoid my problem above during tests.
class TestPlayer(TestCase):

    def setUp(self) -> None:
        self.image = get_test_image()

    @patch('src.player.player.resource', new=CustomResourceLoader())
    def test_loads_animation(self):
        # Test Code
        ...

Load files with pyglet.image.load
My solution to this problem while I was waiting to hear from @benmoran56 was to create a helper method to load a test image from a directory of assets I keep around just for unit tests to use:
import os
import pyglet

def get_test_image():
    file_path = os.path.join(os.getcwd(), 'test/test_assets/1x1.png')
    return pyglet.image.load(file_path)

Instead of allowing my production-code-under-test to load real images, I would instead use unittest's mock.patch decorator to inject a mock version of pyglet.resource into my production code. I then told the mock version of resource.image to return the image from my helper function:
class TestPlayer(TestCase):

    def setUp(self) -> None:
        self.image = get_test_image()

    @patch('src.player.player.resource', autospec=True)
    def test_loads_animation(self, mock_resource: MagicMock):
        mock_resource.image.return_value = self.image
        ...

From here, I could mock out as much or as little as I want, because the production code has a real image created by Pyglet.
As I understand it, normally, you would want to avoid using pyglet.image.load because it creates a new texture each time you use it, even if you've already loaded that image before(?). pyglet.resource.image caches those for you.  I made my image file 1x1 pixel just in case.


Is it possible to set interval minutes in TUI Calendar (Weekly mode)

Version

Development Environment

Current Behavior

// Write example code
this.calendar = new tui.Calendar('#weekly-schedule-salesman', {
            defaultView: 'week', // weekly view option
            theme: WEEKLY_CUSTOM_THEME,
            taskView: false,
            scheduleView: ['time'],
            week: {
                daynames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
                startDayOfWeek: 1,
                hourStart: 7,
                // narrowWeekend: true,
                goingDuration : 30,
            }
});

Expected Behavior

For now, my tui calendar show data in 1 hour interval. I want to make my calendar in 30 minutes interval. Is it possible? If yes, can anyone help me how to solve it? Thank you.

We don't support a custom duration feature yet.
It's a duplicate of #373

Thank you for the answer.


fix window.showMessage

rebased https://github.com/TypeFox/monaco-languageclient/pull/144

@mofux @jroitgrund How do you verify it?

Published it under dev tag for testing.


How to read zarr with different dims by xarray?

What is your issue?
Here is my test code:
import zarr
import xarray as xr
import os
d = 'gfs.2021032300.zarr'
store = zarr.DirectoryStore(d)
zarr_file = zarr.open(store)
print(zarr_file.tree())
ds = xr.open_zarr(store)
# ds = xr.open_zarr(d)

the zarr tree like this:
/
├── APCP_surface (121, 257, 257) float32
├── APTMP_2maboveground (122, 257, 257) float32
├── DPT_2maboveground (122, 257, 257) float32
├── DSWRF_surface (121, 257, 257) float32
├── GUST_surface (122, 257, 257) float32
├── HGT_1000mb (123, 257, 257) float32
├── HGT_500mb (123, 257, 257) float32
├── HGT_600mb (123, 257, 257) float32
├── HGT_700mb (123, 257, 257) float32
......
├── latitude (257,) float64
├── longitude (257,) float64
└── time (123,) float64
And I got an error from ds = xr.open_zarr(d):
....
ValueError: conflicting sizes for dimension 'time': length 122 on 'APTMP_2maboveground' and length 121 on {'time': 'APCP_surface', 'latitude': 'APCP_surface', 'longitude': 'APCP_surface'}
Then I don't kown how to read the zarr with such a structure (not the same dim length). Please tell me how to read the zarr into xarray.

If your zarr store has two arrays in the same group that have the same dimension name but different lengths along that dimension, then you cannot read that group with Xarray unfortunately. This is because zarr 's data model is slightly more general than Xarray 's data model.

If your zarr store has two arrays in the same group that have the same dimension name but different lengths along that dimension, then you cannot read that group with Xarray unfortunately. This is because zarr 's data model is slightly more general than Xarray 's data model.
Thank for your answer, I try it by drop other variables. But I think if there is an select variables to do this, it will be much useful.


ARROW-5084: [Website] Add blog post for 0.13.0 release

This post is fairly brief; the releases are getting harder and harder to summarize in a short blog post, so I don't think we can go into too much detail.
If anyone from the other PLs would like to post a blurb for me to add (GLib, Ruby, Rust, Go, Java, JavaScript, C#) please write here and I'll incorporate.
I will plan to publish this and send out on social media tomorrow (April 2) morning in the USA.

Probably good to add a blurb about the Javascript release joining mainline. Also, we never did write an announcement about JS 0.4, would it make sense to highlight some of those features here as well?
Here's a blurb about the end of JS-only releases:
Javascript Notes
0.4.1 will be the last Javascript-only release of Apache Arrow. Starting with 0.13 the Javascript implementation is now included in mainline Arrow releases! The  version number of the released Javascript packages will now be in sync with the mainline version number.

Thanks all. I'll incorporate these changes (and others proposed) before publishing tomorrow morning


ImportError: no module named base

When running the example from here:https://pypi.python.org/pypi/brew/0.1.3
I get the following error on this line: from brew.base import Ensemble, EnsembleClassifier
ImportError: No module named base
Importation of the other brew modules seems to be fine.
thanks.

@jeanniex, are you sure you're running from the right location? try installing the package and run it from another location.
Also, the example fine on 0.1.4, so, this bug is already solved (at least in my machine).
Let me know how it goes.

hi David,
Thanks for your quick response. It works fine if I put the brew folder in
the local directory where I am using it - but not if it is installed
globally (using setup.py install).
don't worry about it -- I just wanted to try it out and I can make it work
locally.
j
On Thu, Oct 27, 2016 at 5:23 PM, Dayvid Victor<EMAIL_ADDRESS>wrote:

@jeanniex https://github.com/jeanniex, are you sure you're running from
the right location? try installing the package and run it from another
location.
Also, the example fine on 0.1.4, so, this bug is already solved (at least
in my machine).
Let me know how it goes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/viisar/brew/issues/22#issuecomment-256695856, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AWCB-MzSqD_LaKNbD3hcjotB8RzIdIzxks5q4NATgaJpZM4KicKt
.

Hi again David,
If pip is used to install brew, it returns the following error : IOError:
[Errno 2] No such file or directory: 'requirements.txt'
thanks,
j
On Thu, Oct 27, 2016 at 5:23 PM, Dayvid Victor<EMAIL_ADDRESS>wrote:

@jeanniex https://github.com/jeanniex, are you sure you're running from
the right location? try installing the package and run it from another
location.
Also, the example fine on 0.1.4, so, this bug is already solved (at least
in my machine).
Let me know how it goes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/viisar/brew/issues/22#issuecomment-256695856, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AWCB-MzSqD_LaKNbD3hcjotB8RzIdIzxks5q4NATgaJpZM4KicKt
.

Hi jeanniex , I found how to fix this, first download the brew-0.1.4, then extract it, open setup.py, after that omit these code:
one: with open('requirements.txt') as fid:
INSTALL_REQUIRES = [l.strip() for l in fid.readlines() if l]
two: install_requires=INSTALL_REQUIRES,
save, then zip the files
after zip the files, open terminal or dos and go to the zip location and put these:
pip install brew-0.1.4.zip

Thank you David.
Jeannie Fitzgerald
<EMAIL_ADDRESS>*The information in this email and any attachments is proprietary and
confidential.  This email is intended to be reviewed by only the individual
or organization named above.  If you are not the intended recipient or an
authorized representative of the intended recipient, you are hereby
notified that any review, dissemination or copying of this email and its
attachments, if any, or the information contained herein is prohibited.  If
you have received this email in error, please immediately notify the sender
by return email and delete this email from your system.
On Sat, May 13, 2017 at 4:17 AM, alzami1986<EMAIL_ADDRESS>wrote:

Hi jeanniex , I found how to fix this, first download the brew-0.1.4, then
extract it, open setup.py, after that omit these code:
one: with open('requirements.txt') as fid:
INSTALL_REQUIRES = [l.strip() for l in fid.readlines() if l]
two: install_requires=INSTALL_REQUIRES,
save, then zip the files
after zip the files, open terminal or dos and go to the zip location and
put these:
pip install brew-0.1.4.zip
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/viisar/brew/issues/22#issuecomment-301221832, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AWCB-C4QIEjUf803bW6KglPQ4MrJx9mEks5r5SDmgaJpZM4KicKt
.


WordBreakCompoundRewriter should support case-insensitive dictionaries

Currently, the WordBreakCompoundRewriter validates candidates for compounds and term constituents against a dictionary field. There is no pre-processing/analysis before validation so a upper-case search term will never validate against a lowercased dictionary field, i.e. "Hunde Futter" will never be compounded if there is only "hundefutter" indexed in the dictionary field.
Two possible fixes:

Get the field's query analyzer from the Solr schema and perform analysis before term validation.
Provide an option to just lowercase the term before validation.

Thank you! I think we should use the second approach (just lowercase) as this happens in querqy-lucene, where we don't have a guarantee that there is a schema.

This has been implemented.


Remove mentions of the fact that Typst makes specifically 5 attempts to stabilize layout in user-facing documentation

The documentation for state used to explain that Typst makes four attempts to stabilize layout. This is wrong.
Rather than simply replacing "4" with "5", I removed all mentions of the fact that Typst makes specifically five attempts to stabilize layout in user-facing documentation. That way, this value can be changed later without having to update multiple pages in the documentation.
Another solution would be to add a comment in the last test of meta/state to remind contributors who change this value to update the documentation in multiple places.
Note that I have kept it in architecture.md because this is not user-facing, and intended for contributors, who might need to know the exact value.

I would also point out that we could (should?) increase that limit maybe to something like 6-7, not go berserk with the iteration count but a nice bump could be helpeful.

Thanks!


The terminology change has been disastrous for the docs

We know that "entity" was changed to "table" and "field" was changed to "column", but problem is previously "entities" also meant "records" and "entity type" term was used for now called "tables". And an "entity property" was a "field" meaning now a "column".
So some texts in this page (and many many other pages) are really messed up.
Some examples in this page:

"Limits on number of tables returned" trying to say "Limits on number of records returned"
"a maximum of 5000 entities will be returned" trying to say "a maximum of 5000 records will be returned"

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

ID: 7c5424f5-e734-423d-2baf-d7f82d500c96
Version Independent ID: 4c1116df-37f5-0be4-6c94-3e3939e4cdb2
Content: Query data using the Web API (Microsoft Dataverse) - Power Apps
Content Source: powerapps-docs/developer/data-platform/webapi/query-data-web-api.md
Service: powerapps
GitHub Login: @JimDaly
Microsoft Alias: jdaly

I understand Peter is working on this.
The goal was to adopt new terminology when it makes sense so new people aren't completely lost, but part of that is to then educate them about the terminology differences in the developer space, where entity and attributes are still real things people work with.

@AgileXRM Thanks for your feedback; the issues you pointed out have been resolved and we will do another pass to fix these terminology issues. Closing the issue.


Support for TLS/mTLS in azure cloud springboot?

It states that TLS is not supported on the server side in version 4.x, but you are already on 5.x. Why is support still not added. I am using an extremely outdated 3.14 library. New vulnerabilities get found every day. Why is this support still not added.

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

ID: 7f76c16f-4898-d212-cec3-463f1d5a3912
Version Independent ID: 10e24fd2-aa87-b300-d4ce-1a4377f4f2fc
Content: Enable HTTPS in Spring Boot with Azure Key Vault certificates
Content Source: articles/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-key-vault-certificates.md
Service: key-vault
GitHub Login: @KarlErickson
Microsoft Alias: edburns

Hi, @MarcelTemp .
Thanks for reaching out. We will consider add this feature. But for now, there is no ETA.

Hi, @KarlErickson .
Could you please help to close current issue? Because current issue is tracked by this issue: https://github.com/Azure/azure-sdk-for-java/issues/28243

Hi, @MarcelTemp
The requests in GitHub does not have high priority.
If this requirement is urgent in your company, please contact Microsoft Support team for help.
Your colleague who created related Azure resources should know how to contact Microsoft Support team.


Misaligned outlines with GPU on

Type
GPU
Operating System
Windows
OS Version
Windows 11
Bug description
With GPU on (built-in or 117), outlines generated by any plugin (Interact Highlight, Player Outline, Player Highlighter as examples) appear misaligned slightly, with diagonal facing being a bit further misalignment. I've tinkered with every option but nothing affects it.
But it's possible that the crux is the issue is something related to the view port, as I have noticed when flipping GPU on and off that the whole game field shifts very slightly.
If it ends up relevant, I'm running an AMD GPU (RX 6600) with the newest drivers.
Screenshots or videos
GPU off
GPU on
RuneLite version
RuneLite version: <IP_ADDRESS>
Launcher version: 2.6.4
Logs
No response

Interact highlight looks ok to me:

It's very hard to see but I think I see it there, there's a gap between the outline and his arm on the left where you can see the ground. You might be able to see it better on an NPC with more contrast in their surroundings like the Clerk to the south of there, but any should do.
But with further testing, since for some reason it varies based on both the NPC's facing and camera direction (with NPCs facing diagonal appearing to be the most affected), on my end it's most noticeable with the camera facing south with the NPC facing south-east or south-west.


Edited the "Cause" section.

Added the first analysis step to take.

@tedhudek - This PR is ready to head up to Master/Live when you have a minute.


[Dialog|Popover] - Focusing the Trigger on Clicking Outside

Feature request
A few days ago, while exploring the components of ShadcnUI, I noticed that the Dialog and Popover components do not return focus to the trigger when clicking outside their context.
Overview
Modify the Dialog and Popover components in Radix so that the trigger button receives focus when a click occurs outside the context of these components. This functionality is already present in the Select and DropdownMenu components, which use the onPointerDown event to return focus to the trigger.
Benefits:

Consistency: Align the behavior of the Dialog and Popover components with that of the Select and DropdownMenu components.
Accessibility: Facilitate navigation for users who rely on keyboards, clearly indicating where the focus is through the focus ring (:focus-visible).
User Experience: Improve usability by ensuring that the focus returns to the trigger button, allowing users to know exactly where the focus is after interactions.

This change will promote a more cohesive and accessible user experience while maintaining consistency among the components of the library.

Dialog and Popover clearly do focus triggers on outside clicks. I'm going to close the issue unless there are other details to reproduce it.
https://github.com/radix-ui/primitives/assets/8441036/98e9d80e-9a8d-43da-920f-9c2c7b7a8753

I'm sorry, I believe I misspoke when I said that the trigger button does not receive focus. The trigger does receive focus when clicking outside the component.
What I really want to point out is that Shadcn/UI uses :focus-visible to style button focuses. This does not work in Dialog and Popover, but it does work in Select and Dropdown, as they use the onPointerDown event instead of onClick.
https://github.com/radix-ui/primitives/assets/57420660/847b4d29-9450-49d6-918d-a910828cad89

What I really want to point out is that Shadcn/UI uses :focus-visible to style button focuses. This does not work in Dialog and Popover

You are clicking out with a mouse on your screen recording. :focus-visible styles are supposed to be displayed on keyboard interaction, not mouse interaction.
shadcn's Select component uses plain :focus style, which is why you are seeing the focus outline every time.
Anyway, I think you want to take it to the shadcn repo if your request is related to styling

Ok, thanks so much!


add eli5 and dill

Status
Ready/In Progress/In Hold (Reason for hold)
Related Issues
related: link to the issue
Description
A few sentences describing the overall goals of the pull request's commits.

Docker Image Ready - Dev
Docker automatic build at CircleCI has deployed your docker image: devdemisto/sklearn:<IP_ADDRESS>38
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/sklearn/tags
Get started by pulling the image:
docker pull devdemisto/sklearn:<IP_ADDRESS>38

Docker Metadata

Image Size: 156.53 MB

Image ID: sha256:a652c13fe2b5c469a07594520c3e98b1540f6ba8fc5ed15b12ff87b739f71fde

Created: 2020-08-19T14:41:45.482216084Z

Arch: linux/amd64

Command: ["python3"]

Environment:

PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568
PYTHON_VERSION=3.8.5
PYTHON_PIP_VERSION=20.2.1
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/5578af97f8b2b466f4cdbebe18a3ba2d48ad1434/get-pip.py
PYTHON_GET_PIP_SHA256=d4d62a0850fe0c2e6325b2cc20d818c580563de5a2038f917e3cb0e25280b4d1
DOCKER_IMAGE=devdemisto/sklearn:<IP_ADDRESS>38

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:6143fee2d2e463a8a8399e145198fc458ca54ddb
org.opencontainers.image.version:<IP_ADDRESS>38


allow ics20 to connect to middleware

Description
Creates ics4Wrapper which allows middleware applications to only implement SendPacket to connect ics20 as an application in its middleware stack
closes: #XXXX

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

@Mergifyio backport release/v3.0.x

@Mergifyio backport release/v3.0.x


Fix dependancy graphs to work with Go Modules

This broken when we moved from dep to mods

This has two parts
-1 roadctl has been converted
For roadctl, godepgraph seems to work.  I requires a list of exception for libraries that do not support go modules yet.
-p ignores entire prefixes, in this case hashicorp seems a lager
-i ignores import paths
-s ignores standard libraries
$ go get github.com/kisielk/godepgraph
$ godepgraph -s -i github.com/spf13/afero,github.com/google/go-querystring/query -p github.com/hashicorp . | dot -Tpng -o godepgraph.png

-2 templates are still using dep
Can use existing make file code


Scripts cannot be executed on this system.

Hi. I got this error when run
ember windows

and the same when run
ember-cli-windows

I have run my cmd as administartor on my Windows 8.1
The error
ember-cli-windows v1.4.3

Scripts cannot be executed on this system.

To fix this issue, please run the command below as Administrator and try again:
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force

c:\OpenServer\domains\Ignite2\builder\node_modules\ember-cli-windows-addon\node_
modules\ember-cli-windows\node_modules\zousan\zousan-min.js:1
(function (exports, require, module, __filename, __dirname) { !function(t){"use
strict";function e(t){if(t){var e=this;t(function(t){e.resolve(t)},function(t){e
.reject(t)})}}function n(t,e){if("function"==typeof t.y)try{var n=t.y.call(i,e);
t.p.resolve(n)}catch(o){t.p.reject(o)}else t.p.resolve(e)}function o(t,e){if("fu
nction"==typeof t.n)try{var n=t.n.call(i,e);t.p.resolve(n)}catch(o){t.p.reject(o
)}else t.p.reject(e)}var r,i,c="fulfilled",u="rejected",s="undefined",f=function
(){function t(){for(;e.length-n;)e[n](),n++,n>1024&&(e.splice(0,n),n=0)}var e=[]
,n=0,o=function(){if(typeof MutationObserver!==s){var e=document.createElement("
div"),n=new MutationObserver(t);return n.observe(e,{attributes:!0}),function(){e
.setAttribute("a",0)}}return typeof setImmediate!==s?function(){setImmediate(t)}
:function(){setTimeout(t,0)}}();return function(t){e.push(t),e.length-n==1&&o()}

TypeError: Cannot read property 'stack' of undefined
    at Object.e.reject (c:\OpenServer\domains\Ignite2\builder\node_modules\ember
-cli-windows-addon\node_modules\ember-cli-windows\node_modules\zousan\zousan-min
.js:1:1577)
    at o (c:\OpenServer\domains\Ignite2\builder\node_modules\ember-cli-windows-a
ddon\node_modules\ember-cli-windows\node_modules\zousan\zousan-min.js:1:412)
    at Array.<anonymous> (c:\OpenServer\domains\Ignite2\builder\node_modules\emb
er-cli-windows-addon\node_modules\ember-cli-windows\node_modules\zousan\zousan-m
in.js:1:1470)
    at Immediate.t [as _onImmediate] (c:\OpenServer\domains\Ignite2\builder\node
_modules\ember-cli-windows-addon\node_modules\ember-cli-windows\node_modules\zou
san\zousan-min.js:1:518)
    at processImmediate [as _immediateCallback] (timers.js:371:17)

[object Object]

Hey, thanks for reporting! Did you follow the instructions, running this command (as administrator) before executing ember windows:
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force

I'll close this in the meantime, but feel free to reopen if that command doesn't fix it!

I got bitten by this.
Had to run Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force within PowerShell.
I fooled around trying to run this in a regular cmd. Maybe the message could be a little more specific for Windows noobs like me. :confounded:

I'm running a windows powershell as administrator and I still get the same error. I ran npm install --save-dev ember-cli-windows-addon command in powershell too. Using ember-cli-windows v2.1.6

Did you run Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force?

for react native
npm-windows-upgrade v4.1.0
Scripts cannot be executed on this system.
To fix, run the command below as Administrator in PowerShell and try again:
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force


Enhanced LFR Testing with AI-Driven Preprocessing and Advanced Data Visualization

This update introduces several key enhancements to the LFR (Learning Fair Representations) testing script, incorporating new AI features and advanced data visualization capabilities. The primary changes are:

AI-Driven Data Preprocessing:

Integrated an AI model for enhanced data preprocessing, ensuring more accurate and fair representation of datasets. This includes dynamic threshold adjustments and advanced handling of protected attributes to better align with fairness objectives.

Dynamic Visualization Integration:

Added functionality to generate interactive visualizations of the LFR model's impact on data. This includes heatmaps and feature importance plots that provide deeper insights into the transformation effects on protected and unprotected attributes.

Improved Data Quality Checks:

Enhanced validation methods to ensure that transformed data does not contain NaNs or columns/rows summing to zero. These checks are now more robust, using advanced statistical techniques to validate the integrity and fairness of the transformed datasets.

Enhanced Testing Methods:

Refined testing functions to include additional assertions and edge case checks. This includes verifying that the LFR model's learned representations do not contain NaNs, are not all zeros, and accurately maintain the protected attributes post-transformation.

Code Quality Improvements:

Addressed code quality issues identified by SonarLint, including renaming functions to adhere to naming conventions. These improvements ensure better readability and maintainability of the script.

These updates enhance the script's functionality by integrating advanced AI features, improving data visualization, and ensuring the robustness and fairness of the LFR transformations. The script now provides more comprehensive insights into the model’s performance and the impact of fairness interventions.

Improved Testing Suite:
The script now includes advanced checks for the LFR preprocessing algorithm, ensuring robustness and accuracy. New tests have been added to verify that the transformed data maintains the integrity of protected attributes, and does not contain NaNs or rows/columns summing to zero.

Enhanced AI Features:

Data Visualization: Added functionality to visualize preprocessing effects on the data, helping to understand how the LFR algorithm impacts feature distributions.
Performance Metrics:
Integrated AI-driven performance metrics to evaluate and optimize the efficiency of the preprocessing steps.

Code Quality Improvements:

Naming Conventions:
Renamed the lfrAlgoInstance fixture to lfr_algorithm_instance to comply with PEP 8 naming conventions, improving code readability and consistency.
Additional Error Handling:
Included checks for NaNs and zero-sum columns/rows in the transformed dataset to ensure data integrity.

These updates aim to enhance the reliability of the LFR preprocessing implementation and provide deeper insights into its effects on the data.


rprint and IO

It would be useful to be able to rprint to different IO objects (at the very least, we could then define nicer show methods for SEXPREC objects.
There doesn't seem to be a convenient way to get this directly from R, so I guess we have to use redirect_stdout?

I have implemented something similar in the RCalling.jl. Check https://github.com/randy3k/RCalling.jl/blob/master/src/sexp.jl#L28

Ah, great thanks!

Just one more thing, my code does not capture STDERR, we should also do redirect_stderr!?

On my machine they appear at the end of the Julia session.
julia> using RCall

julia> rcall(:warning,"hello")
StrSxp(536870992,Ptr{Void} @0x00007fb514770978,Ptr{Void} @0x00007fb5191af5c8,Ptr{Ptr{None}} @0x00007fb5191af5f0,1,0)

julia>  quit()
Warning message:
hello

I've changed the IO, and fixed the warning problem in #59

Looks like i was too ambitious: Rf_PrintWarnings doesn't work on linux (it's an unsupported function, but seems to work fine on Windows and OS X). Apparently we're not the only ones who want this, but it doesn't look like the r-dev team are in a hurry to fix it.


initial username and passwd does not work

Description
Setting username gitea, pass gittea. It is saved to ini file as plaintext, but when logging in got wron password error.
Gitea Version
1.17.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
commandline centos7
Database
No response

I leave admin section unfilled so mixed up pass of db with user pass. When you fill in admin section all work ok.

The admin name and password will never save into app.ini.


Fix offline_cleanup_timeout_hours validation

Fix offline_cleanup_timeout_hours validation to match behavior of the BastionZero API. We permit hours in between 1 (inclusive) and 4320 (inclusive).

TODO: Wait for https://github.com/bastionzero/webshell-backend/pull/1583 to be merged and released and then update MinOfflineCleanupTimeoutHours to 0

TODO: Update TF docs to say that offline cleanup can be disabled by setting the timeout to zero


Offer a secure created/login/logout service for users

OAuth 2.0 hard to implement. Use Loopback's built-in models and methods instead.
Steps/Challenges:

Which (built-in) models/methods?
Create DBs of the models in Cloudant
Create data sources of the DBs in loopback
Different content for registered
Connect API with loopback so they communicate each other
Handle unauthorized requests (401) Redirect with interceptors
Create register/login/logout components(?) in Front End

Done.


Media Item to Local File

When linking to a media file in a markdown text field, it would be nice to have the option that gatsby-source-strapi downloads the file in question, puts it in the static folder and changes the link in the markdown respectively.
This is done, e.g., in https://github.com/gatsbyjs/gatsby-source-wordpress-experimental
Is there any documentation on how to achieve that behaviour? Thank you

Hi @Ortimis,
I had a similar problem with me using the code from this thread insert it into gatsby-node.js helped.
With this code, an additional publicURL field is created in graphQL and any files are copied to public/static.
https://github.com/gatsbyjs/gatsby/discussions/4993#discussioncomment-114251
Alernative solution is to use the node-fetch library and write code like this.
`const fetch = require("node-fetch");
exports.onCreateNode = async ({ node, actions, store, cache }) => {
const { createNode, createNodeField } = actions;
console.log(node.internal.type);
if (node.internal.type !== null && node.image !== null) {
console.log(node.image);
fetch("http://localhost:1337" + node.image.url).then((res) => {
  const dest = fs.createWriteStream("./static/uploads/" + node.image.name);
  res.body.pipe(dest);
});

}
};
`

Hi @Ortimis,
I had a similar problem with me using the code from this thread insert it into gatsby-node.js helped.
With this code, an additional publicURL field is created in graphQL and any files are copied to public/static.
https://github.com/gatsbyjs/gatsby/discussions/4993#discussioncomment-114251
Alernative solution is to use the node-fetch library and write code like this.
`const fetch = require("node-fetch");
exports.onCreateNode = async ({ node, actions, store, cache }) => {
const { createNode, createNodeField } = actions;
console.log(node.internal.type);
if (node.internal.type !== null && node.image !== null) {
console.log(node.image);
fetch("http://localhost:1337" + node.image.url).then((res) => {
  const dest = fs.createWriteStream("./static/uploads/" + node.image.name);
  res.body.pipe(dest);
});

}
};
`


I always get the error "unencrypted connection"

my go versioin:1.10
my code:
func main() {
m := gomail.NewMessage()
m.SetHeader("From"<EMAIL_ADDRESS>m.SetHeader("To"<EMAIL_ADDRESS>m.SetAddressHeader("Cc"<EMAIL_ADDRESS>"Dan")
m.SetHeader("Subject", "Hello!")
m.SetBody("text/html", "Hello Bob and Cora!")
m.Attach("/Users/XX/Workspaces/Goland/New_Test_Pro/file1.txt")
d := gomail.NewDialer("smtp.XX.com", 80<EMAIL_ADDRESS>"XXX")
d.TLSConfig = &tls.Config{InsecureSkipVerify: true}
if err := d.DialAndSend(m); err != nil {
	fmt.Println(err)
	panic(err)
}

}
Thanks.

Hi,
the Go project does not use its bug tracker for general discussion or asking questions about the language. The Github bug tracker is only used for tracking bugs and proposals going through the Proposal Process.
Please see the Questions wiki page; it has a list of good places for asking questions. Thanks!
Closing, since this is not a bug.

thanks


Require observations fit a marker trait, and distinguish categorical from non-categorical data.

Per our discussion, this change requires Monitors to emit data that satisfies the Observation marker trait, affectively requiring users to opt-into a particular data definition that is known to be compatible with a decision engine.

#12  👈
trunk

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

Join @RobbieMcKinstry and the rest of your teammates on  Graphite

Whoops, this PR was incorrectly submitted with an extra WIP commit.


Default message highlighting columns selectable

Describe the bug
The columns "Custom sound" and "Color" of the default Patterns ("Your name", "whispers", "subscriptions") are selectable (highlighted blue) even though all the other columns aren't.
To reproduce
Select all columns using Ctrl+A in Settings->Highlights->Messages.
Screenshots

So should they all be selectable? Or all unselectable?

Since they cannot be removed IMO unselectable


Cannot change locale to Russian since 2.0.6

First, thank you for keeping this essential module alive. It really is the one reason I use Xposed at all.
With that, though, I need to report a bug:
Since 2.0.6, Russian comes up as a "ru" locale. This does not, however, appear to work: Applications configured in 2.0.5 or earlier as "ru_RU" continue working in the locale specified. Setting the locale for a new application as "ru" does not appear to result in locale changing at all.
Rolling back to 2.0.5 fixes the problem.
I'm not sure whether it should work like that -- it seems to me that it's possible to translate an application into "ru_RU" but not "ru", so the fault might be with the developers of the specific applications I tried to change the locale on -- but the solution seems obvious: Make sure that both "ru" and "ru_RU" are available as selectable languages and let the user pick which one works in which particular case.

Hi @Mihara,
Sorry for my late answer, I did not receive a notification for your issue :/
The fix for your issue will be pushed in the next release (especially when #23 will be approved).
I'll let you know!


Performance Fixes

This PR fixes two of our performance bottlenecks.

Modify the tile_group_locator_ to use CuckooMap because it is faster for lookups.
Modify the ReadWriteSet to use tbb::concurrent_unordered_map because it is faster for iterations.

Coverage increased (+0.05%) to 77.603% when pulling 4b0d31f72a3c0dd7d7d2daecaf4f704208cf56e1 on poojanilangekar:txn-context-fix into 5686479c5f33087031e1b68b7832245c7886b712 on cmu-db:master.


Schedule & Worker - Can not update next run

This is a critical issue since at some point we can not set the next run value of schedule objects. Need to trace down the root cause.
Scope of work:

Find root cause and fix
Add test for Schedule model

Done in #91


Unpin jest-axe

We had to pin jest-axe (#11) as it's latest patch 3.1.1 was throwing unexpected errors.
They're working on a fix for it, once it's released, we should unpin the dependency so that we can get patches and minor version again.

This is connected to the issues we're experiencing in #535, so I'll hopefully resolve them together.

This is connected to the issues we're experiencing in #535, so I'll hopefully resolve them together.

:tada: This issue has been resolved in version 4.35.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.35.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Is there any way to pull passwords / secrets?

Hi - thanks for fuge guys... really helped us out over the last few months/years!
Is there a way to include passwords / secrets from another file / location - k8 stylie?
I'd like to share my fuge config with others in the team but obviously don't want usernames / passwords going into git.
Cheers

Glad it's useful! Currently fuge supports inclusion of a docker compose file:
https://github.com/apparatus/fuge-examples/blob/master/using-docker-compose/fuge/fuge.yml
Which might be of use? Otherwise can you detail exactly how you'd like this to work and we can take a look.


Add multiple hosts mode for jolokia collector

This mode enables collecting metrics from multiple hosts, which is useful, for example, when a collector runs in a k8s node, and collects metrics from containers
Hosts discovery is delegated to a JSON file, of which the path is specified in the config

@jedirandy Any notes on how this is/can be tested?

Hosts discovery is delegated to a JSON file, of which the path is specified in the config

@jedirandy  Can you add some details on how we expect this json file to be generated (in puppet or otherwise).

Hosts discovery is delegated to a JSON file, of which the path is specified in the config

@jedirandy Can you add some details on how we expect this json file to be generated (in puppet or otherwise).

good point, updated

@avadhutp see the tests, the execution paths are reasonably covered, like how it behaves when multiple_hosts_mode is on.

@jedirandy I meant in real world? As in, with puppet, and how are you going to generate the initial JSON file for discovery?


Rails 5.1 w/o jbuilder: undefined method `helper' for ActionController::API:Class

Our tests began failing in a Rails 5.1.1 app when jbuilder was removed.
App: Rails 5.1.1, without jbuilder, triggers this when running rspec spec. With jbuilder installed, tests pass. I'm a bit confused about why this would be from reading through jbuilder's code, but calling the helper method explicitly seems to fix it. I can try to reproduce this error in a clean app for you if you needed it, but #53 fixes this in my setup.
Let me know if you have more questions! Here's the error log:
NoMethodError:
  undefined method `helper' for ActionController::API:Class
# ./vendor/gems/mountain_view/lib/mountain_view/engine.rb:34:in `block (2 levels) in <class:Engine>'
# /bundle/gems/activesupport-5.1.1/lib/active_support/lazy_load_hooks.rb:45:in `instance_eval'
# /bundle/gems/activesupport-5.1.1/lib/active_support/lazy_load_hooks.rb:45:in `execute_hook'
# /bundle/gems/activesupport-5.1.1/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
# /bundle/gems/activesupport-5.1.1/lib/active_support/lazy_load_hooks.rb:51:in `each'
# /bundle/gems/activesupport-5.1.1/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
# /bundle/gems/actionpack-5.1.1/lib/action_controller/api.rb:145:in `<class:API>'
# /bundle/gems/actionpack-5.1.1/lib/action_controller/api.rb:87:in `<module:ActionController>'
# /bundle/gems/actionpack-5.1.1/lib/action_controller/api.rb:5:in `<top (required)>'
# /bundle/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:292:in `require'
# /bundle/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:292:in `block in require'
# /bundle/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:258:in `load_dependency'
# /bundle/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:292:in `require'
# /bundle/gems/fastly-rails-0.8.0/lib/fastly-rails/engine.rb:16:in `block in <class:Engine>'
# /bundle/gems/activesupport-5.1.1/lib/active_support/lazy_load_hooks.rb:45:in `instance_eval'
# /bundle/gems/activesupport-5.1.1/lib/active_support/lazy_load_hooks.rb:45:in `execute_hook'
# /bundle/gems/activesupport-5.1.1/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
# /bundle/gems/activesupport-5.1.1/lib/active_support/lazy_load_hooks.rb:51:in `each'
# /bundle/gems/activesupport-5.1.1/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'

Hey guys, I have a fix for this coming in a PR - just making sure all tests pass currently before I push a PR to my forked branch, and then to here.

Hi @robcole thanks for this!
Seems to be related to #51, right?

Yup @kitop! Interesting Github didn't "Auto close" the project. Must be from maintainers only. /cc @robcole

@kitop 🙏


Does not work on windows

I created the scaffold and tried to build it, but it fails.
I think the source_file is too much escaped. And most likely source_dir too.
It is both quoted and double bachslashed.
2 errors while building the book:
- when running `asciidoctor`:
  src: \\?\S:\Rust\toto\src\index.adoc
  dst: \\?\S:\Rust\toto\.adbook-cache\b\index.html
  cmd: "asciidoctor" "\\\\?\\S:\\Rust\\toto\\src\\index.adoc" "-o" "-" "-r" "asciidoctor-diagram" "--trace" "--verbose" "-B" "\\\\?\\S:\\Rust\\toto\\src" "-a"<EMAIL_ADDRESS>"-a" "linkcss" "-a" "stylesdir@=/theme/css" "-a"<EMAIL_ADDRESS>"-a" "imagesdir@=/static/img" "-a" "imagesoutdir@=\\\\?\\S:\\Rust\\toto\\src/static/img" "-a" "hardbreaks" "-a" "sectnums" "-a" "sectnumlevels@=2" "-a" "tabside@=4" "-a" "experimental" "-a" "stem@=latexmath" "-a" "icons@=font" "-a" "adbook=https://github.com/toyboot4e/adbook[adbook]" "-a" "rust=https://www.rust-lang.org/[Rust]" "-a" "asciidoctor=https://asciidoctor.org/[Asciidoctor]" "-a" "mdbook=https://github.com/rust-lang/mdBook[mdBook]" "-a" "handlebars=https://handlebarsjs.com/[Handlebars]" "-a" "prismjs=https://prismjs.com/[Prism.js]" "--embedded"

I could find how to remove either quotes or backslashes.

It does not seem to work on linux either.
I have the same error on F35.

Thanks, will take a look this weekend on Windows!

Fixes so far:

Command didn't find asciidoctor on Windows, so I gave absolute path to it (with which)
I tried stripping \\?\ then asciidocdtor understood the path.

Right now adbook is still broken, but I'll soon fix it.


moving window focus past screen edge to move between spaces - broken after update?

Hi! I'm using an M1 air on Monterey 12.1, and updated recently - I think from yabai-sa v2.0.2 to 2.0.4 - but it seems to have broken some macros:
yabai -m window --focus east || $(yabai -m space --focus next)
yabai -m window --focus west || $(yabai -m space --focus prev)

which I put together based on this issue/use case:
https://github.com/koekeishiya/yabai/issues/526
My window swap macro still works to switch spaces when at the right/left of the screen, which is very similar, but for some reason the above focus macro just doesn't. Any ideas/can anyone confirm this behavior or is it just me?
My (very amateur) interpretation is that "||" activates a space change for the swap because it returns "cannot swap a window with itself" at the edge of the screen, but this error(/bool?) is no longer returned when moving focus past an edge of the current space.

Assuming you are running the master branch, that would be a regression in this commit: https://github.com/koekeishiya/yabai/commit/910fb43b57866dc6eaa000331bb1b77d91bf245b
Will look into it. Likely what is happening is that the source window itself is considered a valid target option, when it should be ignored.

I have the same issue. I checked that when in a leftmost window, yabai -m window --focus east yields exit code 0, and, therefore, the script does not proceed to the second part.

Fixed on the latest master.

I would not say that it has been fixed entirely:
when I have two windows (one above the other) on the right screen and try to switch to the left,
yabai -m window --focus west || (yabai -m display --focus first || yabai -m display --focus last)
just switches between two windows on the right screen instead switching to the left screen.

That chain of commands doesn't really make sense to me if you want it to work regardless of which display you are on.
Something like this would be more appropriate (and works as expected) on my end:
yabai -m window --focus west || (yabai -m display --focus west || yabai -m display --focus east)

This chain
alt - h : yabai -m window --focus east || (yabai -m display --focus east)

behaves the same way for me: yabai still switches between northern and southern windows on the right screen...

Can you post a gif or something demonstrating the behaviour? and are you certain that you are on the latest commit?

@ishovkun Should be fixed on the latest master now. Was an off-by-one error only reproducible with window gaps disabled.

Awesome! Thank you!


Remove deployment check if we need an active one

We can have an active deployment configured via env vars so there's no sense in requiring a configured deployment.
Fixes #28

We can have an active deployment configured via env vars so there's no sense in requiring a configured deployment.
Fixes #28

yeah, we should remove the deployment check since deployments can be configured via env vars. LGTM.
But if users aren't signed it does this also apply?

We can have an active deployment configured via env vars so there's no sense in requiring a configured deployment.
Fixes #28

yeah, we should remove the deployment check since deployments can be configured via env vars. LGTM.
But if users aren't signed it does this also apply?

@thecraftman Is there any reason to require any configuration if AXM_TOKEN and AXM_URL are set?

@thecraftman Is there any reason to require any configuration if AXM_TOKEN and AXM_URL are set?

@bahlo  Oh! Yeah I get it, there is no reason. both token and URL is set

@bahlo  Oh! Yeah I get it, there is no reason. both token and URL is set


feat: Compound types (const arrays)

Add a sub-section on compound types post 2.7.0 release.

Mayst thou assign me this work?


Bugfix/tcp example json usage

The TCP example also depends on Rapid Json. It will now only build when rapid json is available.

Did I do something wrong that my upstream merge is visible in the pull request? Feel free to decline if I messed up.

No worries, nothing a squash can't fix.
Thanks for the patch!


Add a package to typeset chord name above text.

Here is a new version of the chordmode package using SU.gtoke for text parsing and a kind of state machine to process the found tokens. Let me know what you think about that part.
The \ch command implementation is still buggy (See the line starting with "Complex line" in the example) and as you suggested should be implemented on top of some simple TeX like commands (to be added in another package).
I am working to fix this.

Thanks very much for this! I've included this, and simplified the code somewhat. This will be helpful for something else I am thinking about, which is putting furigana (also known as "ruby", phonetic readings) on top of Japanese text.

I've seen your modifications... and I hope it's not over simplified for my goal. If you look at the exemple; in the line starting with "Complex Line", the different chords text overlaps. That's something I would like to solve by either adding spacing between letters or even better, add some dash.
To explain a little bit further what I am trying to achieve, I've already done something similar in LaTeX; but with an external parser that generates the tex source.
Here is my parser input:
Will I [Sol]play The Wild [Do]Rover

No, ne[Sol]ver, [Ré7]no [Sol]more

This is translated to the following LaTeX code:
Will I \ch{Sol}{play }The Wild \ch{Do}{Rover}

No, ne\ch{Sol}{ver, }\ch{Ré7}{no }\ch{Sol}{more}

Note that, part of the text is added as argument to the \ch command(my parser uses up to 10 characters); this is to say "that chord applies to that part of the text".
And here is the LaTeX output (with some annotations).

I added a representation of the generated LaTeX boxes around the text and the chord; note how LaTeX adds some space between "no" and "more" to keep the "Sol" chord separated from the "Ré7" one (I add always spaces after the chord in the \ch command). It can do so because I've grouped the chord name with the text in the same vbox.
And here is the LaTeX definition of the \ch command (really simple):
\newcommand{\ch}[2]{\strut\vbox{\hbox{\chordfont#1\ \ }\hbox{#2}}}

That's what I'm trying to reproduce using SILE, if you want to have a look at the LaTeX version, here is a pdf of my current songbook: http://www.oleastre.be/export/chansonnier.pdf

Ah, you're right. I have oversimplified it. You do need to apply some of the following text to the command.

OK, I have reverted the parser change, and instead have fixed it such that the lyric box is at least the width of the chord box.

Thanks a lot.
I will see if I can improve it by adding some settings and commands to avoid hard coded values.


Enhancement: Integrate commitlint with proper commit conventions

Alby doesn't have any proper commit conventions that everyone should follow
we can integrate any available linter so that everyone follows the same commit conventions, this will help in
a.  keeping commit history clean for the codebase,
b. do regressions and analysis of previous commits easy in future. or while using git bisect
c. Commit messages could also be used to determine the next version number according to semver.
Proposed plugins:

https://github.com/conventional-changelog/commitlint
https://github.com/conventional-commits/conventionalcommits.org (personally I love this)

coding conventions of conventional commits
https://www.conventionalcommits.org/en/v1.0.0/
Once mentors decide which would be best for us, I can start working on it

@escapedcat

Some background info: https://slides.com/marionebl/the-perks-of-committing-with-conventions

Let's add in the industry standard: https://github.com/conventional-changelog/commitlint


project(String) method and others in gradle dsl should have @Nonnull or equivalent

Pasting a link to this issue here because it may require a change in the gradle API not the kotlin DSL:
https://github.com/gradle/kotlin-dsl/issues/420

We're close to merging #2441, then we can have @Nonnull, too.

A PR with @Nonnull for org.gradle.api.Project is coming soon: 1e47c8d53b99a14fe3adc859a4d42ab9aca61a17

#2441 is merged, standard nullability annotations from javax.annotations are going to be available in Gradle 4.1.

Lovely!

@lptr Given that your PR has been merged can we close this issue and put 4.1-rc1 as milestone?

@bmuschko that PR is about @Nullable not @Nonnull.

@bamboo @lptr OK, thanks. Can you provide a little bit more background information on this issue here? What still needs to happen before we can close this issue? I think I referenced the wrong change. I meant this one: https://github.com/gradle/gradle/commit/1e47c8d53b99a14fe3adc859a4d42ab9aca61a17.

@bmuschko we need to annotate org.gradle.api.Project members in a way that Kotlin and IntelliJ IDEA can understand that org.gradle.api.Project members such as project(String) always return non-null values. We're still discussing how to best achieve that in #2477.

This got resolved in 4.1 right?

Not yet, @JLLeitschuh. I'm planning to send a PR next week.

Resolved in #2477.


[Bug Report] The transform function of the async-validator won't write back its return value to the formData

Element UI version
1.3.7
OS/Browsers version
Ubuntu14.04/chrome 59
Vue version
2.4.1
Reproduction Link
https://jsfiddle.net/pronan/dr2t6ny7/
Steps to reproduce
输入数字100, 点提交
What is Expected?
弹出的框显示number
What is actually happening?
弹出的框显示string

按async-validator的文档, transform应该是要回写值到source的.
https://github.com/yiminghe/async-validator#transform

Use v-model.number: https://jsfiddle.net/dr2t6ny7/2/


Set up Formatting and Linting

Set up formatting and linting plugins/packages.
maybe use https://dev.to/srmagura/c-linting-and-formatting-tools-in-2021-bna
Thank you @Strongleong for the link …
(Partially related to PR #13 )

Done with commit 3a3793f62e700cee6351e38f86eab8d1fb133e20