[varlib] Cannot build VF font for SourceSerifPro with fontmake

varlib used to be able to merge the master designs of SourceSerifPro. This broke after the application of varIDXmap optimization to ValueRecords in in varStore.py:: _visit() of (added 2/27 with commit [54fd71f7]), and the use of caching in varStore.py:: OnlineVarStoreBuilder.storeMasters() (added 2/21 with commit [e299650f]). The immediate problem is that an offset overflow error is not being handled, but this didn't happen before the changes. You can reproduce this by downloading the sources for Source Serif Pro from:
https://github.com/adobe-fonts/source-serif-pro
cd to the Roman/Master directory, and say:
fontmake -m SourceSerifVariable-Roman.designspace  -o variable
This will fail the first time, as the interpolatable ttf file for each master design will be built in the directory Masters/master_ttf_interpolatable/, but the varlib merge codes expects them to be in the same directories as the source ufo fonts, Masters/master_[0,1,2]. You can work around this by copying them to the ufo directories, and running fontmake again.
I hope to look at this sometime fairly soon, but would welcome any suggestions, if anyone else has seen similar problems.

@readroberts those instructions didn't work for me. I tried them with a clean installation of fontmake version 1.6.0. I did run into two issues though.
One was in fontmake and I logged it at https://github.com/googlei18n/fontmake/issues/451 . My solution was to comment line 585.
The other one was in the feature files of Source Serif, and relates to this change on how the include() statements are handled https://github.com/googlei18n/fontmake/issues/157 . To fix this one I created a branch named fontmake-1.6.0 that contains the necessary changes https://github.com/adobe-fonts/source-serif-pro/tree/fontmake-1.6.0

@behdad this is the traceback. Any idea of what's wrong?
Traceback (most recent call last):
  File "bin/fontmake", line 11, in <module>
    sys.exit(main())
  File "lib/python2.7/site-packages/fontmake/__main__.py", line 256, in main
    project.run_from_designspace(designspace_path, **args)
  File "lib/python2.7/site-packages/fontmake/font_project.py", line 623, in run_from_designspace
    **kwargs)
  File "lib/python2.7/site-packages/fontmake/font_project.py", line 689, in run_from_ufos
    master_bin_dir=master_bin_dir)
  File "lib/python2.7/site-packages/fontmake/font_project.py", line 261, in build_variable_font
    font.save(output_path)
  File "lib/python2.7/site-packages/fontTools/ttLib/ttFont.py", line 172, in save
    writer_reordersTables = self._save(tmp)
  File "lib/python2.7/site-packages/fontTools/ttLib/ttFont.py", line 211, in _save
    self._writeTable(tag, writer, done, tableCache)
  File "lib/python2.7/site-packages/fontTools/ttLib/ttFont.py", line 632, in _writeTable
    tabledata = self.getTableData(tag)
  File "lib/python2.7/site-packages/fontTools/ttLib/ttFont.py", line 650, in getTableData
    return self.tables[tag].compile(self)
  File "lib/python2.7/site-packages/fontTools/ttLib/tables/otBase.py", line 71, in compile
    return writer.getAllData()
  File "lib/python2.7/site-packages/fontTools/ttLib/tables/otBase.py", line 397, in getAllData
    tableData = table.getData()
  File "lib/python2.7/site-packages/fontTools/ttLib/tables/otBase.py", line 271, in getData
    raise OTLOffsetOverflowError(overflowErrorRecord)
fontTools.ttLib.tables.otBase.OTLOffsetOverflowError: ('GPOS', 'LookupIndex:', 0, 'SubTableIndex:', 0, 'ItemName:', 'BaseArray.BaseAnchor.YDeviceTable', 'ItemIndex:', None)

I have a fix for the first overflow error that @miguelsousa mentioned, i.e. the one occurring in MarkBasePos subtables (see https://github.com/googlei18n/fontmake/issues/450#issuecomment-403925036). I will clean up and push it soon.
The second overflow error mentioned above seems to be occuring in PairPos subtable format 1, which supposedly we fonttools is able to fix. Not sure what's going on, I'll have to check.
Maybe @behdad knows.

Here's how I managed to reproduce, in case @behdad wants to also have a look.

I cloned https://github.com/adobe-fonts/source-serif-pro,

then cd Roman/Masters

then i compiled the ttf-interpolatable with
fontmake -m SourceSerifVariable-Roman.designspace -o ttf-interpolatable.

Finally I run fonttools varLib SourceSerifVariable-Roman.designspace.

This is the error:
fontTools.ttLib.tables.otBase.OTLOffsetOverflowError: ('GPOS', 'LookupIndex:', 0, 'SubTableIndex:', 0, 'ItemName:', 'BaseArray.BaseAnchor.YDeviceTable', 'ItemIndex:', None)

Inspecting the overflowing subtable with python debugger, I see it has ClassCount of 1, so our splitMarkBasePos (#1297) doesn't make any difference for this.
I'm not sure how the commits @readroberts referenced in his original post may affect this issue. I'll try to revert those and rebuild to see if they change anything.

it appears the offset that is overflowing is the one from the beginning of BaseAnchor (format 3) subtable to the VariationIndex table for the Y coordinate.

if I completely disable the GDEF varstore optimization and the remapping of GPOS VariationIndexes, I can finish compiling SourceSerifPro-VF.
Then if I run fonttools varLib.varStore on the generated un-optimized font, then it works!
This reminds me of another similar issue... lemme remember

found this https://github.com/fonttools/fonttools/issues/1206#issuecomment-369907915

@behdad here is the interpolatable master TTFs and the accompanying designspace file so you can try reproducing the bug
SourceSerifVariable-designspace-issue1296.zip

I think this has to do with the reusing of the same objects in combination with commit https://github.com/fonttools/fonttools/commit/03b9c50055c4d45360150f2830ebf9715db26d3c, because the problem seems to disappear if one first compiles without optimization and then applies the varStore optimizer in a separate run, after reading the font from disk (in which I presume this reusing of the same objects doesn't occur).

I'll look into this today.

fontmake -m SourceSerifVariable-Roman.designspace -o ttf-interpolatable.

Trying to build this with master fontmake stack, I get include error:
fontTools.feaLib.error.IncludedFeaNotFound: /home/behdad/SSD/distillery/source-serif-pro/Roman/Masters/master_2/SourceSerif_2.ufo:1:9: ../../../../featuresVar.fea

Is it because of how we changed what is the path relative to?

I had to modify all .fea files to remove one set of '../' from all includes.

if I completely disable the GDEF varstore optimization and the remapping of GPOS VariationIndexes, I can finish compiling SourceSerifPro-VF.
Then if I run fonttools varLib.varStore on the generated un-optimized font, then it works!

That's actually understandable.  When you don't optimize, DeviceTable sharing doesn't happen.  Font compiles fine, though with multiple lookups being upgraded to Extension.  When you rerun optimizer, it still compiles back fine, because lookups in Extension don't share objects together, and the Extension decisions from before are still in effect...

This is very hard to fix within the current table-packing algorithm. Maybe I should just finish the 99proof... Working on it.

Ok, pushed a bandaid.  Please test.

Thanks @behdad!

@behdad Yes, this fixes the problems with Minion3 and with SourceSerifPro Thanks! I was really looking in the wrong place.

thank you @behdad.
@anthrotype can you issue a new fonttools version by Monday? There's this and other fixes that we'd like to pick up. Thanks

I had to modify all .fea files to remove one set of '../' from all includes.

Any comments on this one?

I wasn't in favor of that change (discussed at https://github.com/googlei18n/fontmake/issues/157), but the spec got updated (https://github.com/unified-font-object/ufo-spec/pull/66) so we'll just have to adjust the tooling accordingly, I guess.

The part that bothers me most is that in included feature files, paths are still relative to the ufo...  I still think we should fix this.  A proposal, eg. have paths starting with "./" be relative to current file. Or "dir/" or something...  It's fine to keep whatever current behavior and add new syntax for relative-to-ufo, relative-to-inside-the-ufo, and relative-to-current-file...

Another possibility, to borrow from C: Includes with double quotes (include "...") be relative to current file and includes with pointed brackets (include <...>) be relative to "search path", which will be inside the UFO directory in case of UFOs, or whereever else one supplies to the compiler (-I...). Includes with parantheses can stay with whatever meaning they have right now.

I agree that the whole include mechanism needs to be revisited.
@readroberts can you take care of that? There's an issue open already at https://github.com/adobe-type-tools/afdko/issues/164

@miguelsousa @behdad  Will do. Was just reading up on this this afternoon.  The feature file spec is clear that relative include paths are relative to the directory of the including file. The ufo spec is clear that included files from the main feature file are relative to the parent directory of the ufo font, not so clear about children. What makeotfexe does is to first try to find the file relative to the including file parent directory, and them, for legacy projects, try to find the file relative to the current directory.

this issue with include statements has been discussed several times, e.g.
https://github.com/googlei18n/fontmake/issues/157
fontmake now follows what Robofont does, and the UFO spec makes it clear how features.fea inside the UFO must treat includes as relative to the directory of the UFO, not to the UFO itself seen as a directory (which is an implementation detail, and a future implementation of the format may allow a single file instead of a folder/package).
I like the idea of adding an extra notation for allowing C-style includes, with optional search paths and stuff. But I'm not super enthusiastic about being the one to implement it :)
There is also this somewhat related issue:
https://github.com/adobe-type-tools/afdko/issues/164
maybe the discussion can continue there.


stdout: vector of delegates, elf: custom section for symbols

... adds support for backtrace and stack sampling on multiboot, including on GCE (I believe)

@mnordsletten @fwsGonzo looks like the test fails due to objcopy being the wrong version or something. Any quick fix in sight?

@alfred-bratterud I was planning on changing all the pull requests machines to Ubuntu 16.04 today, I will see if that fixes this specific issue.

Ok to test

The network test failed due to the dhcp test failing. I'll just run it again here.
Ok to test

test please


When dragging one Node over another Node will be children

I want When drags 'Alice' over 'Bob' for a few seconds Bob allows drop and 'Alice' will be Bob's child.
@jameskerr can you support me with this issues? Thanks

When I set children: [] It can't move to Root it always detect to be child random node

I've never tried this. I hope you can find a way to do it. I imagine that all the nodes would need to be considered "internal" with an empty children array.
Maybe you could temporarily create an enclosing folder after a certain time hovering of a node.

Thank you for your feedback. I'm going to close this in favor of #144.


[Tech debt] Improve contributors involvement by adding dev guides and readme

Plugin repo is missing general developer guide for basic things like:

prerequisites to start development in repo
how to setup repo
how to start test cluster
how to run tests
how to debug code

We can take example of knn dev guide as a starting point, many of things from there are applicable to neural-search repo.

there is one more thing we want to improve, related to intake for new normalization/combination techniques, but that has a separate github issue: https://github.com/opensearch-project/neural-search/issues/444


PR-reminder bot in Slack is currently not working

Title: PR-reminder bot is currently not working
Description:
Both I and the maintainers channel on Slack did not receive the usual daily pings since Oct 2nd.

seems python mismatch issues with deps and pip-compile
shifting to bazel should be pretty easy and resolve these


Create code snippet for bigtable_get_family_metadata

Need to create code snippet for documentation purposes.
corresponding node.js snippet is available here
Note: This issue/task is outcome of #2253

This was fixed in #2492.


ActionRouter: an attempt to unify http and command handling

This is an attempt to simplify the handling of /commands and http requests. It adds

a simple action router that supports.

/-delimited paths with a sub-path (/*) capability.
pre- execution filter, and post-execution logger hooks.

type Action carries the context of the action (Plugin, configs + contexts) and action variables.

This attempt is simplistic. I considered using gorilla packages, but they are closely tied to http, and as far as I could see would likely necessitate wrapping command handlers as HTTP ones. That, combined with the extra dependencies and weight made me lean 2-3/5 towards a simple DIY solution.

I mentioned earlier that I like this, but I don't really understand everything just by reading it. I think it's something I have to live with and work for a week or two to figure out what works.
@crspeller Because this is diverging pretty quickly, I propose merging it sooner rather than later. Then we can make patches to it as we go (if we find anything that breaks).

Will take a second look over the weekend.

@lieut-data: thanks for taking a look and for the feedback.

I like the ActionScript pattern of declaring incoming requirements and letting the code focus on what to do when all those pass. I'd love to see a RequireExactArgs(1) or some such to take that even further.

RE: pattern - proxies. I ❤proxies. For the args, yes, I was thinking that for command-line would be good to have a (simple!) parser that would:

Validate args (simply, number of string values, etc)
Map args to named variables (to enable full consistency between http and command handlers)
Allow handlers to customize help messages (and errors/http  status codes) returned by filters.
MAYBE optional variables (i.e. extract if possible)

I'm somewhat confused by the mix of func X(a *Action) and func (a *Action) Y(). Were Action an interface, I could see the latter being more useful so that the methods could be repurposed. But given the coupling of functionality, it /seems/ like this is just not idiomatic Go. Perhaps I'm missing the benefit? I see this also being done for p *Plugin, also with what seems to be without cause. (If you have to test the function, you need a *Plugin regardless.)
I wonder if a CommandAction and an HTTPAction that embed Action might help clarify the code. There's obviously a lot of overlap that would go into Action, but IMO it's weird to see CommandArgs and Args declared alongside HTTPRequest.

These are related items. The separation into action, HTTPAction, and CommandAction seems in order. Was trying to delay it until a separate PR, but will do now. It makes sense already.
The mix is because a.Methods were envisioned as a part of the Action interface, whereas the functions are of a type that matches that of a handler (a proxy). I could make all of them interfaces, like

type ActionRoute interface {
    ...
    Handler ActionFunc
}

but it seems a total overkill for now.

The Action abstraction seems to clarify the original code considerably. I don't know the code well enough, but I wonder if the abstraction might just mask the underlying problem and if there's a different way to slice and dice the problem. I'm just thinking out loud here: no specific suggestions.

RE: "if there is a different way". My biggest objective here is to simplify and reduce the boilerplate for this sort of plugins. As we discussed, a lot of these simplifications, and "right-scoping" the interfaces should eventually be shared across plugins and evolved back into the framework, after they mature.
I also keep returning to my other idea of wrapping commands as http.Request's and then using gorilla for routing and request variables. We can always go back to this later though, most concepts (filters, request variables) should stay the same.
I'd like to see this get used in the JIRA plugin as the playground, and re-consider after a little while.

This issue has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @hanzei

@levb Is this still planned for v2.1?

No. Further active work in progress at https://github.com/levb/mattermost-plugin-jira/tree/refactor3/server, keeping this PR around for its comments.

This issue has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @hanzei


[BUG] Upload from local is not successful

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

Go to Volumes/Template/ISO
Click on 'Upload template/volume
Fill in the details and submit
See error

Expected behavior
Upload should be successful
Screenshots

Desktop (please complete the following information):

OS: Mac
Browser chrome
Version Latest

Additional context
2020-04-02 08:06:44,591 DEBUG [c.c.a.ApiServlet] (qtp898694235-781:ctx-09e8bb11) (logid:148127f8) ===START===  <IP_ADDRESS> -- GET  name=asdf&zoneId=b52e1ceb-ded4-4197-9c44-6c4c27f41b1c&format=QCOW2&command=getUploadParamsForVolume&response=json
2020-04-02 08:06:44,599 DEBUG [c.c.a.ApiServer] (qtp898694235-781:ctx-09e8bb11 ctx-310cfe95) (logid:148127f8) CIDRs from which account 'Acct[c9b55af1-740b-11ea-a1c0-1e0009010867-admin]' is allowed to perform API calls: <IP_ADDRESS>/0,::/0
2020-04-02 08:06:44,623 DEBUG [c.c.r.ResourceLimitManagerImpl] (qtp898694235-781:ctx-09e8bb11 ctx-310cfe95) (logid:148127f8) Updating resource Type = volume count for Account = 2 Operation = increasing Amount = 1
2020-04-02 08:06:44,661 DEBUG [c.c.a.ApiServlet] (qtp898694235-781:ctx-09e8bb11 ctx-310cfe95) (logid:148127f8) ===END===  <IP_ADDRESS> -- GET  name=asdf&zoneId=b52e1ceb-ded4-4197-9c44-6c4c27f41b1c&format=QCOW2&command=getUploadParamsForVolume&response=json

@borisstoyanov this maybe invalid if this was performed on:

primate-qa server as it's simulator, there is no real SSVM or upload endpoint
any trillian/valid env without SSL enabled SSVM

Can you confirm @borisstoyanov @vladimirpetrov?

It was on Trillian env with KVM hosts, let me doublecheck and get back

Confirmed, not a bug


Query DataONE's software repositories only

Met with Matt Jones after CodeMeta was over, he gave me some really good insight about a clever way I can work with DataONE to grab software using a specific field.
There's a field that's basically a list of all the resource files included in the project. We can comb a repos file list, looking at the extension, to determine if a file is code or not.

reached out to Matt for details, once I get a response this should be a piece of cake!


bug(STEPPER): mat-step label not responsive

Issue: Mat Label doesn't wrap by default when the mat-vertical-stepper is wrapped within responsive classes.
https://angular-ncd9ey.stackblitz.io
Steps to reproduce:

The first step in the vertical stepper displays ellipsis for a step with long text

Please suggest if this should be handled via CSS or if there is a property that handles this specific use case.
Expected Behavior
Wrap the step label to next line similar to responsive design
Actual Behavior
Mat label displays ellipsis
Environment

Angular: 8
CDK/Material: 7.2.2
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

this might be related to #15181. If so you want to close this and like the other issues.
I cant open you stackblitz (atm).


Updating y18n dependency where possible.

Followed recommended audit update command
npm update y18n --depth 9
and updated npm version (now using 7.9.0) via
npm install -g npm
to resolve issues connecting to registry for audit.
Verified changes were non-breaking with linting, unit tests, and manual regression tests.

So far so good. Confirmed just versions 4.0.3 and 5.0.8 appear.

This will need to be compatible with npm 6.14.12 until the project is run/built in a newer base container.

Might be worth updating the uswds dependency as well, because there is no story for that and it is the only dependency that upgrading will eliminate the older version of y18n

Looks like uswds has a child dependency that is no longer vulnerable. Going to leave it at this, with just the y18n fix, just to keep our changes small and easily revertible.

Looks fine, I'd like to get a functional sign-off from @lukemarkwordtlibertyits before merging.


Create bigger self-hosted runners

We experience lack-of-memory issues with our current runners: https://github.com/NilFoundation/crypto3/actions/runs/6769935170/job/18397400778?pr=91
Looks like we can solve it by adding new self-hosted runners for CI: https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/managing-larger-runners

There is a possibility that Posseidon requires more RAM to build, because it's constants are too large, and there's a tiny bit of compile-time computation done:
https://github.com/NilFoundation/crypto3-hash/blob/master/include/nil/crypto3/hash/detail/poseidon/original_constants.hpp


Issue#7194fixed

#7194 Issue Reference

@shivamtiwariwebkul
Not working properly. The login icon is not visible. Please find the screenshot Here

@shivamtiwariwebkul
Still not working, please find the screenshot Here

Closing this pull request as no activity from the last 7 days
Feel free to open a new pull request once done.


Modified subset_samples_and_variants()

Added a vds option to function subset_samples_and_variants() @jkgoodrich @klaricch

Sorry, just need one more run of Black, then good to merge


Update brunch

The version of Brunch specified in package.json is too old to function (its build of fsevents causes v8 to crash.) This forces you to install an external Brunch (npm install -g brunch) if you want to do any development on ExAdmin itself.
This PR updates Brunch and its plugins to more recent versions, and then uses the newer Brunch build to re-generate the prebuilt assets in priv/static.

Thanks!!


Enable custom unit names parameter for filesize()

Hi!
This enables to define custom unit names for Humanize.filesize() by adding a 'units' parameter as shown here:
Humanize.filesize(1024, 1024, 1, '.', ',', ' ', ['B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB']);

This PR also includes a correction to the README.md .

It would be really great if this will be bundled into an updated npm module.


Add PowerShell Exchange image

Status
Ready
Related Issues
None
Description
Docker image based on demisto/powershell-ubuntu:<IP_ADDRESS>01 with the ExchangeOnlineManagement 2.0.4-Preview2 pre-release PowerShell module. This allows for creating integrations that use the ExchangeOnline cmdlets.
Exchange Online PowerShell V2 module

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

The license verification of the Exchange PowerShell module has failed:
================= Checking PowerShell packages =================
ExchangeOnlineManagement: verifying license URI: http://aka.ms/azps-license..
FAILURE: ExchangeOnlineManagement (author: Microsoft Corporation): no approved license found for uri: http://aka.ms/azps-license
Traceback (most recent call last):
File "/home/circleci/project/./docker/verify_licenses.py", line 184, in
main()
File "/home/circleci/project/./docker/verify_licenses.py", line 178, in main
ignore_packages, known_licenses)
File "/home/circleci/project/./docker/verify_licenses.py", line 80, in check_pwsh_license
raise Exception(msg)
Exception: ExchangeOnlineManagement (author: Microsoft Corporation): no approved license found for uri: http://aka.ms/azps-license
Exited with code exit status 1

@wstinkens thanks for your submission. Are you also planning to submit a PR in the content repo?

@wstinkens I am also looking into fixing the license failure.

@wstinkens thanks for your submission. Are you also planning to submit a PR in the content repo?

Thanks for your help! Why would I do a PR in the content repo exactly?

@wstinkens thanks for your submission. Are you also planning to submit a PR in the content repo?

Thanks for your help! Why would I do a PR in the content repo exactly?

You mentioned that you are creating the image for an integration. Would like to verify that the image actually works with the integration.

@wstinkens thanks for your submission. Are you also planning to submit a PR in the content repo?

Thanks for your help! Why would I do a PR in the content repo exactly?

You mentioned that you are creating the image for an integration. Would like to verify that the image actually works with the integration.

No, we will not do a PR for the integration at this moment.

@wstinkens can you confirm that this image is working with your planned integration.

@wstinkens can you confirm that this image is working with your planned integration.

@wstinkens can you confirm that this image is working with your planned integration.

Yes, it is working with with my integration

@wstinkens can you confirm that this image is working with your planned integration.

Yes, it is working with with my integration

Docker Image Ready - Production
Docker automatic build at CircleCI has deployed your docker image: demisto/pwsh-exchange:<IP_ADDRESS>76
It is available now on docker hub at: https://hub.docker.com/r/demisto/pwsh-exchange/tags
Get started by pulling the image:
docker pull demisto/pwsh-exchange:<IP_ADDRESS>76

Docker Metadata

Image Size: 138.56 MB

Image ID: sha256:915968630999e109efb449820f6a0eeca948465c02acda0bd96c36ee739d0815

Created: 2021-01-21T20:48:27.261688263Z

Arch: linux/amd64

Command: ["pwsh"]

Environment:

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache
POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-Ubuntu-18.04
DOCKER_IMAGE=demisto/pwsh-exchange:<IP_ADDRESS>76

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:894a2f3eaa970f4c7c6fb3b5b00d1c3f72548204
org.opencontainers.image.version:<IP_ADDRESS>76

Docker Image Ready - Production
Docker automatic build at CircleCI has deployed your docker image: demisto/pwsh-exchange:<IP_ADDRESS>76
It is available now on docker hub at: https://hub.docker.com/r/demisto/pwsh-exchange/tags
Get started by pulling the image:
docker pull demisto/pwsh-exchange:<IP_ADDRESS>76

Docker Metadata

Image Size: 138.56 MB

Image ID: sha256:915968630999e109efb449820f6a0eeca948465c02acda0bd96c36ee739d0815

Created: 2021-01-21T20:48:27.261688263Z

Arch: linux/amd64

Command: ["pwsh"]

Environment:

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache
POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-Ubuntu-18.04
DOCKER_IMAGE=demisto/pwsh-exchange:<IP_ADDRESS>76

Labels:

org.opencontainers.image.authors:Demisto<EMAIL_ADDRESS>org.opencontainers.image.revision:894a2f3eaa970f4c7c6fb3b5b00d1c3f72548204
org.opencontainers.image.version:<IP_ADDRESS>76


Update to gradle 7.0

@... PTAL?

/gcbrun

I'll try splitting it into multiple PRs. The dependent changes could be checked-in separately.

@shobhitagarwal1612  How far did we get on this? Should we close this PR for now?

Sorry, I forgot about this. Will definitely take up next.

/gcbrun

/gcbrun

/gcbrun

@gino-m Can I get a re-stamp? Linter was failing.

Codecov Report

Merging #996 (709e065) into master (486e452) will decrease coverage by 31.27%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #996       +/-   ##
============================================
- Coverage     31.27%   0.00%   -31.28%
============================================
  Files           326     326
  Lines         11495   11506       +11
  Branches       1116    1116
============================================
- Hits           3595       0     -3595
- Misses         7342   11506     +4164
+ Partials        558       0      -558

Impacted Files
Coverage Δ

gnd/com/google/android/gnd/rx/Nil.java
0.00% <0.00%> (-100.00%)
:arrow_down:

gnd/com/google/android/gnd/model/Role.java
0.00% <0.00%> (-100.00%)
:arrow_down:

gnd/com/google/android/gnd/model/User.java
0.00% <0.00%> (-100.00%)
:arrow_down:

gnd/com/google/android/gnd/model/AuditInfo.java
0.00% <0.00%> (-100.00%)
:arrow_down:

gnd/com/google/android/gnd/model/form/Field.java
0.00% <0.00%> (-100.00%)
:arrow_down:

gnd/com/google/android/gnd/model/layer/Layer.java
0.00% <0.00%> (-100.00%)
:arrow_down:

gnd/com/google/android/gnd/model/layer/Style.java
0.00% <0.00%> (-100.00%)
:arrow_down:

gnd/com/google/android/gnd/rx/RxTransformers.java
0.00% <0.00%> (-100.00%)
:arrow_down:

gnd/com/google/android/gnd/NavGraphDirections.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...nd/com/google/android/gnd/model/feature/Point.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 141 more

Continue to review full report at Codecov.

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

Codecov seems to be broken as well. Marking this back to draft.

/gcbrun

/gcbrun


Default .getDate();

First off - thanks for the great plugin!
Maybe I misread the docs, but is it a design decision to set the default .getDate() to the current datetime even thought no date (& time) is selected using the date (& time) picker? as demonstrated in this jfiddle: http://jsfiddle.net/p06cLq3t/6/
It seems only once you call $('#datetimepicker1').data("DateTimePicker").setDate(); on initial load will it set the value to null.
Thank you in advance for any feedback

please use v4. I checked your fiddle with v4 and it doesn't do this.
https://github.com/Eonasdan/bootstrap-datetimepicker/tree/v4beta

Thanks for the prompt feedback.


Move the locators under the py-envs component tree.

Volumetrically, this is the biggest chunk of work for consolidating discovery-related code.  We only move files in this change.
(FWIW, since we're only moving code there shouldn't be a need for more than one review.)

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

@karrtikr, would you mind giving me a review on this.  The PR only moves files and makes no other changes, so it shouldn't need any time to review.


Plan for refactoring ejected codes

Hi, from my experience, the output of eject-page is very messy, hard to modify, and difficult to maintain. It does not follow SOLID principles.
For example,PasswordWrapper is defined in at least four different places with the exact same code. The same issue applies to social.providers, InputField, etc. Additionally the one component UserProfileFormFields that is shared across files is also a nightmare to work with , it's overly complex, containing many different sub-components and managing numerous conditions simultaneously. Also, there is no documentation explaining what each part is supposed to do and why. For instance, there are some magical checks like : https://github.com/keycloakify/keycloakify/blob/a2ea81b3b8dc7fa55f01988fc004d74db0f6b0a0/src/login/UserProfileFormFields.tsx#L288 with no document
I also think there should be some sort of automated tests that check if the login process is working on all keycloak versions as it should , and it is not broken in case of code change (with selenium e.g)
Right now changing theme is more difficult that what it should suppose to be and I believe this will lead to maintainability issues for the core project itself in the future. There's a lot of technical debt here.
My question is: do you have any plans to refactor this?
I might be able to help, but the problem is that I don't fully understand how the Keycloak context is generated, how the build process works to create the keycloak theme from your components, or what happens if Keycloak updates things,... This makes it hard for me to make changes confidently without risking breaking something.

I don't know whether this can help or not. But regarding the passwordwrapper, I used to have a similar question. So, if you want you may check this discussion

Hey, as for the Angular Component library it is capsuled into components.
https://github.com/keycloakify/keycloakify-angular/tree/main/src/login/components

But the most important thing for testing in your Keycloak Theme is that:

you use Storybook for visual tests
you have adequate functional testing in your company

You will need the functional tests as soon as you have your own flow in use anyways.
I think @garronej has a lot of work on his plate and has already done a lot for the community. If you have a certain idea you might suggest this as code. It does not have to work 100% but it might give a direction to understand your ideas better.

Hello @uchar,
The Keycloakify components are a direct port of the FreeMarker templates to React. Many of the issues you mentioned are inherited directly from the upstream code, which you can see here:
https://github.com/keycloak/keycloak/blob/25.0.6/themes/src/main/resources/theme/base/login/user-profile-commons.ftl
I've tried to document everything as thoroughly as possible, but it can be overwhelming, especially as people expect me to document Keycloak's features. I’ve carefully documented all Keycloakify-specific features, though it’s challenging to draw the line when it comes to re-documenting Keycloak itself. Here’s a video I recorded about the Register page, which covers the most critical information:
https://youtu.be/lMOLrdqilqE?si=ZVv5_VkHbCVhcG4k
Ideally, the entire Keycloak UI would have been rewritten from scratch, but porting the existing code to React was the most feasible way for me to achieve feature parity with the default theme.

Hey, as for the Angular Component library, it is encapsulated into components.

Yes, in @keycloakify/angular, pages have been split into smaller components by @kathari00, and the ejection script has been enhanced to account for this structure. When a page is ejected, the I recursively checks for and copies all the components it relies on. I haven’t implemented this in React yet, as it doesn’t fully address the core issue: non-ejected components still rely on the internal implementations of subcomponents.
I’m aware of the current limitations and am actively working on a new system that will enable to offer multiple base themes to choose from, like MUI, Tailwind + ShadCN/UI, Ant Design, Bootstrap, etc. The new setup should also make it easier to break pages into smaller components while keeping everything manageable both for me and for theme developers.
I understand your frustration and why it may feel like Keycloakify isn’t meeting your needs. Please remember that this is an open-source project, and I’m doing my best to improve the framework as quickly as possible, mostly as a volunteer (the current sponsorship is only about $320 a month). If Keycloakify's development is critical to your business’s success, consider contributing through donations.
PS:

I think @garronej has a lot on his plate and has already done a lot for the community. If you have specific ideas, consider suggesting them in code. It doesn’t have to be fully functional, but it could help clarify your direction.

Thanks, @kathari00! I genuinely appreciate your support. However, I’m not currently open to PRs on refactoring the component side, as there are many constraints that external contributors may not be aware of, and the refactor might conflict with my ongoing changes. I’m open to PRs on E2E tests for the login/register process, though.


router: add regex substitution to header hashing

Commit Message:
Extend  hashing via header to support regex substitution.
Additional Description:
This is useful when you need to hash on a transformation
of a header value (e.g.: extract a part of :path).
Fixes #11811
Risk Level: low
Testing: unit test added
Docs Changes: none
Release Notes: added
Signed-off-by: Raul Gutierrez Segales<EMAIL_ADDRESS>

/lgtm api

Hmm failure looks unrelated (on the windows build):
 //test/integration:cx_limit_integration_test                             FAILED in 300.7s

Another unrelated timeout:
//test/integration:http2_integration_test                               TIMEOUT in 327.6s
  /build/tmp/_bazel_bazel/b570b5ccd0454dc9af9f65ab1833764d/execroot/envoy/bazel-out/k8-dbg/testlogs/test/integration/http2_integration_test/test.log

re: windows: https://github.com/envoyproxy/envoy/commit/83841da7110b4ee87f78eff47c0f3555c55d1348

re: timeout, probably this one: https://github.com/envoyproxy/envoy/pull/11842.

/azp run envoy-presubmit


Fix typo

Restful -> RESTful

@kengaderdus
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


⚠ Heritage of Faith Christian Church - Gold Coast has degraded performance

In c9f4c1e, Heritage of Faith Christian Church - Gold Coast (https://heritageoffaith.com.au) experienced degraded performance:

HTTP code: 200
Response time: 6394 ms

Resolved: Heritage of Faith Christian Church - Gold Coast performance has improved in 6777b6b.


[FEATURE] Specify directionality of axes

I believe it is currently the case that xgcm does not intrinsically know the direction in which an axis is defined and thus the direction in which to take differences and/or derivatives.
This can be problematic to the naive user (e.g. me), with the most common example would be a model whose index in the vertical dimension ascends with depth, i.e. the index counts from 1 to nz, whereas the depth descends from, say, -5m to -5000m.
I encountered this when naively performing a vertical derivative with ECCO output, and recognizing that it gave an answer that was of the wrong sign. The manual hack is to multiply the output of .diff by -1, or to multiply the appropriate metric by -1 before using .derivative.
Would it be straightforward (and desired) to allow for the direction of axes to be specified at the point of defining the Grid object, e.g.
grid = Grid(ds, axis_direction={'X':'increasing', 'Y':'increasing', 'Z':'decreasing'})

and use this information in .diff?
Happy to work on a PR if it is thought to be a useful addition.

:+1:

Would it be straightforward (and desired) to allow for the direction of axes to be specified

The CF convention way for vertical axes is to specify the attribute positive: up or positive: down, so xgcm could look for that attribute.
The problem is that this change is very backwards-incompatible. In cf_xarray, we added this as an opt-in feature to .differentiate using the positive_upward kwarg

We could have a hybrid approach, where we automatically check (and warn if nothing is found) and still allow this to be set manually.
We should probably adjust the keywords accordingly to the cf vocabulary Grid(ds, positive={'X':'up',...}.

This information could also be shown in the repr for easy checking!

Very happy to help with the PR if needed.

Would it be preferable to do something consistent with cf_xarray and specify a positive_upward kwarg?

Thats a good question, TBH. @dcherian, you seem to have somewhat departed from the naming to make the argument a boolean?
What do you think is the best cf-style naming?

That's because differentiate is a verb. so positive_upward=True means "differentiate so that positive is upward"


chore(rptest-v2): release rptest 2.8.0

:robot: I have created a release beep boop
2.8.0 (2024-04-09)
Features

testiness v1.8 (59ca3a1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/dailywraith/rptest/releases/tag/rptest-v2.8.0 :sunflower:


fix: wethIsEth in nested handlers

Are you sure nested handlers support this behaviour?

Tested it with pools/gnosis/v2/0x66888e4f35063ad8bb11506a6fde5024fb4f1db0000100000000000000000051/add-liquidity


Hooking

What hooking method does Osiris use? And would osiris be undetected if I add junkcode and vm protect it?

Readme says:
MinHook - trampoline hook
VmtHook - hook a function directly in a vtable
VmtSwap - create a copy of a vtable and swap the pointer on the class instance
Junkcode and VM Protect might slow the detection detection, but there's still a big risk of getting detected. I recommend Daniel's VAC Bypass and some manual mapping injector for bypassing CS:GO's Trusted Mode. You should not use Osiris on your main account.

@debooga The VAC Bypass doesn't work anymore. I still get VAC errors

It does work but it doesn't prevent VAC errors which are server-sided.

Now I think opting out of the Steam beta really helped! Played two games
straight with Osiris with no issue. Don’t do the beta guys.
On Sun, Dec 6, 2020 at 8:47 PM debooga<EMAIL_ADDRESS>wrote:

It does work but it doesn't prevent VAC errors which are server-sided.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/danielkrupinski/Osiris/issues/2382#issuecomment-739615151,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOCKQFEYI3C7XIAHTL5JX73STQX2BANCNFSM4UPTUGQA
.

Junkcode and VM Protect might slow the detection

I wanted to find out who was the first person who had this idea that junkcode is for something, it must be some joke.

Junkcode and VM Protect might slow the detection

I wanted to find out who was the first person who had this idea that junkcode is for something, it must be some joke.

Is process hacker 2 a manual mapping injector?

https://github.com/processhacker/processhacker/
Load Library
Em seg., 7 de dez. de 2020 às 10:39, Tigerfy<EMAIL_ADDRESS>escreveu:

Is process hacker 2 a manual mapping injector?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/danielkrupinski/Osiris/issues/2382#issuecomment-739923913,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOQKCYAL5WMOCQQWUHWFXI3STTLH7ANCNFSM4UPTUGQA
.

Alright, I have been using procces hacker for around a month and no problems. I just put dll in windows folder to bypass trusted mode. Would you consider it safe against vac?

@debooga The VAC Bypass doesn't work anymore. I still get VAC errors

Dont use the Anti Aim you will get vac authed every single time

I just opted out of the steam beta and it works fine
On Tue, Dec 8, 2020 at 6:43 AM FalloutBruhMoments<EMAIL_ADDRESS>wrote:

@debooga https://github.com/debooga The VAC Bypass doesn't work
anymore.
Reply to this email directly, view it on GitHub
https://github.com/danielkrupinski/Osiris/issues/2382#issuecomment-740570373,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOCKQFECVM7XAT7XS6ZLSPLSTYGPVANCNFSM4UPTUGQA
.

@debooga The VAC Bypass doesn't work anymore. I still get VAC errors

Dont use the Anti Aim you will get vac authed every single time

True, VAC bypass prevents cheat detection but it does not prevent VAC auth errors caused by not using anti-aim or high FOV aimbot without aimstep in deathmatch, casual, etc.


downloading private AWS S3 URLs doesn't work

If I use an Amazon S3 Private (Signed) URL for downloading, the download progresses as though it is working, data is coming down the connection (I can see in my network inspector), but it isn't being saved to disk, when it's "completed" I end up with a file of 0 bytes.
It seems to have null in each of the threads, and also totalBytes is always null, when looking at the stats output/

A public file from S3 which doesn't have a signature works fine.

In observables.js you get the content-length from the header. I think that may be the issue
module.exports = {
  requestBody,
  requestContentLength: x => requestBody(_.assign({}, x, {method: 'HEAD'}))
    .pluck('message', 'headers', 'content-length')
    .map(x => parseInt(x, 10)),
  fsOpen,
  fsWrite,
  fsWriteBuffer,
  fsWriteJSON,
  fsReadJSON,
  fsReadBuffer,
  fsTruncate,
  fsRename,
  fsStat,
  buffer
}

ok .. so playing around a bit, I reckon you can fix this by using a GET instead of a HEAD to get the content-length from the first response (similar to below)
requestContentLength = x => requestBody(_.assign({}, x, {method: 'GET'}))
  .pluck('message', 'headers', 'content-length')
  .map(x => parseInt(x, 10))

but I can't figure out how to cancel the download once it's got the length, to allow the actual download to continue. Any ideas?

What are the HTTP headers that you get when requesting via HEAD vs GET ?

they are meant to be the same
http://stackoverflow.com/questions/3854842/content-length-header-with-head-requests
but content length isnt always implemented in the HEAD response (as in AWS Signed links) ... so this is not a bug with mt-downloader, it's S3's fault; but we need a workaround that allows for this issue otherwise signed files can't be downloaded from S3 using mt-downloader. (that's practically all
I'll be using it for)

but we need a workaround that allows for this issue

AGREE.
Some changes might be required in the current implementation.
Current Approach

make HEAD request, parse content-length
divide content-length by thread-count and make multiple http requests.

New Approach

Directly make the HTTP request with the provided HTTP method.
Parse headers for content-length
a. IF found: create new threads, auto destruct the first thread once the data downloaded reached the first byte of the second thread.
b. IF Not Found: continue downloading with the current request. If its a resume, only set the start byte and not the end byte for that one thread.

So this will also cover chunked downloads.

wouldn't it be easier to just do

make GET request, parse content-length
cancel GET request before downloading any data
divide content-length by thread-count ... etc

Why cancel? It would be inefficient to destroy an already created connection and then create another.

Just to solve your problem. Would you mind pasting the Headers of both the HEAD and GET responses?

Yeah good point ... I was just being lazy ;-)
Here are the headers. There's a 403 (Forbidden) error on the HEAD request.

To solve your problem temporarily you can set the threadCount to 1 if content-length is not available. The permanent solution would be to not make HEAD requests ever instead dynamically decide after making the get request.


soc: efr32fg1p: correct clock initialization sequence

This patch changes clock initialization sequence to initialize external
cristal oscillators only if it was not done before. Initialization of
external cristal oscillators may be performed by the bootloader.
Tested on BRD4250B evaluation board.
Fixes #9471
Signed-off-by: Piotr Mienkowski<EMAIL_ADDRESS>

Codecov Report

Merging #9473 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9473   +/-   ##
=======================================
  Coverage   52.19%   52.19%
=======================================
  Files         212      212
  Lines       25921    25921
  Branches     5570     5570
=======================================
  Hits        13529    13529
  Misses      10129    10129
  Partials     2263     2263

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 d66e807...13b42fc. Read the comment docs.

The same issue is also present for all other silabs exx32 socs. Maybe we can move the soc.c content to one file common for all exx32 socs.

True, but I have only EFR32FG1P chip and cannot test the changes on remaining SoCs. If you are willing to perform the tests I will update this PR to include also EFM32WG series. As for moving content to one common file I would prefer to do it in the second stage. Maybe you could take over this task?

The same issue is also present for all other silabs exx32 socs. Maybe we can move the soc.c content to one file common for all exx32 socs.

True, but I have only EFR32FG1P chip and cannot test the changes on remaining SoCs. If you are willing to perform the tests I will update this PR to include also EFM32WG series. As for moving content to one common file I would prefer to do it in the second stage. Maybe you could take over this task?

I opened #9520 for this. When i find some time, i can do that.


Social Bookmark plugin: bookmarks are lost after some time

Hi,
The issue is reproducible for both Delicious and Pinboard. Bookmarks are often swept out of the catalog entirely forcing me to rescan manually for plugin catalog entries. It seems to occur after I'm offline for a certain amount of time, I suppose after 10 min (which is my automatic rescan interval time) or when for some reason Delicious of Pinboard fails to respond.
I guess there is an error in the code in the exception handling so that the catalog entries are cleaned when the plugin fails to retrieve the bookmarks.
The entries should be cleaned only at initial retrieval when setting up new credentials, but not after automatic rescans.
Thank you for maintaining Quicksilver, keep up the good work !
Best regards,

The plugin has been flakey for some time. The latest manifestation is that when I try to re-scan pinboard the number of objects scanned appear in the Catalog > Custom pane but when I open Information > Contents, no scanned objects are listed. Currently, the plugin seems to be remembering my login and password but sometimes loses this ability. I've also had periods where the objects are scanned and bookmarks are accessible but where the number of objects doesn't appear (ie pretty much the exact opposite of current behaviour). This plugin badly needs some maintenance / a rewrite.

Looks like we have the latest source for that one. Who’s bored? :-)

I'm getting the same experience as crookedfootball.

Just came here to report the same issues as crookedfootball already covered. Social Bookmarks plugin tries to scan my Pinboard bookmarks but it's not actually pulling anything into the catalog at all for me.


PrefixVarint

We use varints a lot and there's many ways to encode them.
The LEB128 encoding we currently use is certainly nice for it's simplicity. Though the PrefixVarint isn't that much more complex, but is quite a bit faster. See code an more info at https://github.com/stoklund/varint#prefixvarint
It's really similar to LEB128, though you can even skip over bytes without looking at them for large numbers (though we don't have large numbers normally).

@vmx any reason to leave this open?


Integrate JSCS with Hound CI

Hound CI has beta support for JSCS, but worth trying out: https://houndci.com/configuration#jscs

Holding back on this until Hound CI works again.

https://github.com/resin-io/etcher/pull/139


chore: set resourceIds in subresources

This PR sets the sub-resource's resourceId so that it can be used to perform lookups.
This is sub-part to brownfield work.
#396

I will address the comments in the following PRs


Add testDenom or Denoms to testChains

The test chains themselves should know which denoms they have

This is a nice to have


When will the release be?

Hi. The last publication was 9 months ago. I did a pull request about 4 months ago. Can I expect a release soon? Thanks.

We release when we have time to triage the bug reports that it produces. There’s no schedule.

Happy to help triage and look into this bugs when you decide the time is right.  Just let me know and I can take on whatever number of them.

v2.27.0 is released.


Minor grammatical fixes:

'Install' should be 'installed' (past tense)
Change 'checkout' to 'check out' (check out is to inspect and checkout refers to "checking out at a hotel/grocery store")

@kphed - we'll need you to sign CLA before we can merge, see above ^

@brentvatne thanks for the heads up, Brent! I just signed the CLA :)

Great, thanks for the PR! :clap: hopefully the first of many

Most definitely! Thanks for the merge :dancers:

Hmm it seems like @facebook-github-bot is lagging a bit behind, hopefully it tags as CLI signed soon :P

I swear I signed it haha :suspect:


Max number of violation reporting events per minute

Based on the new logic proposed violation events should be reported via CSP report uri endpoints.
This would require making HTTP requests ourselves to the server for every violation.
In order to limit the number of requests we make per minute in such cases the module should have a inbuilt default value (100) which will be the max number of violation events that will be reported per minute, violations beyond this will be discarded and new violations will be sent in the next minute only.
This max value can also be defined in the RAP, we can have a field called - maxViolationsPerMinute.

Fixed in pull request from @p1xxxel


rename adult ventral nervous system

Current label 'thoracico-abdominal ganglion' is outdated and no longer used.
Rename to 'adult ventral nervous system' keeping old name as synonym.
Also change in definitions that use 'thoracico-abdominal ganglion'.

I support this suggestion.


What do I have to type in in order to test my own images?

Can somebody give me the command?

Read the documentation, if you don't use the provided information why should someone make the work for you to write it down twice?

Can somebody give me the command?

Give me one of your social media nicknames and I can explain the usage of BSRGAN to you in detail and show you how to do what you try to accomplish. Or E-mail, anything works - just need to text to you in a private chat because here it's a bit unsecure or too "public"

I see the training commands, but could not find the testing ones. I did some guessing work based on the "main_test_bsrgan.py" file, and was able to use the bsrgan model, but i have no clue how to use the 2x model or the bsrnet one, and also do other things like change lr images path etc. I am not a pro user of command line anyways, I learned everything by myself, and my first language is not English even though I can speak lol, that's why I asked. My IG is hudson_gama_1 if you want to contact me. I used a workaround tho (chainner), so if you don't want to bother, you don't need to.

Can somebody give me the command?

Give me one of your social media nicknames and I can explain the usage of BSRGAN to you in detail and show you how to do what you try to accomplish. Or E-mail, anything works - just need to text to you in a private chat because here it's a bit unsecure or too "public"

@Dounial Can I have your email address? I have a question


Add Wonderland Engine communities and reword Wonderland Engine

Hey @msub2 !
Thanks for maintaining awesome-webxr. Was about time someone created this!
I reworded Wonderland Engine's description and added the reddit and Discord communities.
Best,
Jonathan

Thanks Jonathan!


how find blog by tags on onepage.

example:
blog path:/cms-demo/cityA
blog left menu: foodA,foodB,foodC...etc.
tags:food
other blog
blog path:/cms-demo/cityB
blog left menu: foodX,foodY,foodZ...etc.
tags:food
how i find the cityA's blog by tag:food? by other tag like cityA or cityB ?

I'm not quite sure what you're asking to do. Are you trying to fetch blog posts with a particular tag?

Closing this for lack of input, but feel free to take it to the apostrophenow google group for wider discussion with more specifics:
https://groups.google.com/forum/#!forum/apostrophenow


CPP code for 743 Network Delay Time.

Please fill the details before contributing.

⚠Important!!

[ ] Done reading CONTRIBUTING.md?

Adding Code PRs?🔥
⚠Do not add multiple files for the same solution!!!

[ ] Added problem statement(Readme.md) with solution?

[ ] Contributing new file?
[ ] Appending your code in already existing file?

From Platform:

[ ] Leetcode
[ ] GFG
[ ] Interviewbit
[ ] Others(only acceptable after DISCUSSIONS)

Migration PRs?🤝

[ ] Done deleteing file from home directory?
[ ] Added file with correct name and correct directory?

Please my code in CPP for the problem 743 Network Delay Time.


Remove metrics which are not provided anymore by a query.

If a metric is not returned anymore by a query, the last value will remain available forever. This can be a problem if the existence of the metric is used for alerting: the alert won't end.
This PR removes metrics which are not found by a query anymore.
PS: First time python coding, sorry if bad style is included.

Hi @micst, thanks for the PR.
I've actually been working on a refactor that addresses this issue from another angle. Rather than trying to maintain the metric gauges in the registry, we can generate the gauges on the fly when Prometheus hits the query endpoint. That way, we can trivially ensure that only metrics returned from the last query run are included.
You can see the main commit here: https://github.com/braedon/prometheus-es-exporter/commit/1a2210b85afff43a3913796de54c92589704e1d4
I hope this satisfies your use case. If not, please let me know!


Create a mapping-database table for linking koblenz-users-table and cards-table

Is your feature request related to a problem? Please describe.
we need a new table, which links the koblenz-users-table with the card that is connected to the entry in the koblenz users table.
Describe the solution you'd like

Create a new table with two fields:
id of the cards table
id of koblenz-users-table
extend createCard function->fill this table with the particular ids

Describe alternatives you've considered
Add a field "cardID" to the koblenz users table

Questions:
Do we want to allow multiple cards to be created for the same user?
When an additional card is created, should we keep the old cards active or we want to deactivate them?

@ztefanie @f1sh1918
Could you please clarify if there is a specific reason why we want to store the relation in a separate mapping table?
I believe this approach is usually used for many-to-many relationships. While we have a one-to-many relation in our case.

Describe alternatives you've considered:
Add a field "cardID" to the koblenz users table

I would create an entitlements_id column in cards table.
Because for one user we can have many cards (one active, others revoked).
Any objections to that?

no i think thats fine.
i think the reason was that we didn't want to adjust the card table with another optional id
the only thing we have to ensure later in the "extend card" function is that the old card will be revoked after new card was activated but that should work with this solution

yes thats fine.


Absolute path with root slash imports breaks intellisense

Hi.
I been  struggling with absolute path imports because intellisense breaks (and go to definition too), this import statement breaks intellisense:
import Something form '/imports/collections/something.js';

But this one doesn't:
import Something from 'imports/collections/something.js';

The problem is that I'm using meteor, which works with the first import statment but not with the second one.
Is there a way to configure vs code for working with absolute imports that includes a root slash? WebStorm support this but I really like more vs code.
ps. sorry for my bad english

Try configuring the paths option in your tsconfig or jsconfig file. Here's the documentation on this: https://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping
You'd probably want something like:
{
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "/*": [
        "*"
      ]
    }
  }
}

Hi.
Thanks for the answer, but the configuration that you suggest I already tried it and does not solve the problem.
Now, the documentation in the link that you provide me, says that an import starting with slash is treated as a relative import, since this documentation is for typescript, is the same for javascript? And if so, is there a way to make that vs code does not treat an import starting with a slash as a relative import?

I'm having this same issue. The above config does not work for import Something form '/imports/collections/something.js';

Also not working here

It's seems that they won't fix it, and now I really don't think they should (it's more like meteor's problem). Also if you use typescript with meteor, you can configure paths aliases, but obviously use typescript is not an option for everyone.

Hmm. To me it's an odd idea that an IDE would or should not support a certain way of importing code. I'd vote for this to be supported so the tool at hand can be used to its fullest extent. Relative paths are not an option in a larger application, so this really hampers the experience with VSC.

I agree that relative imports it's not the way to go, but maybe meteor should not be tied to root slash imports, but let us define namespaces for our modules, so instead of importing like this:
import Something from '/modules/partners/collections/something.js
We could configure a namespace an do something like this:
import Something from 'partners/collections.js'
And finally, if they someday fix this issue, I'll don't be mad, it's just that doesn't seems that they are willing to do it, at least not right now.
I know that this made vscode less attractive, but sadly for me, webstorm is justo to slow (webstorm doesn't have this problem)

I wonder why root slash imports aren't supported, as @juho says: an IDE should not decide how you import your modules.
I'm working with a Webpack configuration that is using the leading slash as project root, this won't go very well together with vscode. Defining module-namespaces is not really an option, since this could potentially clash with modules inside the node_modules.

@mjbvz It looks like your example should the right way to go, but it looks like it isn't working. Any other ideas?

@klaasman there was some discussion on it recently on the forums where people reported success with eslint-plugin-import and eslint-import-resolver-meteor:  https://forums.meteor.com/t/vscode-absolute-imports/40278/10

I feel like @mjbvz could weigh in also seeing how his solution doesn't work and workarounds are needed

Thanks for pointing me to that package, but I don't feel like importing meteor-specific linting-configuration in a project with 0 meteor-related code :-)

The solution from that thread wasn't to use an eslint package, I'm not sure why that was suggested as a solution. I used  https://github.com/tleunen/babel-plugin-module-resolver to fix this.

Ah I see. I'm afraid it won't work in my situation: I'm working with a single dependency webpack-setup, all babel configuration is managed by this dependency which means the config is living inside some folder in the node_modules.

@mhegazy Any idea on how to setup a jsconfig.json for this case? I thought configuring a paths for /* used to work

/ is seen by the system as an absolute path.. it refers to the root directory.. we have a request to allow mapping that using path mapping in https://github.com/Microsoft/TypeScript/issues/13730

It would be great to have this solved as it's most likely causing hundreds of lost man hours across the board trying to find a fix and applying different plugins, just judging from the amount of forum, stackoverflow etc. posts I've seen on it.

Thanks @mhegazy! Closing this as a duplicate of Microsoft/TypeScript#13730
We'll keep tracking this upstream


Add type=xml-data

We have the convenience types select_one_from_file name.xml and select_multiple_from file name.xml and a convenience function pulldata that all 3 automagically add an <instance> to the model.
This issue, for discussion, is to explicitly only add an instance, e.g.

type
name

xml-data
mydata

produces:
<instance id="mydata" src="jr://file/mydata.xml" />`

This would cater to complex calculations that query external data without restrictions, for example:

type
name
calculation

integer
rooms

calculate
c
count(instance('mydata')/house[rooms = current()/../rooms ])

Note that this might make select_one_from_file and select_multiple_from_file redundant (which is totally fine) , as you could feasibly use type=data and type=select_one to produce the same XForm output.

I changed the above type to xml-data (and the idea is that in the future csv-data may be added).
Is anybody opposed to, or excited about, a PR that adds this feature?

This is nice! There are a couple of things that come to mind that perhaps could be handled separately but that may affect the type name.

Generating the XML from the choices sheet. I understand you are probably imagining servers would generate the files but I think it is useful to be able to generate them in the form-building process as well. I'm imagining this would be just like for selects but instead of writing an internal instance an external instance would be generated. For example, if I have a file reference called mydata and a list_name mydata in the choices sheet then mydata.xml would be generated accordingly. If mydata isn't in the choices sheet then the behavior is as in #169. One slight complication I see is that there might need to be a new mechanism introduced to specify which columns to include. selects use the choice_filter.

Generating and using internal instances in addition to external ones. There are small, static data sets that are useful to do XPath queries on. In that case, it's more convenient for them to be in the form file rather than as separate attachments. It's currently possible to fake this with a dummy select and a choice_filter that forces extra columns to be included in the internal secondary instance but it would be great for this to be a first-class citizen (see what I mean at https://docs.google.com/spreadsheets/d/1mQGVWaJA4QQp3jtddMdcRSDjc1O-j_bB79GUnlj5k10/edit#gid=0). This would be most convenient in combination with 1) above.

For those two reasons, I'd like to propose that the type for this feature be xml-external so that we can then add xml-internal and eventually csv-external.

Yes, that sounds perfect to me to change the type to xml-external for this issue in order to be prepared for future features. Thanks!


Error specifying region

Thank you for this great tool.  When I enter my preferences into publish.html and submit it says I'm using the wrong region.  My bucket is in 'us-west-2' region.  How would I specify the region?  I see some default variables in publish.html.  Is that the right place?
Regards,
Gil.

I am also getting this error.
do you have a single region only bucket. I have. could this be it?
How do we fix this?

Hey, I made a code fix for this. Can I push it?

@dcgomesbr thank you! Can you please make a pull request?

Fixed by #8


Fix bug identified in diagnosis of production incident

Log when we don't have a matching handler for the given message type.
If two consumers are subscribed to a queue that has multiple message types in it, one of them may not be able to handle all the messages (each handled a subset). So we need to return the message to the queue for the other subscriber to try handling it.

@martincostello

Needs a version bump for the v6 branch:

Thanks. Done 👍

Also need to make sure we don't forget to put this fix into the default branch as well.

Apparently I closed this! That's news to me


[question] example folder is working?

Hi @NikolaLohinski
Hope you are doing well.
I was wondering if the provided example is working since i got the following error when running the plan:

I managed to make it work with the example here https://registry.terraform.io/providers/NikolaLohinski/jinja/latest/docs/data-sources/template#schema

Hi @dtcMLOps
The example is working but with the new v2 version of the provider I am currently preparing but have not released yet.
If you checked out one of the earlier tags (say 1.17.0), the example would be accurate with the latest released version of the provider.
Cheers


only add mixin user agent when it's not in the env var already

Currently, the user agent is always set twice if porter already set the user agent env during build. This PR fixes the issue

Maybe I'm not understanding the requirement you mentioned correctly, I believe that's what this PR is doing currently.
We only append if the mixin user agent does not exist in the existing env

Sorry, I had misunderstood the test case you added in "env var already set" and missed that it only skips setting when the user agent string in the environment variable already contains porter's portion of it.


Provisioning folder is empty when generating an app plugin

We don't longer generate a provisioning folder when generating any of the plugin types.


Safe version of the EnumProcessModulesEx function seems to be incorrect

Actual behavior
I think that the safe version of the EnumProcessModulesEx has an invalid type for the lphModule parameter:
static unsafe winmdroot.Foundation.BOOL EnumProcessModulesEx(SafeHandle hProcess, out FreeLibrarySafeHandle lphModule, uint cb, out uint lpcbNeeded, winmdroot.System.ProcessStatus.ENUM_PROCESS_MODULES_EX_FLAGS dwFilterFlag)

The unsafe version:
static extern unsafe winmdroot.Foundation.BOOL EnumProcessModulesEx(winmdroot.Foundation.HANDLE hProcess, winmdroot.Foundation.HMODULE* lphModule, uint cb, uint* lpcbNeeded, winmdroot.System.ProcessStatus.ENUM_PROCESS_MODULES_EX_FLAGS dwFilterFlag);

Expected behavior
I would expect lphModule to be an out array or a HMODULE pointer (like in the unsafe version).
Repro steps

NativeMethods.txt content:

EnumProcessModulesEx

NativeMethods.json content (if present):

Any of your own code that should be shared?

Context

CsWin32 version: 0.3.106
Target Framework: net8.0

@mikebattista I've been researching from your links, and I believe NativeArrayInfo is still warranted on this function.
As precedent, I call on:

Function
Parameter
Array?
Attributes

VirtualQueryEx
lpBuffer
No
MemorySize

StartServiceCtrlDispatcherW
lpServiceStartTable
Yes
NativeArrayInfo (you recently added)

EnumProcessModulesEx
lphModule
Yes
MemorySize

Having MemorySize on the EnumProcessModulesEx makes sense because the size is controlled by byte count rather than array element count. But having a NativeArrayElement attribute as well (even without any properties set) is important so that cswin32 can distinguish between a pointer to one element vs. an array of elements.
Should we move this issue back to win32metadata?

WriteFile is one that was somewhat problematic for CsWin32 in the past. Per https://github.com/microsoft/win32metadata/issues/1555#issuecomment-1528200787, @mikebattista suggested that MemorySize should not be construed to mean an array. So I believe when a parameter is an array, we ought to apply the NativeArrayInfoAttribute.

Is there a way to scrape/automate what you want? Right now everything is controlled by the SAL annotations, or manually added if there are no annotations as in StartServiceCtrlDispatcherW.
Or are we saying there are likely many instances of MemorySize that also need a manually added NativeArrayInfo attribute? I'm relucant to go down that path without understanding if there's a better way to scrape the info.


Extract 'app.shared' module from 'app.components'

Begin breaking down the grab-bag components module into a more modular
feature structure. Pull all filters, directives, and components that are
used in more than one feature area into the SharedModule. This module
will then be imported into each individual feature module.
This sets up follow-up PRs to create feature modules for each area of
the application (services, catalogs, dialogs, etc.). Units specific to
each area have been marked in both app.core (factories/services) and
app.components.
Additionally, adjust the webpack config to include the sass root when
using @import. Now it is very easy to import sass files directly by
the components that use them instead of maintaining a parallel file
structure for styles.
https://www.pivotaltracker.com/story/show/138278069
@miq-bot add_label euwe/no, refactoring, housekeeping

@jjlangholtz can you resolve the conflicts and I'll merge?


Suggest ballerina/io instead of isolated keyword as the first completion item

See the above image. The first item should be ballerina/io IMO.

This issue has been fixed in latest master and can only be seen in the SwanLake-Beta4. Hence closing


google collab bug affecting nwis_client and _restclient. Throws RuntimeError: This event loop is already running

In google collab instantiating a RestClient ( this is implicitly done by nwis_client.IVDataService ) will cause a RuntimeError: This event loop is already running in google collab.  This issue is well documented in the jupyter notebook repo. In that thread, a work around using nest_asyncio was mentioned as shown below. The problem and a solution to this issue as shown below.
Reproduce Problem
!pip install hydrotools.nwis_client

from hydrotools import nwis_client

client = nwis_client.IVDataService()

---------------------------------------------------------------------------

RuntimeError                              Traceback (most recent call last)

<ipython-input-10-d37c2bf4ee70> in <module>()
----> 1 service = nwis_client.IVDataService()

4 frames

/usr/lib/python3.7/asyncio/base_events.py in _check_runnung(self)
    521     def _check_runnung(self):
    522         if self.is_running():
--> 523             raise RuntimeError('This event loop is already running')
    524         if events._get_running_loop() is not None:
    525             raise RuntimeError(

RuntimeError: This event loop is already running

Solution
!pip install hydrotools.nwis_client

import nest_asyncio
nest_asyncio.apply()

from hydrotools import nwis_client
client = nwis_client.IVDataService()

IMO I think the best way to get around this is to try catch where the error propagates from and then try to import nest_asyncio and call nest_asyncio.apply(). If nest_asyncio is not installed, throw a ModuleNotFoundError refing this issue and noting to install nest_asyncio. Given that this is such an edge case and nest_asyncio is required by nbclient which is required by nbconvert which is required by jupyter notebook, it is unlikely that a user will ever not have nest_asyncio installed and run into this issue. Before I open a PR to resolve this, I'd like to hear your thoughts @jarq6c.

Can we make the try/catch specific enough that it only catches this edge case?

I believe so, here is a generic example:
def raise_exception():
    raise Exception("test")

def test_catch():
    try:
        raise_exception()
    except Exception as e:
        if str(e) != "test":
            raise e
        print("caught specific error")

if __name__ == "__main__":
    test_catch()

>>> caught specific error

Now down the line if the error message changes this will break, but it is the only alternative I can think of off the top of my head although admittedly it is a little frail.

I reproduced the exception using the bellow snippet:
from hydrotools import nwis_client
import asyncio

async def main():
    await asyncio.sleep(0.01)

    service = nwis_client.IVDataService(enable_cache=False)
    return service.get(sites="01646500")

if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main()

Traceback (most recent call last):
  File "nwis_client_loop_already_created_bug.py", line 14, in <module>
    loop.run_until_complete(main())
  File "~/miniconda3/envs/et/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "nwis_client_loop_already_created_bug.py", line 8, in main
    service = nwis_client.IVDataService(enable_cache=False)
  File "~/evaluation_tools_fork/python/nwis_client/hydrotools/nwis_client/iv.py", line 91, in __init__
    self._restclient = RestClient(
  File "~/evaluation_tools_fork/python/_restclient/hydrotools/_restclient/_restclient.py", line 109, in __init__
    self._session = self._add_to_loop(
  File "~/evaluation_tools_fork/python/_restclient/hydrotools/_restclient/async_helpers.py", line 22, in _add_to_loop
    return self._loop.run_until_complete(coro)
  File "~/miniconda3/envs/et/lib/python3.8/asyncio/base_events.py", line 592, in run_until_complete
    self._check_running()
  File "~/miniconda3/envs/et/lib/python3.8/asyncio/base_events.py", line 552, in _check_running
    raise RuntimeError('This event loop is already running')
RuntimeError: This event loop is already running
Exception ignored in: <function RestClient.__del__ at 0x1118ffc10>
Traceback (most recent call last):
  File "~/evaluation_tools_fork/python/_restclient/hydrotools/_restclient/_restclient.py", line 297, in __del__
  File "~/evaluation_tools_fork/python/_restclient/hydrotools/_restclient/_restclient.py", line 291, in close
AttributeError: 'RestClient' object has no attribute '_session'
sys:1: RuntimeWarning: coroutine 'AsyncToSerialHelper._wrap_func_in_coro.<locals>.wr' was never awaited


Remove the sealed keyword

The current implementation has the 'sealed' keyword, as seen here: https://github.com/macgile/DataGridFilter/blob/8c98b476ab7860889dab0b5f1365267922f15cb0/Shared/FilterDataGrid.cs#L33
This means that when I want to extend on this class and want to edit some minor thing, this is not possible.
Could you please remove the sealed keyword, since I do not see the added value here.

Cool, thanks

Any planned release yet?

I'm waiting until there are several issues to fix before releasing a new version.


Spinners are too thin

For some reason when porting from react to snabbdom the spinners got very thin

Also not working in FF


[Bug]: Bus error: 10

What Operating System(s) are you seeing this problem on?
macOS (Apple Silicon)
dlib version
19.24.6
Python version
3.10.13
Compiler
pip install dlib
Expected Behavior
The following code can execute normally
shape = dlib.shape_predictor(path_of_lm)
t = list(shape.parts())

Current Behavior
The following error occurred
Bus error: 10
Steps to Reproduce
nothing
Anything else?
The code needs to be modified as follows in order to execute normally. Skipped the last part。Additionally, I am using MacBook Pro M3，macos 14.5 (23F79)
shape = dlib.shape_predictor(path_of_lm)
t = []
parts = shape.parts()
for i, part in enumerate(parts):
    if i == len(parts) - 1:
        break
    t.append(part)

I don't follow the example.  dlib.shape_predictor(filename) loads a shape predictor model from a file named filename.  It doesn't return a shape.  And the object it returns has no .parts() method.  So the error you should get there would be shape_predictor' object has no attribute 'parts'

@davisking The complete code is here：https://github.com/tomy128/video-retalking/blob/m1/utils/ffhq_preprocess.py
line 49。
It may be a compatibility issue，The code can only run on m1, but not on m3

IDK.  Nothing in dlib should care about what kind of CPU it's running on.
Maybe there is some bug in that program you have that's not obvious.
On Sat, Aug 31, 2024 at 1:06 AM zxfxpower @.***> wrote:

@davisking https://github.com/davisking The complete code is here：
https://github.com/tomy128/video-retalking/blob/m1/utils/ffhq_preprocess.py
line 49。
It may be a compatibility issue，The code can only run on m1, but not on m3
—
Reply to this email directly, view it on GitHub
https://github.com/davisking/dlib/issues/2998#issuecomment-2322774658,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPYFRYLNECFOWCMN44IUNLZUFFMHAVCNFSM6AAAAABM5YHMNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRSG43TINRVHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@davisking Thank you for your answer！


setting allow_experimental_object_type to migrate JSON type fields to Clickhouse DB

Your Question
How can I set the allow_experimental_object_type value before creating a table in Clickhouse DB using go-gorm library?

The document you expected this should be explained
I need to have a field of type Json in the Golang structure. According to this document https://clickhouse.com/docs/en/integrations/data-formats/json, I need to set the allow_experimental_object_type value to 1 before creating a table, but I couldn't find a way to set it using the go-gorm library.

Expected answer
I need a code snippet or a small workaround to set allow_experimental_object_type to 1 using go-gorm library, so I can automatically migrate the Golang struct to the Clickhouse table with the JSON field.

err = conn.Exec("set allow_experimental_object_type = 1").AutoMigrate(objects...)

err = conn.Exec("set allow_experimental_object_type = 1").AutoMigrate(objects...)

it does not work.

Same happening on Clickhouse Cloud:

Very frustrating, but also hilarious since Clickhouse Cloud AI offered this query and failed to fix the error. So much for fancy blog posts....


creates the new template layout for the science page

@lukecampbell as discussed here is the layout im working on. i added another route for the page so we dont step on the current version.

Please create a redmine issue for this under layout and navigation.

Didn't realize this was a pull request...


Ridge Regression

I just need to add some tests.

@josevalim would you prefer ridge.ex or ridge_regression.ex?

@josevalim would you prefer ridge.ex or ridge_regression.ex?

I'd go with RidgeRegression because we already have LinearRegression and LogisticRegression

I think it's ready.

I think it's ready.

Cool! Please resolve the merge conflicts. Otherwise it seems good to got for me!


Cannot edit config

My configuration does not seem to be editable for habridge. Every-time I save it , it reverts back to the old values.

The addon doesn't touch configuration.  It's stored at /share/habridge if you need to access it.  If the changes aren't persisting, you might be having issues with your sdcard.

thanks, I realized the issue was with location of the devices.db. Now that's resolved, I cannot get Habridge to register homeassistant , none of my homeassistant devices show up in habridge.


Milestone Tact v1.3.0

This is a tracking issue towards matching Tact v1.3.0: https://github.com/tact-lang/tact/issues/280
Parser: https://github.com/tact-lang/tree-sitter-tact/releases/tag/v1.3.0

[x] Parser matches Tact version 1.3.0
[x] All Tree-sitter queries are updated
[x] All old and new tests pass

PRs to Neovim:

[x] nvim-treesitter: https://github.com/nvim-treesitter/nvim-treesitter/pull/6554
[ ] nvim-treesitter-textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects/pull/609
[x] nvim-treesitter-context: https://github.com/nvim-treesitter/nvim-treesitter-context/pull/436

As an aside, started working on major Emacs mode (i.e. plugin) for Tact after the last poll in the dev community. It would largely consist of: tree-sitter-tact integration and inclusion of upcoming LSP (both extracted and planned :)

As an aside, started working on major Emacs mode (i.e. plugin) for Tact after the last poll in the dev community. It would largely consist of: tree-sitter-tact integration and inclusion of upcoming LSP (both extracted and planned :)

Postponed the finalization of that project until Tact/TON has more Emacs users. Existing queries for tree-sitter should just work for Emacs prior to version 29 and the existing extracted LS should be easy to bind on any Emacs having an Eglot or LSP-mode.
Prioritizing on making a nice Sublime Text package now!

And with adding support to Neovim, this is now completed! Now all users of Neovim won't have to configure anything beyond installing tree-sitter plugin there and getting highlighting, indentation, sticky contexts, various selections and more out of the box once they open any .tact file :tada:


For what

indie cross :D

Uh

we were gonna port it to html remember?

Yeah yeah


Provide additional information through numba.cuda.grid API

In this notebook I play with numba.cuda.jit on stencil computations.  Here is my example toy code:
from numba import cuda

@cuda.jit
def smooth_gpu(x, out):
    i, j = cuda.grid(2)
    n, m = x.shape
    if 1 <= i < n - 1 and 1 <= j < m - 1:
        out[i, j] = (x[i - 1, j - 1] + x[i - 1, j] + x[i - 1, j + 1] +
                     x[i    , j - 1] + x[i    , j] + x[i    , j + 1] +
                     x[i + 1, j - 1] + x[i + 1, j] + x[i + 1, j + 1]) // 9

import cupy, math

x_gpu = cupy.ones((10000, 10000), dtype='int8')
out_gpu = cupy.zeros((10000, 10000), dtype='int8')

# I copied the four lines below from the Numba docs
threadsperblock = (16, 16)
blockspergrid_x = math.ceil(x_gpu.shape[0] / threadsperblock[0])
blockspergrid_y = math.ceil(x_gpu.shape[1] / threadsperblock[1])
blockspergrid = (blockspergrid_x, blockspergrid_y)

smooth_gpu[blockspergrid, threadsperblock](x_gpu, out_gpu)

This is great, but some of this feels a little bit difficult for novice users to understand (at least this novice user).
In particular, I found it difficult to correctly keep the computation in bounds of the array with this conditional
if 1 <= i < n - 1 and 1 <= j < m - 1:

And then I also found selecting the blocks per grid and threads per block to require a greater understanding of GPUs than I had.
threadsperblock = (16, 16)
blockspergrid_x = math.ceil(x_gpu.shape[0] / threadsperblock[0])
blockspergrid_y = math.ceil(x_gpu.shape[1] / threadsperblock[1])
blockspergrid = (blockspergrid_x, blockspergrid_y)

I really liked the numba.cuda.grid operator though.  That was very helpful.  Taking this further, I would aspirationally like to write something like the following:
@cuda.jit
def smooth_gpu(x, out):
    n, m = x.shape
    i, j = cuda.grid[1:n - 1, 1:m - 1]  # <-- define grid here?

    out[i, j] = (x[i - 1, j - 1] + x[i - 1, j] + x[i - 1, j + 1] +
                 x[i    , j - 1] + x[i    , j] + x[i    , j + 1] +
                 x[i + 1, j - 1] + x[i + 1, j] + x[i + 1, j + 1]) // 9

smooth_gpu(x_gpu, out_gpu)

Perhaps by slicing into the grid we can specify our bounds (numba would just return immediately if the value is outside of those bounds) and also provide some information that, along with hardware information, might inform default values for threads-per-block and blocks-per-grid.
cc'ing @pentschev and @gmarkall with whom I had a nice conversation about this just now.

Hmm...  I like the idea of streamlining grid indexing in a restricted range.  I've also been thinking about how to encourage people to decouple their grid configuration from their data size, as I consider that a bit of an anti-pattern for writing CUDA kernels.  You almost always want to have a strided loop in the kernel body so that you don't run into issues if your data dimensions exceed one of the limits on CUDA thread grid sizes (or you want to easily try different block sizes to see what maximizes throughput).
Maybe we need to combine these two approaches into a new iterator pattern?
@cuda.jit
def smooth_gpu(x, out):
    n, m = x.shape
    for i, j in cuda.grid_iter[1:n - 1, 1:m - 1]:
        out[i, j] = (x[i - 1, j - 1] + x[i - 1, j] + x[i - 1, j + 1] +
                     x[i    , j - 1] + x[i    , j] + x[i    , j + 1] +
                     x[i + 1, j - 1] + x[i + 1, j] + x[i + 1, j + 1]) // 9

The dimensionality of the slice indicates to the compiler how many dimensions are involved, and this automatically encapsulates the double for loop that you would have to write this way currently:
@cuda.jit
def smooth_gpu(x, out):
    n, m = x.shape
    i_start, j_start = cuda.grid(2)
    i_stride, j_stride = cuda.gridsize(2)
    for i in range(i_start, n, i_stride):
        for j in range(j_start, m, j_stride):
            out[i, j] = (x[i - 1, j - 1] + x[i - 1, j] + x[i - 1, j + 1] +
                         x[i    , j - 1] + x[i    , j] + x[i    , j + 1] +
                         x[i + 1, j - 1] + x[i + 1, j] + x[i + 1, j + 1]) // 9

I should note the other reason I like the iterator loop approach is that it naturally captures the "run the body zero times if my grid offset exceeds the length of the array" using normal Python semantics, rather than making grid[] implicitly exit the kernel, which could be a bit surprising.


ManagedObjectController related entities

Hi,
I have a question regarding the ManagedObjectController. Imagine the following situation:
Book: id, author
Author: id List<book>
These are added throught the OR Mapper in a Postgress db. When making a get request on the author, should it print out the books? This is not quite clear in the documentation. If not, is there any way of printing out the books in this case? Or any way of defining what to print?

By default, no, it will not include the books. ManagedObjectController configures and executes a Query object, so the docs for querying apply: http://aqueduct.io/docs/db/advanced_queries/#including-relationships-in-a-fetch-aka-joins. In a ManagedObjectController, you can override methods to configure the query that it configures & executes.
For questions like these, you'll get answer faster in the Slack group: http://slackaqueductsignup.herokuapp.com/


Fix vsync initialization

Fix #19762

Oh, what I pressed ? I didnt want to bother reduz for such a small change :)

You didn't pressed anything, this is automatic now because of the codeowners file.
https://github.com/godotengine/godot/blob/0954c8f01765125d90e641b85c6015b1371e5010/CODEOWNERS#L14


fix: move metadata producer interceptor to default kafkaTemplate

Should we add some documentation about this default configuration?


Changed journal location in examples to default, to avoid facing an erro...

Changed journal location in examples to default, to avoid facing an error on osd start after node reboot ('journal not present, not starting yet.')
Setting the journal location to /tmp/journal is a bad idea because the folder is flushed after each reboot and the OSD will fail to start. It means that we'll must prepare a new OSD, activate it and destroy the previous one manually. It's not convenient for people with low understandings of Ceph or for people who just want to try puppet-ceph.
I advice changing the journal location to default, as it will write it by default to a file in /var/lib/ceph/osd/<osd name>.

Thank you for contributing to stackforge/puppet-ceph!
stackforge/puppet-ceph uses Gerrit for code review.
Please visit http://wiki.openstack.org/GerritWorkflow and follow the
instructions there to upload your change to Gerrit.


Feature request: More specific message in BeartypeDecorHintPep585DeprecationWarning

I have the following warning:

/Users/adam/.virtualenvs/sybil-extras/lib/python3.11/site-packages/beartype/_util/error/utilerrwarn.py:67: BeartypeDecorHintPep585DeprecationWarning: Method sybil_extras.evaluators.multi.MultiEvaluator.init() parameter "evaluators" PEP 484 type hint typing.Callable[[ForwardRef('sybil.Example')], typing.Optional[str]] deprecated by PEP 585. This hint is scheduled for removal in the first Python version released after October 5th, 2025. To resolve this, import this hint from "beartype.typing" rather than "typing". For further commentary and alternatives, see also:

It is not obvious which part(s) of the hint are scheduled for removal - is it typing.Callable, typing.Optional, ForwardRef?
This feature request is to make the warning message more precise and to explain which parts of the hint are scheduled for removal.

Great question, @adamtheturtle. We appreciate and love turtles. In fact, turtles visit our lakeside dock every morning. We're kinda afraid of the snapping turtles, to be honest. Petting a snapping turtle is a great way to lose an arm. But the rest are amazing! Especially Western painted and red-eared sliders. Adore those little guys. Okay. Back to reality. So...
Indeed, your initial intuition was correct. In all possible cases and for all exception and warning messages, the outermost parent type hint that @beartype is reporting is the issue. In this case, this means that the outermost parent typing.Callable[...] type hint is the issue. That needs to be either:
# This...
from beartype.typing import Callable

# ...or this.
from collections.abc import Callable

I've been meaning to tighten this language up with a concrete example like above, which is what @beartype emits for most newer DeprecatingWarning messages. But I was lazy, played video games instead, and never got around to it. Now, Python 3.8.0 is about to hit its End-of-Live (EoL). This means that nobody really needs beartype.typing anymore. Just import everything from collections.abc and you'll be good to go. :+1:
Thanks again for the excellent recommendation. Let's see if I can stop playing video games for one hot minute and actually do something. </yikes>


Terminal: Do not invert the alpha channel

Inverting the alpha channel leaves a transparent hole in the terminal window where the caret supposed to be.

Interesting, I hadn't noticed that after enabling compositing in orbital!
Thanks!
By the way, are you on our developer chat? I can send you an invite if you send an email to<EMAIL_ADDRESS>


⚠ ClamAV has degraded performance

In f4d74cc, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 197 ms

Resolved: ClamAV performance has improved in ba8f12b.


Update copied message to .editorconfig instead of fantomas-config

Quick PR to update the dialog, I copied a small configuration via the fantomas-tool hoping it would copy .editorconfig, not the older fantomas-config.json, so I was confused when by the message.

Thanks 👍


Removed Parse_Context include from Date class (MLDB-1215)

Another simple change: value_description.h and parse_context.h were removed from the #includes for the Date class, and everything that broke was fixed.  Decouples the interfaces from the implementation and reduces compile times.

+1

The copyrights are fine.  If you write a file in one year and modify it another, you have part of it copyrighted in each of the years.  Anyway, those changes just move comments around.  Any objections to the material changes?