Error when using nuxt-security with nuxt3 nitro preset cloudflare

Version

Operating System: Darwin
Node Version:     v16.20.2
Nuxt Version:     3.5.3
Nitro Version:    2.4.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      app, nitro, routeRules, modules, intlify, css, runtimeConfig
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction Link
Steps to reproduce
after installing nuxt-security and add to nuxt.config.js
do a yarn build and
use wrangler to test the deployement
wrangler dev .output/server/index.mjs --site .output/public --local
What is Expected?
What is actually happening?
[mf:inf] Ready on http://<IP_ADDRESS>:8787/
[nuxt] [request error] [unhandled] [500] Cannot convert object to primitive value
  at core:user:daundewa:4403:25
  at getMilliseconds (core:user:daundewa:4406:8)
  at new TokenBucket (core:user:daundewa:4436:67)
  at new RateLimiter (core:user:daundewa:4472:28)
  at Object.handler (core:user:daundewa:4593:22)
  at Object.handler (core:user:daundewa:3010:33)
  at async core:user:daundewa:3053:11
  at async core:user:daundewa:5106:20
  at async jsonError (core:user:daundewa:233:14)
[nuxt] [request error] [unhandled] [500] Cannot convert object to primitive value
  at core:user:daundewa:4403:25
  at getMilliseconds (core:user:daundewa:4406:8)
  at new TokenBucket (core:user:daundewa:4436:67)
  at new RateLimiter (core:user:daundewa:4472:28)
  at Object.handler (core:user:daundewa:4593:22)
  at Object.handler (core:user:daundewa:3010:33)
  at async core:user:daundewa:3053:11
  at async Object.localFetch (core:user:daundewa:5058:24)
  at async Object.errorHandler$1 [as onError] (core:user:daundewa:4379:81)
  at async core:user:daundewa:3056:70
[mf:inf] GET / 500 Internal Server Error (22ms)
[nuxt] [request error] [unhandled] [500] Cannot convert object to primitive value
  at core:user:daundewa:4403:25
  at getMilliseconds (core:user:daundewa:4406:8)
  at new TokenBucket (core:user:daundewa:4436:67)
  at new RateLimiter (core:user:daundewa:4472:28)
  at Object.handler (core:user:daundewa:4593:22)
  at Object.handler (core:user:daundewa:3010:33)
  at async core:user:daundewa:3053:11
  at async core:user:daundewa:5106:20
  at async jsonError (core:user:daundewa:233:14)
[mf:inf] GET /favicon.ico 500 Internal Server Error (7ms)

Hey @CurryAyam
This issue is actually a Duplicate of https://github.com/Baroshem/nuxt-security/issues/137
It is caused by rate limiting middleware.
Can you try to disable it to see if it works correctly?

Oh, my apology i didn’t browse it before i posted.
i actually need the rate limitting stuff!
Thank you for the assistance

On 14 Aug 2023, at 03:10, Jakub Andrzejewski @.***> wrote:
Hey @CurryAyam https://github.com/CurryAyam
This issue is actually a Duplicate of #137 https://github.com/Baroshem/nuxt-security/issues/137
It is caused by rate limiting middleware.
Can you try to disable it to see if it works correctly?
—
Reply to this email directly, view it on GitHub https://github.com/Baroshem/nuxt-security/issues/197#issuecomment-1676452143, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVBIP3AL7OUXOF7ENXLOVNLXVEYBXANCNFSM6AAAAAA3O2LIPI.
You are receiving this because you were mentioned.

@CurryAyam
I am planning to deprecate this built in rate limiter because of the issues that this middleware is causing to several types of web applications. If you are looking for a proper rate limiting solution, I would recommend to check tools that operate on the infrastructure layer rather than on application layer

Any more info here @CurryAyam ?
I would like to help but at this point I am not sure if it can be done as it is caused by the underlying rate limiting library.

Hi jakub,
I got all the info i got! I have to change something on my nuxt app!
Thank you so much for the help
On Mon, 21 Aug 2023 at 17:14 Jakub Andrzejewski @.***>
wrote:

Any more info here @CurryAyam https://github.com/CurryAyam ?
I would like to help but at this point I am not sure if it can be done as
it is caused by the underlying rate limiting library.
—
Reply to this email directly, view it on GitHub
https://github.com/Baroshem/nuxt-security/issues/197#issuecomment-1686047030,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVBIP3EGW3YY36DHKXVO2GDXWMYJBANCNFSM6AAAAAA3O2LIPI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Ok, I am closing the ticket then.
If you would need any additional help or info, do not hesitate to create a discussion or issue :)


Update deploy-github-actions.md

dotnet version 3.3.x -> dotnet version 6.0.x
actions/setup-dotnet@v1 -> actions/setup-dotnet@v3
actions/setup-java@v1 -> actions/setup-java@v3
actions/setup-python@v1 -> actions/setup-python@v4
actions/setup-node@v1 -> actions/setup-node@v4
NODE_VERSION: '14.x' -> NODE_VERSION: '18.x'
actions/setup-node@v1 -> actions/setup-node@v4

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

#sign-off


Fix timeout when defragmenting etcd on startup

Proposed Changes
Fix timeout when defragmenting etcd on startup. Only timeout status requests; allow defrag and alarm clear requests to run to completion. The defrag and alarm clear may take more than 30 seconds to complete if the datastore is large and the disk is slow.
Types of Changes
bugfix / enhancement
Verification

See linked issue - however this seems to require a large (8gb+) fragmented datastore on a fairly slow disk to reproduce.

Testing
Linked Issues

https://github.com/k3s-io/k3s/issues/11122
https://github.com/k3s-io/k3s/issues/11171

User-Facing Change

Further Comments

Shouldn't we add a (larger) timeout for defrag? Could etcd get stuck in defrag forever for some reason?

The reason we added a timeout on the status command is that the etcd grpc client will retry it automatically if the connection to the service is unavailable. I don't believe the other commands are subject to retry, but I'm going to add some test to this to verify behavior before merging.

Confirmed no breakage on the RKE2 side: https://github.com/rancher/rke2/pull/7139


feat: param lookup annotations

Allows handler params to be looked up via annotations. Custom annotations could also be provided to extract various parts of the request.

LGTM nice work 💯
Might adjust the middleware a bit, later when I change/fix the body parser.


migrated to Pyvisa1.6.1 from 1.5, getting Timeout Issue in query();

Hi,
I am using PyVISA to control DSOX-3024A from Keysight.
I am using dsoObj(DSO Object created from ResourceManager.get_instrument()).ask() command to ask like *IDN? to DSO in PyVISA 1.5 ---> changed to dsoObj.query("*IDN?") in PyVISA 1.6.1.
When i am running full code in PySCRIPTER most of the time code fails at dsoObj.query("*IDN?") saying Timeout. Image is attached.
When i try in command prompt line by line it is working properly.....

I am closing this for now. Feel free to reopen if necessary.


If cpu power profile is performance gpu usage is 100 % even not using all cpu cores ?

Ubuntu 20.04.4 Nvidia 470 GT 640 WINE 7.7 DXVK 1.10.1.
If using cpu power profile "power save" the cpu is clocked to 1.4 GHz in each core.
WINE running Visual Pinball X has 100 % speed without errors and all graphics being showed without problems.
CPU usage in used core is below of 40 %.
GPU usage is 45 %.
If cpu power profile is "performance" the cpu is clocked to 3,5 GHz in each core.
WINE running Visual Pinball X continue being the same 100 % speed without errors and all graphics being showed without problems in same FPS speed.
CPU usage continue being below of 40 %, but
GPU usage is reported in Nvidia X Server Settings using 100 % even doing the same task.
Strange detail is temperature is low (less of 45 c) if usage is 100 %. 100 % usage is above 60 c. Wrong temperature value ?
Nvidia X Server Settings report correctly to any other software thus I not understand if is an bug in Nvidia software.
Using cpu power profile "performance" does DXVK or other component to use GPU at limit ?
You can test in your machine if happen the same issue with Geforce video card ?
Thanks for read my topic.

I don't quite understand the problem.
Changing the CPU governor only impacts the CPU. So assuming it can still provide the GPU with new work quickly enough, the GPU will still run at 100%.

Thanks for your reply.
I said that cpu governor in power saver the gpu usage is below of 45 % and in cpu performance the cpu usage goes to 100 %.
The strange detail is in power saver the software run 100 % speed being totally rendered all graphics without problems and when in cpu governor performance the gpu usage is 100 %.
Another detail GPU performance level is 1 (max clock) in both cpu governor modes.
Perhaps is happening something wasting gpu usage when changing to cpu governor performance ?
That strange detail only happen when using WINE running Virtual Pinball with DXVK.

@Augusto7743 No offense but all the things you describe are exactly what I would expect to happen, and I'm pretty sure you just don't understand how CPU and GPU code interact in games.
If you set CPU governor powersave, your CPU is slow, and your CPU cannot feed the GPU fast enough, thus your GPU is not working very hard.
If you set the CPU governor to performance then the CPU can feed the GPU fully, and the GPU cannot keep up with the CPU and thus your CPU is not fully used, you're also assuming that the game is most unlikely perfectly optimized to use all CPU cores.
based on your 40% CPU load. I would guess you have a 4 core system, and this pinball game only uses 1 core at 100%, and is bottlenecked on that single core performance when you have 1.4GHz clock, when you up your clock by >2x your GPU load also goes up by >2x, which is in the realm of shifting the bottleneck from CPU to GPU.
Even in single core system there's no promise of 100% CPU utilization if the game is coded that it sleeps waiting for the GPU to finish it's work.
Use the builtin framerate limiter

Thanks very much for your reply.
All right with you ?
Oh yes I understand that cpu power saver does bottleneck to GPU, but not is exactly the inside of my topic.
That problem only happen with Virtual Pinball (use D3D9).
In cpu power saver even gpu being used less of 50 % Virtual Pinball is running correctly in 100 % speed.
Virtual Pinball not use extreme graphic quality and also I had configured all setting to low quality.
Virtual Pinball even in loaded table without any gameplay and static graphics is reported gpu usage 100 %
Thus I not understand if is an bug in Nvidia driver reporting wrong gpu usage because in others softwares gpu usage 100 % temperature goes above 60c and about that topic cpu power performance gpu usage being 100 % temperature is below of 50c.
Have anything wrong.
Thus I want report to DXVK creator about it.
I have tested loading Ultimate Doom in OpenGL and Vulkan modes both reporting gpu usage below of 50 % in cpu performance mode.
DXVK wasting gpu usage in Virtual Pinball D3D9 or Nvidia X Server bug ?
"Frame rate limit" is to be configured in Linux environment or in WINE ?

Either way there's nothing we can do here.

@YellowOnion
Thanks very much !
The solution was
DXVK_FRAME_RATE=60 wine VPinballX.exe
Now using cpu governor performance the gpu usage is 25 %.
Not more wasting gpu usage.
Visual Pinball render graphics (ball, lights effects and other objects) above table background.
Not is possible in DXVK next version any internall default setting to avoid that type of problem ?
The file has 2 logs both cpu governor performance.
VPinballX_d3d9-1 = gpu usage 100 %
VPinballX_d3d9-2 = gpu usage 25 % (frame rate limiter)
VPinballX_d3d9log.zip

@Augusto7743 Glad you got something you are happy with.
Am i understanding you correctly that there are graphical artifacts in the game if you don't limit the fps?

@Blisto91
Hello. all right with you ?
Visual Pinball exactly with same speed and not graphics glitches enabled or disable frame limiter.
Is how if not using frame limiter DXVK or other component are waasting gpu usage with unnecessary tasks.

I'm alright hehe, hope you are too.
Okay understood 👍


Decorator metadata breaking change between TS 2.3.4 -> 2.4.0

I couldn't find any documentation on this breaking change between TS 2.3.4 and TS 2.4.0.
I'm not sure whether this is a bug or simply an undocumented change. I suspect the latter--in which case my suggestion is to add documentation regarding that change.
TypeScript Version:  >= 2.4.0
Ran tsc with flags --experimentalDecorators --emitDecoratorMetadata.
Using reflect-metadata v0.1.10
Code
import 'reflect-metadata'

const dec = (obj: {}, prop: string) => undefined

class Foo {
  @dec public foo: string | null // seems to happen with any complex type
  @dec public bar: string
}

console.log(Reflect.getMetadata('design:type', Foo.prototype, 'foo'))
console.log(Reflect.getMetadata('design:type', Foo.prototype, 'bar'))

Expected behavior:
output in 2.3.4:
[Function: String]
[Function: String]

Actual behavior:
output in 2.4.0:
[Function: Object]
[Function: String]

Related to #9916 but different because #9916 is a feature request while this is a request to change back to previous behavior, or at least document the breaking change. Is there test coverage in the TS project for metadata like this?

Running git tag --contains 0eaa8eb3ab9ad1db8cf95c51d8e02c9d65ee40cf reports v2.4-rc, v2.4.0, v2.4.1, v2.4.2, v2.5-rc, v2.5.0, v2.5.1, and v2.5.2 as the tags containing the commit.

Hmmm. Using the current TS 2.8.3 and still see this issue. Can someone confirm this?

Do you have strictNullChecks on?

Yes.
BTW, this works: @myDec() public PropN?: boolean;
The following doesn't work:
@myDec() public PropN: boolean | undefined;
or
@myDec() public PropN: boolean | null = null;

Yeah, if you read the linked fix PR - #19089 - this is the expected behavior under strictNullChecks, as a number | undefined isn't just a Number - it's a Number or undefined (which there's no corresponding way to emit metadata for). We don't emit metadata for nonhomogenous unions, as decorator metadata is syntactic, and emit the base Object instead.

Okay, this was a misunderstanding. I thought this also concerns strict checking. Thanks for clarification.

We have no plans to implement a full run-time type serialization system akin to reflection C# or Java (more in https://github.com/Microsoft/TypeScript/issues/3628). The meta-data emit, continues to be an experimental feature tied to decorators, and has a very limited scope (i.e. classes and primitives). we have no plans to expand that scope either.

@mhegazy Thanks for clarification.


Update Manage Assistants page

As per here
Changes including (but check figma for others)

The view shows Company assistants but also Shared and Personal
It allows edition of the gallery
Search is on all published assistants

Note: the Archived tab is out of scope of this card (other card)
Depends on #3265

Full figma (source of truth)
Full issue

Even clearer specs via the prototype

The Activity Sentence
When we want to explain how much an assistant is used, we use the activity sentence:
"This assistant is active for X members, has sent Y messages in the last 30 days."

Active for X members means that is in the my assistant list of X members. If it's a shared assistant it means how many people have added it to there list. If it's a company assistant, it means all the members.
Messages is the number of posted messages by the assistant (not number of threads)

Note: the "Personal" tab has been discussed, convenience path for builders to update their assistants (cf the issue)

Note: also cf issue => 'shared' tab uses asisstant preview component, other tabs use lists, as per figma

@philipperolet what part are we missing from https://github.com/dust-tt/dust/issues/3265 to start this issue?

cf our slack discussion -> it's the same as #3274 , the dependency is product only. The task can be started, but should not be merged before #3265


Adding an AUTHORS.md

I notice that while Github shows there have been 185 contributors to express over it's lifetime, there's no AUTHORS.md file crediting those users. I believe it would be worthwhile adding that in.
/cc @ritch @tunniclm

@jasnell What about this?

That's good but a separate AUTHORS.md type file is a nice touch. Not a
critical issue but may be worthwhile
On Jan 17, 2016 8:22 AM, "Leonard Lamprecht"<EMAIL_ADDRESS>wrote:

@jasnell https://github.com/jasnell What about this
https://github.com/strongloop/express/graphs/contributors?
—
Reply to this email directly or view it on GitHub
https://github.com/strongloop/express/issues/2852#issuecomment-172346795
.

I can knock one of these up pretty quick, should be a simple script.

I've opened this pull request #2860 to add an AUTHORS file and an update script (based on the node.js one -- I have updated the LICENSE to provide the appropriate attribution).

What's the point of this? Can't people just look though git?

Sure... as I said it's not critical. That said, the AUTHORS file in node core serves a useful purpose (see @rvagg's pr-metadata tool) that I'd eventually like to see duplicated here. It's certainly not a critical issue by any stretch, however.

I'm not convinced it's worth the added maintenance, and if the idea is to get people listed for contributing, it may cause issues where people wanted to contribute to Express.js, the code they wanted to change wasn't contained in this repository, and they wanted to be in this AUTHORS file.

the AUTHORS file in node core serves a useful purpose

Can you elaborate on what the specific useful purpose is? or perhaps add a link to that tool?

@dougwilson https://github.com/rvagg/iojs-tools/tree/master/pr-metadata

@Fishrock123 cool. Where does it use the AUTHORS file? Doesn't seem clear to me how it relates to AUTHORS.

the pr-metadata tool looks through the PR comments for LGTM comments by Collaborators then goes to the AUTHORS file to grab their full name and email address to generate the Reviewed-By: Name <email> lines that we add to every commit. It uses the AUTHORS file as the authoritative source for that since not everyone has their full names or email addresses up to date in their github profiles. We try as hard as we can to keep the authors file up to date. In this case, that may be overkill :-) I did say right at the beginning that this wasn't critical ;-)

Gotcha. You know, why not use a .mailmap file instead, which has the bonus effect of integrating with git, normalizing names automatically?

works for me.

pr-metadata actually uses the collaborators list in the README, not AUTHORS. I use .mailmap in https://github.com/rvagg/new-contributors here though and I've been considering switching pr-metadata to that approach so it works just as well on other projects.

OK well there you go. Thank you for the correction @rvagg :). I repeat, I
did say this one was minor ;)
On Feb 10, 2016 10:15 PM, "Rod Vagg"<EMAIL_ADDRESS>wrote:

pr-metadata actually uses the collaborators list in the README, not
AUTHORS. I use .mailmap in https://github.com/rvagg/new-contributors here
though and I've been considering switching pr-metadata to that approach
so it works just as well on other projects.
—
Reply to this email directly or view it on GitHub
https://github.com/expressjs/express/issues/2852#issuecomment-182733451.

And yes, let's do the mailmap thing. That one was new to me but looking at
it further it definitely seems like a much better way to go
On Feb 10, 2016 10:21 PM, "James M Snell"<EMAIL_ADDRESS>wrote:

OK well there you go. Thank you for the correction @rvagg :). I repeat, I
did say this one was minor ;)
On Feb 10, 2016 10:15 PM, "Rod Vagg"<EMAIL_ADDRESS>wrote:

pr-metadata actually uses the collaborators list in the README, not
AUTHORS. I use .mailmap in https://github.com/rvagg/new-contributors
here though and I've been considering switching pr-metadata to that
approach so it works just as well on other projects.
—
Reply to this email directly or view it on GitHub
https://github.com/expressjs/express/issues/2852#issuecomment-182733451
.

It seems like this is not needed, so I'm going to close it out. :smile:


[WIP] PHPStan integration (task #7726)

PHPStan configuration, tweaks, and fixes.

Codecov Report

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

@@            Coverage Diff            @@
##             master     #665   +/-   ##
=========================================
  Coverage     30.95%   30.95%
  Complexity     1189     1189
=========================================
  Files           105      105
  Lines          4028     4028
=========================================
  Hits           1247     1247
  Misses         2781     2781

Impacted Files
Coverage Δ
Complexity Δ

src/SystemInfo/Php.php
100% <ø> (ø)
13 <0> (ø)
:arrow_down:

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 f785f20...b2b6777. Read the comment docs.


Use BrowserStorage to remember advanced search state

If you click on an Object in the advanced search page, you are taken away to that object's page. If you go back to the advanced search page, the settings are all reset to defaults.
Let's make it so the settings of the advanced search are stored in browser storage, and also put a "Reset Search" button to reset to the defaults.

This is done, but we're going to make a new issue for remembering the sorting state


fix: use uri for search

Summary
It's conventional to use a uri for searching
Details
It also makes the code cleaner as it do not have to guard against a search everywhere.
Technically a breaking change as someone could have saved a search as a bookmark, or done other things that assumes the search location. However, I don't think that's worth taking into consideration.

Hi @Jerakin
I finally found some time to check your PRs. This change is indeed much cleaner. Thanks!


Support  ManagePackageVersionsCentrally

when ManagePackageVersionsCentrally is True ,Will never stop adding Microsoft. CodeAnalysis. CSharp package

Since I just removed the reference, this should not be needed anymore.


the service status of the loadbalancer type is incorrectly calculated

What type of PR is this?
/kind bug
What this PR does / why we need it:
When calculating the status of a loadbalancer service, it returns InProgress, but my service is Ready. the reason is function isEmpty returns false.
isEmpty(service.Spec.ClusterIP)

But, If the service type is loadBalancer, the clusterIP should not be empty, this pr fix it
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

/cc @michelleN @pwittrock

/assign @michelleN

/cc @janetkuo

/lgtm


Use a vanilla string

Removes one string from the file, using a vanilla string instead.

Yeah, for some reason, IntelliJ doesn't like to run this. However, you can select build from the Gradle tab, and run it in a separate client, which is what I do. If you need to debug, you can use the Remote JVM launch type.


Document the "review" label process used by TSC

Closing this since the process has recently been superceded.


Feature/conference

Add talks, seminars, podcasts, etc.

Can we add Computer Vision and Machine Learning conferences?
My suggestions:
(listed according to rating on Google Scholar)
Conferences:
IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)
Neural Information Processing Systems (NeurIPS)
International Conference on Learning Representations (ICLR)
European Conference on Computer Vision (ECCV) (even year) / IEEE/CVF International Conference on Computer Vision (ICCV) (odd year)
International Conference on Machine Learning (ICML)
British Machine Vision Conference (BMVC)
Workshop on Applications of Computer Vision (WACV)
Journals:
IEEE Transactions on Pattern Analysis and Machine Intelligence
IEEE Transactions on Image Processing

@akshaykvnit Can you please give a brief description for each?

I have updated the previous comment, however, I don't know much about the journals.

@akshaykvnit can we separate cv from ml conferences?

@akshaykvnit can we separate cv from ml conferences?

@SharathRaparthy yes, we can create separate sections for robotics, CV, ML, RL, etc. @rohant4255 if this is okay, I'll make those edits.

Include the following conferences as well.

Conference on Robot Learning:  This conference focusses on learning-based methods for robots.
Conference on learning theory (CoLT): Pure theoretical machine learning conference
Reinforcement Learning and Decision Making (RLDM): This is the only conference dedicated to pure RL.
AAAI Conference: Covers wide variety of topics in AI.
AAMAS: Famous conference for multi-agent systems
AISTATS: Theoretical conference for statistics and machine learning

Sure, this sounds good to me.

Also, please make sure you follow the format:
Full Conference Name (Acronym): Description

@SharathRaparthy Just check once.

@akshaykvnit this looks good. In journals, just add Journal of Machine Learning (JMLR)

Can you add it? You can edit the file actually. Also ICML papers are published at JMLR (so maybe mention that).

Sure. Makes sense. Go ahead and merge. I'll add later once I am free


FileNotFoundError when building on Windows

When building the exmaple on Windows,  FileNotFoundError occured.
(pybinary) ➜  merak git:(master) merak cythonize examples/foo foo-build
Traceback (most recent call last):
  File "c:\anaconda3\envs\pybinary\lib\shutil.py", line 791, in move
    os.rename(src, real_dst)
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'C:\\Users\\tm42h7\\AppData\\Local\\Temp\\tmprmcrvgn4\\foo\\bar\\baz.py' -> 'C:\\Users\\tm42h7\\AppData\\Local\\Temp\\tmprmcrvgn4\\foo\\bar\\___bar\\baz.py'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\anaconda3\envs\pybinary\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\anaconda3\envs\pybinary\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Anaconda3\envs\pybinary\Scripts\merak.exe\__main__.py", line 7, in <module>
  File "c:\anaconda3\envs\pybinary\lib\site-packages\merak\main.py", line 34, in main
    app.run()
  File "c:\anaconda3\envs\pybinary\lib\site-packages\cement\core\foundation.py", line 916, in run
    return_val = self.controller._dispatch()
  File "c:\anaconda3\envs\pybinary\lib\site-packages\cement\ext\ext_argparse.py", line 808, in _dispatch
    return func()
  File "c:\anaconda3\envs\pybinary\lib\site-packages\merak\commands\cythonize.py", line 57, in __call__
    success = cybuild.build_package_cython_extension(
  File "c:\anaconda3\envs\pybinary\lib\site-packages\merak\core\cybuild.py", line 59, in build_package_cython_extension
    mods, sub_pkgs = _restructure_package(tmp_proot, sep=sep)
  File "c:\anaconda3\envs\pybinary\lib\site-packages\merak\core\cybuild.py", line 179, in _restructure_package
    project.do(rename_cs)
  File "c:\anaconda3\envs\pybinary\lib\site-packages\rope\base\project.py", line 113, in do
    self.history.do(changes, task_handle=task_handle)
  File "c:\anaconda3\envs\pybinary\lib\site-packages\rope\base\history.py", line 36, in do
    changes.do(change.create_job_set(task_handle, changes))
  File "c:\anaconda3\envs\pybinary\lib\site-packages\rope\base\change.py", line 65, in do
    change.do(job_set)
  File "c:\anaconda3\envs\pybinary\lib\site-packages\rope\base\change.py", line 126, in call
    function(self)
  File "c:\anaconda3\envs\pybinary\lib\site-packages\rope\base\change.py", line 201, in do
    self._operations.move(self.resource, self.new_resource)
  File "c:\anaconda3\envs\pybinary\lib\site-packages\rope\base\change.py", line 339, in move
    fscommands.move(resource.real_path, new_resource.real_path)
  File "c:\anaconda3\envs\pybinary\lib\site-packages\rope\base\fscommands.py", line 45, in move
    shutil.move(path, new_location)
  File "c:\anaconda3\envs\pybinary\lib\shutil.py", line 811, in move
    copy_function(src, real_dst)
  File "c:\anaconda3\envs\pybinary\lib\shutil.py", line 435, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "c:\anaconda3\envs\pybinary\lib\shutil.py", line 264, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\tm42h7\\AppData\\Local\\Temp\\tmprmcrvgn4\\foo\\bar\\___bar\\baz.py'

My  environment is:
(pybinary) ➜  merak git:(master) conda list
# packages in environment at C:\Anaconda3\envs\pybinary:
#
# Name                    Version                   Build  Channel
ca-certificates           2021.7.5             haa95532_1
cement                    3.0.4                    pypi_0    pypi
certifi                   2021.5.30        py38haa95532_0
colorama                  0.4.4                    pypi_0    pypi
colorlog                  4.8.0                    pypi_0    pypi
cython                    0.29.24                  pypi_0    pypi
merak                     0.2.3                    pypi_0    pypi
openssl                   1.1.1k               h2bbff1b_0
pip                       21.1.3           py38haa95532_0
python                    3.8.10               hdbf39b2_7
rope                      0.19.0                   pypi_0    pypi
setuptools                51.3.3                   pypi_0    pypi
sqlite                    3.36.0               h2bbff1b_0
vc                        14.2                 h21ff451_1
vs2015_runtime            14.27.29016          h5e58377_2
wheel                     0.36.2             pyhd3eb1b0_0
wincertstore              0.2                      py38_0

I haven't tried that in Windows yet. I'll get back to you soon

The target path seems to have some problem in Windows. I'll take a look at this weekend

Turns out rope uses / as path separator which does NOT depend on the environment. I've corrected the file restructuring behavior. Please update to v0.2.4 and try again.

After updating merak to v0.2.4, there was a link error.
(pybinary) ➜  merak git:(master) ✗ merak cythonize examples/foo foo-build -v
2021-07-29 00:21:37,245 (INFO) merak.commands.cythonize : Building binary package ...
2021-07-29 00:21:37,247 (INFO) merak.core.cybuild : 1. Copying package to temporary directory ...
2021-07-29 00:21:37,251 (INFO) merak.core.cybuild : 2. Restructuring package ...
2021-07-29 00:21:37,251 (INFO) merak.core.cybuild : 2.1. Restructuring Python modules ...
2021-07-29 00:21:37,295 (INFO) merak.core.cybuild : 2.1. Done!
2021-07-29 00:21:37,295 (INFO) merak.core.cybuild : 2.2. Injecting finder to main `__init__` ...
2021-07-29 00:21:37,296 (INFO) merak.core.cybuild : 2.2. Done!
2021-07-29 00:21:37,296 (INFO) merak.core.cybuild : 3. Adding Cython setup file ...
2021-07-29 00:21:37,300 (INFO) merak.core.cybuild : 3. Done!
2021-07-29 00:21:37,300 (INFO) merak.core.cybuild : 4. Compiling package binary ...
2021-07-29 00:21:40,061 (ERROR) merak.utils.subproc : error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30037\\bin\\HostX86\\x64\\link.exe' failed with exit status 1104
2021-07-29 00:21:40,097 (ERROR) merak.core.cybuild : Failed to compile package!

I found a solution from how-to-compile-init-py-file-using-cython-on-windows.

Ops! ImportError occured when trying to import foo.
>>> import foo
<stdin>:1: DeprecationWarning: Deprecated since Python 3.4. Use importlib.util.find_spec() instead.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "foo\__init__.py", line 88, in init foo.__init__
  File "foo\___bar.py", line 5, in init foo.___bar
ImportError: cannot import name ___bar_baz

I checked the pyd file and found there was no PyInit___bar_baz.
(pybinary) C:\Users\tm42h7\Desktop\debug\merak\foo-build\foo>dumpbin /EXPORTS __init__.cp38-win_amd64.pyd
Microsoft (R) COFF/PE Dumper Version 14.16.27045.0
Copyright (C) Microsoft Corporation.  All rights reserved.

Dump of file __init__.cp38-win_amd64.pyd

File Type: DLL

  Section contains the following exports for __init__.cp38-win_amd64.pyd

    00000000 characteristics
    FFFFFFFF time date stamp
        0.00 version
           1 ordinal base
           2 number of functions
           2 number of names

    ordinal hint RVA      name

          1    0 0000DF80 PyInit____bar
          2    1 00005E60 PyInit_foo

  Summary

        4000 .data
        1000 .pdata
        3000 .rdata
        1000 .reloc
        1000 .rsrc
        E000 .text

Merged #5 . Please update to v0.2.5 for the changes.

Ok, it works fine.


Scale mapit up from 8 to 12 instances

The architecture of mapit is different from that of other GOV.UK apps
and more work is needed to scale it up and spin up more instances. This
includes making these terraform changes and then going through the docs
on how to Fix Mapit database not available:

https://docs.publishing.service.gov.uk/manual/mapit-database-not-available.html

This would be the right time to refactor and DRY this up but,
unfortunately, a time-sensitive constraint means there's no time for
it today.
Inspired by:

https://github.com/alphagov/govuk-aws/pull/1351
https://github.com/alphagov/govuk-aws/pull/1353

I think you'll need a corresponding PR in govuk-aws-data like this one:
https://github.com/alphagov/govuk-aws-data/pull/785

Thanks @richardTowers, I updated the PR description.


Disable terraform's checkpoint procedure

What is being addressed
After confirming the fix to disable Terraform's checkpoint mechanisem works well in the TRE, this PR expands it to all bundles.
It also removes the providers folder created by the init command as those are anyway mirrored to a separate folder.

/test-extended

/test-extended

/test-extended

/test-extended

/test-extended

/test-force-approve
tests have passed but ui upload failed for a weird reason so decided to merge anyway


What are the extra features & Support provided by Infer compared to Clang

Could you please let me know what are the extra features & support provided by Infer compared to Clang. When I run Analyzer option available in Xcode tool, its listing all the possible leaks. The same output I am getting if I run Infer. Please provide the details on the same.
Thanks in advance!

Hi @sulthana. Do you get the same list of leaks with both tools ?

Hi @jeremydubreil, When I tested I am getting the same list of leaks with both Xcode Analyze option and Infer. This is where I got a doubt that when Apple itself is poviding options in its IDE, Why are we going for Infer? Even in Infer FAQ page, I have seen like "On iOS there is the Clang Static analyzer. Infer does some things different, in particular reasoning that spans across multiple files. But CSA checks for more kinds of issues and is also more mature than Infer when it comes to iOS" Please provide details on the same with the extra fetures that are povided by Infer compared to Clang.
Thanks!

Infer and CSA are two different tools that check for errors in very different ways. It's hard to compare precisely, but you can find more details in the documentation about Infer error types for C and Objective-C.


Pls Make It The a Change To Default

title says it all

You can look here for an (unsupported) method of setting Files as default
https://files-community.github.io/docs/#/articles/replace-file-explorer

You can look here for an (unsupported) method of setting Files as default
https://files-community.github.io/docs/#/articles/replace-file-explorer


Not work on mtk6735(arm64)

CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/bash": cannot locate symbol "SSL_session_reused" referenced by "/system/lib64/libmtk_symbols.so"...                                             Aborted

Does tsu -p works?

Oh, sorry.
It's works. Thanks


octopus: 8.1 -> 8.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/octopus/versions.
meta.description for octopus is: '"Real-space time dependent density-functional theory code"'.

Checks done (click to expand)

built on NixOS
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-atomic_occupations passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-run_periodic_table passed the binary check.
Warning: no invocation of /nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-display_partitions had a zero exit code or showed the expected version
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-run_regression_test.pl passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-run_testsuite.sh passed the binary check.
Warning: no invocation of /nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-analyze_projections had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-vdW_c6 had a zero exit code or showed the expected version
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-check_deallocs passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/octopus passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-test passed the binary check.
Warning: no invocation of /nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/octopus_mpi had a zero exit code or showed the expected version
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-propagation_spectrum passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-harmonic-spectrum passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-casida_spectrum passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-vibrational_spectrum passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-infrared_spectrum passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-xyz-anim passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-center-geom passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-help passed the binary check.
Warning: no invocation of /nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-oscillator-strength had a zero exit code or showed the expected version
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-dielectric-function passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-photoelectron_spectrum passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-convert passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-local_multipoles passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-conductivity passed the binary check.
/nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2/bin/oct-floquet passed the binary check.
21 of 26 passed binary check by having a zero exit code.
0 of 26 passed binary check by having the new version present in output.
found 8.2 with grep in /nix/store/zx7ng9akg6ksb5qh4cvsvcrjwnnd24lr-octopus-8.2
directory tree listing: https://gist.github.com/5914f648a5cb9d7f0fe8a0cb07fa2480
du listing: https://gist.github.com/f71582143120d69c7cc5841f01317b09

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout ae846c0c034f622f9634cec5237001c2c5ac4217 && nix-shell --pure -I nixpkgs=. -p octopus

cc @markuskowa for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: octopus
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: octopus
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

OK


Cloud Spanner: Fix samples that transfer money between albums

The writeWithTransactionUsingDml method moved $200,000 from Album1 to Album2. However, Album1 is initialized with a budget of $100,000. As a result, you couldn't work through the getting started doc from start to finish.
Also, there were some unnecessary inconsistencies between writeWithTransaction and writeWithTransactionUsingDml, and neither method explicitly compared the transfer amount with the source album's existing balance.
I changed the methods so they both transfer $200,000 from Album2 to Album1. I also added explicit checks against the existing balance, and I updated the tests as needed.
(This is an updated version of #1432. @jsimonweb, PTAL.)

@jsimonweb PTAL


Moved to es6. Added eslint

Why not? :smile:
In the process it was found a few errors, caused by the loss bind(this)

Now it is not the priority, maybe after a new release


linter: enable staticcheck

Closes #391

Codecov Report

Merging #431 into master will decrease coverage by 0.07%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master     #431      +/-   ##
==========================================
- Coverage   58.65%   58.58%   -0.08%
==========================================
  Files          26       26
  Lines        2259     2260       +1
==========================================
- Hits         1325     1324       -1
- Misses        881      882       +1
- Partials       53       54       +1

Impacted Files
Coverage Δ

pkg/deviceplugin/api.go
34.78% <ø> (ø)

pkg/deviceplugin/server.go
85.35% <83.33%> (-1.19%)
:arrow_down:

cmd/qat_plugin/kerneldrv/kerneldrv.go
75.00% <100.00%> (ø)

pkg/topology/topology.go
65.77% <100.00%> (ø)

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 e3f29e0...2f354c4. Read the comment docs.


minor refactoring

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

Thats a lot of changes. Great work however i am not sure weather this changes will be accepted or not. If these changes are to be merged then let me know. I can help review bit by bit.


Docker Tensorflow GPU 5x times slower than TF CPU

I installed "tensorflow/tensorflow:nightly-gpu-py3" (at this moment 9 days old) docker image on my Ubuntu 18.04 with nvidia-driver-435, 8gb RAM, i5-8265U and mx110 video card.
I executed the following code https://github.com/vadimen/algorithms/blob/master/code2.py . It's running mobileNet SSD from tensorflow examples. It's processing a video.
The code is writing in console the time(FPS) it need for inference. Executed on CPU on local machine it's 5x times faster than on GPU.
Output is as follows:
2020-02-29 20:09:18.544335: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
2020-02-29 20:09:18.552675: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-02-29 20:09:18.553295: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1558] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce MX110 computeCapability: 5.0
coreClock: 1.006GHz coreCount: 2 deviceMemorySize: 1.96GiB deviceMemoryBandwidth: 37.33GiB/s
2020-02-29 20:09:18.554196: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1
2020-02-29 20:09:18.576049: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
2020-02-29 20:09:18.587918: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10
2020-02-29 20:09:18.590462: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10
2020-02-29 20:09:18.613041: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10
2020-02-29 20:09:18.616945: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10
2020-02-29 20:09:18.661350: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2020-02-29 20:09:18.661573: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-02-29 20:09:18.662435: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-02-29 20:09:18.663145: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1700] Adding visible gpu devices: 0
2020-02-29 20:09:20.104462: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2020-02-29 20:09:20.130370: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency:<PHONE_NUMBER> Hz
2020-02-29 20:09:20.130765: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4bf61c0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-02-29 20:09:20.130803: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-02-29 20:09:20.168110: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-02-29 20:09:20.168450: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4b85270 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2020-02-29 20:09:20.168467: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): GeForce MX110, Compute Capability 5.0
2020-02-29 20:09:20.169053: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-02-29 20:09:20.169287: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1558] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce MX110 computeCapability: 5.0
coreClock: 1.006GHz coreCount: 2 deviceMemorySize: 1.96GiB deviceMemoryBandwidth: 37.33GiB/s
2020-02-29 20:09:20.169336: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1
2020-02-29 20:09:20.169350: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
2020-02-29 20:09:20.169364: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10
2020-02-29 20:09:20.169379: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10
2020-02-29 20:09:20.169394: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10
2020-02-29 20:09:20.169414: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10
2020-02-29 20:09:20.169432: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2020-02-29 20:09:20.169502: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-02-29 20:09:20.169752: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-02-29 20:09:20.170089: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1700] Adding visible gpu devices: 0
2020-02-29 20:09:20.170405: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1
2020-02-29 20:09:20.171326: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1099] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-02-29 20:09:20.171339: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1105]      0
2020-02-29 20:09:20.171345: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1118] 0:   N
2020-02-29 20:09:20.171411: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-02-29 20:09:20.171657: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-02-29 20:09:20.171889: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1244] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1024 MB memory) -> physical GPU (device: 0, name: GeForce MX110, pci bus id: 0000:01:00.0, compute capability: 5.0)
{'detection_classes': TensorShape([None, 100]), 'num_detections': TensorShape([None]), 'detection_boxes': TensorShape([None, 100, 4]), 'detection_scores': TensorShape([None, 100])}
2020-02-29 20:10:47.947871: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2020-02-29 20:10:49.042241: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
2020-02-29 20:10:49.351873: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.04GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-02-29 20:10:49.389878: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.04GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-02-29 20:10:49.427350: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-02-29 20:10:49.463571: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.05GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-02-29 20:10:49.502225: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-02-29 20:10:49.539195: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.08GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-02-29 20:10:49.577960: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-02-29 20:10:49.627041: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-02-29 20:10:49.706667: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.14GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
2020-02-29 20:10:49.761623: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.27GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available.
I think it's because of not enough memory, my mx110 card has 2GB of memory but output says it's all used.
I tried to limit memory with this but it's still using everything.
`gpus = tf.config.experimental.list_physical_devices('GPU')
tf.config.experimental.set_virtual_device_configuration(gpus[0], [tf.config.experimental.VirtualDeviceConfiguration(memory_limit=1024)])`

Can you try using TensorBoard to gather a profile and see if something sticks out?
The memory usage is likely a red herring:

By default TF allocates all of the memory on the GPU on startup.  You can change this.
Even if we tell TF to allocate GPU memory incrementally, autotuning in TF will usually try to allocate large amounts of scratch memory so that it can run faster convolutions.

@vadimen,
Sorry for the delayed response. Can you please confirm if the issue still persists? If so, can you please respond to the above comment? Thanks!


updateinfo.xml: fix duplicate description for each update

Each update only needs the description once.
Fixes: https://github.com/resf/distro-tools/issues/32
NOTE: this is 100% completely untested.
The description is being added down further https://github.com/resf/distro-tools/blob/main/apollo/server/routes/api_updateinfo.py#L125 and it seems to make sense to have it next to the summary... but ordering does not matter in the updateinfo xml.

Oops yeah, the duplicate description is definitely a bug. Not sure how I didn't catch it until now, yikes.
Thank you!


NPM package not found

npm package cannot be found when running npm install --save @panzoom/panzoom

Thanks for opening an issue! There's a note at the top of the README, although not very large, that this library is in flux and is currently being rewritten. The package will be available under the new name when the rewrite is done and released. For now, you can use the master branch as most features are available, but the release should be ready soon™.


Made Smooch "Standard" RN Libraries

Worth checking RNPM for even easier integration, might work out of the box already.

Any news about reviewing this PR?

Sorry it took so long to get back to you.
I'll take a look at this PR and the issues in this repo in the coming weeks.


Building for Android

Hi! Thanks for the great lib.
With respect to building for android im building using:
$ mkdir build-android
$ cd build-android
$ export NDK=<your_ndk_directory>
$ cmake -DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=android-23 -DCMAKE_C_FLAGS=-march=armv8.4a+dotprod ..
$ make
And the libllama.so file is successfully loading, however the model file isn't loading from the assets/models/<model_name>.gguf file
I've tested with linux build and the model successfully loads
Do you know if its a problem with how I am building the .so file for android or is it perhaps the location of my model needs to be different on android?
I'd appreciate any pointers in the right direction

Yes, you should extract model from assets to local directory, then load it from there
https://github.com/netdur/llama_cpp_dart/blob/main/example/main.dart#L55

Okay thank you,
how are you loading the initial model? as there seems to be a cap on the filesize, im getting the error:
 Dart Error: NewExternalTypedData expects argument 'length' to be in the range [0..1073741823].

Are you downloading the model from a remote host then transferring?


High CPU usage and slow response

Hi,
I was trying to run pyvim on a arm machine with 512 RAM, and I noticed that it is taking too much time. It takes around 8 seconds for it to even start and CPU usage reaches 80-90%. Also when I start typing then again CPU usage reaches 60-90 %.
Is there any reason for this?
Can this be fixed?

Hi @tibabit,
Yes, pyvim does a lot of string operations, both during text editing as during the rendering of the UI.   For ptpython or IPython this isn't that noticable, because the screen area is usually much smaller, but for pyvim this can become noticable on slower systems. Especially an arm machine.
I wanted prompt_toolkit to remain pure Python (without C extensions) if feasible, and so far it worked really well (there are already a crazy amount of optimizations to make it as fast as possible). Writing parts in C would speed things up significantly, but it's not that trivial. Not to maintain, and more difficult to distribute.
I guess I need to to more profiling on my raspberry. At this point there is no obvious solution. Maybe you can try to use Pypy instead of CPython. I guess the startup time won't change, but it could become a lot faster after a short while.

@jonathanslenders thanks


fix: hexadecimal typo

This file comes from https://github.com/nemequ/munit. But thank you anyway 😁


Contributor links broken within Q&A

When I'm reading a response to a question and click on the contributor to see their profile, the link doesn't work.

It looks like Charlie fixed this issue in an un-pushed version of the forums.


Use original username to unlock computer

Hello,
In the latest pGina stable version (<IP_ADDRESS>, not fork version) after login with LDAP user, redirecting it to a local user with the Single User Login plugin,  with "General > Unlock > Use original username to unlock computer (Windows 7 and later)" option it was possible to unlock computer with the LDAP user logged password. In the pGina fork this is not possible. Trying to unlock, pGina reports an error of user unknown or incorrect password and it's not possible to unlock session.
Would it be possible to make this option work properly in pGina fork?
Thank you.

i need a log file

Hi, this is my log file.
pGina.Service.ServiceHost_log.txt

I've found the code of problem
but im working on another part of pgina
Ill fix it as soon as possible ...

Thank you, I appreciate your help.

fixed
https://github.com/MutonUfoAI/pgina/releases

It seems to work, but now unlocks the session even if the password is incorrect.
I attached my log file.
pGina.Service.ServiceHost_log.txt

Thank you for your work, now it works fine!


Add all unit's children recursively for doc.extern-map option

Fixes https://github.com/rust-lang/rust/issues/120993.
It allows to fix link generation of reexport of foreign items when deps documentation is not generated. Sometimes, we need to have information about not only direct dependencies but also of dependencies of these direct dependencies and so on.

Nice, there were already tests for this with a comment in both mentioning that it was currently broken. Well, seems like everything's fixed now. Yeay \o/

@bors r+

:pushpin: Commit e4b0aaabfa1d095072783a25c4724e92c657852b has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit e4b0aaabfa1d095072783a25c4724e92c657852b with merge c21dd51b0f8f50aaebce12fe9b717d35a817f80e...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing c21dd51b0f8f50aaebce12fe9b717d35a817f80e to master...

Yes it's primarily meant for docs.rs. Sorry, should have precised that. Thanks for the review!


Convert openapi request to dial format

New feature: conversion of the openapi request to dial old format to support both request types

Hey there and thank you for opening this pull request! 👋🏼
We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted.
Details:
No release type found in pull request title "Convert openapi request to dial format". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - fix
 - hotfix
 - feat
 - feature
 - chore

Hi @AliakseiBuhakou,
Could you please the PR to an issue to be reported in DIAL Core project?
If the issue doesn't exist please create it.

@sdryapko
Should the feature be planned and included into the current milestone?
I don't remember we discussed that on meetings.

Hi @AliakseiBuhakou,
Could you please link the PR to an issue to be reported in DIAL Core project?
If the issue doesn't exist please create it.

Unfortunately, I don't have access to it.

Hi @AliakseiBuhakou,
Could you please link the PR to an issue to be reported in DIAL Core project?
If the issue doesn't exist please create it.

Unfortunately, I don't have access to it.

@sdryapko
Please give access @AliakseiBuhakou to report an issue to DIAL Core project.


Toggle blocks are broken in tournament pages

Current behavior

Toggle blocks are broken in tournament pages

Expected/desired behavior
(everything in "structure" should be a closed by default toggle)

:confetti_ball:


(3.0.69) Jadeite process crashes shortly after closing debugger ...

************************** Dolphin Crash Dump Report ***************************
11:05:46 AM, 5/18/2019: Jadeite.exe caused an unhandled Win32 Exception C0000005
at 004121E5 in module 00400000 (C:\Users\dhenrich\Oscar-3.0.69\Jadeite.exe)
----> Exception Parameters <----
00000001
0241FFFC
----> CPU Context for thread 0x12f8 <----
EAX = 02420000 EBX = 02630390 ECX = FFFFFFFF
ESI = 02846980 EDI = 02846980 EIP = 004121E5
ESP = 0019F6A8 EBP = 0019F6C4 EFL = 00010246
CS = 0023 SS = 002B DS = 002B
ES = 002B FS = 0053 GS = 002B
----> VM Context <----
Process: {80080210:size 536330277 words, suspended frame 7FE7028D, priority 3, callbacks 0
last failure 0:nil, FP control 80017, thread 00000000}
Active Method: Process>>primTerminate
IP: 023D50C0 (0)
SP: 7FE702B4
BP: 7FE7028C (-540656)
ActiveFrame: {7FE7028C: cf 02846700, sp 00000000, bp 7FE7028C, ip 0, Process>>primTerminate}
receiver: a Process(RowanDebugger>>onIdleEntered base 7FE70000 in Process>>shutdown sp=7FE70288 ip=15 list=02620010)
New Method: Process>>primTerminate
Message Selector: primTerminate
----> Stack Back Trace <----
{7FE7028C: cf 02846700, sp 00000000, bp 7FE7028C, ip 0, Process>>primTerminate}
receiver: a Process(RowanDebugger>>onIdleEntered base 7FE70000 in Process>>shutdown sp=7FE70288 ip=15 list=02620010)
***Unable to generate complete exception report (c0000005)
***** End of crash report *****

Another mysterious crash ... not specifically related to debugger (logging showed that method browser closed last)  ... but it felt the same to me ... waving mouse around thinking about where to go next and Jadeite disappears:
********************************************************************************
************************** Dolphin Crash Dump Report ***************************

14:55:02 PM, 5/30/2019: Jadeite.exe caused an unhandled Win32 Exception C0000005
at 004121E5 in module 00400000 (C:\Users\dhenrich\Oscar-3.0.70\Jadeite.exe)

*----> Exception Parameters <----*
00000001
021AFFFC

*----> CPU Context for thread 0x187c <----*
EAX = 021B0000 EBX = 02500390 ECX = FFFFFFFF
ESI = 0265E880 EDI = 0265E880 EIP = 004121E5
ESP = 0019F368 EBP = 0019F384 EFL = 00010246
CS = 0023 SS = 002B DS = 002B
ES = 002B FS = 0053 GS = 002B

*----> VM Context <----*
Process: {80080210:size 244220028 words, suspended frame 3A4203E9, priority 3, callbacks 0
last failure 0:nil, FP control 80017, thread 00000000}
Active Method: Semaphore>>wait:ret:
IP: 007A7280 (0)
SP: 3A420410
BP: 3A4203E0 (-292650907)
ActiveFrame: {3A4203E8: cf 0265EA20, sp 00000000, bp 3A4203E0, ip 0, SmallInteger(Semaphore)>>wait:ret:}
	receiver: 488702450
	arg[0]: 488702436
	arg[1]: a Array

New Method: Semaphore>>wait:ret:
Message Selector: wait:ret:

*----> Stack Back Trace <----*
{3A4203E8: cf 0265EA20, sp 00000000, bp 3A4203E0, ip 0, SmallInteger(Semaphore)>>wait:ret:}
	receiver: 488702450
	arg[0]: 488702436
	arg[1]: a Array

***Unable to generate complete exception report (c0000005)

***** End of crash report *****

A hard crash like this while moving the mouse, unfortunately, implies Dolphin may be to blame. Getting a stack with Jadeite doing something bad would be helpful to show it's in our code.

@dalehenrich Just curious. Have there been anymore occurrences using 3.0.71?

There haven't, but I have not been using Jadeite with autocommit turned on, because I got tired of having the browser lose it's mind ... have I tried autocommit at all with 3.0.71? Maybe once and things went haywire so I've quite using autocommit (not because I don't want to use it, but because it has become unstable) ... maybe you should turn autocommit on and see if you see the misbehavior I have seen ...

Ok, thanks for the feedback.

This is an old bug related to dolphin and debugger, which have both many changes; closing.


Fix typo

Fix easy-to-make spelling typo.

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

Codecov Report

Merging #754 into develop will increase coverage by 0.14%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #754      +/-   ##
===========================================
+ Coverage    89.24%   89.39%   +0.14%
===========================================
  Files          115      115
  Lines         9011     9011
  Branches       335      335
===========================================
+ Hits          8042     8055      +13
+ Misses         969      956      -13

Impacted Files
Coverage Δ

.../main/scala/com/twitter/algebird/HyperLogLog.scala
92.57% <0%> (-0.4%)
:arrow_down:

.../main/scala/com/twitter/algebird/Successible.scala
87.5% <0%> (+4.16%)
:arrow_up:

...src/main/scala/com/twitter/algebird/Interval.scala
81.73% <0%> (+7.82%)
:arrow_up:

...in/scala/com/twitter/algebird/scalacheck/Gen.scala
100% <0%> (+9.09%)
:arrow_up:

...scala/com/twitter/algebird/PredecessibleLaws.scala
86.66% <0%> (+13.33%)
:arrow_up:

Continue to review full report at Codecov.

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

Thank you!


⚠ Ixtanet SAT has degraded performance

In b8e9e3c, Ixtanet SAT ($MEDIA_SAT) experienced degraded performance:

HTTP code: 200
Response time: 20506 ms

Resolved: Ixtanet SAT performance has improved in 014546b.


Memory leak possibly due to Webpack

I'm using WebStorm to create a new react project which uses create-react-app version 3.1.2. The first thing I do is delete all of the files in the src directory and start from scratch.
I create a new file called index.js and I bootstrap react
import React from "react";
import ReactDOM from "react-dom";

import App from "./components/App";

ReactDOM.render(
    <App />,
    document.querySelector("#root")
);

I create a folder called components in the src directory and create the App component.
import React from "react";

const App = () => <App></App>;

export default App;

I run npm start to see if it works.
The issue
The page doesn't load. Firefox is complaining that the script is taking too long, so I close it. I test it in Chrome with no plugins installed. Same issue. I look in task manager, and I see that Chrome was using 11GB of my RAM. I tried it again, and it ate all of my 16GB ram and froze my machine. I also tried setting up the project again.

Sorry, my mistake. I should be returning hello world instead of . I'm going to close this.


[pkg/resolution] clean up io/ioutil package

[pkg/resolution] clean up io/ioutil package
Ref: https://github.com/tektoncd/pipeline/issues/5874

/release-note-none


Phx.1.7.10 fix

Related to issue #305
Passes available tests and seems to spin nice locally on my machine
Bumps kaffy version;
I think this might be the right move, as it might break backwards compat with older versions of Phoenix.
Changed deps versions to follow and fix the compile errors when using Kaffy with Phoenix 1.7.10 and phoenix_html 4.0
Would be awesome if more people could confirm & check this PR out.

This update worked for me as well. Thanks @drobban.

Seems very similar to https://github.com/aesmail/kaffy/pull/308, right?
We should probably just merge one of them.

Seems very similar to #308, right? We should probably just merge one of them.

look pretty identical to me =D
To me it doesn't matter which one gets merged if any.
I guess @aesmail has other priorities at the moment, the next best thing (until he has looked at the pr) is if people could test and run with the changes in this PR to make sure everything works as expected.

I've been testing these changes for a couple of days already and no problems for now.

@aesmail @drobban
Can this please be released? Kaffy is a really great lib and thank you for it!!
Support of the latest libs will be an amazing feature :)

@aesmail Can you please review and release the update? Thank you

@aesmail Can you please review and release the update? Thank you

It will happen when he has time. While waiting, you are able to use this PR as a temporary dep in your project.
{:kaffy, github: "drobban/kaffy", ref: "66d0c7d"}
or simply fork my repo/branch and use that, then you wont risk the repo simply disappearing, but at the same time, if the branch disappears its a signal to switch back to upstream :smile:
And when merged simply switch back to follow upstream again.

Dear @drobban , I will not do it for a few basic reasons. :)
First, we are human and often forget that we are using forks, especially when they work well. :)
Second, there's a thing called collaboration in the open source community; if someone has invested time to solve an issue or improve the product, there's no reason the project maintainer can't respond with gratitude and review/merge the PR as soon as possible, instead of waiting for a comfortable moment in life. :)
Additionally, this project hasn't been updated or maintained for a very long time. Usually, in the open source community, ownership is transferred to someone eager to advance the project.
I'd rather not use it at all than resort to using a fork. This also highlights that if something major requiring immediate attention occurs (as anything can happen), it will not be addressed.
And this is exactly why developers are leaving Elixir. The community...
Strong words, I know, but this is the reality.

@aesmail Can you please review and release the update? Thank you

It will happen when he has time. While waiting, you are able to use this PR as a temporary dep in your project.
{:kaffy, github: "drobban/kaffy", ref: "66d0c7d"} or simply fork my repo/branch and use that, then you wont risk the repo simply disappearing, but at the same time, if the branch disappears its a signal to switch back to upstream 😄
And when merged simply switch back to follow upstream again.
We cant forget that much of the opensource is peoples spare time spent making stuff that we are able to use for free. If we really need the service of getting things perfectly served as we would from a paid service... Well then "we" should consider to actually pay for it.
https://github.com/sponsors/aesmail ☮ ❤

Yes, almost forgot.. I'm sure you and @aesmail sponsor every open source project that you use at work and at home.. ;)

@aesmail Can you please review and release the update? Thank you

It will happen when he has time. While waiting, you are able to use this PR as a temporary dep in your project.
{:kaffy, github: "drobban/kaffy", ref: "66d0c7d"} or simply fork my repo/branch and use that, then you wont risk the repo simply disappearing, but at the same time, if the branch disappears its a signal to switch back to upstream 😄
And when merged simply switch back to follow upstream again.
We cant forget that much of the opensource is peoples spare time spent making stuff that we are able to use for free. If we really need the service of getting things perfectly served as we would from a paid service... Well then "we" should consider to actually pay for it.
https://github.com/sponsors/aesmail ☮ ❤

Yes, almost forgot.. I'm sure you and @aesmail sponsor every open source project that you use at work and at home.. ;)

I do "pay" for something that is a product and maintained: https://github.com/danschultzer

@aesmail Can you please review and release the update? Thank you

It will happen when he has time. While waiting, you are able to use this PR as a temporary dep in your project.
{:kaffy, github: "drobban/kaffy", ref: "66d0c7d"} or simply fork my repo/branch and use that, then you wont risk the repo simply disappearing, but at the same time, if the branch disappears its a signal to switch back to upstream 😄
And when merged simply switch back to follow upstream again.
We cant forget that much of the opensource is peoples spare time spent making stuff that we are able to use for free. If we really need the service of getting things perfectly served as we would from a paid service... Well then "we" should consider to actually pay for it.
https://github.com/sponsors/aesmail ☮ ❤

Yes, almost forgot.. I'm sure you and @aesmail sponsor every open source project that you use at work and at home.. ;)

dude... https://c.tenor.com/-Cr1JqBDtfIAAAAC/tenor.gif
Feel free to remind me if you find me trying to get VIP fast lane treatment.
Im just another dude making stuff for free as well, I have no more connection than you to this project.

Dear @drobban , I will not do it for a few basic reasons. :)
First, we are human and often forget that we are using forks, especially when they work well. :)
Second, there's a thing called collaboration in the open source community; if someone has invested time to solve an issue or improve the product, there's no reason the project maintainer can't respond with gratitude and review/merge the PR as soon as possible, instead of waiting for a comfortable moment in life. :)
Additionally, this project hasn't been updated or maintained for a very long time. Usually, in the open source community, ownership is transferred to someone eager to advance the project.
I'd rather not use it at all than resort to using a fork. This also highlights that if something major requiring immediate attention occurs (as anything can happen), it will not be addressed.
And this is exactly why developers are leaving Elixir. The community...
Strong words, I know, but this is the reality.

Having this conversation here is wildly off topic.
So this will be the last message of this character I'll respond to.

I dont need you to be my white knight trying to force @aesmail to merge my PR. I was the one creating the patch - If I have issues with @aesmail, then its up to me if I want to have that discussion or not.
Sure, its about collaboration. Have you tested this pull request out? Have you verified and gotten any results to report back? Sure I sincerely appreciate when I receive praises from people for work I do, but I do appreciate feedback and test results more.
I just came home from Lisbon & the elixir euro conference. The community seems to be running strong, so I dont know what kind of reality you live in.

Best regards
David
Peace out.

@aesmail Can you please review and release the update? Thank you

It will happen when he has time. While waiting, you are able to use this PR as a temporary dep in your project.
{:kaffy, github: "drobban/kaffy", ref: "66d0c7d"} or simply fork my repo/branch and use that, then you wont risk the repo simply disappearing, but at the same time, if the branch disappears its a signal to switch back to upstream 😄
And when merged simply switch back to follow upstream again.
We cant forget that much of the opensource is peoples spare time spent making stuff that we are able to use for free. If we really need the service of getting things perfectly served as we would from a paid service... Well then "we" should consider to actually pay for it.
https://github.com/sponsors/aesmail ☮ ❤

Yes, almost forgot.. I'm sure you and @aesmail sponsor every open source project that you use at work and at home.. ;)

dude... https://c.tenor.com/-Cr1JqBDtfIAAAAC/tenor.gif Feel free to remind me if you find me trying to get VIP fast lane treatment.
Im just another dude making stuff for free as well, I have no more connection than you to this project.

So... if you not related to the project why do you write such comments? I politely asked for a simple thing.. and you just made everything so complicated.. I really don't get you "dude", I prefer m8.. more respectful ;)

Hi all,
I also volunteer here as I use this in https://github.com/SentryPeer/SentryPeerHQ and an internal project at work. I helped review issues and PRs, so @aesmail gave me commit rights.
I've been busy too, so apologies for that.
Are we happy with this to merge then? There's no harm, we can revert it if not. Our users have tested and seem to be happy. Merging now.
Thanks all.

Thank you @drobban !!, I really appreciate your investment in this project

Remember, this isn't a release yet.

Thanks @drobban for the fix. @aesmail @ghenry any chance we can get a new release? Latest is still kaffy 0.10.2, which gives me an error when I try to install it (with phoenix 1.7.14).

Will take a look tonight. Thanks for the PR and tag!

I hate to pester, especially in light of what's already been written above, but are there any updates on getting this PR into a release?
I appreciate that you guys are volunteers doing this for free. But the latest version of Phoenix depends on phoenix_html ~> 4.1, which means I can't install Kaffy on a newly-generated Phoenix app:
$ mix deps.get
Resolving Hex dependencies...
Resolution completed in 0.07s
Because your app depends on kaffy 0.10.2 which depends on phoenix_html ~> 3.0, phoenix_html ~> 3.0 is required.
So, because your app depends on phoenix_html ~> 4.1, version solving failed.
** (Mix) Hex dependency resolution failed

I realise that I can update my deps to pull the working version of Kaffy directly from Github, but most people trying Kaffy aren't going to get that far. Not having this PR in a release will really hinder Kaffy's adoption.

I hate to pester, especially in light of what's already been written above, but are there any updates on getting this PR into a release?
I appreciate that you guys are volunteers doing this for free. But the latest version of Phoenix depends on phoenix_html ~> 4.1, which means I can't install Kaffy on a newly-generated Phoenix app:
$ mix deps.get
Resolving Hex dependencies...
Resolution completed in 0.07s
Because your app depends on kaffy 0.10.2 which depends on phoenix_html ~> 3.0, phoenix_html ~> 3.0 is required.
So, because your app depends on phoenix_html ~> 4.1, version solving failed.
** (Mix) Hex dependency resolution failed

I realise that I can update my deps to pull the working version of Kaffy directly from Github, but most people trying Kaffy aren't going to get that far. Not having this PR in a release will really hinder Kaffy's adoption.

Im not sure how the release "cycle" looks like. It does seem like the pr is merged into master. But it is as you say - the most probable experience is that a new users just selects the latest release and try to use it with the latest release of phoenix and that will make people believe that this project is broken.
At the same time - I have no constructive suggestion on how to make this project follow the release cycle of phoenix - This isnt the first time something breaks as Phoenix changes their structure, it will probably not be the last.
This is my second PR to keep it up date with Phoenix and both times was caused by "structural" changes.

I can do it needed?
On Fri, 4 Oct 2024, 11:50 David Robertsson, @.***>
wrote:

I hate to pester, especially in light of what's already been written
above, but are there any updates on getting this PR into a release?
I appreciate that you guys are volunteers doing this for free. But the
latest version of Phoenix depends on phoenix_html ~> 4.1, which means I
can't install Kaffy on a newly-generated Phoenix app:
$ mix deps.get
Resolving Hex dependencies...
Resolution completed in 0.07s
Because your app depends on kaffy 0.10.2 which depends on phoenix_html ~> 3.0, phoenix_html ~> 3.0 is required.
So, because your app depends on phoenix_html ~> 4.1, version solving failed.
** (Mix) Hex dependency resolution failed
I realise that I can update my deps to pull the working version of Kaffy
directly from Github, but most people trying Kaffy aren't going to get that
far. Not having this PR in a release will really hinder Kaffy's adoption.
Im not sure how the release "cycle" looks like. It does seem like the pr
is merged into master. But it is as you say - the most probable experience
is that a new users just selects the latest release and try to use it with
the latest release of phoenix and that will make people believe that this
project is broken.
At the same time - I have no constructive suggestion on how to make this
project follow the release cycle of phoenix - This isnt the first time
something breaks as Phoenix changes their structure, it will probably not
be the last.
This is my second PR to keep it up date with Phoenix and both times was
caused by "structural" changes.
—
Reply to this email directly, view it on GitHub
https://github.com/aesmail/kaffy/pull/306#issuecomment-2393416863, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABG66AXERBJWHP5TKJGIWLZZZXGHAVCNFSM6AAAAABCMDFXCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJTGQYTMOBWGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@ghenry I'm the new user here, trying to install the kaffy on the newest Phoenix, and I'm having the experience as described by @drobban.
I'd appreciate if I could use the official version of kaffy with a fix instead of a commit.
Thanks in advance!

@ghenry, @drobban, @TheArrowsmith just install the master branch version

@ghenry I'm the new user here, trying to install the kaffy on the newest Phoenix, and I'm having the experience as described by @drobban and @TheArrowsmith.
I'd appreciate if I could use the official version of kaffy with a fix instead of a commit.
Thanks in advance!

You can use the official version of kaffy, but you have to point at the github repo and preferably pin it to a commit instead of using the package.


Sphinx Mermaid diagrams are not rendering

Instead of diagrams, the build passes but I only see the source text.
Sphix mermaid docs for markdown support: https://sphinxcontrib-mermaid-demo.readthedocs.io/en/latest/#markdown-support.
These docs recommend referencing the minimum configuration from their tests: https://github.com/mgaitan/sphinxcontrib-mermaid/blob/master/tests/roots/test-markdown/conf.py.
I tried adding all (3) of these elements to my own conf.py
These work fine:
extensions = ['sphinxcontrib.mermaid', 'myst_parser']
exclude_patterns = ['_build']

This section breaks my build:
source_suffix = {
    '.md': 'markdown'
}

Error excerpt:
Sphinx error:
root file /home/docs/checkouts/readthedocs.org/user_builds/trellis-data-management/checkouts/latest/index.md not found

There is no index.md, instead there is an index.rst. In the test, the index is also markdown formatted.

I added '*.rst' to as a 'source_suffix' and that fixed my build issue but the diagrams still don't render.

I created a new page, specifically to test mermaid diagrams ("test-mermaid.md") and copy pasted one of the examples from https://github.com/mgaitan/sphinxcontrib-mermaid and it doesn't render. This indicates it's some issue with the sphinx/mermaid install or config.

    sequenceDiagram
      participant Alice
      participant Bob
      Alice->John: Hello John, how are you?

Tried an example sequence diagram straight from the mermaid docs and it still just renders as text:
sequenceDiagram
    Alice->>John: Hello John, how are you?
    John-->>Alice: Great!
    Alice-)John: See you later!

I'm looking closer at the readthedocs page for (sphinxcontrib-mermaid)[https://sphinxcontrib-mermaid-demo.readthedocs.io/en/latest/index.html] and it doesn't look like the diagrams are rendering there either, so maybe this is a broader issue with the extension.

This is a known issue, documented here: https://github.com/mgaitan/sphinxcontrib-mermaid/issues/110.
I rolled back the mermaid version as a temporary fix, until a new release is issued.
Line added to conf.py in https://github.com/StanfordBioinformatics/trellis-docs/commit/c1f42c450cc10bad79544497a4e6459b3e8f8fe6:
mermaid_version = "9.4.0"

Any idea how to make this work with a jupyter book? I tried the suggestion in that issue for the requirements.txt but it did not work for me and I don't have a conf.py to modify. I tried adding it to my config.yml but it didn't work. :/


Resolves #158 - Updates the logback version

Resolves #158
Updates the logback version
The details can be found at:
http://slf4j.org/log4shell.html
The key details are these lines:
However, logback may make JNDI calls from within its configuration file. This was recently reported in LOGBACK-1591 as a vulnerability of lesser severity. In response, we have released logback version 1.2.8. Please upgrade.

:grey_exclamation: Build Aborted

The PR is not allowed to run in the CI yet

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Reason: The PR is not allowed to run in the CI yet

Start Time: 2021-12-15T21:37:02.460+0000

Duration: 4 min 31 sec

Commit: 17b13402ca904bd7474e6531af6c53258e1b5d18

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


changed footer

I've changed footer as given please check it

hey @Ayushmaanagarwal1211 You have enlarged this photo as i have sent it in the screenshot. Look how small it is and try to write in the same font. write in such away that it looks like attractive

Ok changing

@mdazfar2  I've updated please check the font size

I used 18px as font size

@Ayushmaanagarwal1211 also trying to resolve the below screenshot-

According to highlight box try to fix "feedback" and "feedback image" also

Ok means i have to move the images and form to slightly right

@Ayushmaanagarwal1211

not looks good to me

Can you tell me the changes

@Ayushmaanagarwal1211

not looks good to me

Can you tell me the changes

@Ayushmaanagarwal1211

not looks good to me

@Ayushmaanagarwal1211 do small size of footer

here it is

@Ayushmaanagarwal1211 update sync fork and pull push before sending pr

I have set the same font size as 0.875rem and line height by 1.175rem as in the given link

Ok means i have to move the images and form to slightly right

exactly @Ayushmaanagarwal1211

Ok

@Ayushmaanagarwal1211 It is deployed failed try to fix it again and create pr

I think it's because of free version of vercel only gives 100 deployed per day that's why it is showing error

 I think it's because of free version of vercel only gives 100 deployed per day that's why it is showing error

after 30 minutes i can use it again right?


It should be possible to change the cast application id through controls.configure()

@ismena, isn't this fixed now?  If so, please tag the commits and close.

Not the way the name of this issue is phrased.
Going from no cast app id to having a cast app id works well now, though and I'm leaning towards disregarding the "change one id to the other" use case until I actually see an app that does this.
If you don't have strong objections, I'll close this issue.

...or I can change the name of the issue and tag the commit, if you need it for release tracking or something?

Going from no cast app id to having a cast app id works well now

Awesome!

I'm leaning towards disregarding the "change one id to the other" use case until I actually see an app that does this.

Sounds good.  Let's close.


EWMH windows ordering

Currently xmonad sets ewmh windows with focused window first, and sometimes it's not very convenient. For instance, it causes taffybar to redraw windows icons in its workspaces widget each time focus is changed, and focused window will be displayed first. It's quite confusing because you can't follow focus visually (taffybar highlights focused window).
What was the reasoning of this behavior? Could it be changed to just use W.integrate' here?

Here what I had to do in my config to avoid this: https://github.com/kurnevsky/dotfiles/commit/59a5d090746bdf1dd180a8c9de416997a4d6161e

Mh, the spec says:

_NET_CLIENT_LIST has initial mapping order, starting with the oldest window. _NET_CLIENT_LIST_STACKING has bottom-to-top stacking order. These properties SHOULD be set and updated by the Window Manager.

so it seems like we are indeed violating this currently.  This should definitely be changed, but keeping a list of a) window recency and b) stacking order sounds much more complicated than just using integrate' :/

a) window recency

Can't we just assume that windows in StackSet are sorted by recency? It'll be true unless user swaps windows itself, and this seems pretty logical that they will be swapped in _NET_CLIENT_LIST as well. Otherwise it might be confusing that windows displayed in status bar have different ordering than sidplayed by xmonad. And as for me I'd definitely not like it and would hack this in a similar way :)

b) stacking order sounds much more complicated than just using integrate' :/

How is it more complicated? Are there multiple good ways we can convert it to a plain list? Wouldn't integrate' be good enough?

ok, I guess this ordering was done specifically for _NET_CLIENT_LIST_STACKING so we can leave it as is and just change _NET_CLIENT_LIST.

b) stacking order sounds much more complicated than just using integrate' :/

I think we should do the following (which is a bit different than what have now): l ++ reverse r ++ [x]. First from the end should be focused window, then windows that will follow next when we call focusDown which means reversed r and then windows that will follow next after focusUp which is just l. Seems like the best possible fit that we can have, since stacking order is not clearly defined.

On Tue, Jun 29 2021 11:12, Evgeny Kurnevsky wrote:

Can't we just assume that windows in StackSet are sorted by recency?

I don't think so, how would that work?  A newly spawned window with
focus is surely the most recently mapped window and should thus be put
last in _NET_CLIENT_LIST (perhaps this is the intention behind the
current implementation?).  Using integrate already violates this.
However, just cycling through windows should of course do nothing to the
initial mapping order (or should it?  what if windows get unmapped
because layout say so?  I'm not sure just how initial "initial" means
here).
On top of that, users can of decide (via X.H.InsertPosition or similar
functionality) quite freely where to insert new windows, so even that
"if you are in the master pane everything lines up" assumptions doesn't
really work.
Pragmatically speaking, not many people seem to have noticed this,
meaning we may get away with applying your proposed change.  However,
this doesn't feel quite right to me and I would like some more opinions
from the X11 gurus around here :) @geekosaur @liskin

Mapping order is kinda not entirely defined for tiling window managers: consider that Full unmaps all but the current window, and what window gets mapped next depends on (for example) whether you use mod-k vs. mod-j vs. something like rotOpposite. (Note also that the module providing rotOpposite, X.A.CycleWindows, also has its own idea of what constitutes "recent windows".)

A newly spawned window with focus is surely the most recently mapped window and should thus be put last in _NET_CLIENT_LIST

Right, somehow I supposed that newly opened window is always first, which is not true, of course. Then it means that if we fully comply with the spec we won't have good windows ordering in taffybar and probably other status bars that use it...
But if we are not compliant now anyway, probably makes sense to change the ordering to simple integrate'? But I'm biased here - it's the behavior I'd like to have myself :)

consider that Full unmaps all but the current window

But this will affect cycling over layouts too, right? Other layouts will have different windows positions depending on these user actions. So we have to define the ordering somehow anyway. I just suggest to make this ordering consistent with what we set to _NET_CLIENT_LIST.

Also just realized that if we just open several windows one after another, according to the spec newer windows should appear after older, i.e. they should have ordering 1 2 3. But in xmonad we will have ordering 3 2 1 :)
We could make it 1 2 3 but then with default windows cycling we will go in the reversed direction...

Here found some more info about this ordering which justifies my fix a bit: https://github.com/xiaq/mindock#why-another-dock

Checked i3 and they indeed set here initial mapping order: https://github.com/i3/i3/blob/abbf6a85d712ef1790b02122eb432e4bafe20576/src/x.c#L1258
But they didn't have any discussion on this: https://github.com/i3/i3/issues/1099

And awesome just sets their stack there which should be similar what I'm doing in my PR: https://github.com/awesomeWM/awesome/blob/d2dc428e567e378a3f534c4d748543413fc30172/ewmh.c#L276

So looks like it should be good enough, and anyway better than what we have now.

Unfortunately I have absolutely no idea how _NET_CLIENT_LIST/_NET_CLIENT_LIST_STACKING are used practice. I don't think anything in my setup cares about any particular ordering there, so I'm probably personally fine with changing it to whatever fixes issues for others.
I'll also note that if we wanted to conform to the spec, there probably is a non-intrusive way to do that: introduce an optional LayoutModifier that a) tracks when windows first appear; b) captures the stacking order produced by the underlying layout. EwmhDesktops would then just consult an extensible state variable and use that (with a fallback, as this LayoutModifier would be optional and meant to only be used by people who need that sort of thing).

I think (though not completely sure) that _NET_CLIENT_LIST was meant to have the same order that we will get switching windows via alt+tab or whatever. It looks like (most?) stacking window managers don't have a way to reorder windows so they will cycle windows in order they were created. So that's why it's described in the specs, but it doesn't fit tiling window managers.

Chiming in half a year later on a closed issue.
I get that the ideas behind these two atoms are slightly at odds with tiling window managers since the concept of window focus is different, but here's my take:
_NET_CLIENT_LIST_STACKING should be analogous to the actual visual stacking (z position) of floating windows, regardless of layout.  I would expect it to match the order of XQueryTree on the root window.
I came across the current behavior while trying to write a WM agnostic desktop pager.  It would be nice to be able to process this atom since it could be used to draw without thinking about overlapping windows.  Especially since things like XQueryTree include (tons of) unmapped windows.

introduce an optional LayoutModifier that a) tracks when windows first appear; b) captures the stacking order produced by the underlying layout.

I might try implementing this eventually.


When are you planning the release?

Due to the addition of the auth with api_key,
@emmanvg When are you planning to release the next version?

@bakatzir I was waiting on another issue but saw no activity. 2.1.0 is available on PyPI


Vehicle Parking Management System

The main objective of this C++ Project on Vehicle Parking Management System is to manage the details of parking fees, customers, parking slots, types, government tax, employee and manager wages and vehicles entering and leaving the parking slots. This project will be totally built for administrative end and thus only the administrator is guaranteed the access. The purpose of the project is to build an application program to reduce the manual work for managing the Duration, Parking fees, Vehicles, Customers. It tracks all the details about the customers, parking slots and types of vehicles.

Keep doing Open Source!
Welcome!

@all-contributors please add @FarrukhAdeel67 for code

Keep doing Open Source! Welcome!

Thank You @AhmedRaja1


Update peerDependencies to support Grunt 1.0

Update peerDependencies to support Grunt 1.0
Hello,
This is an automated issue request to update the peerDependencies for your Grunt plugin.
We ask you to merge this and publish a new release on npm to get your plugin working in Grunt 1.0!
Read more here: http://gruntjs.com/blog/2016-02-11-grunt-1.0.0-rc1-released#peer-dependencies
Also on Twitter: https://twitter.com/gruntjs/status/700819604155707392
If you have any questions or you no longer have time to maintain this plugin, then please let us know in this thread.
Thanks for creating and working on this plugin!
(P.S. Close this PR if it is a mistake, sorry)

@jharding would it be possible to double check this PR and merge it once it works? at https://github.com/plone/mockup we need this fix for our CI setup to work.
Thanks in advance