did not understand how to do this

2 of 6 (-0.5 on Q1, Q3, and Q4; -1 on Q2 and Q6)
Not bad, but the syntax really tripped you up on this one. See if you can give it another go!


Replace monitor implementation with pure Go BPF version

Improve performance of cilium monitor
Reduce cilium-agent binary size

This PR converts the existing Cilium usage of perf ring buffers from the CGO implementation under pkg/bpf/perf_linux.go over to the pure Go implementation.
Benefits:

No need to context switch between Go and CGO for each perf message read (=> faster reads)
Eliminate CGO dependency in cilium-agent - reduces binary size from 100MB to 91MB.

Benchmark on previous implementation:
$ sudo go test -check.vv -check.b -tags=privileged_tests -bench=Reader --check.bmem --check.f=Reader
level=info msg="Detected mounted BPF filesystem at /sys/fs/bpf" subsys=bpf
START: perf_linux_test.go:109: BPFPrivilegedTestSuite.BenchmarkReader
PASS: perf_linux_test.go:109: BPFPrivilegedTestSuite.BenchmarkReader
      500000              3852 ns/op             877 B/op         26 allocs/op

OK: 1 passed
PASS
ok      github.com/cilium/cilium/pkg/bpf        2.117s

Equivalent benchmark from pure go library:
$ sudo go test -bench=Reader ./...
PASS
ok      github.com/cilium/ebpf  0.082s
PASS
ok      github.com/cilium/ebpf/asm      0.003s
PASS
ok      github.com/cilium/ebpf/internal 0.003s
?       github.com/cilium/ebpf/internal/unix    [no test files]
goos: linux
goarch: amd64
pkg: github.com/cilium/ebpf/perf
BenchmarkReader-4         402206              2945 ns/op             472 B/op         14 allocs/op
PASS
ok      github.com/cilium/ebpf/perf     1.858s

Remaining tasks:

[x] Add commit to remove CGO from daemon
[x] Rebase against merged version

This change is

test-me-please

test-me-please

test-me-please

Coverage increased (+0.3%) to 45.686% when pulling 5360fba14ce5e0a773a6a92e5446668669301fbd on joestringer:submit/libebpf-monitor into c831888f5e6426ca44086e762912c572340e45ec on cilium:master.

test-me-please

test-me-please


Ability to change close button class?

Wondering if you have a way to change the close button class as bootstrap interferes with it and screws it appearance up.

This is set to be fixed in version 4 (see #16) as it's a breaking change. In the meantime, you could add some styles to the ril-close class to override the bootstrap stuff.

Sounds good just wanted ask before i spent the time overwriting styles. thanks for being so quick man.

Yeah, no problem. Sorry for the inconvenience.


add ingestion client

Current dependencies on/for this PR:

main

PR #4   👈

This stack of pull requests is managed by Graphite.


Java/C++/C# DataFlow: Add support for in/out barriers on sources and sinks.

This replaces the isBarrierEdge functionality with in/out barriers on sources and sinks.
Previously, any source or sink that was also a barrier would be disregarded, but now that is instead interpreted as an in-barrier on a source and an out-barrier on a sink.  This allows e.g. for configurations that stop flow on a sink even if that particular data-flow node can reach a subsequent sink and vice-versa for sources.  The concept of barrier edges was only ever supported for local edges, required intimate knowledge of the actual step relation used internally by the library, and its main use case was exactly in/out barriers on sources and sinks, which should be handled a lot better now.
~This feature also makes it easy to extend the configuration interface with general in/out barriers on any node if that's something we want.~ <-- That doesn't make sense anyway, a non-source in-barrier is equivalent to a full barrier.

Hmm.. this does not seem like the right approach, as it becomes too easy for something that was intended to be a full barrier to become an out barrier. E.g. if a guarded variable access occurs in a sink position.

Changed to keep semantics of isBarrier as-is.


Deployments to demo should not be from the repo

We shouldn't be deploying directly to the infrastructure from this repo. Moving forward we need to make sure the akello repo ensures all packages are verified and publicly available without any responsibilities of infrastructure updates

AWS Secrets need to be cleared from this repo
Keep secrets that are only related to publishing to npm and pypi

This should be resolved, secrets are cleared. Deployments are currently done via Github Actions and secrets are stored securely.

Closing for now


[Move-package] Enable bytecode as dependencies

Motivation
Re-enable the feature to use bytecode as dependencies when compiling Move programs.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Add later

Hi @tnowacki @tzakian, although it will not be landed on main, could you take a look and give some feedback? Thanks!


Songs with long artist names crashes the program.

This seems like a rare case, but I tried playing a song with very long artist text, the the program crashes.
here's the crash log:
************** Exception Text **************
System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at iTunesRichPresence.DiscordRPC.RichPresence.StrClampBytes(String toclamp, Int32 maxbytes)
at iTunesRichPresence.DiscordRPC.RichPresence.StrToPtr(String input, Int32 maxbytes)
at iTunesRichPresence.DiscordRPC.RichPresence.GetStruct()
at iTunesRichPresence.DiscordRPC.UpdatePresence(RichPresence presence)
at iTunesRichPresence.MainForm.UpdatePresence()
at iTunesRichPresence.MainForm.pollTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Huh, the crash is actually coming from within Discord's RPC code. Any chance I could have the artist text that caused the crash?

It's  " Rie Kugimiya (釘宮 理恵), Chiaki Takahashi (たかはし 智秋), Asami Shimoda (下田 麻美) & Naomi Wakabayashi (若林 直美) " without the quotes.

Sure enough, that text is over the 128 byte limit, as expected. I should be able to implement some truncation to prevent the crash from happening

Alright, I believe I have a fix for this implemented. Can you DM me the file causing the issue over Discord? I'm nint8835#0001


docs: Fix Argo application source

Currently, the demo repo puts all stages in the master branch. Fixing the application set code to reflect this.

Oh I see this is because Kargo generates the built code in these branches. My bad!


Getting Unexpected token error.

💬 Questions and Help
Can anyone help why am I getting this "Unexpected Token" error?

Possibly related to https://github.com/webpack/webpack/issues/8656

Hello @plxity. You should use webpack to build your app and have the correct babel configuration, please follow code splitting guides on React or webpack documentation.


Typo in hotwallet warning CoinJoin plugin

This wallet is either not a hot wallet, or enabled in yout store settings and will not be able to participate in coinjoins.
yout should be your?

Thanks, fixed for the next release!


Git: Host Key verification failed

I use VScode 1.23.0 on Windows Server 2016
When i

Activate the extension MS-vsliveshare.vsliveshare.03.114
Sync to my git repository
Error

Here is the git log

Looking for git in: d:\tools\git\cmd\git.exe
Using git 2.17.0.windows.1 from d:\tools\git\cmd\git.exe
> git rev-parse --show-toplevel
> git config --get commit.template
Open repository: d:\scripts2dev\libwba
> git fetch
> git status -z -u
> git symbolic-ref --short HEAD
Host key verification failed.
fatal: Could not read from remote repository.

I have set git.path in preferences, and am using %HOME% to point to my ssh-kets and known_hotsts
07> dir $env:home\.ssh
Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----        9/22/2015  10:25 AM           1675 id_rsa
-a----        10/6/2015  11:20 AM           1464 id_rsa.ppk
-a----        9/22/2015  10:25 AM            405 id_rsa.pub
-a----       12/18/2016  10:45 AM           2978 known_hosts

When I deactive the extension, all works fine.

@fbehrens Thanks for reporting this! We haven't seen this issue yet, so we'll try to figure out what's going on. From your repro steps, it sounds like you simply installed the Live Share extension and hit this problem? You didn't even need to share in order to hit it?
Also, could you confirm how you're syncing your repo? Were you using the git CLI from the VS Code integrated terminal? Or are you using the VS Code integrated source control experience (the below menu item)?

Thanks @lostintangent for investigating this. We are curious here to experience Live share and will continue to give qualified feedback:

Yes, I am having the problem just after enabling the extension.
The problem is only when using the GUI (menue above. i am used to the sync icon in the status bar ). The git cli from the integrated terminal is working fine.

@fbehrens Thanks for confirming that. We just had another Git-related bug filed (#419), so we'll be looking into what's going on between VS Code's Git SCM provider and Live Share. Stay tuned!

@fbehrens The latest VS Live Share extension (0.3.317) that is now available in the Marketplace should address your issue. If you can confirm that the issue you reported is resolved it would be greatly appreciated. thanks!

@fbehrens We verified that our latest release resolved #511, which had the exact same symptoms as this bug, and included an explicitly set HOME env variable. So I'm going to close this issue as resolved, but please re-open it if the problem still occurs. Thanks again!

I can confirm that the issue is resolved, thank you very much


Error on start up

Issue Description:
Error on startup
What happens:
Several misconfigured config errors reported on startup...Just wondering if there is a way to fix them. This is just one of them...
[EnderIO]: Missing translation: config.capacitor.attractor_power_intake
What you expected to happen:
To have instructions to configure these items
Steps to reproduce:

Install EnderIO using default (generated) config files
Start server
Observer error logs
...

Affected Versions (Do not use "latest"):

EnderIO: 1.10.2-<IP_ADDRESS>___beta
EnderCore: 1.10.2-<IP_ADDRESS>-beta
Minecraft: 1.10.2
Forge: 1.10.2-2116

Your most recent log file where the issue was present:
[EnderIO]: Missing translation: config.capacitor.attractor_power_intake
Doesn't really effect game play, just trying to clean up log file.

Thank you for your suggestion. It has been added to our list or possible enhancement.
This ticket will be closed because we want the list of open tickets to reflect known issues.


add more test to improve branch coverage

Codecov Report

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

@@          Coverage Diff           @@
##           master   #1023   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files          18      18
  Lines         781     781
======================================
  Hits          781     781

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 e70ec5a...282bf41. Read the comment docs.

@amey589 thank you for contribution.
Just one note. Tests should be separated from each other and minimised.
As it is old pull request, I refactor it and will merge in #1348


exited with code 65  v0.15.0

xcpretty 0.3.0
Infer v0.15.0
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** clang++: Caught sigint, time to die
Command /usr/local/Cellar/infer/0.15.0/lib/infer/infer/lib/python/inferlib/../../../lib/wrappers/clang++ emitted errors but did not return a nonzero exit code to indicate failure
** BUILD FAILED **
The following build commands failed:
CompileC /Users/cmcc/Library/Developer/Xcode/DerivedData/HardwareComponent-czxpznmmeyvosqemlexoksmflqhf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/UniAppCommon.build/Objects-normal/x86_64/AFHTTPRequestOperationManager+KSAdapterNetWork.o /Users/cmcc/UniAppCommon/UniAppCommon/Classes/HYComponent/CommonComponent/HYNetworkPackage/NetworkAdapter/AFHTTPRequestOperationManager+KSAdapterNetWork.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Internal Error:   /usr/local/Cellar/infer/0.15.0/lib/infer/infer/bin/../lib/python/infer.py
-j 4 --project-root /Users/cmcc/HardwareComponent/Example --out
/Users/cmcc/HardwareComponent/Example/infer-out -- xcodebuild build -scheme
HardwareComponent_Example -workspace HardwareComponent.xcworkspace
-configuration Debug -sdk iphonesimulator:
exited with code 65
Error backtrace:
Raised at file "base/Die.ml" (inlined), line 25, characters 6-36
Called from file "base/Logging.ml", line 314, characters 58-80
Called from file "integration/Driver.ml", line 159, characters 2-16
Called from file "integration/Driver.ml", line 280, characters 6-420
Called from file "infer.ml", line 20, characters 2-36
Called from file "infer.ml", line 130, characters 8-54
Any ideas for this？

command line :
xcodebuild clean -scheme HardwareComponent_Example -workspace HardwareComponent.xcworkspace -configuration Debug -sdk iphonesimulator
infer run --keep-going --no-xcpretty -- xcodebuild build -scheme  HardwareComponent_Example -workspace  HardwareComponent.xcworkspace -configuration Debug -sdk iphonesimulator

same to you

brew reinstall autoconf automake cmake opam pkg-config sqlite gmp mpfr
brew reinstall infer
please try.after this, worked.  I think there was some config changed after update macOS.

brew reinstall autoconf automake cmake opam pkg-config sqlite gmp mpfr
brew reinstall infer
please try.after this, worked. I think there was some config changed after update macOS.
open your fanqiang software.

Thanks ,i will try it!

I hope this worked, closing optimistically. Please re-open if there is still an issue.


Fix usage of HPX_INVOKE macro

HPX_INVOKE is a variadic macro and as such requires at least one argument for the '...' part to be strictly standard-compliant, at least pre-C++20.

@severinstrobl could you please fix the clang-format errors?

Absolutely, completely forgot about running clang-format again.


This Problem is coming!

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Child module C:\Users\varah\OneDrive\Desktop\bungee\compiled\ArvinCord\ArvinCord-Proxy of C:\Users\varah\OneDrive\Desktop\bungee\compiled\ArvinCord\pom.xml does not exist @
@
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[ERROR] Child module C:\Users\varah\OneDrive\Desktop\bungee\compiled\ArvinCord\ArvinCord-Proxy of C:\Users\varah\OneDrive\Desktop\bungee\compiled\ArvinCord\pom.xml does not exist @
So is this a problem of pom.xml?

Did you compile it with command /arvincord b ?

Did you compile it with command /arvincord b ? And I recommend running it using git-bash
i used it with git bash but it dint worked so i did mvn package

wait nvm i got the problem if that will work thanks! for helping cuz i think i didnt used /arvincord b

You're welcome i will add my discord on readme later


Populate the "osm_param-natural-mortality.csv" config file

@jhpoelen Please make sure that the API now provides estimates in the "osm_param-natural-mortality.csv" config file for the mortality.natural.rate.sp* parameters.

As far as I can tell this parameter is being populated when available. Please verify.
For Gulf of Mexico default values:
mortality.natural.rate.sp0;1.0900000333786
mortality.natural.rate.sp1;0.699999988079071
mortality.natural.rate.sp2;0.2
mortality.natural.rate.sp3;0.2
mortality.natural.rate.sp4;0.2
mortality.natural.rate.sp5;1.52999997138977
mortality.natural.rate.sp6;0.2
mortality.natural.rate.sp7;0.2
mortality.natural.rate.sp8;0.2
mortality.natural.rate.sp9;0.2
mortality.natural.rate.sp10;0.2
mortality.natural.rate.sp11;0.2
mortality.natural.rate.sp12;0.2
mortality.natural.rate.sp13;0.75
mortality.natural.rate.sp14;0.2
mortality.natural.rate.sp15;0.409999996423721
mortality.natural.rate.sp16;0.25
mortality.natural.rate.sp17;0.2
mortality.natural.rate.sp18;0.2
mortality.natural.rate.sp19;0.2
mortality.natural.rate.sp20;0.2
mortality.natural.rate.sp21;0.2

@jhpoelen It does not surprize me that this parameter is often set to its default value (i.e., 0.2 year-1). Natural mortality estimates are not available for many species in FishBase/SeaLifeBase.
Therefore, I am considering that the present issue has been resolved and I am closing it today.


chore: Improved description to access the documentation

It's like a 10% improvement. When I'm searching for a library I don't read through all the text provided, I just need to get an idea of what the thing is.
If possible I'd suggest having the most recent version in bold with a complementary statement:

2.3.0 most recent documentation

I know it's not quite accurate, but that would definitely get the point across.

The title of the section already read "API documentation", I thought that was enough to describe the purpose.

I've got some ideas for how to improve this. I'll open a PR today or tomorrow.

Merging it for now. We can always improve it later on, but I haven't seen much traction on this issue in the latest months.


Improve v1 to v2 conversion process

#255 missed a few keys in the v1 to v2 conversion process. This restores the missing keys and adds some testing for the conversion.
Signed-off-by: Josh Curl<EMAIL_ADDRESS>

LGTM 🐸


NullInjectorError on re-exported modules in shared library

I have a host app A and a remote app B, both use the same custom shared library C. This library C is in the same monorepo managed by Nx. The module of library C re-exports some common modules (i.e. FormsModule)
During runtime when app B initializes a component with a dependency on such a common module it fails with a NullInjectorError.
This is my webpack config of remote app B
const mf = require("@angular-architects/module-federation/webpack");
const path = require("path");

const sharedMappings = new mf.SharedMappings();
sharedMappings.register(
  path.join(__dirname, '../../tsconfig.json'),
  ['@lib-c/c']);

module.exports = {
  output: {
    uniqueName: "bsp",
    publicPath: "auto"
  },
  optimization: {
    runtimeChunk: false
  },
  resolve: {
    alias: {
      ...sharedMappings.getAliases(),
    }
  },
  plugins: [
    new ModuleFederationPlugin({

        // For remotes (please adjust)
        name: "bsp",
        filename: "remoteEntry.js",
        exposes: {
          './Module': './apps/bsp/src/app/bsp.module.ts',
        },

      shared: {
        "@angular/core": {singleton: true, strictVersion: true, requiredVersion: ">=12.0.0" },
        "@angular/common": {singleton: true, strictVersion: true, requiredVersion: ">=12.0.0" },
        "@angular/common/http": {singleton: true, strictVersion: true, requiredVersion: ">=12.0.0" },
        "@angular/router": {singleton: true, strictVersion: true, requiredVersion: ">=12.0.0" },
        "@ngx-translate/core": {singleton: true, strictVersion: true},
        "@angular/forms": {singleton: true, strictVersion: true},

        ...sharedMappings.getDescriptors()
      }

    }),
    sharedMappings.getPlugin()
  ],
};

Did you also add
sharedMappings.register(
  path.join(__dirname, '../../tsconfig.json'),
  ['@lib-c/c']);

to the other webpack.config.js?
How is the service provided?


fix: use react or angular import when needed

There is an error if you only want to use "react" (for example) and you don't have angular dependencies, and the same the other way around
With this modification, the code will import only react or angular when you choose for one

Another note on the CI, please run npx nx format:check

@d0whc3r change your commit scope to nx-web-ext from core, everything else seems to be passing 👍


Capturing SQL Exceptions

Does a mechanism exist for capturing SQL exceptions and returning the error message in a http response?

@agentzh could you share your patch with $ppostgres_error var?

Is  possible return error message as http header ?!

@niquola AFAIK, the patch for ngx_postgres does not exist yet :)

@agentzh could you give me a guidelines or similar examples - i'll try to do it by-myself
I'm mostly clojure, ruby guy (:
Нow to build ngx_postgres faster during development?  - now i have to configure & make openresty build :(

@niquola After the first build, you don't need to rerun ./configure for incremental changes in build/* (including ngx_postgres source there). Just run "make -j8 && sudo make install" and the build system will just pick up what has changed so it should be very fast. (If you have fewer available CPU logical cores than 8, try reducing that number in the -j option for "make").
Regarding exposing the Pg error message to an nginx variable, it should be an easy exercise for nginx C development. Just check out existing nginx C code for setting nginx variable values.

Thx, I understand "this is 5 min task for you" - could you drop me a link
with example ;)
On 13 Mar 2015 02:19, "Yichun Zhang"<EMAIL_ADDRESS>wrote:

@niquola https://github.com/niquola After the first build, you don't
need to rerun ./configure for incremental changes in build/* (including
ngx_postgres source there). Just run "make -j8 && sudo make install" and
the build system will just pick up what has changed so it should be very
fast. (If you have fewer available CPU logical cores than 8, try reducing
that number in the -j option for "make").
Regarding exposing the Pg error message to an nginx variable, it should be
an easy exercise for nginx C development. Just check out existing nginx C
code for setting nginx variable values.
—
Reply to this email directly or view it on GitHub
https://github.com/FRiCKLE/ngx_postgres/issues/8#issuecomment-78686816.

@niquola You can check out how ngx_postgres implements the postgres_set directive itself.

I've created pull-request - waiting for review.


allow regex in delegates

This PR allows regex in delegates when there is one regex either at root or delegate and if regex is specified in either delegate or root, no other matching condition can be specified.

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

One concern is now we remove obvious validation errors with subtle internal skips.

I can convert them to be warnings if it helps?

seems @hzxuzhonghu is out. @howardjohn  do you mind taking a look and I can address any feedback that @hzxuzhonghu as follow-up if there are no major concerns here - otherwise we can wait till he is back.

Could we backport this to 1.12?
During our testing, if skip ValidatingWebhook, it is actually working while not match headers in root, but use regex match in leaf headers.
It seems Validating is the only thing stop us using this feature.

1.12 is EOL

Hello @ramaraochavali , @hzxuzhonghu
Please advise what is the use-case for this feature? I tried to use pattern of common VirtualService and multiple delegate based on prefix, but it does not work if regexp is used. I thought this PR was fixing it but it appeared that it allows using regexp only in case other type of matches are not used.
Here is an example of what I am trying to achieve:
Common VirtualService
kind: VirtualService
metadata:
  name: api-gateway
spec:
  ...
  http:
    - name: "ServiceA"
      match:
        - uri:
            prefix: /a
      delegate:
         name: a

Delegate Virtual Service
kind: VirtualService
metadata:
  name: a
spec:
  http:
    - name: "Route X"
      match:
        - uri:
            regex: /a/b/.*/x
      route:
        - destination:
            host: X
    - name: "Route Y"
      match:
        - uri:
            regex: /a/b/.*/y
      route:
        - destination:
            host: Y

So for me it looks unnatural that you can not combine prefix on root VS and regexp on Delegate VS.
Please advice if it is possible to achieve


.script_api support for auto-complete

https://forum.defold.com/t/attention-extension-creators/59718
https://www.defold.com/manuals/extensions-script-api/

if i understand correctly, this issue prevents defos from being recognized and autocompleting within vscode (set up with Defold Kit)?

Possibly! Someone just needs to contribute this file.


Handle spaces in editor command.

Sometimes you want to pass additional args to your editor in $EDITOR
(like when launching mvim with "-f" option to keep running in
foreground). Using it this way would produce a subprocess call like
this:
subprocess.call(['mvim -f', 'my_filename'])

and python would fail to find the command "mvim -f" because shell=False.
This commit changes it to produce:
subprocess.call(['mvim', '-f', 'my_filename'])

https://pypi.python.org/pypi/timeflow/0.2.2


Modify tox.ini so it works locally with tox4

Summary
Without this change, the following error appears locally when running tox -epy3:
E   importlib_metadata.PackageNotFoundError: No package metadata was found for prototype_template

Details and comments
See also https://github.com/qiskit-community/prototype-qrao/pull/53

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
14

Relevant Lines:
14

💛  - Coveralls

Closing as the same thing was fixed in #60.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
14

Relevant Lines:
14

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
14

Relevant Lines:
14

💛  - Coveralls


Add team code to team name lookup

Fix #69
Syntax:
$ soccer --team <CODE> --lookup
Example:
$ soccer --team LCFC --lookup
Leicester City FC

The MANIFEST file and setup.py changes are to include the .json file when installing.

Merged! Thanks @thurask


Support for putting debug build log output to file

It would be nice to be able to put debug level build log output into a file while retaining info level build log output in the console.
That way it is possible to peek into the log file when the console output indicates a problem.
Expected Behavior
I would like to be able to configure logging for the gradle build.
Preferrably to be able to configure destinations (file/console/other?) and thresholds from build scripts.
Current Behavior
There is no way to configure this right now.
Context
At times when running regression test on jenkins, there are intermittent problems/tests. Having more complete build/test logs on disk would simplify debugging when reproducing is not always easy or is very time consuming.
This issue was https://issues.gradle.org/browse/GRADLE-1196 with 15 votes.

@staffanf would you consider it necessary to have fine-grained control over which log levels are logged where? For example: what if there were a flag to redirect all logs elsewhere yet keep LIFECYCLE, WARN, and ERROR in the console? Would that solve all, some, or none of your goals?

I'm not the bug author, but we want this feature for years! It would be good, to have a seperate log level for console and for file, normally I want more informations in a log file, than I want to see on the console, the user uses. It is not onyl usefull for tests on jenkins, it is also usefull if you have a lot of users using own plugins, and they have problems, they can send you the log file with much information in it to reproduce the bug

@eriwen I think some amount of control would be good. Personally I'm not sure I want debug level logging to file, I think it adds a bit much internal gradle stuff to the logs. Not sure though, since that might be whats needed to fix a some problems.
If I had the configuration option I just might start with both an info and a debug log written to disk. Then trouble shooting by checking the info log first and then going to the debug log if needed.
SIDENOTE:
I kinda always missed a log level between LIFECYCLE and INFO since starting to use gradle. The idea behind that being that if I develop custom tasks or write doLast actions, there is no log level where I can output additional info without also adding a lot  of internal gradle logging. Haven't seen any calls for this though, so maybe it's just me.

it is also usefull if you have a lot of users using own plugins, and they have problems, they can send you the log file with much information in it to reproduce the bug

@RupprechJo This is exactly one of the things we're trying to solve with build scans, especially because it has the logs but also much more context like environment, dependency, and customizable information.
@staffanf Interesting. I've wanted the same thing but have always survived with INFO logging. My sentiment is: I want to debug just my build and not Gradle.

@eriwen I had a quick look at build scan and I think it is more a performance optimizing tool. What I mean: I come from the backend world. In EVERY good application you have a lot more logging, than the normal user sees. And this is good for analyzing strange bugs that happen only once or are hardly to reproduce.
So for gradle we supply plugins for our enterprise developers. For them the normal console logging is the user interface and this should be nice and clean. But if something went wrong, I need the log for exactly that build that has just run. And it has to contain much more information than the console logging. We automize things with gradle, which are not always idempotent. So trying it another time does not necessarily get the same outcome.
And as staffanf mentioned, for intensive automated testing it is also very helpful to have the log of exactly that build run.

@eriwen Well I really agree with that sentiment. That tells me that there is at room for improvement regarding logging in gradle e.g. if I could filter packages/classes/loggers like in log4j then I could create a cleaner debug log with info only for my custom packages.
@RupprechJo  I agree with general concept of clean console and useful debug logs.

To me - there are two several warring priorities going on here

we want the cleanest possible build output
we want to enough information to troubleshoot a problem

I think the key thing to observe is that we never want to see information unless there's a problem.   If the compile task succeeds, I want to see the word "compile" in my CI logs.  If it fails - I want every tiny little bit of information possible there.
The - there's the does the system really know if there's a problem.  ie - a task might succeed, and there still might be a problem, so also - I want to be able to find out
All of which seems to me to suggest a logging strategy

if task succeeds, task output is minimal (ie name only)
if task fails - task output is at info level... (ie everything from within the task, but not gradle stuff)
and ALWAYS.... there's a file on the disk - ideally something like 20170401_19241232_{task_name}_gradle_debug.log - which altogether contain the complete gradle debug log... so that in that one in a thousand times I actually need to go a little deeper into a build- I can - and I can do it easily from a CI system by clicking on the one task I need to - without having to download the entire debug log.

I think the key thing to keep in mind is that in many situations... well - at least in mine - no human ever runs gradle.  This only happens in the build farm.  You aren't really in a position to investigate easily - and you certainly aren't in a position to change parameters and run again.   We want to know what happened in the past.
However - against that - you want to be able to read the build log.  We have it set to info because when we need the information, we need it... but this means we are clicking in jenkins and downloading a 36mb build log (literally) - when all we really want to know is - "test blahblahblah failed because of a null pointer exception on line 36"   or    "you violated this pmd error on this line of code".
In the perfect world, build output from a test failure would be:
:blah:compileJava
:blah:processResources
:blah:test   FAILED
test xyx failed
some stack trace
any stdout/stderr from that test
because fundamentally....   no other information is useful

Has there been any movement on this? The ability to keep the build output clean but still have access to low-level logging if something goes wrong is an important need. Using things like log4j in our own apps, and then trying to debug Gradle builds where we do not have this capability is very frustrating.

Are there any updates on this? It would be very helpful for me, not having to dump all information on the console, but instead only a minimum while the full log can still be accessed by looking at a file.

Hi
I think this is a must.

The scan does not always works, for instance: composite build
Sometime you want the log after a user ran the build (without scan)

Thanks

@Jonatha1983 I agree there are some good use cases for this, but I want to point out that 1) you can use build scans with composite builds now, and 2) you can use gradle buildScanPublishPrevious to capture a build scan for the most recent build after it's run. See https://docs.gradle.com/build-scan-plugin/#publishing_on_demand :)

Hi @eriwen
We are currently using version 4.10.2 and when running with '--scan' (in a composite build project)  Gradle print a message that says something like: "scan is not supported in a composite build" ( and at the end of the run , it does not give any link )  did you mean that in 5.0 it will work with composite build ? or maybe does it work  for the enterprise only?
Also my second point was not for the most recent build - it is a common scenario where a developer is doing something wrong calling Devops/System engineer for help and in turn he/she need to investigate the flow history.
I found this blog:
http://willis7.github.io/blog/2013/gradle-output-to-log.html
It  make use of some Gradle's internal packages to collect execution log only
I had to change the import statement but it worked.
I think Gradle has already all the infrastructure to give the user a simple way to configure the output to a log file - really hope to see it in some next release.

I think, there are use cases where putting a debug log to a file while preserving the regular console output might be useful.

Another use case: publishing build scan will fail with The build scan publishing request was rejected as the data exceeded the maximum size. if the output is too long. So right now it's not possible to run ./gradlew build -Dorg.gradle.caching.debug=true --scan, because caching debug logs are massive and cause the build scan to be rejected due to size. If it was possible to redirect caching debug logs to a file, the scan would succeed

Publishing build.scan will always reject the following code:
./grawdweel{build -null}


Add API docs

@LeeLenaleee just for my knowledge. Do you think we should enrich in the future the type defs with the explanation of classes, properties and methods? Any guideline?

I think the better choice would be to switch to ts all together since the plugin is not that big it might be doable, tried switching chart.js helpers but that grew painfully real fast


add frame fragmentation support (continuation)

Apache Tomcat server cuts responce into frames with size up to 8192 bytes. So i can't receive responce in a single frame and i wrote some piece of code to be able receive multiple frames in one message.

I have bug in first commit, when bis.read(byte[]) reads array not fully. So i bring you version with for loop. Now it seems to work fine.

I used the frame fragmentation support in my own code. This worked very well and saved me from developping it on my own. Please consider commiting it to your repository !

guys any updates on this PR?

Hey folks thanks for looking into this. That fragment support was one of main things I wanted to do when I developed this library, but due to the lack of time I wasn't able to do it. I'm reactivating my work on this library so I will set up an Apache Tomcat server to test it as soon as possible with many test cases. Cheers!


New package: Replit.Replit version 1.0.6

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Exception during executable launch operation System.AggregateException: One or more errors occurred. (An error occurred trying to start process 'C:\Users\Validator\AppData\Local\replit\app-1.0.6\Replit.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.)  ---> System.ComponentModel.Win32Exception (216): An error occurred trying to start process 'C:\Users\Validator\AppData\Local\replit\app-1.0.6\Replit.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

(Automated response - build 574.)

@wingetbot waivers Add Validation-Executable-Error


Support for non-default languages (i18n)

Hello,
In the documentation about internalization for non-default languages, there is a workaround that suggests replacing an existing language. This visually works; however, it's not great for accessibility reasons. In the example given, the generated HTML would still be tagged with the Japanese code, while the text is in Hebrew. As a result, the built-in browser translator would suggest translating from Japanese, not Hebrew.
Would it be possible to add proper support for new languages, as described in the server development guide?
My current work-around and PoC

Example for Slovene

First I define the language as an existing language (e.g. sv)
In i18n.ts
export const { useI18n, ofTypeI18n } = createUseI18n({
    sv: {
        doLogIn: "Prijava",
        // Lots of other keys
    },
    en: {
        locale_sl: "Slovenian"
    }
});

This is so when doing npx keycloakify start-keycloak I get a generated Swedish file with Slovenian contents. I copy the file and rename it from messages_sv.properties to messages_sl.properties and store it elsewhere.
Then I actually rename sv to sl (Slovenian language code) in i18n.ts
export const { useI18n, ofTypeI18n } = createUseI18n({
    sl: {
        doLogIn: "Prijava",
        // Lots of other keys
    },
    en: {
        locale_sl: "Slovenian"
    }
});

And re-run npx keycloakify start-keycloak.  Last two steps:

In the theme properties add the new language:

parent=keycloak
locales=en,sl

Copy the previously generated and saved messages_sl.properties to messages.

In the development mode with npx keycloakify start-keycloak this works and can be automated with a script, but its quite cumbersome to actually edit the generated .jar file for Keycloak installation.
Thanks:)

Hey @janvasiljevic,
Thanks for reporting and sharing the sollution!
But does it work on the backend? Do you see Slovene in the Admin console when you try to add a translation for a user profile attribute for example?
Like on this screenshot can you select "Slovenian".
Anyway I'll work on this.
In the meantime you can use the post build hooks to automate your changes: https://docs.keycloakify.dev/build-options/postbuild
Let me know if you need guidance.

the theme needs to be selected for Keycloak to pick up the new language code I think.

Great! That's probably what gave me the wrong idea, the theme was applied directly on the client.
Ok then, I'll add this feature soon

If you write a post build script would you share it here? so that I can link your solution until I properly implement the feature.

Will post it here, in the comments:)

Used your code, since regexes weren't sufficient. Not the prettiest, since I haven't worked with Node ASTs before, but works:)
yarn add -D recast @babel/parser

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { keycloakify } from "keycloakify/vite-plugin";
import { join } from "path";
import fs from "fs";
import * as babelParser from "@babel/parser";
import babelGenerate from "@babel/generator";
import * as babelTypes from "@babel/types";
import recast from "recast";

const extractDictionary = (ast: recast.types.ASTNode, languageCode: string) => {
    let dictionaryContent = null;

    recast.visit(ast, {
        visitObjectExpression(path) {
            path.node.properties.forEach(property => {
                if (
                    babelTypes.isObjectProperty(property) &&
                    babelTypes.isIdentifier(property.key, { name: languageCode }) &&
                    babelTypes.isObjectExpression(property.value)
                ) {
                    dictionaryContent = property.value.properties.reduce((acc, prop) => {
                        if (
                            babelTypes.isObjectProperty(prop) &&
                            babelTypes.isIdentifier(prop.key)
                        ) {
                            acc[prop.key.name] = babelTypes.isStringLiteral(prop.value)
                                ? prop.value.value
                                : null;
                        }
                        return acc;
                    }, {});
                }
            });
            return false; // Stop traversal once we've found the dictionary
        }
    });

    return dictionaryContent;
};

export default defineConfig({
    clearScreen: false,
    logLevel: "info",
    plugins: [
        react(),
        keycloakify({
            accountThemeImplementation: "none",
            // Reads the i18n.ts and generates the messages_xx.properties files and updates the theme.properties
            // updated 'newLanguages' to include your own language:)
            postBuild: async buildContext => {
                // Define the new languages to extract
                const newLanguages = ["sl"];

                // Don't know why console.log doesn't work here, using this instead:)
                const debug = (data: string) => {
                    fs.appendFileSync(
                        join(buildContext.projectDirPath, "debug_lang.txt"),
                        data + "\n"
                    );
                };

                // delete the debug file
                fs.unlinkSync(join(buildContext.projectDirPath, "debug_lang.txt"));

                debug("Starting postBuild");

                debug(`buildContext: ${JSON.stringify(buildContext, null, 2)}`);

                const i18nFile = join(buildContext.themeSrcDirPath, "login", "i18n.ts");

                const data = fs.readFileSync(i18nFile, "utf8");

                // Parse the i18n file same as keycloakify/../generateMessageProperties.ts
                const ast = recast.parse(data, {
                    parser: {
                        parse: (code: string) =>
                            babelParser.parse(code, {
                                sourceType: "module",
                                plugins: ["typescript"]
                            }),
                        generator: babelGenerate,
                        types: babelTypes
                    }
                });

                const themeName = buildContext.themeNames[0];

                // For each language traverse the AST and extract the translations
                // and write them as 'messages_xx.properties' files to
                newLanguages.forEach((languageCode: string) => {
                    const dictionary = extractDictionary(ast, languageCode);

                    if (!dictionary) return;

                    const fp = join(
                        "theme",
                        themeName,
                        "login",
                        "messages",
                        "messages_" + languageCode + ".properties"
                    );

                    debug(`Writing to ${fp}`);

                    fs.writeFileSync(
                        fp,
                        Object.entries(dictionary)
                            .map(([key, value]) => `${key}=${value}`)
                            .join("\n")
                    );
                });

                // append the new languages to the theme.properties
                fs.appendFileSync(
                    join("theme", themeName, "login", "theme.properties"),
                    "\nlocales=" + newLanguages.join(",")
                );
            }
        })
    ]
});

working on it

Done!
https://docs.keycloakify.dev/i18n/adding-support-for-extra-languages
Migration guide: https://docs.keycloakify.dev/faq-and-help/migration-guides/v10-greater-than-v11


[FR] Admin version of the Firestore Lite SDK

The problem
There is a longstanding issue with extremely slow cold-start times when using the official Nodejs Firestore library in serverless environments: https://issuetracker.google.com/issues/158014637. It appears that the underlying issue is very difficult to address (hence the unresolved years-old P1/S1 issue), and a proper interim fix is long overdue.
One solution is to use the Firestore REST API directly. This dramatically improves cold start times, but at the cost of a seriously degraded developer experience. There has been at least one attempt by a Firestore user to create an unofficial wrapper library (https://github.com/bountyrush/nodejs-firestore). This library works, but is maintained by a single developer, and is not a replacement for an official library for obvious reasons.
The solution
A lightweight wrapper library that adds a friendly interface to the Firestore REST API for simple CRUD operations would do a lot to ameliorate the three year old cold start bug. Essentially a Nodejs equivalent of the Firestore Lite SDK. A Google employee has suggested that this library might even be able to share significant code with Firestore Lite: https://issuetracker.google.com/issues/158014637#comment183

As a note, this issue does not just affect cloud functions, but rather affects anything that needs to be cold-started.  Reproduction samples work the same way on Docker containers hosted virtually anywhere, or when rebuilding an application during a live reload - the library itself appears to be the culprit, not the hosting environment.

This would definitely help a lot of developers, however in our case we use a lot of transactions which seem to potentially be beyond the scope of a "lite" SDK. If we could get, either in addition to or instead of this, an official Google-maintained equivalent of https://github.com/bountyrush/nodejs-firestore it could help with that case. We really just want the speed of REST with the DX of the Admin SDK.

Thanks for creating the issue, indeed it would definitely help a lot of us !

I'm also interested in this, parsing an access token and calling firestore in a single request can take ages when cold on AWS lambda

Much needed. Thank you.

I'm the developer for REST api implementation - https://github.com/bountyrush/nodejs-firestore
I thought of giving a try with lite web js sdk but the links are broken for source code. Can someone point at the right link?
https://cloud.google.com/firestore/docs/reference/libraries

@manwithsteelnerves I think it's this? https://github.com/firebase/firebase-js-sdk/tree/master/packages/firestore/lite

This was posted to the public issue but repeating here for visibility.
@google-cloud/firestore has begun experimenting with a preferRest option (@6.1.0-pre.0). Folks should give that a spin. I'm sure once it lands we'll look at exposing that option in firebase-admin, as this library wraps @google-cloud/firestore.

I'm seeing a significant performance boost from this, which is very exciting. It will be even better if it ends up in firebase-admin, which will simplify usage and help prevent problems like this: https://github.com/googleapis/nodejs-firestore/issues/760

This feature is now available in firebase-admin v11.4.0. Thank you everyone for your patience!

We need to reopen this again. Now that Edge Functions are popular, we need Firebase Admin Lite SDK to be allowed to handle session variables and fetch calls with the admin key on the server.
J

PSA: Please continue discussion on this topic at https://github.com/firebase/firebase-admin-node/issues/2572

+1


Feature Request: Enable or disable the extension per file-extension

For people using Copilot and HuggingFace Code simultaneously, this is handy for people like me using HuggingFace code with a custom backend with Galactica to write .tex files, and Copilot for the rest.
My Custom Galactica repo for people interested: https://github.com/WissamAntoun/galactica-vscode-vllm

Taking note, will see what we can do about it, though we have other more pressing priorities at the moment.
Feel free to attempt a fix yourself!


Remove grantr from release lead list

I'm no longer an eventing approver.

/approve

(After #12 )


Change the Effort Summary time

Enhancement suggested by
@GauravGusain98
Problem that your solution is solving
In ColoredCow we use effort sheet where we track the hour we spent on a particular task. This helps us to calculate our productivity and is also used for billing the client.
We periodically migrate/update the data present in the effort sheet to the portal. For this, we use a Laravel command that refreshes the booked hours of team members from the effort sheet.
We also send the details of projects as show below at 10:30 PM on Google chat channel. So that the team member should be aware of their team progress.

There are many employees and interns who used to update their efforts late at night. Therefore we want to send the summary on next day at 8 AM.
Contact person for help
@GauravGusain98

Action items
Basics Concept - 1 pointer:

[ ] Read about Models in Laravel. Share your understanding of why we use them in the task comment in your own language
[ ] Read about Views in Laravel. Share your understanding of why we use them in the task comment in your own language
[ ] Read about Routes in Laravel. Share your understanding of why we use them in the task comment in your own language
[ ] Read about Controller in Laravel. Share your understanding of why we use them in the task comment in your own language
[ ] Read about Services files in Laravel. Share your understanding of why we use them in the task comment in your own language
[ ] Read how we can print a value in Laravel using dd()
[ ] Try printing hello world using the dd function

Task Scheduling

[ ] Read about task scheduling in Laravel
[ ] Find the command that is use to send the summary at 10:30 PM.
[ ] Change the timing to 8 AM
[ ] Go through the command logic and see if the logic will work if the billing period of project changes because when a billing period changes then team member velocity is reset to 0

Not needed now


Korean translation

I don't think there will be a check failure error this time.
...maybe. I REALLY HOPE SO..

Thanks!


[SOLUTION] You are trying to sign in from a browser or app that doesn't allow us to keep your account secure

Solution for this Google Error with system available.
Contact Telegram @Loads4You

i have solution contact<EMAIL_ADDRESS>


Exits the the program without any error once the File is deleted/rotated on Ubuntu x86_64 GNU/Linux

Exits the Program without throwing any error on Ubuntu Linux x86_64, though it works perfectly on Macintosh.
**Already Added these flags: **
Follow: true,
ReOpen: true
Last line to be printed by Lib is as below:

2016/05/05 11:41:38 Re-opening moved/deleted file /home/ubuntu/server/tomcat/apache-tomcat-7.0.69/logs/catalina.out ...
2016/05/05 11:41:38 Waiting for /home/ubuntu/server/tomcat/apache-tomcat-7.0.69/logs/catalina.out to appear...

After this it just exists without any error.

Looking into detail I found that on deletion of the file inotify watcher is getting closed.

I believe I am seeing the same problem with Follow: true, Reopen: true. In my code, it is transient when I set or unset a logger, which leads me to suspect that it's some kind of race condition.

Also, setting Poll; true resolves the issue, which suggests @deep-patel is on to something.

thanks @willf, Poll: true do work for me now, also it would be great if this bug can be resolved.


Fix Version equality

I think Version equality should align with other similar cases in Python, like:
In [1]: 1 == None
Out[1]: False

In [1]: 1 != None
Out[1]: True

Note I found this issue when doc-builder tried to compare:
if param.default != inspect._empty

where param.default is an instance of Version.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[BUG] Invalid margin in SfFilter

Describe the bug
Margin between checkbox and label in SfFilter should be equal for both - checked and unchecked state.
Screenshots


Getting error while issuing credentials

Hello, I am trying to issue a credential using a javascript controller made by me, but I am getting the following error on sending the data to /issue-credential/send
{'connection_id': ['Missing data for required field.'], 'credential_proposal': ['Missing data for required field.']}
My credential object looks like this
{
"comment": "string",
"credential_proposal": {
"@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/issue-credential/1.0/credential-preview",
"attributes": [
{
"name": "Name",
"value": "Alice Smith"
},
{
"name": "Date",
"value": "2020-01-01"
},
{
"name": "Degree",
"value": "Maths"
},
{
"name": "Age",
"value": "24"
}
]
},
"schema_issuer_did": "GCezUGKaGXjaeuUrGgN22f",
"connection_id": "804d0219-cd5a-4a1b-8db8-4244ad8dd641",
"schema_version": "2.0",
"schema_id": "GCezUGKaGXjaeuUrGgN22f:2:Vague:2.0",
"issuer_did": "GCezUGKaGXjaeuUrGgN22f",
"cred_def_id": "GCezUGKaGXjaeuUrGgN22f:3:CL:139026:default_vague",
"schema_name": "Vague"
}

The error message seems to indicate connection_id and credential_proposal are either missing or malformed, however the above JSON looks fine to me. @andrewwhitehead @ianco do you have any thoughts other than confirming the payload being sent to the agent matches the above?

The json looks good to me.

Another thing i'd like to add for @ianco and @esune is that the same controller works fine with the aca-py agents running on play with docker, the one given in demo. And another thing is, for the agent i am running on my own computer, when i issue credentials with same json using swagger api, it works fine. Similar issue comes with the acme controller while requesting proofs, i am using the acme controller as given in demo.

Very odd. It sounds like the only difference in your setup is the agent you are posting requests to, so I'd start by confirming the version and startup settings are the same in both cases.

Very odd. It sounds like the only difference in your setup is the agent you are posting requests to, so I'd start by confirming the version and startup settings are the same in both cases.
I am on the latest version of aca-py which is 0.6.0 , and i'd put the startup flags
aca-py start --label Faber \ -it http <IP_ADDRESS> 8000 \ -ot http --admin <IP_ADDRESS> 8021 \ --admin-insecure-mode \ --genesis-url "http://test.bcovrin.vonx.io/genesis" \ --seed {{seed}} \ --endpoint "http://localhost:8000/" \ --debug-connections --auto-provision \ --wallet-type indy --wallet-name FABER \ --wallet-key secret --auto-accept-requests \ --auto-accept-invites --auto-ping-connection --auto-respond-credential-proposal \ --auto-respond-credential-offer --auto-respond-credential-request \ --auto-store-credential

I am on the latest version of aca-py which is 0.6.0 , and i'd put the startup flags
aca-py start --label Faber \ -it http <IP_ADDRESS> 8000 \ -ot http --admin <IP_ADDRESS> 8021 \ --admin-insecure-mode \ --genesis-url "http://test.bcovrin.vonx.io/genesis" \ --seed {{seed}} \ --endpoint "http://localhost:8000/" \ --debug-connections --auto-provision \ --wallet-type indy --wallet-name FABER \ --wallet-key secret --auto-accept-requests \ --auto-accept-invites --auto-ping-connection --auto-respond-credential-proposal \ --auto-respond-credential-offer --auto-respond-credential-request \ --auto-store-credential

I think the endpoint declaration is incorrect, as localhost will be resolved by other agents as their own service/host - you need to use an address that is addressable by other services s well (e.g.: host.docker.internal or the docker VM IP address, an example of scripts that pull it ishere).
Once thing you can check is the state of the connection you are going to be sending the credential on: if the agents can't talk both ways it will not get to active (I suspect this might be the case).

I think the endpoint declaration is incorrect, as localhost will be resolved by other agents as their own service/host - you need to use an address that is addressable by other services s well (e.g.: host.docker.internal or the docker VM IP address, an example of scripts that pull it is here).

This looks possible, although all agents are running on the same network, i'll still try explicitly mentioning the ip address.

@esune so I mentioned the endpoint IP explicitly, opened the ports , and even checked whether the connections are active, still I am getting the same error.

Seems the issue was about Content-Type , i didn't mention application/json and thus it wasn't working. It used to work in older versions so I thought it would work here too. But now it is all settled. Thank you. @esune and @ianco for your help.


Add FTP support

Adds FTP support.
Works like HTTP, including checking timestamps on remote files, except that the proxy parameter is disabled.

Hi @lwf,
Let me know if you'd like me to make any changes to this PR before merging :slightly_smiling_face:


Listing URLs that contain spaces cause problems

From @clarkjefcoat on April 6, 2015 17:37
If an approved listing has spaces in its launch URL:

it will not launch correctly in Webtop
if added to the HUD it cannot be deleted

Suggest that we change spaces to %20 before saving to the database.
I have tested this with spaces in the query parameters.
Copied from original issue: ozone-development/ozp-rest#56

I would recommend, rather than automatically changing what the user has entered before saving it to the DB, that we improve the validation of URL fields so that spaces and other invalid characters do not validate and the user is forced to correct them.


Bug report: aes encryption bug if incoming byte >= 0x80

 aes encryption bug if incoming byte >= 0x80
Summary
aes encryption has bug if incoming byte >= 0x80
Example
Please have a look at the link below: an incoming byte 0xff is encrypted to two bytes O_O

Version: 6.5.0
Compile time: 24/11/2017 16:40:58 UTC
User-Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
Link to reproduce

@bwhitn I think you're right. We should try to move away from CryptoJS if we can. It's used in a number of places including the main encryption operations such as AES, DES etc, but also as the powerhouse behind our UTF8 support.
It's time we moved on to more modern libraries and web technologies, like TextEncoder and ArrayBuffers. I'm working on a new PR which will introduce these technologies in the CyberChef core, bringing us a step closer to replacing CryptoJS entirely.
Forge looks like a good alternative for the encryption ops and we should be ok on the licence front if it can be used under BSD. I looked into Forge a while ago but decided not to use it due to its size, however now that we have the module system, this is no longer an issue.


Access Denied Tensorflow Error?

Could not open C:\Users\User1\Desktop\aidrivers: Unknown: NewRandomAccessFile failed to Create/Open: C:\Users\User1\Desktop\aidrivers : Access is denied. ; Input/output error
Why is this happening? All i did was update to the newest pygta5? I tried putting it into another folder but that doesn't seem to fix that error.

set
MODEL_NAME = 'anything'
LOAD_MODEL = False

Okay that fixed it kinda but now there's a new error. It can't actually find any npy files when they are there.
[Errno 2] No such file or directory: 'J:/phase10-random-padded/training_data-1778.npy' [Errno 2] No such file or directory: 'J:/phase10-random-padded/training_data-1276.npy' I tried changing up the directory it was listing to my pc but it still can't find any training files.

Where did you save the files? It works fine for me, but I did need to change the paths in the scripts.

I made a new folder and saved it to my desktop
C:\Users\User1\Desktop\drivers

If you want to save the recorded data there change the line https://github.com/Sentdex/pygta5/blob/master/1. collect_data.py#L101
file_name = 'X:/pygta5/phase7-larger-color/training_data-{}.npy'.format(starting_value)
to
file_name = 'C:/Users/User1/Desktop/drivers/training_data-{}.npy'.format(starting_value)

Okay but it's also doing the same errors to the other files, like training data and testing data. but im sure testing data is just acting like that cause well training data file isn't working, i'll try your step

Alright this isn't working Training data is just refusing to work, There must be something wrong with the current code.
[Errno 2] No such file or directory: 'J:/phase10-random-padded/training_data-417.npy' [Errno 2] No such file or directory: 'J:/phase10-random-padded/training_data-1145.npy' [Errno 2] No such file or directory: 'J:/phase10-random-padded/training_data-1230.npy' [Errno 2] No such file or directory: 'J:/phase10-random-padded/training_data-265.npy' [Errno 2] No such file or directory: 'J:/phase10-random-padded/training_data-142.npy' [Errno 2] No such file or directory: 'J:/phase10-random-padded/training_data-692.npy' [Errno 2] No such file or directory: 'J:/phase10-random-padded/training_data-436.npy' [Errno 2] No such file or directory: 'J:/phase10-random-padded/training_data-289.npy' [Errno 2] No such file or directory: 'J:/phase10-random-padded/training_data-1814.npy'

Did you check that the folder contains those files? I needed to adjust the FILE_I_END variable. Take a look at https://github.com/Sentdex/pygta5/blob/master/Versions/v0.03/2. train_model.py#L11
If you have data until training_data-100.npy, change it to FILE_I_END = 100

The folder has training data 1 and 2 , that's it

Try FILE_I_END = 2

Traceback (most recent call last):   File "C:\Users\User1\Desktop\drivers\test_model.py", line 245, in <module>     main()   File "C:\Users\User1\Desktop\drivers\test_model.py", line 148, in main     delta_count_last = motion_detection(t_minus, t_now, t_plus)   File "C:\Users\User1\Desktop\drivers\motion.py", line 46, in motion_detection     dst = cv2.addWeighted(screen,1.0, delta_view,0.6,0) NameError: name 'screen' is not defined
Test_model is erroring out now. I have everything installed and just verified, Python has all the requirements satisfied

Great!
There's a bug with the motion script. You need to add screen as a parameter to the function:
So change:
def motion_detection(t_minus, t_now, t_plus):
To:
def motion_detection(t_minus, t_now, t_plus, screen):
And in the test_model script add screen to the function call:
https://github.com/Sentdex/pygta5/blob/master/3. test_model.py#L148

Okay now it's giving this error
``Traceback (most recent call last):
File "test_model.py", line 245, in
main()
File "test_model.py", line 148, in main
delta_count_last = motion_detection(t_minus, t_now, t_plus)
TypeError: motion_detection() missing 1 required positional argument: 'screen'

I suppose delta_count should be delta_count_last at
https://github.com/Sentdex/pygta5/blob/master/3. test_model.py#L190

Okay well that somehow worked but it's still not training. I waited 1 hour for it to train and it "trained" yet the file never updated. and just started to repeat.

What was the output from the "2. train_model.py" script? Did you add the same MODEL_NAME to the test_model script?

I added the same model name, There's no error other then MODEL SAVED. then it just repeats the same training data over and over

The model is saved every 10th epoch. It should finish automatically when it's done. By default after 30 epochs (30 passes over the data).

Hey @mantoone . I'm also having the same error. I changed
MODEL_NAME = 'anything'

LOAD_MODEL = False

And I only have up to
training_data-200.npy
So I set FILE_I_END = 200
And now I get
training/training_data-37.npy
training_data-37.npy 500
---------------------------------
Run id: anything
Log directory: log/
---------------------------------
Training samples: 450
Validation samples: 50
--
Cannot feed value of shape (64, 17) for Tensor 'targets/Y:0', which has shape '(?, 9)'
training/training_data-69.npy
training_data-69.npy 500
---------------------------------
Run id: anything
Log directory: log/
---------------------------------
Training samples: 450
Validation samples: 50
--
Cannot feed value of shape (64, 17) for Tensor 'targets/Y:0', which has shape '(?, 9)'
training/training_data-190.npy
training_data-190.npy 500
---------------------------------
Run id: anything
Log directory: log/
---------------------------------
Training samples: 450
Validation samples: 50
--
Cannot feed value of shape (64, 17) for Tensor 'targets/Y:0', which has shape '(?, 9)'
training/training_data-112.npy
training_data-112.npy 500
---------------------------------
Run id: anything
Log directory: log/
---------------------------------
Training samples: 450
Validation samples: 50
--
Cannot feed value of shape (64, 17) for Tensor 'targets/Y:0', which has shape '(?, 9)'
training/training_data-157.npy
training_data-157.npy 500
---------------------------------
Run id: anything
Log directory: log/
---------------------------------
Training samples: 450
Validation samples: 50
--
Cannot feed value of shape (64, 17) for Tensor 'targets/Y:0', which has shape '(?, 9)'
training/training_data-58.npy
training_data-58.npy 500
---------------------------------
Run id: anything
Log directory: log/
---------------------------------
Training samples: 450
Validation samples: 50
--
Cannot feed value of shape (64, 17) for Tensor 'targets/Y:0', which has shape '(?, 9)'
training/training_data-104.npy
training_data-104.npy 500

Over and over until I stop it

@mantooneoops I did change it.
Thanks mate

You're welcome!
On Jul 6, 2017 12:00 AM, "Daniel Mossaband"<EMAIL_ADDRESS>wrote:
@mantooneoops I did change it.
Thanks mate
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Sentdex/pygta5/issues/50#issuecomment-313225419, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFrn1UX6aK7_0p2jIobutRrtxZ5joaM2ks5sK_lzgaJpZM4N3tsc
.

@mantoone It would be nice if you did a pull request on your fix for screen not defined in motion. I think many people have the same problem

@frossaren There it is now: https://github.com/Sentdex/pygta5/pull/64

Great!
Den 12 aug. 2017 18:18 skrev mantoone<EMAIL_ADDRESS>@frossarenhttps://github.com/frossaren There it is now: #64https://github.com/Sentdex/pygta5/pull/64
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Sentdex/pygta5/issues/50#issuecomment-321990729, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATxZZ-TGTx19VqCI66rUvlDjISTcohHXks5sXdA-gaJpZM4N3tsc.


I have a problem, my BotDiscord Music stopped playing the songs, here is the error:

I have a problem, my BotDiscord Music stopped playing the songs, here is the error:
2018-11-08T23:04:28.597530+00:00 app[shibot-inu.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1221, in _decrypt_signature
2018-11-08T23:04:28.597531+00:00 app[shibot-inu.1]:     video_id, player_url, s
2018-11-08T23:04:28.597533+00:00 app[shibot-inu.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1130, in _extract_signature_function
2018-11-08T23:04:28.597535+00:00 app[shibot-inu.1]:     res = self._parse_sig_js(code)
2018-11-08T23:04:28.597536+00:00 app[shibot-inu.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1193, in _parse_sig_js
2018-11-08T23:04:28.597538+00:00 app[shibot-inu.1]:     jscode, 'Initial JS player signature function name', group='sig')
2018-11-08T23:04:28.597539+00:00 app[shibot-inu.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 977, in _search_regex
2018-11-08T23:04:28.597541+00:00 app[shibot-inu.1]:     raise RegexNotFoundError('Unable to extract %s' % _name)
2018-11-08T23:04:28.597543+00:00 app[shibot-inu.1]: youtube_dl.utils.RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
2018-11-08T23:04:28.597544+00:00 app[shibot-inu.1]:  (caused by RegexNotFoundError('Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Please HELP ME !


Remove DMO preview extension from the ADS insiders

DMO (Data Migration for Oracle) extension was in preview all the way. It will not be supported in ADS Insiders further. Hence removing the enlisting of the entry from json.

Please update the extension count at the bottom of this file as well

Thanks. Updated the count now


Additional fix: Sweep and tick

There was a mistake in https://github.com/kitsuyui/react-playground/pull/80 .
Fix it.
The range of the short hand should also be divided into 60 minutes.
Therefore, the short hand should rotate once every 12 minutes.

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.04 :tada:

Comparison is base (17737d7) 93.70% compared to head (df24c85) 93.75%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #81      +/-   ##
==========================================
+ Coverage   93.70%   93.75%   +0.04%
==========================================
  Files           6        6
  Lines         127      128       +1
  Branches       10       10
==========================================
+ Hits          119      120       +1
  Misses          2        2
  Partials        6        6

Flag
Coverage Δ

unittests
93.75% <100.00%> (+0.04%)
:arrow_up:

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

Impacted Files
Coverage Δ

packages/clock/src/step/index.ts
100.00% <100.00%> (ø)

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


[KK][VideoExport][Timeline] Timeline recording "Loops To Record 1" does not reach the last frame correctly when TimeScale is changed.

If you want to record to the last frame of the timeline using KK_VideoExport, you would set "Limit By" to "Timeline", Prewarm Loop Count: 2, Loops To Record 1.000, etc.
However,If you have changed the Time Scale on the timeline to a number other than 1, this will cause it to be out of sync.
Especially in the case of animations that change the timescale in the middle of the animation, it is very difficult to make the first frame and the last frame of the loop video the same with the current VideoExport.
Is it possible to count the recording loop "1" when it reaches the last frame, regardless of the duration and timescale and Framerate values?
It is possible that it is possible to do one loop recording in all frames in a way that I am not aware of, and if so, I would be glad to know how to do it.

Do you mean that the last frame is not captured? Or are there more than one frame not being captured?

"Do you mean that the last frame is not captured? Or are there more than one frame not being captured?"
Sorry my explanation is not clear.
If you set the Time Scale to 0.5x, a 1 minute video in Loops To Record 1.000 is actually 2 minutes long, but only 1 minute is recorded.
If it is fixed at 0.5, it is easy to predict, but if it varies from 1 to 0.5 to 2 on the timeline, it becomes difficult to easily determine the end time.
I am currently using a method where I save a longer recording and cut it off later, but this method is also difficult for looping videos that go back to the first frame of the entire video. (It is difficult to make sure that the first and last frames are identical.)


chore: include license in releases

All releases and builds now include the LICENSE file from the project root.

LGTM


Move span outside of slot to fix Galen tests

Some context:

Continuing the conversation from #141 (comment):
@AdmiralCoco After some more digging, it looks like shady dom is patching the parentNode accessor, so the span element's parent is . Selenium checks element visibility by going through all the parent nodes and if one if them is not visible (like ), the element is not considered visible.
I'm not sure how to fix this, but it is unrelated to Polymer 3 conversion. I think it's coming up now because shadydom might've been updated with the new webcomponents

There still seems to be lots of failing galen tests.  Are these flaky, or more fixes still needed after this PR?

The Safari tests are flaky. I'm not sure what tests are failing in Chrome.

It seems like the tests have been failing for a bit (tons of "absent on page" errors) Not sure what the reason is 😕
I believe I fixed all the issues that caused tests to fail in the P3 conversion branch, so there aren't anymore fixes to be added

This is an interesting error:
"custom-element-focus.button" css property "box-shadow" is "rgba(0, 111, 191, 0.298039) 0px 0px 0px 4px" but should match ".*rgba\(0, 111, 191, 0.3\).*|.*rgba\(0,111,191,0.3\).*"
Like seriously lol


Generate oligos off a de bruijn graph

This should optimally encode all the variation and minimize the redundancy.  We could build a graph using, say 7-mers, and then write out 56-mer paths that cover every edge.

Closing because package is no longer actively maintained.


Roles do not match new version of Tableau Server

I am trying to write a script to assign roles to new users and when trying Interactor and Viewer it sets the role to Unlicensed. Publisher gives me Explorer(can publish) but cannot find the relevant role for Viewer or Creator.

Which version of Tableau Server are you using?

@shinchris , I am using 2018.3

I think the issue may be due to the REST API version you are using. When you instantiate the Server object in your script, you can pass in a flag to have it automatically use the appropriate REST API version for your Tableau Server instance. See docs here: https://tableau.github.io/server-client-python/docs/versions#use-the-rest-api-version-supported-by-the-server
Also note that for REST API 3.0 and later (2018.3 is on REST API version 3.2), the site_role can be one of the following: Creator, Explorer, ExplorerCanPublish,  ReadOnly, SiteAdministratorCreator, SiteAdministratorExplorer, UnlicensedWithPublish (https://tableau.github.io/server-client-python/docs/api-ref#users). The library has enums for all of these site roles in user_item.py.
Please reopen this issue if you still run into problems with site roles.


ignore build-deps

Fixed by https://github.com/fare/gerbil-ethereum/commit/a4c8d3822ef95af10c20256a2700529abae50a1c


Not able to mint on Assethubs or Kusama

CORS imagedelivery
preheat fails

txs: (transactions are successful)
https://assethub-kusama.subscan.io/tx/0xb79140cec97adbcabee27ea0c04d3fa1c753f0b6f7d1f30cfaa40ac1d8a203df
https://assethub-kusama.subscan.io/tx/0x0f790ab00c32c002dc369b2f2851cd1adfd0d14f75ef95f02973901e8135e4f1

@vikiival @preschian

related, yet needs some tune

https://github.com/kodadot/nft-gallery/pull/8185

Interesting 🤔 no CORS error, and the preheat looks fine. But I can't find my NFT in the UI

https://assethub-kusama.subscan.io/block/0xecff797bd0d36d44b6cc23caf056333b0cd6cddb6b61962893b1fdc787375377?tab=extrinsic

Oh, I suspect that the indexer on the ahk was stuck. Because on ahp looks fine

https://assethub-polkadot.subscan.io/block/0xaa704e32d42195762854f417ece970b1762b47eebe5488a8fe5aa4245b50fe44
https://canary.kodadot.xyz/ahp/gallery/16-4

Oh, I suspect that the indexer on the ahk was stuck. Because on ahp looks fine
* https://assethub-polkadot.subscan.io/block/0xaa704e32d42195762854f417ece970b1762b47eebe5488a8fe5aa4245b50fe44

* https://canary.kodadot.xyz/ahp/gallery/16-4

the ones i minted earlier are still not showing

I put the issue here https://github.com/kodadot/stick/issues/153

closing this

cors issue -> will return cors issue when uploading the same image twice. Because the image already exists in cf-images. Then, the preheat will hit imagedelivery domain
stuck on indexer -> fixed it here https://github.com/kodadot/stick/issues/153 by Vik

cors issue -> will return cors issue when uploading the same image twice. Because the image already exists in cf-images. Then, the preheat will hit imagedelivery domain

Please log it somehwere so we are aware of this


Memory leak in remap

There is some amount of memory being allocated during the remap function that isn't getting cleaned up.
This is with the latest commit on main. So I imagine it's something to do with rayon or the new tensor implementation.
This simple program will slowly grow in memory usage:
fn main() {
    let size = ImageSize {
        width: 1440,
        height: 1440,
    };

    let correction_map = correction_map(&size);

    loop {
        let input = Image::<u8, 3>::from_size_val(size, 0).unwrap();
        let mut output = Image::<f32, 3>::from_size_val(size, 0.0).unwrap();

        remap(
            &input.cast().unwrap(),
            &mut output,
            &correction_map.0,
            &correction_map.1,
            InterpolationMode::Bilinear,
        )
        .unwrap();
    }
}

That’s weird, however the idea with the new function signature allowing mutable outputs is that you allocate once outside of the for loop. If you check in the benches is how I’m doing.
If you’re up to, would be great to provide a bench for remap using also [flamegraph](https://github.com/flamegraph-rs/flamegraph) or similar to understand better the memory usage pattern.
BTW, remap is not the fastest implementation for now, it needs some optimisations as eg. the interpolation function it´s computing everytime the offset indices of the tensor from where to interpolate which could be done as a pre-step by iterating row by row with step 1. A second one, would be using simd to compute the weighted interpolation.

I couldn't reproduce the growing memory usage issue while running for about 5 minutes. But, when testing with valgrind, an unrelated leak is found in the correction_map I used (included below). (No confirmed leaks within the original snippet).

This is the correction_map that I used.
use kornia::image::{Image, ImageSize};
use kornia::core::Tensor2;
use kornia::imgproc::interpolation::{remap, InterpolationMode, grid::meshgrid_from_fn};

fn correction_map(size: &ImageSize) -> (Tensor2<f32>, Tensor2<f32>) {
    // Identity mapping
    let (map_x, map_y) = meshgrid_from_fn(size.width, size.height, |x, y| {
        Ok((x as f32, y as f32))
    }).unwrap();
    (map_x, map_y)
}

Valgrind log
==419002== Memcheck, a memory error detector
==419002== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==419002== Using Valgrind-3.23.0 and LibVEX; rerun with -h for copyright info
==419002== Command: target/debug/mem_test
==419002== Parent PID: 418734
==419002==
==419002==
==419002== HEAP SUMMARY:
==419002==     in use at exit: 16,653,640 bytes in 129 blocks
==419002==   total heap usage: 230 allocs, 101 frees, 229,673,704 bytes allocated
==419002==
==419002== 2,432 bytes in 8 blocks are possibly lost in loss record 16 of 23
==419002==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==419002==    by 0x4011003: calloc (rtld-malloc.h:44)
==419002==    by 0x4011003: allocate_dtv (dl-tls.c:395)
==419002==    by 0x4011AE1: _dl_allocate_tls (dl-tls.c:664)
==419002==    by 0x4A44F14: allocate_stack (allocatestack.c:429)
==419002==    by 0x4A44F14: pthread_create@@GLIBC_2.34 (pthread_create.c:655)
==419002==    by 0x18AA61: std::sys::pal::unix::thread::Thread::new (thread.rs:87)
==419002==    by 0x14F581: std::thread::Builder::spawn_unchecked_ (mod.rs:577)
==419002==    by 0x14EA5E: std::thread::Builder::spawn_unchecked (mod.rs:456)
==419002==    by 0x15013D: std::thread::Builder::spawn (mod.rs:388)
==419002==    by 0x13D92E: <rayon_core::registry::DefaultSpawn as rayon_core::registry::ThreadSpawn>::spawn (registry.rs:98)
==419002==    by 0x13EDFD: rayon_core::registry::Registry::new (registry.rs:304)
==419002==    by 0x13DD5B: rayon_core::registry::default_global_registry (registry.rs:201)
==419002==    by 0x13B9E0: core::ops::function::FnOnce::call_once (function.rs:250)
==419002==
==419002== 8,294,400 bytes in 1 blocks are definitely lost in loss record 22 of 23
==419002==    at 0x48447A8: malloc (vg_replace_malloc.c:446)
==419002==    by 0x162139: std::sys::pal::unix::alloc::<impl core::alloc::global::GlobalAlloc for std::alloc::System>::alloc (alloc.rs:14)
==419002==    by 0x161F3E: <kornia_core::allocator::CpuAllocator as kornia_core::allocator::TensorAllocator>::alloc (allocator.rs:58)
==419002==    by 0x12FA86: kornia_core::storage::TensorStorage<T,A>::new (storage.rs:55)
==419002==    by 0x12F817: kornia_core::tensor::Tensor<T,_,A>::new_uninitialized (tensor.rs:112)
==419002==    by 0x121EE3: kornia_imgproc::interpolation::grid::meshgrid_from_fn (grid.rs:43)
==419002==    by 0x11A3FF: mem_test::correction_map (main.rs:7)
==419002==    by 0x11A567: mem_test::main (main.rs:19)
==419002==    by 0x11E1FA: core::ops::function::FnOnce::call_once (function.rs:250)
==419002==    by 0x1241ED: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152)
==419002==    by 0x1253D0: std::rt::lang_start::{{closure}} (rt.rs:162)
==419002==    by 0x18093F: call_once<(), (dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (function.rs:284)
==419002==    by 0x18093F: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:557)
==419002==    by 0x18093F: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:521)
==419002==    by 0x18093F: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:350)
==419002==    by 0x18093F: {closure#2} (rt.rs:141)
==419002==    by 0x18093F: do_call<std::rt::lang_start_internal::{closure_env#2}, isize> (panicking.rs:557)
==419002==    by 0x18093F: try<isize, std::rt::lang_start_internal::{closure_env#2}> (panicking.rs:521)
==419002==    by 0x18093F: catch_unwind<std::rt::lang_start_internal::{closure_env#2}, isize> (panic.rs:350)
==419002==    by 0x18093F: std::rt::lang_start_internal (rt.rs:141)
==419002==
==419002== 8,294,400 bytes in 1 blocks are definitely lost in loss record 23 of 23
==419002==    at 0x48447A8: malloc (vg_replace_malloc.c:446)
==419002==    by 0x162139: std::sys::pal::unix::alloc::<impl core::alloc::global::GlobalAlloc for std::alloc::System>::alloc (alloc.rs:14)
==419002==    by 0x161F3E: <kornia_core::allocator::CpuAllocator as kornia_core::allocator::TensorAllocator>::alloc (allocator.rs:58)
==419002==    by 0x12FA86: kornia_core::storage::TensorStorage<T,A>::new (storage.rs:55)
==419002==    by 0x12F817: kornia_core::tensor::Tensor<T,_,A>::new_uninitialized (tensor.rs:112)
==419002==    by 0x121FEE: kornia_imgproc::interpolation::grid::meshgrid_from_fn (grid.rs:44)
==419002==    by 0x11A3FF: mem_test::correction_map (main.rs:7)
==419002==    by 0x11A567: mem_test::main (main.rs:19)
==419002==    by 0x11E1FA: core::ops::function::FnOnce::call_once (function.rs:250)
==419002==    by 0x1241ED: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152)
==419002==    by 0x1253D0: std::rt::lang_start::{{closure}} (rt.rs:162)
==419002==    by 0x18093F: call_once<(), (dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (function.rs:284)
==419002==    by 0x18093F: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:557)
==419002==    by 0x18093F: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:521)
==419002==    by 0x18093F: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:350)
==419002==    by 0x18093F: {closure#2} (rt.rs:141)
==419002==    by 0x18093F: do_call<std::rt::lang_start_internal::{closure_env#2}, isize> (panicking.rs:557)
==419002==    by 0x18093F: try<isize, std::rt::lang_start_internal::{closure_env#2}> (panicking.rs:521)
==419002==    by 0x18093F: catch_unwind<std::rt::lang_start_internal::{closure_env#2}, isize> (panic.rs:350)
==419002==    by 0x18093F: std::rt::lang_start_internal (rt.rs:141)
==419002==
==419002== LEAK SUMMARY:
==419002==    definitely lost: 16,588,800 bytes in 2 blocks
==419002==    indirectly lost: 0 bytes in 0 blocks
==419002==      possibly lost: 2,432 bytes in 8 blocks
==419002==    still reachable: 62,408 bytes in 119 blocks
==419002==         suppressed: 0 bytes in 0 blocks
==419002== Reachable blocks (those to which a pointer was found) are not shown.
==419002== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==419002==
==419002== For lists of detected and suppressed errors, rerun with: -s
==419002== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)

The leak detected by valgrind is here:
https://github.com/kornia/kornia-rs/blob/a6526627799c21a23bfe94723f3203ee8d995748/crates/kornia-core/src/storage.rs#L60-L64
The issue is that the memory allocated in ptr won't be freed when the Arc::new(Vec::<T>::with_capacity(len)) is freed.

@emilmgeorge, thanks for your investigation. It seems there’s definitely an issue with Buffer::from_custom_allocation or possibly the way I implemented it initially. I've opened a ticket to address this: kornia-rs/issues/127.
It might be worthwhile to revisit the Tensor constructor API and the use of the Allocator.
Here are my thoughts on the design:

Make the Tensor struct extensible via Buffer::Allocation, allowing it to support data from various backends, such as CUDA, Wpu, etc.
For instance, one could implement a CudaAllocator and initialize a Tensor by allocating CUDA memory, or by using a pre-allocated CUDA pointer. This could be particularly useful for implementing image operations directly on CUDA, like a remap function.
Ideally, the kornia-core crate and the Tensor struct should be lightweight, acting primarily as a managed data container. This would keep it decoupled from operations and allow for interchangeable use with other library containers at zero copy cost.


Add method in jenkinsapi.build.Build to retrieve timestamp from _data

In order to retrieve the timestamp of a build, we are now accessing to internal _data. A method for retrieving that, like exists for other fields, would be nice.

Hey,
It's in master... with the most naive implementation possible (get_timestamp())
I need to have a think about the objects structure in relation to the data...
Right now it is limping on two thoughts where the Jenkins object exposes jobs through a property interface and other objects don't do this at all....
I'd be nice if there was a predictable interface into jenkins job / build / instance data.....

The only "contract" nowadays seems to be the job/build/instance classes in Java Jenkins project...

??


Add missing quote for the CLI command to be valid

Sorry if you already seen this, I deleted the repo on my account and that made the PR disappear. Resending

Thanks for submitting. This is fixed with a previous PR.


FileInfo-Problem with Daylight saving time

I have written an application that uses the ZipEntry class to add files to a zip file.
The file to be zipped, was created in the winter time (December 1, 2012 11:00 AM).
The zip file was created on a Windows Server 2003.
In the zip file, the file has the following date (December 1, 2012 10:00 AM)
It does not matter if I give the correct date via 'Zipentry.Datetime' or not.
When you unzip the file via Winzip the date is also wrong.
The ZipEntry class seems to have a problem with the summer and winter time.

The library does not handle daylight savings time implicitly, so that should not be a problem. Further I have not been able to reproduce this. If this is still a problem, please create a new issue using the template.


Post Preview Snapshot Organism

Adds the snapshot organism that pulls in posts from a descendant Browsefilterable page of a Sublanding page. The content editors choose the limit of posts to show, and the page will spawn the specified number of posts with the Post Preview organism as the markup.
This will only exist on the Notice and Comment page as of now.
Test

Run ./cfgov/manage.py migrate
Go to a Sublanding page
Select Post Preview Snapshot in the content streamfield

- ***Important Note***Page Hierarchy
   Sublanding Page
             | -->  Browse Filterable Page
                                  |--> list of pages (Document Detail/ Learn Page).

See if the list pops up.

@kave
@richaagarwal

Updated.

@KimberlyMunoz underlines are rendering in the midway through the text in the post-preview organism

That's from there not being a category label. Adding overflow: auto to .meta-header will fix that.

alright looks good :+1:


Use options defined in the .babelrc file

It would be pretty sweet if the babel-brunch plugin could use the options defined in the .babelrc file, if it exists. Something like this should work.
JSON.parse(fs.readFileSync(path.join(__dirname, '.babelrc'), 'utf8'));

I haven't thought much about the load order of using .babelrc options vs brunch-config.js options. I'll let smarter people who have stronger opinions worry about that.

yep

Dunno why this hasn't been mentioned yet, but it is possible. Issue can be closed IMO
add this in your brunch-config.js:
plugins: {
    babel: {
        babelrc: true
    }
}

Could be closed.
babel-brunch uses options from .babelrc as default.

UPD: Confirmed. Related to babel/babel-brunch#52.
When we specify options only in .babelrc, then these lines add ['es2016', 'es2016'] presets. Options passed to babel.transform() have more priority, so settings from .babelrc are ignored.

Should be fixed by #53.

#53 has been merged. This issue is resolved.