text:
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

Pillow=>10.0 seems to have removed attribute "Image".
Downgrading to Pillow==9.5.0 seems to fix the bug

Its depriciated nowdays. In one project i was doing with PIL i found that; LANCZOS instead of ANTIALIAS works in my case and for my use case correct one would be PIL.Image.Resampling.LANCZOS instead of ANTIALIAS. Not sure how would it affect this project but you can give it a try

I'll try this out in a few days
On Sat, Jan 27, 2024, 5:10 PM GPTdomaine @.***> wrote:

Its depriciated nowdays. In one project i was doing with PIL i found that;
LANCZOS instead of ANTIALIAS works in my case and for my use case correct
one would be PIL.Image.Resampling.LANCZOS instead of ANTIALIAS. Not sure
how would it affect this project but you can give it a try
—
Reply to this email directly, view it on GitHub
https://github.com/nadermx/backgroundremover/issues/121#issuecomment-1913087209,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYACXGXGNTPFVCBH7UKVHDYQTAALAVCNFSM6AAAAABCAAFOC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGA4DOMRQHE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

closed in https://github.com/nadermx/backgroundremover/commit/ecd561b61f18bbdcbac48b4929a12bb6508a9d8f

authors: GPTdomaine JuanjoCatalaGarrido nadermx

repo: nadermx/backgroundremover


text:
Security has been added

The developers finally added security to the api
kinda embarrassing that it took them this long to add security.
it will now give you a 403 Forbidden error

So does this make this useless?

Im currently uploading a .tar archive to mediafire as a backup incase their security obsoletes the script. I don't think their security is all that useful/good, but i have yet to take a look at it, so im going to just upload a backup of the images to mediafire.
https://www.mediafire.com/file/8ddaiou56u56i7y/MKBSD.tar/file
It's a tar archive because i don't trust compression when it comes to images.

Im currently uploading a .tar archive to mediafire as a backup incase their security obsoletes the script. I don't think their security is all that useful/good, but i have yet to take a look at it, so im going to just upload a backup of the images to mediafire. https://www.mediafire.com/file/8ddaiou56u56i7y/MKBSD.tar/file It's a tar archive because i don't trust compression when it comes to images.

100% there security probs will be weak, someone's fork has the whole .json

100% there security probs will be weak, someone's fork has the whole .json
Having the whole .json won't do much as new images get added, though, which is the main issue.
With more image drops, it'll just get more out of date.

Having the whole .json won't do much as new images get added, though, which is the main issue. With more image drops, it'll just get more out of date.

Fair point

So does this make this useless?

As of right now yes

So does this make this useless?

As of right now yes

I have used a JSON in my fork. In there are all the Links to the CDN, which is currently working.

I have used a JSON in my fork. In there are all the Links to the CDN, which is currently working.

The problem is with new wallpapers that get added, wonder if we can get the token

source: gharchive/issue

authors: GlineYT bocajthomas forcequitOS retardgerman

repo: nadimkobeissi/mkbsd

license: WTFPL

license_type: permissive

license_source: github-api


text:
How do you get pip3 package list?

Are there any options for this?

You can install pipdeptree with pip3. Then you should be able to run it with python3 as follow
python3 -m pipdeptree
I don't use pip3 myself so couldn't try this. Please let me know how it goes.

authors: jeffsaremi naiquevin

repo: naiquevin/pipdeptree

license: MIT


text:
关于消息头len的问题

看了下源码，发现使用TCP协议时，先读取len,再读取data，而websocket协议本身做了分包，因此不需要先读len。
那么在定义C/S消息格式时，需要区分使用tcp就发len，而使用websocket就不发len吗？既然processor已经屏蔽了分包粘包的细节，却又要使用者区分tcp/websocket协议去发不同格式的消息，这样设计是否会有一种逻辑上不连贯的感觉？

Leaf 的使用者（服务器的逻辑代码开发者）并不需要区分 tcp 还是 websocket 协议。Leaf 支持 tcp 和 websocket，甚至同一服务器可以同时连接 tcp 和 websocket 客户端。

可是我看network中的实现，websocket是没有先读或写len这个操作的，服务端使用leaf发消息是可以不管，因为leaf屏蔽了这些细节，但是客户端如果不是用leaf这个包，还是需要区分是tcp还是websocket来考虑是否在包头加上len呀？

也就是说,在tcp下，消息格式是len-id-data,在websocket下,实际上是id-data，不知道我有没有理解错。
那么客户端更多情况下是不会用leaf中的network包的（因为常常是其它语言），这时候客户端需要根据协议发不同结构的包，才能正确地和leaf服务端通信。

客户端，肯定是先要确定用tcp还是ws。
本身ws就不需要len，可以优化效率，所以代码不同
你非要一致，就改下leaf的代码

客户端，肯定是先要确定用tcp还是ws。
本身ws就不需要len，可以优化效率，所以代码不同
你非要一致，就改下leaf的代码

你说的没错，但我们现在讨论的问题是，这样设计是否逻辑上有点不连贯，因为增加了使用者的心智负担。对服务端来说，一方面不需要leaf使用者了解分包细节，一方面又需要使用者读懂理解这块代码，然后告知客户端确切的消息结构，如此双方才能正确通信。

客户端对接 Leaf 或者对接其他服务器（包括 http 服务器，甚至于不同服务），必定需要按协议规则实现。要求服务器协议用同一种模式是不可能的，http 协议，tcp 协议，ssh 协议，没有哪个协议是一致的。对于客户端来说，它使用了 tcp 一般都不用考虑 ws，就像客户端学习了 tcp 协议和 tcp 服务器通讯以后，不用把 ssh、ftp 协议学了一样。
换而言之，对任何客户端来说，它通常只需要认识一种协议，它可以根据自己的情况选择，Leaf 可以灵活的加入 udp、kcp 协议等其他各种协议，但每次新增加对客户没有学习成本，他们只需要关心自己使用的。对服务器来说，无论加入或者改变任何协议，对逻辑开发也没有任何改动。

客户端对接 Leaf 或者对接其他服务器（包括 http 服务器，甚至于不同服务），必定需要按协议规则实现（但，我不认为对接 http 服务器需要把 http 实现代码看了，也不需要看 http 服务器的逻辑代码）
我认为问题就出在这里，既然leaf封装了tcp的分包细节，却又对websocket没有封装（固然是websocket本身有这功能），那么使用者是否会很困惑，leaf什么时候封装了一些事，什么时候没封装？这不是需要去看leaf/network模块中的具体实现吗？那是不是还不如都不封装，让使用者自己决定是否要在tcp前加len？（先读len再读data并不是tcp的一部分，也不是唯一做法）

或者也可以都封装，比如websocket解析时候忽略这个len，不过这样势必会影响效率。

别纠结了，开源的框架，可以自己改啊。

任何协议都需要看文档的，具体可以看：https://github.com/name5566/leaf/blob/master/TUTORIAL_ZH.md
这里包含了范例代码。
你说的这个问题和设计没有关系。如果你直接使用 tcp，你依然需要和服务器约定具体的格式，通过口头或者文档的形式告知客户端使用方法，这个步骤是无法通过任何手段跳过的。ws 使用便利是因为无论是 unity 还是 h5 还是其他语言都按 ws 的标准做了实现，最后你调用一下具体的接口即可。对于对接 Leaf 的服务器，自然也可以按 Leaf 标准封装到 unity 或者 h5 中给其他使用者使用。
对于仅仅使用 ws 的用户，这是非常简单的使用，任何劣化都没有价值。

找到了wiki说明，鉴于这个讨论，建议将wiki中 客户端如何对接服务器放到README或更显眼的位置

license_source: bigquery


text:
rpc task enters loop if nameko shell is killed

When running a service that has rpc methods we sometimes run into an issue where if an rpc endpoint A is called from a caller shell B and the caller shell is killed, A continues to run, and then just runs again when it finishes.
I'm assuming that the restarting happens when the task is through and the message acknowledgement fails, it's placed back in the queue and is picked up again.  But there is now real way to stop this other than to kill the service that provides A manually delete the problematic message from the rpc queue and then restart As service.
Is this a common issue?  If it's new I can try to dig into it to see if I can build a script to reproduce this reliably since it happens kind of intermittently at the moment.

This isn't something I've experienced or heard about before.
The health of the caller shouldn't have any impact on the callee. The message ack happens between the consumer in the callee service and the RabbitMQ broker. Even if the RPC reply queue has been removed (which it will sometime after the shell's proxy disconnects), the reply message would still be published, just discarded by the exchange. Unless you have requested mandatory delivery of RPC replies, this would not raise an error.
If you can reproduce with a script I would be interested in seeing it. The behaviour you're describing is consistent with the consumer losing connection with the RabbitMQ broker before ack'ing the RPC request message. I bet that actually is what's happening, but it's not directly related to the shell being killed.

Thanks for the answer, I think you're right that it must be the consumer losing connection.  I'm still trying to figure out why it loses the connection but can apparently still consume the message a second time.
So the timeline is something like:

RPC consumer receives the message and starts processing
Finishes the processing and tries to ack (or at least reaches the handle_result method)
Ack fails because of a disconnect
Start from the top again

I perhaps should note that I've set max_workers to 1.

The problem seems to be the same as here: https://groups.google.com/forum/#!topic/nameko-dev/A2M9YQgkM5s

authors: daviskirk mattbennett

repo: nameko/nameko


text:
Update sbt to 1.5.7

Updates org.scala-sbt:sbt from 1.5.5 to 1.5.7.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.5.5).
You might want to review and update them manually.
Earthfile

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #462.

source: gharchive/pull-request

repo: namely/chief-of-state


text:
Custom styles for horizontal lines (groups)

Is your feature request related to a problem? Please describe.
Especially when using the tree groups example it is frustrating that I can't style the headers of the groups different than the groups itself. Also I would like to overwrite the calculated height with a custom height.
Describe the solution you'd like
For the height: If the height is specified in the group, the lib should use this as the height and not the calculated height.
For the custom style: Every time the horizontal line is rendered, I would like to have a callback where I can supply custom styles.
Describe alternatives you've considered
I've seen that there was/is a plugin approach which makes it possible to make something of this happen, but it seems that there is no documentation and the link to the example is dead. Alternatively we could support categories natively.
Additional context
I will submit an PR.

Released in 0.19.0

authors: dkarnutsch mcMickJuice

repo: namespace-ee/react-calendar-timeline

license: mit


text:
Implement Map type

The schema::Map type is not implemented yet. It's structure and functionality will mostly follow schema::Set.
https://github.com/namib-project/nftables-rs/blob/720d2c75db0d0481fe092aee72a6754ff18afcb0/src/schema.rs#L198-L201
Documentation for Set/Map: https://www.mankier.com/5/libnftables-json#Ruleset_Elements-Set_/_Map
A test should be added, like here.

Implemented in #11. Thanks @marcinosypka!

repo: namib-project/nftables-rs


text:
🛑 assafi.org is down

In c6fd973, assafi.org (https://assafi.org) was down:

HTTP code: 500
Response time: 1038 ms

Resolved: assafi.org is back up in b67e0c8.

repo: nanhosting/monitoring


text:
Add M5Stack Tough

Description

Add M5Stack Tough
Motivation and Context

Add M5Stack Tough

How Has This Been Tested?

Need to be tested.
Screenshots
Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue with code or algorithm)
[x] New feature (non-breaking change which adds functionality to code)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[x] My code follows the code style of this project (only if there are changes in source code).
[x] My changes require an update to the documentation (there are changes that require the docs website to be updated).
[x] I have updated the documentation accordingly (the changes require an update on the docs in this repo).
[x] I have read the CONTRIBUTING document.
[x] I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
[x] I have added new tests to cover my changes.

@Ellerbach I've refactor a bit the Core2ToughCommon class. Namely:

Properties: had to wrap some to make them available only when they exist.
Constructor: reorder the code, adjusted some bits that weren't following M5Stack values and add the missing bits for the Tough.

Also some refactoring with the Screen class:

Some renames
Rework the Enable code to deal only with the backlight. As it was it was disabling the power for all peripherals (they all share the same power rail).
Rename the luminosity to brightness (for consistency with common nomenclature).

@Ellerbach we need to rethink the touch implementation too. The Tough doesn't have "buttons" as the Core2.
So it' up to the application layer to setup the touch "objects" on the screen and deal with the touch events.
Suggest that we remove the touch for now until we figure it out.

Ignoring Sonarcloud duplication error.

authors: Ellerbach josesimoes


text:
Using nanopass with non-Lispy source language.

Hi @akeep
I've been intensely engaged in understanding and exploring the nanopass framework and I am curious whether this can be used for non-Lispy languages as well. I do sense that it's, of course, possible.
I've come up with a very basic flow, I wish to benchmark against a single source file for now.

Pass the abc.x source file via standard input or via explicit in-scheme command
Parse ( into what form?) the contents of the file read in as a Unicode string.
Use the nanopass framework based transformations to slowly move towards the target language.

So, as you can see it's the very initial part that's hazy.
Could you give a general sketch of

How to use the lexer-phase
How to pass the chunked form to the form expected by nanopass.

I know it's not an issue with the framework but something like a basic tutorial for non-Lispy source lang. would be really helpful, apart from the current docs and references.

Hey @abhi18av,
Yes, you can definitely use the nanopass framework for languages that are not S-expression based, but you do need to write your own lexer and parser (or scanner-less parser) to parse the source files into an AST.  One thing you may notice looking at S-expressions, is that they look a great deal like ASTs.
There are a few toolkits out there for writing parsers in Scheme, though I'm not really sure what to recommend, since I've not really used most of them.  We do have an LALR parser toolkit that we've used in the past, with a hand-written lexer, but I need to double check that we can share it.  I've also written my own hand-rolled recursive decent parser, partially to deal with some grammar productions that required more look-ahead than the LALR framework we have allows for.
My approach is something like the following:
First, we need to have the grammar we want to parse in some form that we can fairly easily read, so something like EBNF.
Second, I usually try to make as exact a translation from the original EBNF into a nanopass grammar as I can.  This just keeps things simpler, since the parser can then simply produce nanopass forms directly as the parser discovers the structure of the program from the source file.
Third, I usually write the lexer (a.k.a scanner, tokenizer) to tokenize the input.  As I said, I've always done this by hand by writing a state machine that matches the input and can be called to provide the next input.
Finally, I write the parser, either with a parser toolkit or by hand with a recursive decent parser.  There are some tricks to this with regard to parsing expressions correctly, in that you need to either construct the grammar in the parser to obey the relative priority of expressions or follow an expression parsing technique to get these correct.
One of the nice things about hand-writing the parser is that you can capture whatever source information you'd like to gather in order to provide better error messages, both during the parsing phase and later in the compiler, if the source information is preserved.
I'll try to write up an example of the and include it in the documentation and testing examples over the next couple of weeks.

Thank you @akeep for the wonderfully detailed response!
The kind of source language I have in mind is somewhat like Ruby and I'm trying out implementing the compiler frontend based on the nanopass framework. However, since you've mentioned the possibilities of a well tested Lexer and framework in Scheme - I'm actually quite excited!
The thing is I do have an inkling that the parser might involve a slightly more complex mechanism since I have to implement the type inference algorithm within the compiler itself.
Please, give me a couple more days to think upon what you have outlined and how I could integrate the information - I'm running a bit busy for a while now.
Absolutely looking forward to the write-up! :+1:

repo: nanopass/nanopass-framework-scheme


text:
looking for PlatformIO example project - VS Code/Platformi/nanopb

Hi,
I want to use nanopb under VS Code and Platformio
I'm looking for an example project for this combo which uses nanopb and has the necessary magic included to compile proto files
there is a ton of extensions for protobuf/VS Code and I am at loss which one would be a solid starting point
thanks in advance,
Michael

aha, the vscode-proto3 has some support for "Compile this Proto" and "Compile All Protos" (search for "proto" after command-shift-p)
trying the former gives me a "Missing output directives"
it looks like one has to add this magic to .vscode/settings.json: https://github.com/zxh0/vscode-proto3/blob/master/example/.vscode/settings.json

Maybe! It would at least be interesting to have one in the issue attachments, even if it ends up being too specific to include in the main codebase.

yeah, separate repo would be the way to go as it is easier importing into Platformio and it's own directory structure
seems[ people are having this issue since 2015...]( people are having this issue since 2015...)

duh, my bad - it's been a while
I was trying to get away with just installing the Platformio nanopb library and assumed a matching protoc-gen-nanopb would ride along
however, this library only exports *.c *.h *.cpp examples, so no - no protoc-gen-nanopb, so that is good only for already generated .pb.h/.pb.c files
what is the suggested way to get at protoc-gen-nanopb in this case?
I could ether forget about the PlatformIO library, add https://github.com/nanopb/nanopb as a submodule under lib/ and call the generator like under Generating the headers for source checkout by adding the right incantation to settings.json
or I could brew/conda etc install a nanopb package which has the generator and call that from settings.json
but in the latter case a separate step is needed outside VScode and I see the danger of the library and nanopb_generator.py diverging
what would you suggest?

@mhaberler yes, this is exactly what I meant.
Happy coding with PlatformIO!

There is https://github.com/nanopb/nanopb/blob/master/tests/site_scons/site_tools/nanopb.py as nanopb's own test system uses SCons also.
So something like this could work:
 env.Tool("nanopb", toolpath = ["lib/nanopb/tests/site_scons/site_tools"])
 env.NanopbProto("foo.proto")

yep, there are gotchas ;)
the brute-force solution is good enough for government work, and my purposes for now

With 0.4.6 published the above fixes are included.
As for determining the generator path from platformio - I don't know, I'm very much a platformio novice myself :)

Hello!
Before getting to the problem, I have to state that I'm a beginner with both PlatformIO and SCons so I might totally misunderstand key concepts.
I cloned @mhaberler's test repo which was mentioned in the earlier comments. However I added the nanopb project  as a git submodule in the libs directory instead of specifying it in the platformio.ini's lib_deps section (PlatformIO finds nanopb this way, I'm sure about this).
So basically I want to compile the .proto file automatically before building the project, but the proto file's compilation does not happen.
I see that in the custom script the compilation process is added as a custom target but its action does not get called during the building process.
I tried to manually add this new custom target to the platformio.ini's target section:
targets = nanopb-scons

In this case if I launch the build process then the nanopb_callback gets called, it runs without errors, it finds and runs the NanopbProto method but it does not generate the proper .pb.h and .pb.c sources. Then the build process is marked as success and it isn't even attempted to build the project sources (which would of course fail as the generated files would be missing).
I also tried to add a pre-action in the script file without success:
env.AddPreAction("buildprog", nanopb_callback)

So what am I missing and how can my problem be solved?

Hi Péter
that's from way back - things have become much simpler nowadays
have a look at this repo: https://github.com/mhaberler/nimble-bl5-examples/blob/protobuf/platformio.ini
just fork, checkout the protobuf branch and build it - it has all the nanopb moving parts addressed

Hi Michael!
Thanks for the incredibly fast response!
Wow, this new approach is indeed much simpler and works without any problems, thank you for your help!

authors: Ma-Pe-Ma PetteriAimonen ivankravets mhaberler

repo: nanopb/nanopb

license: Zlib


text:
Update README.md

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=ru
Description of changes:

An unexpected error has occurred, could you please contact admins. Your RequestID: 475349de-9a42-4ce7-9dcf-a2ffb7f1664c


text:
How to use it?

It will be great, if you could provide an example of using this module, or demo...  Thanks

I'm updated README. Is it ok?

authors: helgiftw nanson


text:
window raise / menubar focus at conflict with each other

🐛 Bug
So turns out #721 which "raised" the main window as actually a reversion of #553 which had deleted that line to fix a menubar focus issue.
In #553 I made the following statement

I'm not quite sure why the raise_ call was in there or if there are any negative issues of dropping it on other platforms, but I can confirm that on a mac everything still functions as expected, including usage from the notebook.

Turns out raise_ was needed to bring the window to the front which is quite nice.
Now I'm not sure how to resolve both #553 and #721 at the same time!!!
@tlambert03 do you have any ideas?

oops, sorry!  (i'm assuming you meant #553?).  Yeah I know the issue you're referring to... and I've long since "grown used to it" with Qt (i've had the same thing for ages with LLSpy, and now I almost instinctively cmd-tab back and forth after starting).  I can say that it depends a bit on how the program is started... (but I can't remember at the moment exactly how/why).  For instance, it didn't affect the pyinstaller app, and I even think when I started from a cli interface it was sometimes better?  For what it's worth, I've even noticed this sort of window/menu stealing at times when importing matplotlib with qt backend... so I think it's rather deep in Qt.
It's a real conundrum, and definitely something I'd love to get to the bottom of!
For now, I wouldn't mind if you wanted to revert #721 and leave this issue open to remember to think about it.  your call.

We don't need to revert right away, i might play around with it a bit more now that I know why raise_ is called, but we might want to change before the next release.
Personally I find it less confusing if I can't see the window from the notebook than if the drop downs don't work first time, but hopefully we don't have to make that trade off!!

I just spent some timing working on this, but no progress!! I can only get either / or to work not both!!

Tried again, still no luck - if any Qt / Mac experts out there have any ideas on how to resolve this it would be much appreciated, I'm still making now progress

gonna try to see what I can figure out here...  One quick observation that might be a clue:
with self._qt_window.raise_() in the Window.show() method (as it currently is in master), I only get the inactive menubar problem if I launch the viewer within the gui_qt() context manager.  If I launch it as __main__ using python -m napari, then the menubar is immediately active.
If I launch ipython with a Qt event loop (ipython --gui=qt) then calling napari.view_image also yields a viewer with an active menubar.  However, when launching ipython like that, my terminal actually loses focus and the "current app" in the osx menubar is "python", forcing me to click on the terminal window to actually continue with launching the viewer.  I think it's that momentary loss of focus that "takes care" of the problem.
so it seems to be only when starting the qt event loop and then immediately raising the main_window when the menubar is inactive?  @sofroniewn, can you confirm that you're using with napari.gui_qt() to start your viewer when you have the inactive menus problem?

Yes that is the case, which means a potential solution might just be to set up some logic / extra keyword params to avoid the ‘raise_’ call when launching with our ‘gui_qt’ event loop and have it called by default from IPython and Jupyter - where it is really needed

yeah, I'm working on something like that now.  I noticed that the raise_ call is only necessary on the second call to gui_qt() (otherwise the viewer is already on top), and during that second call to gui_qt(), Qapplication.instance() returns a valid instance, whereas in the first call it returns None.  So I'm going to see if I can leverage that somehow

repo: napari/napari


text:
Try to find all leaked widget that causes failing tests

Description
This PR is a next PR to clean up bugs in tests that are causing segfaults for some test run. Previous one was #5373
In this PR I have focused on finding widgets that are not properly teardown.
Next to the improving of tests:

change part of the test to use QtViewer instead of full Viewer
add missed widget to qtbot
use before_close_func instead of custom teardown code in fixture

This PR contains a code for detecting of leaked widgets. This code contains two parts.
The own subclass of QtBot that ensures that object, with is hadled using addWidget name is set to 'handled_widget' affter the test end.
And _find_dangling_widgets fixture that is executed after the test end (and after qtbot teardown) and looks for all top-level widgets that do not have parents and check if this widgets are either:

_QtMainWindow - we handle it using make_napari_viewer fixture, without using qtbot.
some widget form qtconsole (I do not have time to investigate if we could make a PR to qtconsole to avoid it).
is not CanvasBackendDesktop that is leaking in test_sys_info.py and may require PR to vispy to fix this. (or some monkeypatching)
is not handled by qtbot already by having name "handled_widget"
Is not having __qtbot_handled__ set to true. This option requires more investigation to make this working deterministic. Maybe need to be removed after review.

If the widget does not fit to any above category, it is reported as an error.
There is no guarantee that all problematic widgets are found. So if this PR will be merged then some random test failures need to be observed, as some widget not too often leak from tests.

Thank you @Czaki, this is great work! I am not knowledgable enough in Qt to review but there is some very useful information here that would be great to get into our docs (probably in testing). I can think of these items:

advise when to use make_napari_viewer and when QtViewer is adequate
advise on the autouse fixtures we add when qapp is used (I had no idea of this)
how _find_dangling_widgets checks for widgets (essentially your bullet list above, it's very useful)

advise when to use make_napari_viewer and when QtViewer is adequate

I have put this in "Use the smallest possible widgets for tests" section of https://czaki.github.io/blog/2024/09/16/preventing-segfaults-in-test-suite-that-has-qt-tests/ feel free to take information from there to docs.

advise on the autouse fixtures we add when qapp is used (I had no idea of this)

I do not want to advertise it too much. It is a kind of magic, that may introduce a confusion to contributors. I much more prefer split on Qt and non Qt tests based on simple directory structure and using @pytest.fixture(autouse=True) in non-top level conftest.py. But in napari it will require to keep tests outside the code. That means a big refactor.

how _find_dangling_widgets checks for widgets (essentially your bullet list above, it's very useful)

I would rather put this in a comment in code. It may outdated easy, and if it is documented in code (like _dangling_qthreads) it is much easier to spot this during code review.
However, experience from writing _dangling_qthreads shows that my initial comments were totally rewritten by @jni to be clear by less experienced user.

I have put this in "Use the smallest possible widgets for tests" section of https://czaki.github.io/blog/2024/09/16/preventing-segfaults-in-test-suite-that-has-qt-tests/ feel free to take information from there to docs.

I mean specifically for napari case. For dummies, can you say what does Viewer have that QtViewer does not (and thus in what case you would need to use full Viewer) ? I'm happy to add a section on this if you give me a rough guide?

I would rather put this in a comment in code.

Sure, would be great to see this in the code.

I mean specifically for napari case. For dummies, can you say what does Viewer have that QtViewer does not (and thus in what case you would need to use full Viewer) ? I'm happy to add a section on this if you give me a rough guide?

Based on my knowledge, the main difference is the option to dock widgets (especially all plugin widgets), and has menus.
It is used, also, to detect active window (but it may be a problem in tests).
Fast checking of code does not show more usecases.
Using a pair of viewer = ViewerModel(); qt_viewer = QtViewer(viewer) makes also viewer.window path unavailable, so do not allow testing this interface.

I have updated doc strings. I have added fixtures for qt_viewer and viewer_model

that we should include some of this stuff in our testing docs, and maybe even do a little "crash course in napari testing" workshop for core devs or something

I hope to have time to do this in not so long time

@Czaki I've updated the docstrings and the OwnQtBot class name to be more descriptive. Please check the docstrings especially the pytest_runtest_setup to make sure I haven't mangled something. Otherwise thanks again for this and this is ready to merge from me! 🙏 🚀

authors: Czaki jni lucyleeow


text:
apply (without concat)

Expected Behavior
Add an apply method without concatenating for the array_ops module, because sometimes we don't want across-trial edge effects.

Actually is there a use case for this that simple list-comprehension couldn't do?
outstruct['new'] = [function(x) for x in outstruct['old']]

I can only think of a use case where the data is too large and you want to modify a field in-place, trial-by-trial. But writing a for loop for that would be just 1-2 lines anyway. So, I would say not adding any new functionality.

This is connected to #102, which I also don't think is necessary. It would be easy to implement, but whatever the function is that is being applied, more than likely there's plenty of room for parallelization within that function (per trial) to not necessitate parallelizing over trials.

authors: gavinmischler menoua

repo: naplab/naplib-python


text:
Use the repository instead of the homepage field in Cargo.toml

To allow Crates.io , lib.rs and the Rust Digger to link to it. See the manifest for the explanation.

Thanks

authors: SajjadPourali szabgab

repo: narrowlink/udp-stream


text:
Fix #1930, add code coverage for null check

Checklist (Please check before submitting)

[ x] I reviewed the Contributing Guide.
[ x] I signed and emailed the appropriate Contributor License Agreement to GSFC-SoftwareRelease@mail.nasa.gov and copied cfs-program@lists.nasa.gov.

Fix #1930 update code coverage test for CFE_ES_GenPoolRecyclePoolBlock and CFE_ES_GenPoolCreatePoolBlock for null pointer check.
Testing performed
Steps taken to test the contribution:

Build SIMULATION=native ENABLE_UNIT_TESTS=true prep
make
make test
make lcov

Expected behavior changes
No impact on behavior
Contributor Info - All information REQUIRED for consideration of pull request
Full name and company/organization/center of all contributors ("Personal" if individual work)

Note CLAs apply to only software contributions.

Anh Van, GSFC

If this changes coverage, I recommend updating:
https://github.com/nasa/cFE/blob/8852743153ddafcc7b12054f59bc86a361480f99/.github/workflows/code-coverage.yml#L107-L108

repo: nasa/cFE


text:
Exchange trait refactoring

Split Exchange trait into:

ExchangeEssentials to uniformize exchange instantiation with ExchangeParameters and ExchangeId, allowing to easily retrieve Exchange instance metadata (sandbox or not, credentials...)
ExchangeSpec to centralize OrderId, TradeId and Pagination types in one place
ExchangeMarketData and ExchangeAccount to allow partial implementations if needed

Rename OpenLimits to Exchange
Allow access to exchanges concrete implementations if needed with Exchange inner field in order to address dovahcrow concern about the need to provide thin layer on each exchange API

Uniformized exchange parameters and ids should also be useful in the future if openLimits users want to merge websocket streams for 2 exchanges or maybe 2 accounts from the same exchange...

Thanks for pushing on this @acatinon! Really like the idea, and particularly standardizing the initialization stuff will be super useful even in the short term -- something like that is required to make the python wrapper sanely support all openlimits exchanges, as opposed to just Nash. Will take a cloer look soon.

One big change I'd like to make (and just pushed here) is to remove all the associated types for ids and pages. It creates a big downstream hassle for consumer code that processes responses from any openlimits compatible exchange. We can just to the conversion to and from strings inside the client bindings for coinbase, binance, etc.

This turned into a pretty huge refactor, but I'm pretty happy with how the traits in exchange.rs are looking now. Still would like to fix up the websockets traits a bit

I still don't love the WS traits, but it is more work than I'm willing to deal with at the moment to fix that in this branch. For now just added uniform instantiation as we had for the Exchange trait. Want to get this into master, then can continue improvements through smaller PRs.

I think the current meets your original goals @acatinon with a few simplifications on the traits. I'm going to merge this now as other things are blocking on it, but will leave the branch and PR open if you have other suggestions

thanks @Ejhfast, I will have a look at your commits. Btw I have a stash about WebSockets too, I will try to add it tonight

authors: Ejhfast acatinon

repo: nash-io/openlimits


text:
Error with making a music video (av.error.ValueError: [Errno 22] Invalid argument)

Hi @nateraw, thanks for your great work on this package.
I'm currently struggling with generating a video synchronised with an mp3 file. I've set up my Python environment as per your requirements.txt file and getting the following error:
Traceback (most recent call last):
File "make_music_video.py", line 21, in
video_path = pipeline.walk(
File "/home/ubuntu/venv/lib/python3.8/site-packages/stable_diffusion_videos/stable_diffusion_pipeline.py", line 867, in walk
make_video_pyav(
File "/home/ubuntu/venv/lib/python3.8/site-packages/stable_diffusion_videos/stable_diffusion_pipeline.py", line 130, in make_video_pyav
write_video(
File "/home/ubuntu/venv/lib/python3.8/site-packages/torchvision/io/video.py", line 124, in write_video
for packet in a_stream.encode(frame):
File "av/stream.pyx", line 164, in av.stream.Stream.encode
File "av/codec/context.pyx", line 482, in av.codec.context.CodecContext.encode
File "av/audio/codeccontext.pyx", line 42, in av.audio.codeccontext.AudioCodecContext._prepare_frames_for_encode
File "av/audio/resampler.pyx", line 101, in av.audio.resampler.AudioResampler.resample
File "av/filter/graph.pyx", line 211, in av.filter.graph.Graph.push
File "av/filter/context.pyx", line 89, in av.filter.context.FilterContext.push
File "av/error.pyx", line 336, in av.error.err_check
av.error.ValueError: [Errno 22] Invalid argument
The error seems to occur after the code has already generated all the image frames and is attempting to prepare the final video file (my assumption but could be mistaken).
I tried to resolve the issue by attempting various permutations of the package versions in requirements.txt, including locking all versions to a release prior to Jan 7th when you last updated the requirements.txt. This sometimes changed the error to a different one (i.e. changing the version of librosa), but didn't ultimately resolve it.
My environment:
Python: 3.8.10
Pip: 23.1.2 (had to upgrade to the latest to properly install that basicsr package, as per my comment on https://github.com/nateraw/stable-diffusion-videos/issues/170).
OS: "Ubuntu 20.04.5 LTS"
CUDA version:
(nvcc --version output)
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0
This is actually a VM instance spun up from lambda labs, which gives you cheap access to a pretty powerful GPU cloud (like $0.60 / hour for this instance type). I mention that because one idea that might be helpful for users would be to have a proven way to set this package up in a standard, known environment -- maybe that could be one of these lambda labs VMs? Just a thought, I'm not affiliated with them in any way.
That way everyone is working off the same environment & there's an option for people like me who don't mind spending some pocket change to not deal with dependency hell :p

Not sure about the install issue, will look into it asap (next day or so).
As for setup, yea that's a great idea. That's what the colab was about, but I use lambda too. Next time I spin up an instance I'll sort out the install + add lambda specific instructions to readme. if you have time, feel free to issue a PR with these instructions and I'll give it a try :)

Legend @nateraw thanks buddy! I'd be happy to help fill out some instructions for lambda VM setup but I haven't actually gotten the music video mode working there yet.
This morning I spent 2 hours or so trying some more things and sadly ended up bumping into the same error (i.e. I tried replicating the exact conda set up you mentioned you used in a few other threads, and I also tried locking torchvision to the previous 0.14.1 version, etc).
Whenever you have the time, let me know if you get it working in that context, and I'll happily help with a PR however I can.

I'm taking a look on a fresh A100 instance from lambda 😎 will let ya know how it goes

Few issues going on.

Gradio fails due to old fsspec version. Brought it up here just now: https://github.com/gradio-app/gradio/issues/2626
The version of protobuf installed by default on lambda is mismatched with transformers I guess? Had to downgrade.
Some issue with VAE/Scheduler I had set as default in the example files when initializing the pipelines. Need to init them differently. Will update to simpler example so this issue goes away.

To set up on new Lambda A10 instance to make music videos
Install deps. I added xformers cuz it speeds things up (40 sec per batch in example below to 26 on A10).
pip install --upgrade fsspec
pip install stable-diffusion-videos protobuf==3.20.* youtube-dl
pip install xformers

Get a song
youtube-dl -f bestaudio --extract-audio --audio-format mp3 --audio-quality 0 -o "music/thoughts.%(ext)s" https://soundcloud.com/nateraw/thoughts

Then you can run:
import random

import torch
from stable_diffusion_videos import StableDiffusionWalkPipeline

pipe = StableDiffusionWalkPipeline.from_pretrained(
    'runwayml/stable-diffusion-v1-5',
    torch_dtype=torch.float16,
    safety_checker=None,
).to("cuda")

# Comment the line below if you do not have xformers installed.
pipe.enable_xformers_memory_efficient_attention()

# I give you permission to scrape this song :)
# youtube-dl -f bestaudio --extract-audio --audio-format mp3 --audio-quality 0 -o "music/thoughts.%(ext)s" https://soundcloud.com/nateraw/thoughts
audio_filepath = 'music/thoughts.mp3'

# Seconds in the song. Here we slice the audio from 0:07-0:16
# Should be same length as prompts/seeds.
audio_offsets = [7, 10, 13]

# Output video frames per second.
# Use lower values for testing (5-10ish), higher values for better quality (30 or 60)
fps = 4  # Change back to 25-30ish, 4 is for testing

# Convert seconds to frames
# This array should be `len(prompts) - 1` as its steps between prompts.
num_interpolation_steps = [(b-a) * fps for a, b in zip(audio_offsets, audio_offsets[1:])]

prompts = ["a cat with a funny hat", "snoop dogg at the dmv", "steak flavored ice cream"]
seeds = [random.randint(0, 9e9) for _ in range(len(prompts))]

pipe.walk(
    prompts=prompts,
    seeds=seeds,
    num_interpolation_steps=num_interpolation_steps,
    fps=fps,
    audio_filepath=audio_filepath,
    audio_start_sec=audio_offsets[0],
    batch_size=12,  # Increase/decrease based on available GPU memory. This fits on 24GB A10
    num_inference_steps=50,
    guidance_scale=15,
    margin=1.0,
    smooth=0.2,
)

Will add this stuff to the repo. :) let me know if you give it a shot.

You're a wizard @nateraw!! Thanks a lot. Can confirm the above worked for me on a Lambda A10 :)
Only minor thing to note is upgrading the pip version was still required (perhaps that's worth adding in the README when you next can). Also I'm still a little confused about the audio_offsets - I'm interpreting them as the point in the song when each prompt should "kick in" (so the differences between offsets are the duration of each prompt). However, the mp4 generated from your above example is only 6 seconds long, not sure if this is intentional. All good, that's for me to figure out, thanks again!

authors: nateraw ndelib

repo: nateraw/stable-diffusion-videos


text:
Added "Frogger" height and width for collisions

[Height and width previously missing]
Added height and width properties to game object. "Frogger"'s collision was only only at the top left pixel of his sprite.

I was so confused when I was looking at the game object trying to find its width and height properties. Thank you for this.

Thanks Luke!

authors: LukeFlego jackhou147 natetarrh

repo: natetarrh/frogger


text:
--bail tests failing on phantomjs2

Test summary failure for the spec is missing somehow:

  Tests Mixed
    ✓ passes 1
    ✓ passes 2
    ✓ passes 3
    - skips 1
    - skips 2
    - skips 3
    1) fails 1

  3 passing (6ms)
  3 pending

nm not repo'ing now

repo: nathanboktae/mocha-phantomjs-core


text:
Splitter doesn't drag until weird step is performed

For some reason, I have to disable the css height of my container, drag the splitter a random amount, and then re-enable the height property in order for the splitter to work. Until I do that I can't move the splitter at all. Any idea why this might be or how I could simulate that effect to get it to work?
To clarify, I have a vertical splitter of two divs and initially if you try to drag the splitter, nothing happens. However, if you hit F12 in Chrome (latest version), disable the height on the container, drag it a little bit, and then re-enable the height, then it works flawlessly.
Just disabling and re-enabling the height doesn't work and so does just dragging it. It has to be dragged while the height property is disabled. It's extremely weird and took me forever to figure out this workaround. Any idea why this might be or how I can fix it?

Figured it out. I'm using bootstrap tabs. It looks like the tab has to be active for it to load properly. Currently I was loading it on page load. I switched it to load when the tab becomes active for the first time and that fixed it. I think the disabling height, then dragging the splitter, and then re-enabling the height caused it to reinitialize and fix itself if I were to guess. Regardless, could this be made to work when it is not currently visible so my fix wouldn't be necessary?

Ok, this is really weird. Looks like I need a bit of a delay too. With only 100 milliseconds delay, the height is off a bit on the bottom div. If I use 500 millisecond delay, it works fine. Also, I have to manually set the height of the bottom div on load or else it doesn't work. Ended up getting it working but have to use this it seems, unless there is a better way:
`  setTimeout(function() {
Split(['#txtChatWindow', '#txtGuessWindow'], {
"direction": 'vertical',
"sizes": [15, 85],
"minSize": [75, 0],
"gutterSize": 15
});
$('#txtGuessWindow').height('370px');

}, 500);`

Split.js depends on the container having layout when it's initialized. Can you make a simple JSFiddle that recreates the height issue?

It's all good. After I moved it to the "tab active code" it works now with no delay (but still have to set the height, but I don't really mind much since it's just one short line of jQuery). Final code:
$(document).on('shown.bs.tab', 'a[href="#tab-splittertab"]', function() {
      if (!splitterLoaded) {
         Split(['#topDiv', '#botDiv'], {
          "direction": 'vertical',
          "sizes": [15, 85],
          "minSize": [75, 75],
           "gutterSize": 15
         });

         $('#botDiv').height('370px');

         splitterLoaded = true;
       }
     });

authors: nathancahill thenutjob


text:
don't include empty log output in error

The length of buf is always equal to LogBufSize, even if the buffer is empty. Instead
check whether the first character is a null.

LGTM

authors: lmb nathanjsweet

repo: nathanjsweet/ebpf


text:
[Question] Storing value for later reuse in select

Hi,
First of all, many thanks for your excellent library!
Suppose I have the following map:
{:tabs [{:id 1 :value "A"} {:id 2 :value "B"}]
:active-tab 2}

I would now like to select the tab whose :id is equal to :active-tab.
Is it possible to do so in one select query, or do you always need two queries for this (because you essentially walk down one level to :active-tab, then need to go up again, and then one level down again for :tabs)?
If not possible in one go, then it would be great if you could store the result of a subselect (perhaps even as a kind of "named variable"?) in order to later on reuse it.

Sorry for being so late on responding. Somehow this slipped by me.
Currently you would need to do two selections.... though in theory Specter is all set up to be able to do something like this. With collect-one you can capture values to be used by the transform-fn at the end, or in the case of selection to be part of the return. Navigators don't currently expose a way to access those collected values even though internally they're passing them around. I'll leave this issue open as I think about how such functionality might be exposed and whether that's a good idea.

Found a pretty elegant solution to this, with the new features required now in master. With the next release, the code to solve your problem looks like this:
(def data
  {:tabs [{:id 1 :value "A"}
          {:id 2 :value "B"}]
   :active-tab 2})

(select [(collect-one :active-tab)
         :tabs
         ALL
         (collect-one :id)
         (collected? [a i] (= a i))
         DISPENSE]
        data)
;; => [{:id 2, :value "B"}]

The collected? macro creates a filter function that takes in the collected values as input. The DISPENSE navigator drops all collected values for subsequent navigation (which in this case prevents the collected values from being part of the return).

Awesome, thanks!

authors: mtruyens nathanmarz

repo: nathanmarz/specter


text:
Outlook 365: redirection loop and error 500 on login

Bug description
Hi, I need to acces to outlook for work but during the login, the browser spam redirection and return error 500.
I have tried many browser with same result. I can login in office 365 but not in outlook. Same with ms-outlook-nativefier...
Steps to reproduce
Bug only on my computer with my company mail only. (Personal mails are working)
Expected behavior
Open the email
Actual behavior
Spamming redirection and then display error 500.
Debug info

clientIPAddress 2a01:e0a:4a4:55e0:24a7:6784:7c27:1770
X-ClientId: CEA5EC1FBBB6461F82805F5FC99DA59F
X-Redir-Error ArLym14Bq7g_48PK2Qg|AsTJRt4By0Qt48PK2Qg|ArLym14BQifj4sPK2Qg|AsTJRt4BPefT4sPK2Qg|ArLym14BuZmN4sPK2Qg|AsTJRt4BdZZ94sPK2Qg|ArLym14BjPst4sPK2Qg|AsTJRt4Bcm0e4sPK2Qg|ArLym14BcCTW4cPK2Qg|AsTJRt4BSL3G4cPK2Qg|ArLym14BhFWD4cPK2Qg|AsTJRt4BkDx04cPK2Qg|ArLym14BvlY04cPK2Qg|AsTJRt4Bp-8k4cPK2Qg|ArLym14B4lfl4MPK2Qg|AsTJRt4BcTrY4MPK2Qg|ArLym14BIPmd4MPK2Qg|AsTJRt4B6hyO4MPK2Qg|ArLym14B_-hN4MPK2Qg|AsTJRt4BECc74MPK2Qg|ArLym14Bk57a38PK2Qg
X-FEServer LNXP265CA0065
Date:29/12/2021 12:08:13

In journalct I have the corresponding error:

déc. 29 13:09:23 arch-vince kwin_x11[455]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 42840, resource id: 10518546, major code: 3 (GetWindowAttribu>
déc. 29 13:09:23 arch-vince kwin_x11[455]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 42841, resource id: 10518546, major code: 14 (GetGeometry),>
déc. 29 13:09:23 arch-vince kwin_x11[455]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 42844, resource id: 10518546, major code: 3 (GetWindowAttribu>
déc. 29 13:09:23 arch-vince kwin_x11[455]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 42845, resource id: 10518546, major code: 14 (GetGeometry),>

Context
Distro: Arch Linux x86_64 on 5.15.11-arch2-1.
Desktop: Plasma 5.23.4
Last installations for almost anything (fresh Arch install).

How did you build the app? Can you share the exact parameters (maybe censor any personal domains).
What if you start Outlook from within Office365? I use these parameters to build my 'Office 365' and start Outlook in a new window from that:

docker run -v .:/target/ nativefier/nativefier \
  --internal-urls='my-company-adfs-domain.com' \
  --name Office \
  https://portal.office.com/ \
  /target/

authors: brnl-cfit vincentBenet

repo: nativefier/nativefier


text:
Allow the client to infinitely attempt to reconnect

Allow setting maximum reconnects to a value (-1) that represents infinite, to continually trying to reconnect.

@ColinSullivan1 I thought you mentioned this was fixed or would be soon?  Is it?  If so, has it made its way to a nuget?

Not yet, I'm lining up both .NET clients for releases soon.  It's not fixed yet, I'll add it before I release.

Resolved with #217

repo: nats-io/csharp-nats


text:
WORK IN PROGRESS: cross compile to linux/arm64

Add support for arm64; closes #466. Work in progress

[x] Resolves #466
[ ] Documentation added (if applicable) - NEEDED
[ ] Tests added - NEEDED
[ ] Branch rebased on top of current master (git pull --rebase origin master)
[ ] Changes squashed to a single commit (described here)
[ ] Build is green in Travis CI
[x] You have certified that the contribution is your original work and that you license the work to the project under the MIT license

Changes proposed in this pull request:

Build on linux/arm64

/cc @nats-io/core

Coverage decreased (-0.2%) to 90.395% when pulling d75df5902bf6c39197c584616a17bd2961371442 on vielmetti:patch-1 into 64dcdd6a7e9225e71c7678a9992802eff98d2e05 on nats-io:master.

@vielmetti If you don't mind, I am going to close this PR and use #567 instead since we also want to provide ARM docker images. The PR 567 covers both aspects. Thanks again!

Excellent, thanks!

authors: coveralls kozlovic vielmetti

repo: nats-io/gnatsd


text:
examples.md link broken

the link for  examples.md in Basic Usage gives a 404
https://github.com/nats-io/nats.java/blob/main/src/examples/java/io/nats/examples/examples.md

Thanks for catching that, fixing https://github.com/nats-io/nats.java/pull/470

authors: aashikam scottf


text:
allow online peers to be removed

We can do nats server raft peer-remove but this requires a peer to be offline.
The server doesnt restrict this so we could ask it to remove a online peer, however when we tested this we found some instability resulted should the removed peer restart (and maybe other issues also)
As its been a while since we tested this properly we should again test and reconsider supporting removing online peers with -f
//cc @derekcollison

I think those tests were early in 2.9 release cycle. At minimum we should allow it with -f.
We should also retest that instability you saw.

A previous test cycle got these results:
So I peer removed a online server, it went offline and was able to come back after restart (couldnt in the past).  However after it came back it was in a very bad way.

Lots of

Resetting stream cluster state for 'one > ORDERS_42'
RAFT [ACbIFjhc - C-R3F-WgfPNMuK] Request from follower for index [212] possibly beyond our last index [217] - no message found
RAFT [4FFRXkOw - C-R3F-WgfPNMuK] Expected first catchup entry to be a snapshot and peerstate, will retry
Catchup for stream 'one > ORDERS_42' complete
Error applying entries to 'one > ORDERS_15': last sequence mismatch

which appears to resolve but also phantom consumers showed up that wasnt there before, couldnt be INFO’d etc
and other consumers just never got caught up with current without any logs

{"name":"n1-lon","current":false,"active":261784,"lag":217}
not sure I’d be willing to use this in any other scenario than that outlined earlier - node is dead, offline and never coming back.

So we should re-test what happens when an online peer is removed and it comes back after a restart (this is the problem, you remove a online peer it will most likely come back soon) and if its stable when it come back.

Agree. @bruth possible to test this on 2.9.10 (top of main)..

Yes, will create a test example.

https://nats-by-example-6buhofso7-connecteverything.vercel.app/examples/jetstream/online-peer-remove/cli

Does seem to behave better now - but still, what do we gain by removing an online node? Soon as someone restarts it it will come back?

I am seeing some inconsistencies with messages on disk after it comes back, like some limits didnt apply or something
│ Server  │ Cluster │ Domain │ Streams │ Consumers │ Messages │ Bytes   │ Memory │ File    │ API Req │ API Err │
├─────────┼─────────┼────────┼─────────┼───────────┼──────────┼─────────┼────────┼─────────┼─────────┼─────────┤
│ n3-lon  │ lon     │ hub    │ 39      │ 171       │ 51,660   │ 520 MiB │ 0 B    │ 520 MiB │ 1,188   │ 0       │
│ n1-lon  │ lon     │ hub    │ 39      │ 172       │ 58,190   │ 586 MiB │ 0 B    │ 586 MiB │ 1       │ 0       │
│ n2-lon  │ lon     │ hub    │ 47      │ 171       │ 51,672   │ 520 MiB │ 0 B    │ 520 MiB │ 1,592   │ 0       │

here I bounced n1 out a few times, keeping it down etc - its should have the same message count as the other 2 but somethings clearly gone bad there once it came back.
WIll need some more time to investigate / reproduce

Also after removing n1-nyc while online report jsz still gets given data about it:
├─────────┬─────────┬────────┬─────────┬───────────┬──────────┬─────────┬────────┬─────────┬─────────┬─────────┤
│ Server  │ Cluster │ Domain │ Streams │ Consumers │ Messages │ Bytes   │ Memory │ File    │ API Req │ API Err │
├─────────┼─────────┼────────┼─────────┼───────────┼──────────┼─────────┼────────┼─────────┼─────────┼─────────┤
│ n1-lon  │ lon     │ hub    │ 38      │ 172       │ 51,790   │ 521 MiB │ 0 B    │ 521 MiB │ 1       │ 0       │
│ n2-lon  │ lon     │ hub    │ 41      │ 171       │ 51,795   │ 521 MiB │ 0 B    │ 521 MiB │ 1,789   │ 0       │
│ n3-lon  │ lon     │ hub    │ 38      │ 171       │ 51,790   │ 521 MiB │ 0 B    │ 521 MiB │ 1,352   │ 0       │
│ n3-nyc* │ nyc     │ hub    │ 35      │ 165       │ 51,180   │ 515 MiB │ 0 B    │ 515 MiB │ 846     │ 0       │
│ n2-nyc  │ nyc     │ hub    │ 35      │ 165       │ 51,180   │ 515 MiB │ 0 B    │ 515 MiB │ 990     │ 0       │
│ n1-nyc  │ nyc     │        │ 0       │ 0         │ 0        │ 0 B     │ 0 B    │ 0 B     │ 0       │ 0       │
│ n3-sfo  │ sfo     │ hub    │ 35      │ 165       │ 50,945   │ 512 MiB │ 0 B    │ 512 MiB │ 725     │ 1       │
│ n1-sfo  │ sfo     │ hub    │ 34      │ 165       │ 45,705   │ 459 MiB │ 0 B    │ 459 MiB │ 0       │ 0       │
│ n2-sfo  │ sfo     │ hub    │ 34      │ 165       │ 45,705   │ 459 MiB │ 0 B    │ 459 MiB │ 739     │ 0       │
├─────────┼─────────┼────────┼─────────┼───────────┼──────────┼─────────┼────────┼─────────┼─────────┼─────────┤
│         │         │        │ 290     │ 1,339     │ 400,090  │ 3.9 GiB │ 0 B    │ 3.9 GiB │ 6,442   │ 1       │
╰─────────┴─────────┴────────┴─────────┴───────────┴──────────┴─────────┴────────┴─────────┴─────────┴─────────╯```

see all the 0s, thats a removed machine

And once it reboots and come back on - it gets no data and all the streams shows only the 2 peers
│ Stream     │ Storage │ Placement     │ Consumers │ Messages │ Bytes   │ Lost │ Deleted │ Replicas        │
├────────────┼─────────┼───────────────┼───────────┼──────────┼─────────┼──────┼─────────┼─────────────────┤
│ ORDERS_4   │ File    │ cluster: nyc  │ 5         │ 1,000    │ 10 MiB  │ 0    │ 0       │ n2-nyc, n3-nyc* │
│ ORDERS_1   │ File    │ cluster: nyc  │ 5         │ 1,000    │ 10 MiB  │ 0    │ 0       │ n2-nyc*, n3-nyc │

however meta group has it up and healthy
╭──────────────────────────────────────────────────────────────╮
│                 RAFT Meta Group Information                  │
├────────┬──────────┬────────┬─────────┬────────┬────────┬─────┤
│ Name   │ ID       │ Leader │ Current │ Online │ Active │ Lag │
├────────┼──────────┼────────┼─────────┼────────┼────────┼─────┤
│ n1-lon │ 4FFRXkOw │        │ true    │ true   │ 0.74s  │ 0   │
│ n1-nyc │ chC4jxAp │        │ true    │ true   │ 0.82s  │ 0   │
│ n1-sfo │ Vky05QUP │        │ true    │ true   │ 0.74s  │ 0   │
│ n2-lon │ ACbIFjhc │        │ true    │ true   │ 0.74s  │ 0   │
│ n2-nyc │ ypSxRZrl │        │ true    │ true   │ 0.82s  │ 0   │
│ n2-sfo │ Qp0rD5EC │        │ true    │ true   │ 0.74s  │ 0   │
│ n3-lon │ J0t0ySUw │        │ true    │ true   │ 0.74s  │ 0   │
│ n3-nyc │ P2IE71bg │ yes    │ true    │ true   │ 0.00s  │ 0   │
│ n3-sfo │ tYwrA5d9 │        │ true    │ true   │ 0.75s  │ 0   │
╰────────┴──────────┴────────┴─────────┴────────┴────────┴─────╯

Yet when it started up it logged its restoring etc
I think we have a bunch of work to do before we can consider allowing this.

I don’t think these problems are limited to taking off online nodes and bringing tbem back - I think it’s in general issues with nodes coming back

authors: bruth derekcollison ripienaar

repo: nats-io/natscli


text:
🛑 next.nature.io (v2) is down

In 742fdbc, next.nature.io (v2) (https://next.nature.io/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: next.nature.io (v2) is back up in 64eb8b7.

repo: natureOffice-GmbH/upptime


text:
added some animation on page

I have added zoom-in on hover animation at two places, one at choosing your plan and another at features. I thought too many animations will look weird on the site that's why I didn't add too many.

@naufaldi Due to some reason my pull request is failing vercel check. Can you tell me why this is happening?

the problem is on vercel nodejs, already update nodejs. Can you provide screenshot / video when hover? can you add incoming animation too?
example see this website
Logos Festival

the problem is on vercel nodejs, already update nodejs. Can you provide screenshot / video when hover? can you add incoming animation too?
example see this website Logos Festival

@naufaldi Here are screenshots.

Thanks you!

@naufaldi Hey, can you add Hacktoberfest-accepted tag to this pull request?

repo: naufaldi/next-landing-vpn


text:
Confusing error message in forms if authentication expires while on form page

Environment

Nautobot version (Docker tag too if applicable): 1.5.16
Python version: 3.11
Database platform, version: Postgresql
Middleware(s): Docker

Steps to Reproduce

In Nautobot, go to the "Add New Device" form page
Select one of the drop downs to see pre-populated data (ie: Device Role to show all available Device Roles to select from)
Open Nautobot in a separate tab and log out of Nautobot
On the original tab (add device form), select the same Device Role drop down.  A message "The results could not be loaded." appears.

Expected Behavior
I would like to see a more descriptive error message when this occurs, stating WHY the results couldn't be loaded.

Observed Behavior
This occurred when configuring a device and the backend authentication expiring in the middle of filling out the form.  The error message initially made us think there was a backend error or something similar, and made no mention of an authentication timeout.
Ideally, if possible, I'd like to see some kind of better error handling or messaging in this scenario.

Similar to #3617: better error handling when session lost before POSTing.

repo: nautobot/nautobot


text:
🛑 Harmony Bot Website is down

In 1f43efd, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 4f169c0.


text:
🛑 Harmony Bot Website is down

In bbca3e8, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 07d0092.


text:
🛑 Harmony Bot Website is down

In eb61309, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 0860037.


text:
🛑 Harmony Bot Website is down

In 4f03353, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 9509284.


text:
🛑 Harmony Bot Website is down

In 0cc4e80, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 91b5a96.


text:
🛑 Harmony Bot Website is down

In c00892d, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in e539378.

Resolved: Harmony Bot Website is back up in e539378.


text:
How to change the style with variable?

https://user-images.githubusercontent.com/61395246/148703419-7dd09a67-d2a7-47a3-b280-6f5919cf505a.mp4

Due to a Neovim bug with lua and global variables you can't directly edit fields of global dictionaries.
I'd suggest you to use setup() function:
require('onedark').setup({style = 'darker'})
require('onedark').load()

require('onedark').setup({style = 'darker'}) - Will this update entire option or updates only style param?

require('onedark').setup({style = 'darker'}) - Will this update entire option or updates only style param?

It updates only style field because vim.tbl_deep_extend is used

authors: LamprosPitsillos navarasu xeluxee


text:
Color specification for SVG

Thanks for this nifty project; love the idea.
It, er, doesn't work for me.
In particular, if I run the following
import manim_fontawesome
dir(manim_fontawesome.solid.person)

I get a long error (stacktrace at bottom) terminating in ValueError: invalid literal for int() with base 16: 'LA'.
This seems to be related to a the function _get_svg_object in
https://github.com/naveen521kk/manim-fontawesome/blob/main/src/manim_fontawesome/__init__.py
Specifically,
def _get_svg_object(fp: str):
    color = 'BLACK'
    if config.background_color == 'BLACK':
        color = 'WHITE'
    return SVGMobject(fp, color=color)

I think we are parsing 'BLACK' as a hexadecimal number and failing (?).
In any case, colors should not be strings, right? Shouldn't it use color names from the manim namespace?
Something like
def _get_svg_object(fp: str):
    color = manim.BLACK
    if config.background_color == 'BLACK':
        color = manim.WHITE
    return SVGMobject(fp, color=color)

More generally, why bother setting the color at all? I imagine users commonly want to change the color of the icons anyway
I could prepare a pull request if you let me know what the intended behavior is.
Stacktrace:
ValueError                                Traceback (most recent call last)
/Users/mac581/Source/nextgen-course/NG01_02_expectation.ipynb Cell 2 in <cell line: 2>()
      [1](vscode-notebook-cell:/Users/mac581/Source/nextgen-course/NG01_02_expectation.ipynb#X12sZmlsZQ%3D%3D?line=0) import manim_fontawesome
----> [2](vscode-notebook-cell:/Users/mac581/Source/nextgen-course/NG01_02_expectation.ipynb#X12sZmlsZQ%3D%3D?line=1) dir(manim_fontawesome.solid.person)

File ~/Source/nextgen-course/venv/lib/python3.9/site-packages/manim_fontawesome/__init__.py:4102, in Solid.__getattr__(self, name)
   4101 def __getattr__(self, name) -> SVGMobject:
-> 4102     return _get_svg_object(_Solid.__members__[name].value)

File ~/Source/nextgen-course/venv/lib/python3.9/site-packages/manim_fontawesome/__init__.py:4075, in _get_svg_object(fp)
   4073 if config.background_color == 'BLACK':
   4074     color = 'WHITE'
-> 4075 return SVGMobject(fp, color=color)

File ~/Source/nextgen-course/venv/lib/python3.9/site-packages/manim/mobject/svg/svg_mobject.py:113, in SVGMobject.__init__(self, file_name, should_center, height, width, color, opacity, fill_color, fill_opacity, stroke_color, stroke_opacity, stroke_width, svg_default, path_string_config, **kwargs)
    111 self.svg_height = height
    112 self.svg_width = width
--> 113 self.color = color
    114 self.opacity = opacity
    115 self.fill_color = fill_color

File ~/Source/nextgen-course/venv/lib/python3.9/site-packages/manim/mobject/types/vectorized_mobject.py:377, in VMobject.set_color(self, color, family)
    376 def set_color(self, color, family=True):
--> 377     self.set_fill(color, family=family)
    378     self.set_stroke(color, family=family)
    379     return self

File ~/Source/nextgen-course/venv/lib/python3.9/site-packages/manim/mobject/types/vectorized_mobject.py:262, in VMobject.set_fill(self, color, opacity, family)
    260     for submobject in self.submobjects:
    261         submobject.set_fill(color, opacity, family)
--> 262 self.update_rgbas_array("fill_rgbas", color, opacity)
    263 if opacity is not None:
    264     self.fill_opacity = opacity

File ~/Source/nextgen-course/venv/lib/python3.9/site-packages/manim/mobject/types/vectorized_mobject.py:198, in VMobject.update_rgbas_array(self, array_name, color, opacity)
    197 def update_rgbas_array(self, array_name, color=None, opacity=None):
--> 198     rgbas = self.generate_rgbas_array(color, opacity)
    199     if not hasattr(self, array_name):
    200         setattr(self, array_name, rgbas)

File ~/Source/nextgen-course/venv/lib/python3.9/site-packages/manim/mobject/types/vectorized_mobject.py:186, in VMobject.generate_rgbas_array(self, color, opacity)
    183 colors = [c if (c is not None) else BLACK for c in tuplify(color)]
    184 opacities = [o if (o is not None) else 0 for o in tuplify(opacity)]
    185 rgbas = np.array(
--> 186     [color_to_rgba(c, o) for c, o in zip(*make_even(colors, opacities))],
    187 )
    189 sheen_factor = self.get_sheen_factor()
    190 if sheen_factor != 0 and len(rgbas) == 1:

File ~/Source/nextgen-course/venv/lib/python3.9/site-packages/manim/mobject/types/vectorized_mobject.py:186, in <listcomp>(.0)
    183 colors = [c if (c is not None) else BLACK for c in tuplify(color)]
    184 opacities = [o if (o is not None) else 0 for o in tuplify(opacity)]
    185 rgbas = np.array(
--> 186     [color_to_rgba(c, o) for c, o in zip(*make_even(colors, opacities))],
    187 )
    189 sheen_factor = self.get_sheen_factor()
    190 if sheen_factor != 0 and len(rgbas) == 1:

File ~/Source/nextgen-course/venv/lib/python3.9/site-packages/manim/utils/color.py:464, in color_to_rgba(color, alpha)
    463 def color_to_rgba(color: Color | str, alpha: float = 1) -> np.ndarray:
--> 464     return np.array([*color_to_rgb(color), alpha])

File ~/Source/nextgen-course/venv/lib/python3.9/site-packages/manim/utils/color.py:456, in color_to_rgb(color)
    454 def color_to_rgb(color: Color | str) -> np.ndarray:
    455     if isinstance(color, str):
--> 456         return hex_to_rgb(color)
    457     elif isinstance(color, Color):
    458         return np.array(color.get_rgb())

File ~/Source/nextgen-course/venv/lib/python3.9/site-packages/manim/utils/color.py:483, in hex_to_rgb(hex_code)
    481 if len(hex_part) == 3:
    482     hex_part = "".join([2 * c for c in hex_part])
--> 483 return np.array([int(hex_part[i : i + 2], 16) / 255 for i in range(0, 6, 2)])

File ~/Source/nextgen-course/venv/lib/python3.9/site-packages/manim/utils/color.py:483, in <listcomp>(.0)
    481 if len(hex_part) == 3:
    482     hex_part = "".join([2 * c for c in hex_part])
--> 483 return np.array([int(hex_part[i : i + 2], 16) / 255 for i in range(0, 6, 2)])

ValueError: invalid literal for int() with base 16: 'LA'

Thanks for the issue. AFAIR, setting colours as strings were previously working in Manim.

More generally, why bother setting the color at all? I imagine users commonly want to change the color of the icons anyway
I could prepare a pull request if you let me know what the intended behavior is.

I initially made it so that something is visible on the screen when the user didn't select any colour for the icons and I think it's a good feature to have. I think we could just change to the snippet you provided using colours from manim namespace. Also, I think I should write some tests so that I could've found out this error a bit earlier.

Oh actually, I'll consider not allowing string as colour for SVGMobject as a bug in Manim, because it works in other places. I'll would still like to not use string though. For example, this works:
class Test(Scene):
  def construct(self):
    self.add(Square(color="RED"))


text:
Fix typo

Summary
(Optional): Description
FIx typo in korean documetation.

 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.

repo: naver/fixture-monkey


text:
#2800 Add isEmpty() to ArrayUtils

#2800

Codecov Report

Merging #2802 into master will increase coverage by <.01%.
The diff coverage is 20.45%.

@@            Coverage Diff             @@
##           master    #2802      +/-   ##
==========================================
+ Coverage   40.78%   40.79%   +<.01%
==========================================
  Files        1775     1775
  Lines       61197    61266      +69
  Branches     8600     8608       +8
==========================================
+ Hits        24962    24993      +31
- Misses      36235    36273      +38

Impacted Files
Coverage Δ

...t/collector/cluster/route/DefaultRouteHandler.java
65% <0%> (ø)
:arrow_up:

...a/com/navercorp/pinpoint/test/PluginTestAgent.java
0% <0%> (ø)
:arrow_up:

...erceptor/CxfClientInvokeSyncMethodInterceptor.java
75% <100%> (ø)
:arrow_up:

...ercorp/pinpoint/profiler/util/JavaAssistUtils.java
79.69% <100%> (ø)
:arrow_up:

...point/bootstrap/AgentDirBaseClassPathResolver.java
52.7% <100%> (ø)
:arrow_up:

...p/pinpoint/profiler/instrument/JavassistClass.java
17.75% <100%> (ø)
:arrow_up:

...avercorp/pinpoint/test/MethodDescriptionUtils.java
86.66% <100%> (ø)
:arrow_up:

...point/common/server/util/ApiDescriptionParser.java
83.67% <100%> (ø)
:arrow_up:

...rp/pinpoint/common/server/util/AgentEventType.java
80% <100%> (ø)
:arrow_up:

...ercorp/pinpoint/profiler/util/ByteBufferUtils.java
91.66% <100%> (ø)
:arrow_up:

... and 11 more

Continue to review full report at Codecov.

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

authors: codecov-io emeroad

repo: naver/pinpoint


text:
🎨 Icon-plugin

Inlinet koden fra denne https://github.com/olejorgenbakken/figma-plugin-aksel-icons inn i kodebasen vår. Blir nå litt lettere å publisere oppdateringer.
Plugin blir brukt nå av f.eks digdir. Nye oppdateringer må publiseres manuelt, så kan ikke gjøre dette med gh-action. 😢 Kjører derfor ikke build ved yarn boot siden dette må gjøres manuelt en gang i ny og ned.

Bruker vite istedenfor webpack
Oppdatert Ui

burde det hete figma-plugin i steden for bare plugin? (i mappe struktur og slikt?)

burde det hete figma-plugin i steden for bare plugin? (i mappe struktur og slikt?)

God idè, fikser det

authors: JulianNymark KenAJoh

repo: navikt/aksel


text:
Problem starting MenuTools on 64bit OS

Hi,
I've got a problem starting MenuTools on my 64bit Windows 10. There's no problem on a 32bit Windows 10.
It seems, that there's a problem, when MenuTools.exe tries to launch MenuTools64.exe if you're not in the MenuTools install folder.
As MenuTools requires admin rights, I've created a scheduled task running
c:\program files\menutools\menutools.exe
with highest priviledges to circumvent UAC. This doesn't work. The process exits silently.
Adding the working directory doesn't work either.
But - as a workaround - launching
cmd /c start /d "c:\program files\menutools" /b menutools.exe
works fine.

I never realized that! Really weird stuff ;)
I'll check it later today.
Thanks!

To be honest, I did a few quick tests here...
The startup behavior is wrong in every Windows I have tested (7 x86, 8 x86, 8.1 x86 and 10 x86)
Not sure how I missed that... I'll keep looking into it.

Actually I didn't "many tests" on a x86 platform. I've installed the program, removed the startup shortcut, created the task to start it with elevated privileges and it worked like a charm. Repeating the procedure on a x64 based Windows 10, I ran into the problem and started testing there.
Maybe the processor architecture isn't the cause.

I found the problem yesterday, if you have the UAC enabled you can't launch a program that requires administrator privileges.
If I remember right, I didn't use UAC back then, so I never realized it.
Creating a task in the scheduler may solve the problem, but as you said it doesn't seems to work on Windows 10 x64, I'm looking why...

Hey mate, I didn't forgot about you...
I'm debating how to redesign the whole thing, including add more features and make it more compatible.
I'll let you know when I have more information.

Hey,
nice to hear, that you are planning to add some features. I hope the impact on the resource usage won't be too heavy. One of the fact's, that convinced me, was the very low memory footprint :)
If you plan to add localizations, I could translate the strings to German.

Hi,
since my last comment is older than a year - how is the status?
Can I help you by testing anything?

Hello @Big--Mike...
To be honest, I ended up putting this idea on hold and never thought too much about it again.
At the moment, I'm doing a plugin for KeePass.
You can check it here if you want.
Anyway, I still have some ideas for this program by adding a window manager. Something like Divvy and a few other features (that will help me a lot too).
The only problem I do not know when I would do this.
About this original issue, scheduled tasks are the way to go.
Are you having any new problems or were you just curious if any new projects came up?

Actually my problem was, that on a 64bit operating system, I have to run it with the command
"cmd.exe /c start /d "c:\program files\menutools" /b menutools.exe"
and "c:\program files\menutools\menutools.exe", which works fine on a 32bit operating system doesn't work.
But I have no new problems, and it still works like a charm, once MenuTools is running...
I've never read about Divvy, but it looks interesting.
May I ask, what's wrong with the old FavIcon downloader plugin for KeePass? It works for me...

Hello :)
I am big fan of manu tools, but long time ago I have switched to "Moo0 Window Menu Plus" - it is also lightwave, and no need to run via task scheduler. It also works not on all windows, for example - it works with google picasa viewer, but does not show up for foxit reader x64. But there are no issues with automatic startup, it also is a simple exe to put somewhere in your "bin" folder.

:) I can't see any hints on the Moo0 homepage, that Window Menu Plus supports x64, so this is probably the reason, why it doesn't work with Foxit Reader x64 and MenuTools supports x64, this is a big advantage over many other tools of this category.

@Big--Mike
Sure the old one still works, but I found him a little bit clumsy...
There a few negative points I see on it:

It sometimes can't find the favicon of a few sites.
It have a few issues with proxies settings.
It runs on a single threaded, so for a large number of entries it takes a good while to complete.

I'm working on that, besides I'm interested in how plugins are made for KeePass.
I think I can do another installer to fix the startup issue.
The only problem with this is: my code signing certificate has expired a long time ago. Because of this, newer versions of Windows will complain a lot to install it, which is not cool at all.
I could try to ask for a open developer certificate, but I don't think this project receives too much attention for that.
Just a few people uses it.
So, for now the best way to fix it is create a scheduled task as you said:
schtasks /create /sc onlogon /TN MenuTools /TR "cmd /c start /d \"%PROGRAMFILES%\MenuTools\" /b MenuTools.exe" /RL HIGHEST /F
Maybe with the revamp, I could ask for a certificate 😀

Ok, I'm using FavIcon Downloader only for single sites, so I never noticed the problems...
MenuTools:
No problem :) As long as it works, I'm fine with it. There's only the ugly cmd window, which pops up for a short time and reminds me, that there's a little start up problem.

authors: Big--Mike Dainonas navossoc

repo: navossoc/MenuTools


text:
🛑 SE is down

In 2e7a870, SE (http://andmebaas.stat.ee/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SE is back up in 3e450b6.

repo: nbbrd/sdmx-upptime


text:
🛑 NBB is down

In a5ac9b7, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 860 ms

Resolved: NBB is back up in ff5be93.


text:
🛑 ESCAP is down

In dbaa953, ESCAP (https://api-dataexplorer.unescap.org/rest/dataflow/all/all/latest) was down:

HTTP code: 500
Response time: 4444 ms

Resolved: ESCAP is back up in 043b6cf.


text:
🛑 ISTAT is down

In aaf3f09, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in f1dc836 after 42 minutes.


text:
🛑 ISTAT is down

In ff71c39, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in de348ee after 6 minutes.


text:
🛑 ESTAT is down

In 2dea042, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 4dc9694 after 6 minutes.


text:
🛑 ILO is down

In be6de0d, ILO (https://www.ilo.org/sdmx/rest/dataflow/all/all/latest) was down:

HTTP code: 403
Response time: 1389 ms

Resolved: ILO is back up in 417ac4e.


text:
🛑 ISTAT is down

In a5ebdf4, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 9978efb after 6 minutes.


text:
🛑 ISTAT is down

In 1be5993, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 59cb024 after 18 minutes.


text:
🛑 ESTAT is down

In 6d60e1e, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 8223863 after 6 minutes.


text:
🛑 ESTAT is down

In cd34a20, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in a7f8261 after 13 minutes.


text:
🛑 ISTAT is down

In 0fc9eaa, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 17b8a48 after 4 minutes.


text:
🛑 ESTAT is down

In 5a8ceb6, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in fd4e195 after 25 minutes.


text:
🛑 OECD is down

In 9130867, OECD (https://stats.oecd.org/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OECD is back up in b8f4d22 after 11 minutes.


text:
🛑 NBB is down

In eb91273, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 579 ms

Resolved: NBB is back up in a8f5bf5 after 14 minutes.


text:
🛑 ESTAT is down

In 5de90b3, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in d9e2fa8 after 37 minutes.


text:
🛑 ISTAT is down

In 82851fb, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 5702c94 after 6 minutes.


text:
🛑 ESTAT is down

In 6a45d06, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 007b2d7 after 20 minutes.


text:
🛑 ISTAT is down

In 049711a, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in ddc8992 after 21 minutes.


text:
🛑 ISTAT is down

In d061f3f, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 0e2eadc after 5 minutes.


text:
🛑 SIMEL is down

In bef0eed, SIMEL (https://disseminatesimel.mtps.gob.sv/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SIMEL is back up in 2272e1c.


text:
🛑 ESTAT is down

In fa99047, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in d1dddea after 6 minutes.


text:
🛑 ISTAT is down

In 2a90907, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 3945fe1 after 16 minutes.


text:
🛑 NBB is down

In 6839969, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 988 ms

Resolved: NBB is back up in 1c57bbc after 18 minutes.


text:
🛑 ESTAT is down

In 3e01203, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 552b70d after 6 minutes.


text:
🛑 ISTAT is down

In f92fa5a, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 0f901fc after 8 minutes.


text:
🛑 INEGI is down

In f7c277e, INEGI (https://sdmx.snieg.mx/service/Rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: INEGI is back up in 0b33762.


text:
🛑 ESTAT is down

In 050f373, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in ea40dad.


text:
🛑 ISTAT is down

In 1c2cf94, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 6ef351a.


text:
⚠ File access (beta) has degraded performance

In 22b82ce, File access (beta) (https://beta.fyle.uk/file/fish) experienced degraded performance:

HTTP code: 200
Response time: 7604 ms

Resolved: File access (beta) performance has improved in 37598c9.

repo: nbitzz/status


text:
Allow to compile on Raspbian GNU/Linux 8.0 (jessie)

Hi Nenad,
This Pull Request allows to compile piHomeEasy on Raspbian GNU/Linux 8.0 (jessie).
Best regards,
CYOSP

Nenad,
I've also updated your great job with makefile usage.
Best regards,
CYOSP

Thanks CYOSP

authors: cyosp nbogojevic

repo: nbogojevic/piHomeEasy


text:
#15 Explicit name set fixes the issue with Require not being able to match the module.

Explicit name set fixes the issue with Require not being able to match the module.
require.js:900 Error: Mismatched anonymous define() module: undefined
Implementing this, solves the issue for me.

Unfortunately, this breaks the AMD tests.

Closing due to lack of follow-up on errors caused by this PR.

authors: nbubna pvshum

repo: nbubna/store


text:
How to only mock selected properties using NBuilder?

I'm trying to seed a database using mock data generated with NBuilder. I have some properties that are database generated (e.g. primary keys). Hence, it would be very useful if we can opt-in/opt-out properties that are mocked by NBuilder. Is this possible?

You can't opt-in, but you can opt-out. See the following code:
        public class MyClass
        {
            public string StringProperty { get; set; }
        }

        [Fact]
        public void Default()
        {
            var builder = new Builder();

            var result = builder.CreateNew<MyClass>().Build();

            result.StringProperty.ShouldBe("StringProperty1");
        }

        [Fact]
        public void DisablePropertyNamingFor()
        {
            var settings = new BuilderSettings();
            settings.DisablePropertyNamingFor<MyClass, string>(m => m.StringProperty);
            var builder = new Builder(settings);

            var result = builder.CreateNew<MyClass>().Build();

            result.StringProperty.ShouldBe(null);
        }

I just added these tests and they pass.

authors: crmckenzie smadurange

repo: nbuilder/nbuilder


text:
courier in pro account

Hi,
How can I get all couriers in pro account?
this is my function now but only able to get one courier at the moment:
public function indexajax(Request $request, $cityID) {
      $rajaongkir = new Rajaongkir\Domestic('xxxxxxxxx');
      $province = $rajaongkir->province();

      $origin = 152; //Jakarta
      $destination = $request->cityID;
      $weight = 1;
      $courier = 'jne'; // jne, tiki, pos
      $cost = $rajaongkir->cost($origin, $destination, $weight, $courier);
      return response()->json($cost);
    }

PS:
please help me to get account type in my code
$rajaongkir = new Rajaongkir\Domestic('xxxxxxxxx');

for this i had to change Domestic.php file. couldn't add my type base on documents of this package
Thanks.

no support hah?

anyone?

@robertnicjoo really sorry, didn't read this issue
You can use $rajaongkir->account(); to check your account type and if you want to add multiple courier, just separated courier code with :. Ex : $courier = 'jne:tiki:post:jnt'; (jnt need pro account), hope this help
PS : Don't forget to read the wiki to more information about this packagemention me if you need help

@ncaneldiee thanks for respond anyway, but I made a better way rather that typing all the courier names (i guess),
Since we have couriers in our app config file separated by api types I've made array of my couriers and listed them in function,
Here is sample function for those might some day end up here:
public function indexajax(Request $request, $weight, $cityID) {
      $rajaongkir = new Rajaongkir\Domestic('xxxxxxxxxxxxxxxxxxxxxxx');
      $province = $rajaongkir->province();
      $cori = $rajaongkir->courier('all'); //get all couriers (base on your domestic code it will retrieve it automatically)
      $cori = []; // put them in array
      $origin = 152; //Jakarta
      $destination = $request->cityID;
      $weight = $request->weight;
      $courier = $cori; // get couriers array in your function loop
      $cost = $rajaongkir->cost($origin, $destination, $weight, $courier);
      return response()->json($cost);
    }

the rest of it is huge JavaScript coding, you can figure it out...
Demo
This demo is made by Pro API,

authors: ncaneldiee robertnicjoo

repo: ncaneldiee/rajaongkir


text:
Score 0 for cooperator with grudger and copycat.

My understanding is that a grudger and a copycat would always give money to a cooperator. But in this example  (with regular payoffs), in the second round, the cooperators end up with 0 money.

Good question.  I get the same results.
Are each player's actions based on the interactions with an individual or the group?
It seems the Grudger is no longer trusting the Cooperators based on the actions of Cheaters.  Is that correct?

Based on the source (might have missed something) it looks like the peeps interact as individuals. Their memory is reset for each round of the tournament and for each pairing, so the Grudgers do not stop trusting the Cooperators.
The zero score is just a coincidence here:
Each Cooperator plays a match à 50 rounds with the 4 other Cooperators, 3 Grudgers and 1 Copycat. All of these rounds are completely cooperative and give 2 points: 50 * 8 * 2  = 800 points.
Each Cooperator also plays a match à 50 rounds with each of the 16 Cheaters. They loose all of those rounds (-1 each) due to their naive nature: 50 * 16 * -1 = -800 points.
Total score for the Cooperators: 0

@jkoelling That makes sense, thanks!

repo: ncase/trust


text:
Add support for debug output that shows stage statistics

Sometimes, especially if you are debugging something, you want to see a little more information on what Flintrock is doing.
One type of information I've often found myself wanting to see, for example, are statistics on how long it took to do the various sub-steps in an operation. How long is it taking to download Hadoop? How long does it take the Spark master to come up? And so forth.
So first we just need some minimal plumbing to support configurable debug output. From there we can add stuff like these statistics.

As noted in #133, it may even be useful to see information like this by default.

Retitling issue per this comment, though I'm thinking we could as well just roll this whole issue in #27.

repo: nchammas/flintrock


text:
Can we play iOS local video

What actually happened?
Unable to play local video in iOS

After a lot of time, we found a solution for iOS local stored files
You need to encode the local URI
`
// localFileEntry is from type: import {File} from '@ionic-native/file/ngx';
this.streamingMedia.playVideo(encodeURI(localFileEntry.toURL()), options);
`

After a lot of time, we found a solution for iOS local stored files
You need to encode the local URI
// localFileEntry is from type: import {File} from '@ionic-native/file/ngx';
this.streamingMedia.playVideo(encodeURI(localFileEntry.toURL()), options);


text:
Custom tea colors

Currently the teas have some preset colors.
(Maybe) it would also be nice if below the presets there would be a color picker, that would enable you to select from a more colorful color palette.

I'm adding a few more tea colors for the next version, but will eventually implement a full color picker as well. It's a bit complicated because the color must be legible against either a dark or light background. I hope to be able to address that by providing a sample swatch showing what the chosen color would look like on both background colors, as part of the color picker UI.


text:
Handle Google Drive interruptions

When rclone receives a 503 response from Google Drive (I'm getting a lot of them for some reason), it stops and retries the upload. The Google Drive API documentation suggests that the upload should be resumed instead.

How big are the objects you are uploading?
Can you paste a log with the -v flag showing me what is going on?
Thanks
Nick

They're RAW images, ~27M each.
Here's an excerpt:
2015/10/02 16:09:14 pacer: Rate limited, increasing sleep to 1.28s                                                                                [12/1891]
2015/10/02 16:09:15 RAW/2015/2015-07-29/_DSC0581.dng: Sending chunk 28573696 length 248666
2015/10/02 16:09:15 pacer: Rate limited, increasing sleep to 2s
2015/10/02 16:09:16 RAW/2015/2015-07-29/_DSC0581.dng: Sending chunk 28573696 length 248666
2015/10/02 16:09:18 RAW/2015/2015-07-29/_DSC0581.dng: Sending chunk 28573696 length 248666
2015/10/02 16:09:19 RAW/2015/2015-07-29/_DSC0581.dng: Received error: googleapi: Error 503: Transient failure, transientError - retrying 1/10
2015/10/02 16:09:19 RAW/2015/2015-07-29/_DSC0581.dng: Removing failed copy
2015/10/02 16:09:20 pacer: Reducing sleep to 1.5s
2015/10/02 16:09:20 RAW/2015/2015-07-29/_DSC0581.dng: Failed to remove failed copy: googleapi: got HTTP response code 404 with body: Not Found

Also worth noting that my Drive settings have the rate limits at:
Remaining
999,981,977 requests/day
100% of total
Per-user limit
100,000 requests/second/user

So I'm not sure what's happening there either.

Actually I think it must be something else. I'm seeing the same blocks uploading over and over and pacer rate bumping up the rate limiting a ton (this is about the fourth iteration):
2015/10/02 20:50:02 pacer: Rate limited, increasing sleep to 2s
2015/10/02 20:50:02 RAW/2015/2015-07-29/_DSC0586.dng: Sending chunk 0 length 28792942
2015/10/02 20:50:05 RAW/2015/2015-07-29/_DSC0587.dng: Sending chunk 0 length 28443290
2015/10/02 20:50:10 RAW/2015/2015-07-29/_DSC0588.dng: Sending chunk 0 length 28319552
2015/10/02 20:50:28 RAW/2015/2015-07-29/_DSC0581.dng: Sending chunk 0 length 28822362
2015/10/02 20:50:34 RAW/2015/2015-07-29/_DSC0585.dng: Sending chunk 0 length 28722442
2015/10/02 20:50:50 RAW/2015/2015-07-29/_DSC0586.dng: Sending chunk 0 length 28792942
2015/10/02 20:50:56
Transferred:    143100588 Bytes ( 464.83 kByte/s)
Errors:                 0
Checks:             18025
Transferred:            0
Elapsed time:      5m0.6s
Transferring:
 *              RAW/2015/2015-07-29/_DSC0581.dng: 100% done. avg:  117.9, cur:    0.0 kByte/s. ETA: 0s
 *              RAW/2015/2015-07-29/_DSC0585.dng: 100% done. avg:  116.6, cur:    0.0 kByte/s. ETA: 0s
 *              RAW/2015/2015-07-29/_DSC0586.dng: 100% done. avg:  117.8, cur:    0.0 kByte/s. ETA: 0s
 *              RAW/2015/2015-07-29/_DSC0587.dng: 100% done. avg:  115.5, cur:    0.0 kByte/s. ETA: 0s
 *              RAW/2015/2015-07-29/_DSC0588.dng: 100% done. avg:  115.0, cur:    0.0 kByte/s. ETA: 0s

2015/10/02 20:51:00 RAW/2015/2015-07-29/_DSC0587.dng: Sending chunk 0 length 28443290
2015/10/02 20:51:08 RAW/2015/2015-07-29/_DSC0588.dng: Sending chunk 0 length 28319552
2015/10/02 20:51:13 RAW/2015/2015-07-29/_DSC0581.dng: Sending chunk 0 length 28822362
2015/10/02 20:51:15 RAW/2015/2015-07-29/_DSC0585.dng: Sending chunk 0 length 28722442
2015/10/02 20:51:34 RAW/2015/2015-07-29/_DSC0586.dng: Sending chunk 0 length 28792942
2015/10/02 20:51:45 RAW/2015/2015-07-29/_DSC0587.dng: Sending chunk 0 length 28443290

Ah, I'm getting 410 Gone responses from Drive and Pacer seems to be responding to that with rate limits.

I'm going to close this because my issues appear to be coming from Drive itself.

Drive is really fussy about uploads - it can manage no more than 2 per second in my tests, and loves throwing a whole heap of different errors at you.
Only files bigger than 256k (by default) will be uploaded in chunks.  If there is an error in a smaller file then it will be just be retried.  For the larger files the individual chunks are retried, and if that fails (which it does sometimes) then the whole file is retried.  Failing all of that, rclone will retry the whole sync.
It looks like rclone is doing the right things with the retries from the logs you pasted.
The main thing is that does rclone complete properly? In the final summary does it say Errors: 0.  In my testing rclone pretty much always manages that no matter how badly drive is behaving!

Yeah, rclone appears to be working properly, doing what it can given Drive's errors.
In the meantime, I'm fortunate enough to pay or Apps for Work so I've filed a ticket with them.

repo: ncw/rclone