(HOLD) - changelog release 0.15.2

Description of the change:
(HOLD) - changelog release 0.15.2

/hold

Can you also bump the version number in the SDK installation guide?

Hi @joelanford,
Should we not bump the version/version.go as well?

Should we not bump the version/version.go as well?

No, when doing a patch release, we only need to change that (and change it back) in the release branch, in this case, v0.15.x.


anime-downloader: swap build inputs

Description of changes

[X] pycryptodome

# Prevents this error:
ERROR: No module named 'Crypto'

[X] jsbeautifier / request

# Prevents this error:
ERROR: local variable 'js' referenced before assignment

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

The commit message is not that great. I would expect something about fixing missing runtime dependencies.

Result of nixpkgs-review pr 180568 run on x86_64-linux 1

2 packages built:

adl
anime-downloader

The commit message is not that great. I would expect something about fixing missing runtime dependencies.

Fixed. Thanks for the feedback! :smiley:


Allow the user to start the testsuite container using EITHER just environment variables (good) or an explicit CMD (less good)

+1 on this for anyone using the official postgres image (this will be common), the easiest parameterization of this image happens through environment variables ( https://hub.docker.com/_/postgres )

Done


Fixed octokit/rest.j sv15.18 deprecations

See here: https://github.com/octokit/rest.js/releases/tag/v15.18.0#deprecations

Sorry for the mess, this is my first contribution.

Not messy at all, thanks for helping out 👍


Istanbul Mocha Integration

Hi,
Thanks for these examples.
Do you know if it's possible to implement Istanbul test coverage with the Jovo test framework?
https://istanbul.js.org/docs/tutorials/mocha/
I've tried adding it but I think maybe because the server is running separately it's not registering that the code in the handlers is being executed.
Any ideas on how to set this up properly?

There is a good chance that it doesn't work, because the server runs in another instance. However you have the possibility to start the server in a before() statement, so it runs automatically with , although this will be kind of messy, because per default you get the output from your Jovo app and from your tests mashed together.

Thanks - how would you start the server within the before() statement?

I managed to get the coverage data by adding the Istanbul nyc prefix to the jovo run command, and then just running the tests normally.
In one terminal window: nyc jovo run
In another window: mocha test
The coverage information is then available when you terminate the Jovo server.


Add No-Op open tracing implementation

This is a No-Op Open Tracing implementation that I've been using for testing

@tpolecat Thanks for reviewing - I made the requested change

Please run sbt headerCreate to add file headers, then I think you're all set.

Done!

Thanks!


not compatible with hass 2023.06

Possibly because python 3.11 is now default.

fixed in https://github.com/bbrendon/quietcool-python/commit/d27be55aaf724260b6f9799fbf6f833106429a45


Accidentally sent UST to terra bridge from Coinbase Pro

Hello, I don't know if anyone can help but I accidentally sent UST from my Coinbase Pro account to Terra bridge by using the ethereum UST address: 0xa47c8bf37f92aBed4A126BDA807A7b7498661acD that I copied from the Terra bridge. Transaction hash: 0x2df95e9510a3355a34db465bd09c798d7de8a0796208019261402471076cee7d. My metamask wallet is: 0x2F373b6126198cDD3165Cc8A0Be183e15637017C.
I would appreciate any help. I understand it was my mistake and I will take the loss.
Thank you

@danlikespez were you able to get this resolved?

No nothing. Don’t know who else to contact…

Someone on the discord for Mirror commented to me that it wasn't possible. Adding some basic js to check for this condition would seem relatively straight forward. I'd like to hear feedback from the team on adding this type of check to prevent issues like ours in the future.

I'm really sorry. I checked if you can get back UST but it's impossible to return it 😭


Help!!!! : [ERROR] Can not find file<11111111.txt>

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
task_executor.py
Commit ID
zzzzzzzz2334ewertwe
Other environment information
Meet environmental requirements

Actual behavior
Image acquisition: Pull the original image from the testing machine, package and copy it to the official server.
Dockerfile: Due to issues with the official server version, the Dockerfile file has been modified. Please refer to the attachment:
docker-compose-new.txt
Page error: see attachment:

Expected behavior
The parsing went smoothly, but an error occurred
Steps to reproduce
Operation steps:
1. Formally start Docker Compose - f Docker Compose new. yml up - d file image starts normally
2. Enter the ragflow_server container and transfer the mounted rag/res/deepdoc, rag/res/bge target zh v1.5-->cp to~/. cache
3. Restart the ragflow_server container
4. Enter the page ->Create knowledge base ->Add file

Additional information
ragflow-server logs:
LOADING BCE...
Traceback (most recent call last):
File "/ragflow/rag/svr/task_executor.py", line 130, in build
cks = chunker.chunk(row["name"], binary=binary, from_page=row["from_page"],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ragflow/rag/app/naive.py", line 145, in chunk
with open(filename, "r") as f:
^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '111111111.txt'
rag/res/logs/Error.log:
fail get 2143d108fd5111eeb7990242ac1d0006/111111111.txt: S3 operation failed; code: InvalidAccessKeyId, message: The Access Key Id you provided does not exist in our records., resource: /2143d108fd5111eeb7990242ac1d0006, request_id: 17C74DC27AE5E1F2, host_id: dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8, bucket_name: 2143d108fd5111eeb7990242ac1d0006
Chunkking 111111111.txt/111111111.txt: [Errno 2] No such file or directory: '111111111.txt'

Check if the minio is healthy.
Check the configuration of user name and password in both docker/.env and docker/service_conf.yml. Keep them consistent.


Re-enable eventgrid test

Check if maybe it passes now?
Fix https://github.com/pulumi/pulumi-azure/issues/1036

Still failed... this needs another good look


Resolved the YAML code syntax

Description

Resolved the yaml code syntax error by removing the extra space and maintaining the correct yaml lint validated code.
Added the spaces to resolve the error "+" and "-" must be surrounded by whitespace in calculations while using make site command.

This PR fixes #409
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@gyohuangxin , Could you please review this PR : )


duplicate key value violates unique constraint "store_pkey"

This happened in my log when Etherpad-lite crashed.
Why note using CREATE TABLE IF NOT EXISTS instead of a CREATE TABLE to avoid any potential race condition between the SELECT and the CREATE TABLE here?
CREATE TABLE IF NOT EXISTS was introduced in postgresql 9.1

Hi @2Belette,
I wholly agree that CREATE TABLE IF NOT EXISTS would be better than the current approach (here the link to the release notes for future reference).
PostgreSQL 9.1 is from 2011 and currently supported on old distroc such as CentOS 6/7 (source):

Distribution
Version

RHEL/CentOS/SL/OL 7
9.2 (also supplies package rh-postgresql95 and rh-postgresql94 via SCL)

RHEL/CentOS/SL/OL 6
8.4 (also supplies package postgresql92)

I have a question about the possible race condition, however.
https://github.com/Pita/ueberDB/blob/f3369fdce3569c3f5b6718f1fae1f95d2f358428/postgres_db.js#L58-L65
The race we are talking about happens when there is still no table in the DB and two different users hit this code section at the same time?
Do you think you experienced exactly this race? I am trying to understand if using CREATE TABLE IF NOT EXISTS would 100% solve this problem or is just an improvement and there is a worse problem hiding somewhere else.
Thanks

@2Belette Can you still replicaet this on latest version?

Changed to create if not exists.


Make it okay to use subscribe in Form-1 components

Should re-frame now allow subscribe within a renderer?
In concrete terms,  can this (current approach):
(defn my-view      ;; Form-2
  []
  (let  [a   (subscribe [:a])]     ;; subscribe put in the Form-2 setup
    (fn []
      [:div  @a])))

... become this (proposed):
(defn my-view      ;; Form-1
  []
  [:div  @(subscribe [:a])])))

Notes:

Previously this worked <= v 0.7.0  BUT it caused a new subscription to be created on each rerender, which meant it was a sufficiently bad idea that it really didn't work.
As of v0.8.0, it now may work (theory untested) but it is still in the realm of implementation detail - it may work because now subscriptions are cached and de-duplicated.
Is this something we want re-frame to guarantee in a future release?  It looks like it could be very convenient.

I probably won't struggle too much to make this happen BUT if it naturally falls out of the current implementation it could be a good idea to officially guarantee the behavior.  Just so everyone knows where they stand.
Someone needs to test if this works already  ... does the new cache ensure that subscriptions are reused and not constantly created and destroyed on each rerender.   Actually, in the time it has taken to write this ticket, I've gone from being 80% sure this will work to about 99% sure it will work.  But a test needs to be done.  And some more thinking about possible edge cases.

I'd be inclined to vote against this change, but am willing to be persuaded. First, lets talk about the benefits:

Subscribing in form-1 components is easier for people. It is quite common for confusion between form-1 and form-2 components to come up, and this lets people ignore that distinction.
form-1 components have less characters and syntax

AFAICT those are the benefits to allowing/encouraging this behaviour. Now for the downsides:

I don't think it makes re-frame/reagent simpler, as you now need to remember the special case of why you can do subscriptions in form-1 components, but you shouldn't create reactions/ratoms yourself in them.
I'd argue that it masks the true nature of React/Reagent's lifecycle in a way likely to lead to more confusion further down the line.
You're hitting the 'lookup the cached reaction' code path on every render. For a single component, or even for many it's probably not a problem, but it is unnecessary work to run on every component render.
It puts restrictions on re-frame development and what we can and can't do with subscriptions in the future. See the current Clojure mailing list thread on changing what the ns forms accepts to be more conservative.
It may mask bugs when people use form-1 components when they meant to use form-2 components
It makes components harder to read, as there isn't a clear place for where all data comes from.
It makes form-1 components more complex to review, as you need to be looking out for data subscriptions.

A wise man said "the best gift you can give yourself is a good problem statement" 😄. I think we've started at the point of "should we support subscriptions in form-1 components", without examining the problem deeply enough.
If the problem is that people find the distinction between the two confusing, then alternative idea would be for re-frame to warn the user (and give remediation instructions) when they create subscriptions outside of the React context of componentWillMount, e.g. when users create subscriptions inside render methods.
There is a definite learning curve to get over with Reagent form-1 and form-2 components, but I'm not sure if this is the right answer.
Perhaps I haven't understood the problem myself though...

I'm in favor of such a change. I agree with the benefits as outlined by @danielcompton. Essentially this change would make re-frame simpler and easier to use, which is a key goal of re-frame.
Now let me answer to each of the downsides as pointed out by @danielcompton, in order:

There's a reason now for when you need to use a Form-2 component instead of a Form-1 component. subscribe-in-Form-1 just changes that reason. Right now it's pretty common to need a Form-2 component. With subscribe-in-Form-1, you'll need Form-2 components much less often, so in sum re-frame with subscribe-in-Form-1 would still be significantly simpler. The distinction between creating a subscription and creating a reaction/ratom yourself is probably much less pronounced for the developer familiar with how re-frame works internally, from the perspective of user of re-frame, the step to creating reactions/ratoms yourself is much bigger.
It'd be beneficial if the need to understand the lifecycle arised later in the process of learning re-frame, or maybe never at all for applications that are not too complex. re-frame, building on reagent and react already does a very good job at hiding a lot of the complexities of the browser platform (rAF, event queue processing, applying changes to the DOM). This could be another step.
That'll be necessary, yes. Not sure how much impact that really has though.
Also true in a way. On the other hand you could make subscribe-in-Form-1 be called something other than subscribe to make it a thing different from subscriptions, should that be necessary.
This is no different now than it will be with subscribe-in-Form-1. But there will be less cases of actual bugs, if subscribe-in-Form-1 works.
I find the @ stands out sufficiently. I can also see a macro defcomp that specifies incoming data in a way similar to reg-sub, so this shouldn't be a reason against subscribe-in-Form-1.
Same argument here.

All in all my opinion is that subscribe-in-Form-1 has the potential to make re-frame use significantly simpler than it is now.

Unless I misunderstand @danielcompton's point was that subscribe-in-Form-1 will make re-frame more complex, not simpler. If so, I totally agree and don't think this change should be made.
The macro on the wiki makes form-2 more convenient for users who want to opt in to this but it shouldn't be the default to hide how reagent/re-frame works in this regard; e.g.,
(defn- to-sub
  [[binding sub]]
  `[~binding (re-frame.core/subscribe ~sub)])

(defn- to-deref
  [binding]
  `[~binding (deref ~binding)])

(defmacro let-sub
  [bindings & body]
  `(let [~@(mapcat to-sub (partition 2 bindings))]
     (fn []
       (let [~@(mapcat to-deref (take-nth 2 bindings))]
         ~@body))))

(defn panel
  []
  (let-subs [v [:some-sub]]
     ....

Moving from Form-2 to Form-1 has the benefit of removing two strange little corner cases which have bugged me for a while ...
First, consider this case:
(defn view
  [x]      ;; x is a value like 42
  (let [sub (subscribe [:something x)]  ;; <-- note use of x's value
    (fn [x]
      [:div  str(@sub)])))

This view has a problem if x is a value and it changes.  The subscription will be forever linked to the first value of x and won't be modified for a new value of x.
That's why we created dynamic subscriptions.  If x was a ratom, and you rewrote like this, then the problem went away:
(defn view
  [x]      ;; x is a ratom  (a sign
  (let [sub (subscribe [:something] [x])]  ;; reactive `x` subbplied in 3rd parameter
    (fn [x]
      [:div  str(@sub)])))

I've never really liked dynamic subscriptions. The problem above means someone has to first get a an annoying paper cut FIRST and only then discover dynamic susbcriptions to fix that paper cut.  I just want it all to work first time.
If this view was written as a Form-1, it just works first time, no paper cut and no eventual discovery of dynamic subscriptions:
(defn view
  [x]      ;; x is a ratom  (a sign
  (let [sub (subscribe [:something] [x])]  ;; reactive `x` supplied in 3rd parameter
      [:div  str(@sub)]))

Second  consider this code:
(defn view
   [x]      ;; x is a ratom
   (let [sub   (subscribe [:something] [x])]    ;; reactive `x` subbplied in 3rd parametere
      (fn [x]
        (if x
          [:div  str(@sub)]
          [:div  (str x)])))

Now imagine further that, for the entire existance of a [view ...] instance, x is always falsy.  Consequences:  sub would never be derefed.  Which means it would never be "captured" by the view component.  Which, in turn, means it won't be properly released.
This is a corner case, and it is easily fixed if you just add an apparently meaningless @sub above if ... but no matter how unlikely it is to happen, and no matter there is a fix, I hate it.
Again, use of a Form-1 means the issue never ever even comes up.
Result:  I continue to be of a mind to provide this guarantee in v0.9.0

It occurs to me that we can go one step further and ALSO remove another source of bugs with this change, at the expense of adding to the re-frame API.
We could  create a new API fn called, say, input-signal which is pretty much just this:
(defn input-signal
   [v]
   @(subscribe v))

In effect, it does nothing other than to automatically deref the subscription.
Forgetting to do that is such an annoying problem for everyone.

I think that the underlying problem here is the reagent component api.
The differences between form 1, 2 and 3 components is confusing and is the biggest initial hurdle when using reagent, as it is difficult to grok which parts of your component are run when the data pass to the component changes.
Unfortunately, there doesn't seem to be a way to use dynamic subscriptions in this context without putting them in the render-fn. However, this means that we seem to be creating a form 1.5 component where outside state is injected into form 1 components, which may cause confusion.
On the other hand in reagent it was always possible to access external state, as form 1 components can assess globally defined ratoms. see the following code from the reagent tutorial
  (:require [reagent.core :as r]))
(def click-count (r/atom 0))

(defn counting-component []
  [:div
   "The atom " [:code "click-count"] " has value: "
   @click-count ". "
   [:input {:type "button" :value "Click me!"
            :on-click #(swap! click-count inc)}]])```

Would it be possible to move ALL subscriptions within a form 1 component. If so should this then become the default? Maybe that may be a better way to do things?

@danielcompton some valid concerns about downsides, but I also acknowledge corner case #1 & #2 in follow up from @mikethompson I'm a little reserved about catering for newbie bugs via automatic deref via input-signal which imho also further hides the reagent/react comp details, nonetheless my competition submission watch ?

competition entry is dref-subscribe

It is now officially guarantee that you can use subscribe in a Form-1 Reagent view function.  This guarantee  will officially be a part of the 0.9.0 release, but it already works in v0.8.0.
The issue of a further helper function is not yet decided.

Does this also green light putting subscriptions in the computation function passed to reg-sub?

@gpellis  no, absolutely not.  reg-subs are as before, no change.

Seeing as this is still open: my 2p is that the original proposal solves the right problem wrongly. The problem is the reagent API and how reactions interact with the component lifecycle.
Changing the behaviour of another lib's API always leads to confusion. Adding a new API to make the other lib's API easier is the way to go, and whilst subscribe is re-frame and not reagent it is close enough to reaction to overlap.
I think the idea of a new API that doesn't require derefing is sufficiently far from the mechanics of reaction so as not to confuse. input-signal is the right direction but again, confuses signal and value. My vote would be for signal->value.
Just my 2p :-).

This guarantee is officially part of 0.9, which is about to be released, so I'm going to close this.
For the moment, I can't figure out how to add a listen function without confusing people by having two way of doing almost the same. For the moment, I'll let everyone add their own 4 line listen function.

Sorry for bumping an ancient thread, but I couldn't find anywhere more appropriate to discuss this.
We still can't just subscribe willy-nilly in form-1 components, because Reagent makes assumptions about the difference between render and re-render, and no amount of caching by re-frame can fix this. The only situation where it works correctly is in the (admittedly extremely common) special case where all logical branches of the render fn derefs the same, constant set of subscriptions (and this relies on caching to work without memory leaks a.k.a. zombie subscriptions).
The reason is that only the initial render, where mount happens, listens for signal derefs, and only the case when the identity of the component (not its arguments) changes triggers unmount, cleanup and remount.
As a consequence, this is wrong:
(defn bad-component
  [foo?]
  (if foo?
   ;; The mounted component will react only to the sub made in the inital render, and any other sub made in the
   ;; lifetime wil become a zombie at the end of bad-components lifecycle
    @(rf/subscribe [:sub/bar])
    @(rf/subscribe [:sub/baz])))

And so is this:
(defn another-bad-component
  [x]
  ; when x changes after the component is mounted, the original sub becomes a zombie and the
  ; and the component will stop reacting.
  @(rf/subscribe [:sub/foo x]))

The above statements are consistent with logic and my own testing, and are evident by the copious amount of my blood on the floor from papercuts from re-frame.
I've made a quite nice generic solution for this proiblem it, but I just wanted to ask here if I'm missing something before I open sourcing it as a lib.


Tenorshare ReiBoot Pro <IP_ADDRESS> Crack + Registration Code [Latest]

Tenorshare ReiBoot Pro <IP_ADDRESS> Crack + Registration Code [Latest]
Tenorshare ReiBoot Pro Crack is the world’s best startup repair tool for iOS devices. When you cannot operate from the iOS device or iTunes application, with just one click, it can make your iPhone/iPad or iPod Touch enter and exit the recovery mode.
Tenorshare ReiBoot Pro License key has a concise user interface, and it is straightforward to use for every user. It allows you to restore your iPhone/iPad or iPod Touch from its backup file if it fails due to downgrade or jailbreak. If your iOS device is locked, frozen, or the “Home” button does not respond, you can restore it to a working state.


Add known issue about informer-gen in release notes

Ref: https://github.com/kubernetes/kubernetes/pull/83023#pullrequestreview-291897528
Issue: https://github.com/kubernetes/kubernetes/issues/82860
Fix in: https://github.com/kubernetes/kubernetes/pull/82410
/assign @saschagrunert

/assign @simplytunde
for approval

/approve


Issues with necessary gateway restart

Hello,
As many others are experiencing. When you reach a certain number of bulbs, the gateway needs restarting every 1-2 days. I use IKEA Trådfri with Home Assistant, and feature wise it works great.
Thing is, whenever I reboot the gateway to be able to reach the bulbs, all light groups are switched to off in Home Assistant. Even though they are on. This happens every time.
Home Assistant says it supports local push, which means updates should be pushed automatically. Any way to fix this? Waiting for IKEA to fix their gateway could take some time.. This just started happening when reaching bulb number 20.

I've always thought the gateway firmware has a memory leak somewhere. Particularly when you're making requests every 15 seconds, this is quite noticeable.
As for the groups, HA will query the gateway, if the gateway reports the group is off, that's all the information we have.
However, if the app (after a restart) is reporting them as on, there may be a bug in the library.
With the switch to observations imminent, I'm hoping this will be more reliable.

When checking the TRÅDFRI app after reboot, it shows the groups as being on, and those off obviously off. But HA does not seem to be able to pull this information.
So there might be a bug somewhere. Please let me know if there is anything I can do to help.

One strange thing is that reboot (power off/on) worked fine for me for a long time, fully automated. But since the last month it doesn't, only factory reset works. I've automated this also but this required soldering wires to the circuit board. My automation always tries power off/on and then waits a while and checks if it works, if not, factory reset. Factory reset is initiated almost every day. It may be connected to some pytradfri problem as well but each time that connection is lost, it is also lost using the app so it seems that the gateway has been affected at least.
Memory leaks are highly suspected, probably both in RAM and perhaps also some problems with logs written to flash memory, missing or faulty round robin handling.

Have you tried not running pytradfri for a few days to see if the issue persists?

Well, not running pytradfri would most certainly remove the issue but also completely remove the functionality I want. Not interested in using only a controller (remote) or the app, since I have a fully automated lighting system using Tradfri.

reboot and factory reset can be issued by network.
REBOOT:
coap-client -m post -u "Client_identity" -k "key" "coaps://<IP_ADDRESS>:5684/15011/9030"
!!!RESET!!! (everything like pairing, groups, etc. will be gone):
coap-client -m post -u "Client_identity" -k "key" "coaps://<IP_ADDRESS>:5684/15011/9031"
Maybe this would be a handy extension to pytradfri...
__
@hanpal are you using a kind of automated reconfiguration of your GW after a factory reset or do you reconfigure everthing manually?

@spektren perhaps this could be added as a method to gateway.py? Please feel free to give it a try!

Thanks for the hint. I'll give it a shot next week.
Cheers

Memory leaks are highly suspected, probably both in RAM and perhaps also some problems with logs written to flash memory, missing or faulty round robin handling.

If anyone hasn't contacted them yet? I am tempted to contact ikea support about this, just to see if they are aware or are working on the issue, Has anyone found any more evidence that there it is caused by a memory issue(I do agree that it is a memory leak, but ikea may need convicing).

Nobody here has contacted them to my knowledge, and until we have a
concrete way to reproduce they may not believe us.
On Sat, 7 Oct 2017, 11:09 pm Ioan Loosley<EMAIL_ADDRESS>wrote:

Memory leaks are highly suspected, probably both in RAM and perhaps also
some problems with logs written to flash memory, missing or faulty round
robin handling.
If anyone hasn't contacted them yet? I am tempted to contact ikea support
about this, just to see if they are aware or are working on the issue, Has
anyone found any more evidence that there it is caused by a memory issue(I
do agree that it is a memory leak, but ikea may need convicing).
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/ggravlingen/pytradfri/issues/54#issuecomment-334969031,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA1TO8DhBHRoUZsgX2pzFGRoZjOWvjQ-ks5sp_aUgaJpZM4PLK8P
.

FWIW, I'm now on my 3rd GW, and I've of course let them know how it keeps failing on both returns. I find it hard to believe they're not aware of the issue, just seems like there's no-one actively working on it.

@lwis Yeah, if we contact them about a suspected problem they may have the tools to debug it, that is if they were the ones doing the development

Just wanted to say that I switched to the dev version of Home Assistant which uses resource observation last week and hev not got any issue with the gateway so far (while I needed to cold reboot it every two days before).
You may consider this as a workaround until Ikea properly fixes the issue.

@chemicalstorm

which uses resource observation

Can you elaborate on that?

I think instead of polling the gatway it subscribes to the devices and the
gateway pushes the information to home assistant
On Fri, Oct 13, 2017 at 10:00 AM, Jarno Rantanen<EMAIL_ADDRESS>wrote:

@chemicalstorm https://github.com/chemicalstorm
which uses resource observation
Can you elaborate on that?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ggravlingen/pytradfri/issues/54#issuecomment-336393826,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHGpxL7WkqvK_LJyhPLbaw9SWq0ETG3Sks5sryargaJpZM4PLK8P
.

@jareware as @ioangogo said. I think all the code related to this functionality has been developed and merged in this PR https://github.com/home-assistant/home-assistant/pull/7815

@chemicalstorm for the pytradfri-lib lib support for observation was added in #20. The PR you referenced is for the Home Assistant-implementation (which is stand-alone from pytradfri.) :)

@ggravlingen thanks for the precision. I was only focusing on HA since OP mentioned using it :)
I don't think it is worth polluting this thread anymore so here are some potential workarounds:

If you use pytradfri directly, you can use whatever version which has https://github.com/ggravlingen/pytradfri/pull/20 merged in.
If you use Home Assistant, you can use whatever version which has home-assistant/home-assistant#7815 merged in.

FWIW, I don't use anything besides the official Android/iOS apps, and my GW still requires a daily restart to be reliable.

Hmm, that sounds like the IKEA app may be polling then, i wonder why
On Fri, Oct 13, 2017 at 2:31 PM, Jarno Rantanen<EMAIL_ADDRESS>wrote:

FWIW, I don't use anything besides the official Android/iOS apps, and my
GW still requires a daily restart to be reliable.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ggravlingen/pytradfri/issues/54#issuecomment-336453240,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHGpxD8wp6YdufffG1OEO0JR6FfiZUJNks5sr2ZNgaJpZM4PLK8P
.

Those of you who experience gateway crashes, what's your power supply? Using Ikea's supplied 2A USB power adapter instead of the USB port at the back of my router has solved the issue for me.

Using the supplied one since day 1, still crashy.

Has anyone hasn't contacted them yet? I am tempted to contact ikea support about this, just to see if they are aware or are working on the issue, Has anyone found any more evidence that there it is caused by a memory issue(I do agree that it is a memory leak, but ikea may need convicing).

I have actually an informal contact in the Trådfri development team. The instabilities are known and there are no known hardware related problems with the gateways. My contact didn't answer when I asked if they have prioritised development of new features (HomeKit/Alexa/Google) over bug correction but this is my impression. The market wants the new features, otherwise I'd expect that the stability problem had been corrected for several month's ago.

Is it possible to have an API to pytradfri that determines if the gateway is unresponsive and may need reset/power cycle? I have added some exception handling in my scripts that call pytradfri and by experimenting I  have a method to decide if the gateway is unresponsive. I would prefer if this could be determined in a better way, e.g a call  to gateway_responsive() for monitoring. Maybe a combination of ping (gateway is "active" on the LAN) and some calls to determine that the gateway is unresponsive even though pingable.

@hanpal please feel free to raise a PR with a suggested method!

I've learned that if I call api_factory, an exception is raised when the gateway is unavailable:
try:
api = api_factory(ip, key)
except:
print ("### Trådfri: No contact with the gateway")
sys.exit(1)
There are som other cases also, it happens that api_factory passes without exception but there are no devices:
try:
lights = [dev for dev in devices if dev.has_light_control]
except:
print(" ### Trådfri: No devices")
sys.exit(2)

@hanpal I guess something that mimics this would then need to be added to the GatewayInfo-class (https://github.com/ggravlingen/pytradfri/blob/master/pytradfri/gateway.py). Perhaps as a is_available()-method?

Yes, would be nice to have, at least for the first case.
The other case with no devices is not obvious how to handle. Why an exception in this case? There might be OK cases where there are no devices with has_light:control. The average user should not have to consider exception handling unless this is documented as a prerequisite for using the method.

@hanpal :+1: Please feel free to implement the code and then submit a pull request for the main branch.

Unfortunately I'm at beginner level regarding python so I don't think this would be a great idea...

Are people still having troubles with instability on the new firmware version or can this issue be closed now?

Haven't had any issues yet. Just been a few days though. Hopefully the fixes IKEA has implemented has resolved this issue!

Working like a charm after new built . Tradfri working without key stored
On Nov 5, 2017 18:31, "Andreas Melsom Haakonsen"<EMAIL_ADDRESS>wrote:

Haven't had any issues yet. Just been a few days though. Hopefully the
fixes IKEA has implemented has resolved this issue!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ggravlingen/pytradfri/issues/54#issuecomment-341994316,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJfN6OsKdNsMzwI8WVE1rqpBlt-I-5r-ks5szf7zgaJpZM4PLK8P
.

Also seeing a dramatic improvement in reliability 👍

Anecdotal evidence suggests stability has increased. Closing issue.


ox.quadrat_cut_geometry not available anymore?

Hi, I freshly installed osmnx 0.15.1 on Linux from conda-forge channel.
I try to run an old code using the technique described in your article (https://geoffboeing.com/2016/10/r-tree-spatial-index-python/)
at this line :
geometry_cut = ox.quadrat_cut_geometry(geometry, quadrat_width=0.1)
I get an error message saying that osmnx doesn't have  "quadrat_cut_geometry" attribute
Downgrading to osmnx 0.10 with "conda install -c conda-forge osmnx=0.10" command. I run the same code and everything runs fine!
Therefore I'm just asking if "ox.quadrat_cut_geometry" is not available in newer version of osmnx? If so, what it has been replaced with? And maybe an update of this really usefull article would be needed.
Thanks for your great work!

Thanks for the heads-up. Yes it is still available as an internal function. See https://github.com/gboeing/osmnx/issues/526 for details of how to access it now. See also its documentation in the OSMnx internals reference. I'll update that old blog post so it works with recent OSMnx releases.

Thanks!


TS3.0-RC - VRLayer left/rightBounds type.

TypeScript Version:  3.0.0-rc
VRLayer type described in 3.0rc's lib.dom.d.ts conflicts with the one in @types/webvr-api. The latter is a devDependency for the widely used @types/three.
VRLayer in lib.dom.d.ts:
interface VRLayer {
    leftBounds?: number[] | Float32Array | null;
    rightBounds?: number[] | Float32Array | null;
    source?: HTMLCanvasElement | null;
}

VRLayer in @types/webvr_api/index.d.ts:
interface VRLayer {
    leftBounds?: number[] | null;
    rightBounds?: number[] | null;
    source?: HTMLCanvasElement | null;
}

Looking at the specs, including Float32Array among the piped types seems unnecessary/wrong to me.

This all came about due to an issue discussed in Microsoft/TSJS-lib-generator#419 where some browsers adopted earlier versions of the spec which required Float32Array.

Should be fixed by https://github.com/Microsoft/TypeScript/pull/25944

Is there a workaround for this issue in the meantime? Thanks!

@mhegazy perhaps I'm missing it but I don't see any changes to VRLayer in the pr you mentioned https://github.com/Microsoft/TypeScript/pull/25944 , are you sure it fixes it?

@RyanCavanaugh

It looks like Microsoft/TSJS-lib-generator#546 hasn't been merged.

@kitsonk that pr still seems to include Float32Array in the union https://github.com/Microsoft/TSJS-lib-generator/pull/546/files#diff-a97a9d0dbf71ec2f96be57f7fb9f70c9R1523
So we would still be seeing the same issues we're having right now with the webvr typings, no?
I'd still appreciate some input on how best to reconcile this situation perhaps from @mhegazy  or @RyanCavanaugh .
There are three situations that need to be handled by the DT webvr-api typings:

Use with TS before it had any webvr typings built in.
Use with later 2.x TS versions which had webvr typings.
Use with the 3.x TS versions with this changed definition.

Is there any way to satisfy all three? Or should we do a major version bump of the webvr typings and support TS 3 onwards only in the next major version? I've not done a major version bump inside DT before, anything to be aware of if that's our preferred choice here? Is there still a possibility TS 3.x will revert to how it was in 2? @mhegazy and @kitsonk both seem to suggest this may be happening though I'm yet to see a code change that does it.

@mhegazy, perhaps we should re-open this issue? We still have the exact issue described. Do you remember what was the motivation for closing the issue?

Why is this issue closed when it hasn't been resolved?

Bump. Still running into this issue with 3.1.1.


TaskApiController: adding unit tests and refactoring to mediator

Fixes #604
A couple notes:
First, I added an abstraction called IDetermineIfATaskIsEditable that is injected into TaskApiController via constructor injection. The implementation is in the DetermineIfATaskIsEditable class. The goal here was to encapsulate, the code that previously was in TaskApiController's private bool HasTaskEditPermissions(AllReadyTask task) method.
Breaking this out into a separate class allowed me to unit test whether a user has permissions to edit the task or if the AllReadyTask is in an editable state.
That freed the Post, Put and Delete methods from having to worry about the setup and outcome of this check, as well as I only had to write the unit test for "is editable" once instead of every time I had to write a unit test against any of these three methods in the controller.
Second, as much as I wanted to, I could not remove the injection of IAllReadyDataAccess from TaskApiController's constructor, even moving 100% to mediator.
The reason is this call in the fist line of the Post method:
task.ToModel(_allReadyDataAccess);
'ToModel' does a BUNCH of work turning the TaskViewModel into an AllReadyTask, including making database queires via IAllReadyDataAccess. There are also a larege number of other things going on in here, so much so, that I would say someone needs to take a look at this code, and either start to decompose it, or change some of these rules to live somehwere else. I don't know enough about the app to make those calls.
Two good steps would be:

removing the injected IAllReadyDataAccess
writing unit tests around this view model class

that could start the ball rolling.

pinging @mheggeseth @dpaquette @MisterJames for pr review pls

Lots of moving parts here, I'm pulling down this PR and starting to work through it. Thanks for the huge effort here, @mgmccarthy.

@MisterJames , sounds good to me. I can refactor and submit this change against this current PR if you want...
if you don't want the change for this PR, I'll move to this naming convention for any new work...
where i work now, we actually use static classes to break down the naming of the unit tests... so in your example the test class would look like this:
public static AddTaskCommandHandlerAsyncTests
{
    public class AddTaskCommandHandlerShould
    {
        [Fact]
        public async Task InvokeAddTaskHandlerWithCorrectData()
        {
            ...
        }

        public async Task [MORE_TESTS]... etc...
    }
}

I am unit NUnit at my job now, so maybe this setup doesn't make sense as xUnit does not seem to have a [SetUp] attribute and a [TestFixture] attribute like NUnit does.

ping @MisterJames. Any movement on merging this PR in?

@MisterJames, would it be easier in the future (since I commit locally so much) to "squash" an PR this big? Not too sure if having all the separate commits makes it harder to review the code than one commit with all the change regardless of my local commits

@MisterJames how should we move fwd on this one?

@MisterJames @tonysurma. Any plans on accepting this PR? If you need me to make any code changes, just let me know

@mgmccarthy Thanks for your patience.  Reviews are taking longer than we would like this week. A combination of vacations, build, and new jobs has slowed up many things.

@BillWagner let me know if you want me to slow my rate of PR's against this repository. Just trying to the stubs set up so other devs can finish off these unit tests

@mgmccarthy Normally This one is just quite large, and since @MisterJames has started reviewing, I'd like to have him weigh in. He should have time shortly.

ping @MisterJames. any movement on this PR?

@mgmccarthy Apologies as this was a large one with many moving parts. Code wise, things are in pretty good shape, it's the functionality that is a little harder to vet. I am looking at this again this evening.


[Bug] InteractionUser.discriminator === 0?

What's the bug?
InteractionUser.discriminator always produces #0 even if the user doesnt have the username update.

How do we reproduce it?
What i did is made a new slash command with a user option, thn in the run code i do
const user = i.options("user") as InteractionUser
i.reply(`Hello ${user}`)

What should have happened?
It shouldve only said 0 for the new username
What is actually happening?
It says 0 for basically every username?
What versions you're using?

OS: Windows 10 - Tiny 11
Deno: 1.34.2
Harmony: 2.8.0

I can't reproduce this bug... Can you try with the latest commit(import harmony from 'https://raw.githubusercontent.com/harmonyland/harmony/main/mod.ts')?

import harmony from 'https://raw.githubusercontent.com/harmonyland/harmony/main/mod.ts

for some reason it now works lmao (without the latest version either js 2.8.0?)
it was prob a local bug for me or my discord client or sumn idk but thanks!

.


fix(admin): Use cursor based pagination on all APIs that support it […

…EP-2971]

:tada: This PR is included in version 1.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Support finding target binary objects in the LIBL

Dayton Freight does not want each developer to have a complete copy of the product library.
It would be better to support having the full library in the library list and have the objlib point to a development library with just the subset being worked on.
This is possible especially with the dir_ target which allows you to build all and only what is defined but that directory's Rules.mk
But if that Rules.mk has dependencies on object in other directories, they get built as well instead of being found in the LIBL.
The suggestion is to use VPATH to find objects in the product library in the library list.  To be minimal, simply add the entries from the curlib, preusrlibl, postusrlibl entries in iproj.json

implemented by https://github.com/IBM/ibmi-bob/pull/63


not working

Error: libsass bindings not found in C:\Users\amitmdesign\AppData\Roaming\Brackets\extensions\user\jasonsanjose.brackets-sass\node\2.0.3\node_modules\node-sass\vendor\win32-ia32-48\binding.node. Try reinstalling node-sass? at Object.sass.getBinaryPath (C:\Users\amitmdesign\AppData\Roaming\Brackets\extensions\user\jasonsanjose.brackets-sass\node\2.0.3\node_modules\node-sass\lib\extensions.js:148:11) at Object. (C:\Users\amitmdesign\AppData\Roaming\Brackets\extensions\user\jasonsanjose.brackets-sass\node\2.0.3\node_modules\node-sass\lib\index.js:16:36) at Module._compile (module.js:541:32) at Object.Module._extensions..js (module.js:550:10) at Module.load (module.js:458:32) at tryModuleLoad (module.js:417:12) at Function.Module._load (module.js:409:3) at Module.require (module.js:468:17) at require (internal/module.js:20:19) at Object. (C:\Users\amitmdesign\AppData\Roaming\Brackets\extensions\user\jasonsanjose.brackets-sass\node\2.0.3\render.js:39:12)
help me plz

I'm having the same problem.

@AmitMDesign @lucasmontec try this version: https://mega.nz/#!N0lDmB5Z!N32mfb_YTtt6facHH0vkoCPHWq9tWD--jHiKAUPyqQ8

same here

@bobbidigi Can you try the version linked above?

I just downloaded but not sure how to install
Never used a zip for extensions. Whats the next step

@bobbidigi Open the extension tab and drag the zip into it, but make sure all older version of the plugin were removed first.

Alternative source for working Brackets SASS @ v. 2.0.7

k thanks check back in a min if you have time.

its not letting me drag the file into the zip area. It might be because I have wnirar.

@Rafiozoo thank you so much! I've wasted 2 days on it and after giving up found your link. version 2.0.7 is only working solution for me. (on Brackets 1.13) And I'm very angry about this plugin with poor documentation and full of errors! Unfortunately there is no alternative for this plugin.

@Rafiozoo ОГРОМНОЕ ТЕБЕ СПАСИБО! Я на Brackets 1.13 и плагин по твоей ссылке работает с этой версией. Ещё раз тебе большое спасибо!!!
@Rafiozoo THANK YOU VERY MUCH! I'm on brackets 1.13 and the plugin on your link works with this version. Once again many thanks to you !!!


[stable/mariadb] Add 'updateStrategy' to MariaDB statefulsets

Signed-off-by: juan131<EMAIL_ADDRESS>What this PR does / why we need it:
This PR allows configuring the 'updateStrategy' to use on master and slave statefulsets.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/ok-to-test
/lgtm


Jupyter syntax highlighting : some symbols not supported?

Issue Type: Bug
Minor issue. FYI, I'm new with Python, Jupyter and VS Code.
I noticed that the syntax highlighting in Jupyter does not quite work like in the text editor. Not only the colors are different (not so bad), but also some symbols are not highlighted as they should : 'def', '=', function names, exceptions types...
Here is a screenshot of sample code in Jupyter (left) and its export as a Python module (right).

Is it just a matter of theme configuration or something?
VS Code version: Code 1.46.1 (cd9ea6488829f560dc949a8b2fb789f3cdc05f5d, 2020-06-17T21:13:20.174Z)
OS version: Windows_NT x64 10.0.18363
Remote OS version: Linux x64 4.4.0-18362-Microsoft

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.86GB (2.79GB free)

Process Argv

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Debian

OS
Linux x64 4.4.0-18362-Microsoft

CPUs
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)

Memory (System)
7.86GB (2.79GB free)

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

python
ms-
2020.6.90262

remote-wsl
ms-
0.44.4

Please file the issue against the Python extension that provides the Jupyter  support.


GREETING ON ARRIVAL

Is your feature request related to a problem? Please describe.
It can work as a sweet and warm greeting to the user.
Describe the solution you'd like
When the user opens this page, a prompt can come up "Hey, hope you are having a good day! How are you feeling today?" Followed by emojis with "bad...fine...good...very good".
Based on the selection of the user, a message or some suggestion would come up.
eg, if the user chooses "very good" the message would come up "yaay! keep up with that energy!"
Describe alternatives you've considered
none.
Additional context
Something just like this.

Please assign me this feature under GGSOC'24.

his @aditikhare16 mam, I'm also interested in this issue . Kindly please assign this issue to me .

his @aditikhare16 mam, I'm also interested in this issue . Kindly please assign this issue to me .

Hey, I'm not the project admin.
I raised this feature and myself have requested @TAHIR0110 to assign me this issue 😊

I agree to follow this project's Code of Conduct
I'm a GSSOC'24 contributor
I want to work on this issue.

Please assign me this feature is you like it @TAHIR0110

I have worked on this and developed the feature as well. Please assign this to me.

This would pop up on opening the website and will work as a warm welcome. Please assign me this!
https://github.com/TAHIR0110/ThereForYou/assets/114524718/48a6381a-c5e4-4d30-929a-f9627fa92196


Cannot input negative numbers into MudNumericField with Culture set to non-english culture

Things to check

[X] I have searched the existing issues for this bug
[X] To rule out a caching problem I made sure the bug also happens in an incognito tab

Bug type
Component
Component name
MudNumericField
What happened?
When the MudNumericField is used with "nb-NO" culture, then all negative numbers input into the component fails with the errormessage: "please match the requested format".
The message does not show with "en-US" locale.
The input does not fail when changing to MudTextField.
I have tried to set the culture on the component level as a param to MudNumericField, and app-wide in Program.cs. Same behavior for both scenarios.

I have made a TryMudBlazor link, but the culture never applied correct to any field. It might be a TryMudBlazor issue. However, the code illustrates the scenario.

Expected behavior
MudNumericField should accept negative numbers for all Cultures
Reproduction link
https://try.mudblazor.com/snippet/GEcelEFfdlzLvcxF
Reproduction steps

Set Culture to other that en-US (in my case nb-NO). The nb-NO Culture can be verified by the comma being used as seperator: e.g. -10,00
Input negative number into MudNumericField
Trigger validation
Observe field fail with  "please match the requested format"

Relevant log output
No response
Version (bug)
7.8.0
Version (working)
No response
What browsers are you seeing the problem on?
Firefox, Chrome
On which operating systems are you experiencing the issue?
Windows, Linux
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Potentially related to #10033

Potentially related to #8937

Found the root cause, and it's not MudBlazor but Unicode CLDR.
https://github.com/dotnet/runtime/issues/44678

If anyone finds this in the future, here's how I fixed it:
// Program.cs
// ...
var nbNO = new CultureInfo("nb-NO");
nbNO.NumberFormat.NegativeSign = "-";
var supportedCultures = new[] { nbNO };
var requestLocalizationOptions = new RequestLocalizationOptions
{
    DefaultRequestCulture = new(nbNO),
    SupportedCultures = supportedCultures,
    SupportedUICultures = supportedCultures
};
app.UseRequestLocalization(requestLocalizationOptions);
// ...


SDIT-513: 🐛 Remove old javax libs

we were getting an odd

#14 299.7 > Entry BOOT-INF/lib/jaxb-core-4.0.2.jar is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.6/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details.
error during building the boot jar, this will fix it


Tweak advice about managing resources for containers

Reword Managing Resources for Containers [preview]
Mainly I wanted to link to the new API reference; whilst I was in the area I did some other rewording, including a new title: “Resource Management for Pods and Containers”.

👋 @sftim . What do you think about the comments and suggested edits?

LGTM from me, thanks Tim. All the nits left can be in separate PRs if needed!

This looks great Tim! Just needs a rebase and should be good to go!
/lgtm

/lgtm

The changes look good. Perhaps another PR could revisit the nits and possibly break up the page into two topics.
Thanks.
/approve


Add -march=armv8.1a for linux-aarch64 builds

Motivation

https://github.com/sorbet/sorbet/issues/7932
Test plan

Built locally on a Graviton machine. Disassembly of binary had ldadd* family of instructions, introduced in v8.1a. typecheck succeeded.

All the aarch64 machines we use are all at least ARM v8.2a. Ideally if we had aarch64 builds for macs we could enable this for that as well, but alas

Is this going to break any open source users attempting to run Sorbet on older arm hardware?

This will work for Graviton2+ and Apple M1+. I'm not aware of any other major ARM chips used on laptop/server hardware. Graviton 1 is not offered by AWS anymore far as I can tell.


Minifier removes overriden ToString() method

On classes which override the method ToString() inherited from Object, this method get's removed completely. This might also be the case for other methods inherited from Object (but I didn't test this).
Example:
class Test {
public override string ToString() {
return "my test class";
}
}
results in:
class a{}

Oh. I had "Remove .ToString()" checked. :D

Removal of the ToString() method is an option:
https://github.com/KvanTTT/CSharp-Minifier/blob/887784c070e613f208e5e8b2952409077cb43110/CSharpMinifier/MinifyMembersAstVisitor.cs#L45-L53
If it's false, ToString() implementations in types should be preserved.
It's also an option in the GUI application:

When I un-check it, your example gets minified to:
class a{public override string ToString(){return "my test class";}}


The parameters in the helm installation cannot be used normally

original value
      imageRepository: rclone/rclone
      tag: 1.53.2

modified value
      imageRepository: daocloud.io/daocloud/hwameistor-migrate-rclone
      tag: v1.1.2

logs
Events:
  Type     Reason     Age                  From               Message
  ----     ------     ----                 ----               -------
  Normal   Scheduled  2m48s                default-scheduler  Successfully assigned hwameistor/evictor-pvc-a6891d21-37bc-datacopy-pvc-lvm-m2zh4 to k8s-node2
  Warning  Failed     93s (x6 over 2m46s)  kubelet            Error: ImagePullBackOff
  Normal   Pulling    78s (x4 over 2m47s)  kubelet            Pulling image "daocloud.io/daocloud/hwameistor-migrate-rclone/v1.1.2"
  Warning  Failed     75s (x4 over 2m46s)  kubelet            Failed to pull image "daocloud.io/daocloud/hwameistor-migrate-rclone/v1.1.2": rpc error: code = Unknown desc = Error response from daemon: pull access denied for daocloud.io/daocloud/hwameistor-migrate-rclone/v1.1.2, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
  Warning  Failed     75s (x4 over 2m46s)  kubelet            Error: ErrImagePull
  Normal   BackOff    61s (x7 over 2m46s)  kubelet            Back-off pulling image "daocloud.io/daocloud/hwameistor-migrate-rclone/v1.1.2"

fix in https://github.com/hwameistor/hwameistor/pull/481


GH-35589: [Ruby] Add support or JRuby

Rationale for this change
JRuby is a Ruby implementation. It's based on Java. We have the Java implementation. So we can use it for JRuby.
What changes are included in this PR?
This is not a complete support. This just can create int8 and int32 arrays by using the Java implementation not the C++ implementation. We can improve this step by step.
Note that we can build gem for JRuby but we'll not release it for now. We need to build our gems as artifacts by CI in release process and publish approved gems after release vote. If we use the current "gem build && gem push" for JRuby gems, we need JRuby on release. It's not desired because it increases release complexity.
Are these changes tested?
Yes but only a few tests are only passed for now.
Are there any user-facing changes?
Yes.

GitHub Issue: #35589

+1

This is very impressive, thank you for helping to support JRuby! Please let me know if I can help in the future.


Android v11.2: Randomly collapses all folders close when opening the app

Since update 11.2 Newsblur on android (f-droid) seems to collapse all folders close when opening the app. This behaviour is random.

Yes, I noticed the same

Does this behavior happen only on installs from F-Droid?
When you say the behavior is random, is that between app cold starts or warm starts?

Does this behavior happen only on installs from F-Droid?
When you say the behavior is random, is that between app cold starts or warm starts?

I don't understand what you mean.
This happens randomly.
App installed from google store

It happens when the app is already logged into my account. Not sure what you mean by cold and warm starts?
I usually download form F-droid and the above user got it from the play store so it seems to be an Android issue.

It all started after the transition to android 12

I am on android 11 and this problem is there.

I see this too. By cold vs warm starts you mean app opened vs switching to app from another?

I've experienced this starting with 11.2 (F-Droid), but also on 11.2.2 (Play). It happens seemingly randomly both during cold starts (e.g., force stopped and launched) and warm starts (e.g., backed out and relaunched).
Have the changes through 11.2.2 (201) been pushed to this repo? clients/android/NewsBlur/build.gradle is still at 11.2 (199).

11.2.2 has been pushed to the repo but it might not be on the master branch.
I haven't experienced this bug yet during my daily usage and there shouldn't be changes in this part of the app but I will have to look deeper into it.

Often for me it is collapsed when the app opens but when the sync completes this triggers the folders to open.

I'm seeing 5 conflicts when merging master and sictiru. @sictiru would you mind merging master in?

Master has been merged.

I'm not sure why but I'm still having trouble merging master into sictiru branch. There's even more conflicts now. I pulled both, not sure why I'm seeing this.

@samuelclay Master was re-merged and sictiru was pushed to main repo. Let me know if that works.

Can this issue still be observed on the latest 11.3.0 version?

In case there are instances of randomly collapsing folders after v 11.3.0 feel free to reopen.

I still see this regularly on 11.3.0

Fixed in NewsBlur v12.0. Please reopen if necessary.


ZacQuary Lincoln [DS 01]

Hi Zacquary,
Well done on the assignments so far - I see you put a lot of good work into that. The comments you added interpreting the outputs of the graph are useful as well. Let me know if I can assist in any way!

T.

Yay ! Thank you !
Sent from the moon...

On Nov 8, 2018, at 2:17 PM, Tina Kovacova<EMAIL_ADDRESS>wrote:
Hi Zacquary,
Well done on the assignments so far - I see you put a lot of good work into that. The comments you added interpreting the outputs of the graph are useful as well. Let me know if I can assist in any way!
T.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Wrong reported brightness

Describe The Bug:
This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 199 exceeded maximum of 100.
To Reproduce:
every time the accessory  is initialized
Expected behavior:
Conversion from WLED brightness range (0-255) to 0-100
Logs:
[1/24/2024, 7:28:05 PM] [wled-ws platform] Get Characteristic On -> true
[1/24/2024, 7:28:05 PM] [wled-ws platform] Get Characteristic Brightness -> 199
[1/24/2024, 7:28:05 PM] [homebridge-wled-ws] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 199 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info.

Plugin Config:
        "name": "wled-ws platform",
        "controllers": [
            {
                "name": "Dampfmaschine",
                "address": "<IP_ADDRESS>"
            }
        ],
        "logging": false,
        "platform": "wled-ws"
    }

Screenshots:

Environment:

Plugin Version: 0.0.5
Homebridge Version: 1.7.0
Node.js Version: v18.13.0
NPM Version: 8.19.3
Operating System: Docker

Duplicate of #7 .  This is already fixed. Please try the latest beta. Thank you 🙏


The right way to call createSwapChain when rendering to an imported texture

When rendering into a texture what is the proper way to create the swap chain? I'm currently doing this:
filamentSwapChain = fframe.engine.createSwapChain(1, 1, 0)
Which is working, but feels like a hack. I'm actually rendering to two textures that I have imported into Filament using importShared (they are the eye buffers of a VR rendering).
Is the eglCreatePbufferSurface created in PlatformEGL actually used if we are specifying a renderTarget for the View?

It's fine to create a 1x1 swap chain like this. It's a common trick in renderers.

When rendering into a texture what is the proper way to create the swap chain? I'm currently doing this:
filamentSwapChain = fframe.engine.createSwapChain(1, 1, 0)
Which is working, but feels like a hack. I'm actually rendering to two textures that I have imported into Filament using importShared (they are the eye buffers of a VR rendering).
Is the eglCreatePbufferSurface created in PlatformEGL actually used if we are specifying a renderTarget for the View?

HI, i am intersted what you have done. Are you trying to render something into an imported texture using rendertarget?


Standardize ELT steps as a Dagster pipeline

A large fraction of our pipelines will be a standard pattern of:

[ ] Trigger an Airbyte sync for a given connection
[ ] Ensure that the AWS Glue catalog is up to date with the replicated schema of the raw data
[ ] Trigger a dbt job to transform the replicated data

We need to have modularized ops that capture each of the above steps so that we can parameterize them easily as a job that accepts a definition of which connection to sync and which dbt job to run.
There are existing plugins for Dagster for interfacing with Airbyte and dbt. We have also created an initial library for interfacing with glue, though it will likely need some updates.

Wrote the code to handle basic creation of AWS Glue crawler using the API. Ran into an issue trying to communicate with the Airbyte API. Ended up torching my docker setup and rerunning it which seemed to work so am now writing the code to trigger airbyte sync.

Initially went down the wrong path of writing python code from scratch to handle crawler creation and started working on the Airbyte bit as I assumed that we would be calling a python script through Dagster. Then I realized there are integration in Dagster to handle airbyte. Setup a test db, S3 bucket, local airbyte, and local dagster and went through some of the dagster tutorials to get familiar with the tool. Ran an airbyte sync which seems to work as expected as long as the passed connection ID is correct.

Ran into some roadblocks and trying to figure out how to work through them in Dagster. Conceptually feels like dagster is very similar to to Concourse and unfortunately their documentation is also as sparse.

Spent time looking into trying to figure out how to create op dependencies as we don't want to processed creating a crawler when the airbyte sync fails. There is an AirbyteOutput object but not sure exactly sure how to parse that output to verify that it succeeded or failed.

Resolved the issue where the airbyte op was passing despite the sync in the UI failing. The sync in test is still failing around schema validation so will take a quick look at that to get it resolved as the next step is to run through all three ops (sync airbyte, setup glue crawler, and trigger dbt) and verify that they all go through. Once that works (should be today), then I just need to templatize this as a dagster pipeline so that we can pass in the airbyte connection_id and the dbt model and it should setup and trigger a pipeline.

Ran into dependency hell with dagster-dbt. Running dbt in dagster throws the following error:
2022-08-11 07:26:48 -0500 - dagster - INFO - airbyte_job - 7d79d806-cac6-48cb-9224-4dcc5367f05a - run_dbt -     import jinja2._compat
2022-08-11 07:26:48 -0500 - dagster - INFO - airbyte_job - 7d79d806-cac6-48cb-9224-4dcc5367f05a - run_dbt - ModuleNotFoundError: No module named 'jinja2._compat'
2022-08-11 07:26:48 -0500 - dagster - INFO - airbyte_job - 7d79d806-cac6-48cb-9224-4dcc5367f05a - run_dbt - dbt exited with return code 1

It appears that dagster-dbt installs a very old version of dbt-core(0.14.2) with latest version being 1.2.0. Spent a decent amount of time trying to play around with dependencies to get get things resolved, but haven't been successful so far.

Resolved dependency issue by installing dbt-trino and that added up installing a newer version of dbt-core. Nothing in the docs, guides or tutorials mention anything about that. Next was figuring out how to run dbt deps using the dbt cli resource. Again, documentation isn't very clear and ended up reaching out to them through their Slack support channel and I was able to get dbt to run.

Started looking into how to wait on the crawler to complete its run before moving on to the dbt run. The crawler API is a bit limited and initially I was going to trigger the crawler and then keep checking (it throws an exception if u try to start the crawler and it's already running) until it's no longer throwing an error. However looking some more there's an API that reports the status of the crawler once we pass its and we can keep polling it until its status is not Running. Had a chat with Tobias about it and after some online digging, his recommendation was to cut the crawler out of the picture and look into using AWS Lake Formation which would potentially simplify things as it also integrates as a destination with Airbyte.
So, looking now into Lake Formation to see how practical it is to use instead of the Glue crawler


[NOT READY] Samples demonstrating Product Search (v1p3beta1)

Product Search (v1p3beta1)
This Pull Request adds the code samples for cloud.google.com documentation for Product Search How-to Guides
Product Search How-to Guides –> vision/product-search/docs/how-to
products.js

[x] create_product
[x] get_product
[x] list_products
[x] delete_product
[ ] update_product_labels

productSets.js

[x] create_product_set
[x] get_product_set
[x] list_product_sets
[x] delete_product_set

–> Products in productSets.js

[ ] add_product_to_product_set
[ ] list_products_in_product_set
[ ] remove_product_from_product_set

referenceImages.js

[ ] create_reference_image
[ ] get_reference_image
[ ] list_reference_images
[ ] delete_reference_image

similarProducts.js

[ ] get_similar_products_file
[ ] get_similar_products_uri

For the canonical versions, please see the Python Product Search Samples in python-docs-samples
These samples are in Beta and require using the v1p3beta1 API endpoint:
const vision = require('@google-cloud/vision').v1p3beta1;
const client = new vision.ProductSearchClient();

Before being ready for review & merge:

[ ] All samples tested & green
[ ] Linter passes (prettier --write *.js)
[ ] README scaffolded (npm run generate-scaffolding)

I updated the region tags to the new standard tags. Update to the existing languages (Java and Python) is in progress.

Moved to https://github.com/googleapis/nodejs-vision/pull/192


After updating pubspec.yaml, no prompt to guidance on what to do

Considering the case of a new user, if they edit their pubspec.yaml (probably trying to fix a path), we don't prompt them what to do now.
Here's what they see after they update the file:

We could show a toast that says "Run pub get to download and install dependencies now?" when the user saves pubspec.yaml.

Atom editor allows to have options:
Eg.
Format on save
What about to add option: Rub pub on save pubspec.yaml?
With this approach it will be possible to have two choices:

Enable this feature
Disable this feature

Or at least the suggested feature should be configurable (on/off).

I'd be fine with a project option, and a system-wide option, to run pub get on save. A prompt for new users is best. Maybe we can add "remember the choice next time" to the prompt.

I think that if authors of this project wish to help beginners to quickly adapt to this software then maybe it makes sense to implement a trainer feature?
It will help (if turned on) to adapt with unknown technology.

Can I try to implement some features to this software to make it slightly better?
I am talking not about the helpers for beginners.
I am talking about useful features.
P.S.
I ask because you know my name.


Firebird 4

Hello,
Flamerobin (flamerobin-0.9.3.e6015349) does not work with Firebird 4 (zip).
Both Firebird and Flamerobin are 32 Bit.
Tried to put fbclient.dll same folder as flamerobin.exe.

Hi @Hugolarson ,
You need install, manuali, the client library.
\firebirdfolder\instclient.exe
Or
\firebirsfolder\wow64\installclient.exe
I working for selection the library per database, but isnot ready.
./jo

Hi,
I run the command below but it still does not work
instclient i fbclient
FBCLIENT.DLL has been installed to the System directory.

Hi @Hugolarson
Could you please retest this issue on FlameRobin <IP_ADDRESS> and close it if it is no longer reproducible?
Thanks in advance,
Luciano

Hi,
Now it seems to find fbclient.dll but when I try connecting to either FB4.0 or FB2.5 database files it wont connect.
With engine 2.5 it connects fine but not engine 4.0.
With engine 4.0 I can connect with isql and jdbc but not flamerobin
firebird.conf
AuthServer = Srp256, Srp, Legacy_Auth
UserManager = Srp, Legacy_UserManager
WireCrypt = Disabled

Hello.
We still have problems with Flamerobin on Windows 10 with FB4.
We love this software and have many installations and want migrate from FB2.5 to FB4.0.
Is it possible for you to make a portable version of Flamerobin where one just place fbclient.dll in same folder and it just works.
That would be awesome.
Thank you for the effort.

Hello, what kind of problem do you have with fb4?
Also you can use flamerobin as a portable app, just coping it's folder and using some parameters during startup do use a local config(almost sure you'll find something related here) same for embedded

Hi @Hugolarson
Please review this
https://github.com/mariuz/flamerobin/pull/261
./jo

Hi,
Tried to put the path to fbclient.dll, which I have placed in flamerobin folder.
I have deleted all old fbclient 2.5.
Same problem with several other Windows 10 computers
It would be great if flamerobin primarily search for fbclient.dll in same folder.

Hi, are you sure you are using 32bits dll?

Yes

@Hugolarson
Could you try to assign the library, in the general configuration?
./jo

@Hugolarson
Could you try to assign the library, in the general configuration?
./jo

I did already

There seems to be something wrong with the library you are using.
Try assigning the library to the FB installation directory

Don't think so. I tried with IBExpert and it works.
Here is it.
fbclient.zip

Don't think so. I tried with IBExpert and it works. Tried to assign it to FB4 install folder. Same. Here is it. fbclient.zip

Hi @Hugolarson
Please try this version, information about the latest error is included
flamerobin.zip
./jo


Import: System.IO.IOException

at System.IO .__ Error.WinIOError (Int32 errorCode, String maybeFullPath)
System.IO.Directory.InternalCreateDirectory (String fullPath, Stringpath, Object dirSecurityObj, Boolean checkHost)
System.IO.Directory.InternalCreateDirectoryHelper (String path, Boolean checkHost)
at uTinyRipper.AssetExporters.AssetExportCollection.Export (ProjectAssetContainer container, String dirPath)
at uTinyRipper.AssetExporters.ProjectExporter.Export (String path, FileCollection fileCollection, IEnumerable1 assets, ExportOptions options)     at uTinyRipper.GameStructure.Export (String exportPath, Func2 filter)
at uTinyRipperGUI.MainWindow.ExportFiles (Object data)
This error appears when exporting the file
File: https://drive.google.com/file/d/1XSFfjGESgZKjrtDhj49vsIebDk859KHW/view?usp=sharing

Can't reproduce. Make sure config file is present https://github.com/mafaca/UtinyRipper/issues/304


Question about commercial use

Hello,
I've created my own music player . I'm using the songs and album artwork from http://storage.googleapis.com/automotive-media/music.json.
I'm planning to upload it to playstore for free.
Is it ok to use the songs and resources from http://storage.googleapis.com/automotive-media/music.json?
e.g.
"https://storage.googleapis.com/automotive-media/Jazz_In_Paris.mp3"

Hi,
Sorry, this appears to be a question about usage rights, rather than about UAMP. I'd recommend contacting a lawyer to answer any questions you have on that front.


bring up Kubernetes deployment without restarts

When I tested the CSI 1.0 support in https://github.com/intel/pmem-CSI/pull/177 (https://github.com/intel/pmem-CSI/pull/177/commits/eab77d77a74a91d3b94552c2c9bfe980e82c1fa7), the pods came up eventually, but only after some intermittent errors:
$ kubectl get pods
NAME                    READY   STATUS    RESTARTS   AGE
my-csi-app              1/1     Running   0          6m30s
pmem-csi-bqdwp          2/2     Running   11         10m
pmem-csi-controller-0   4/4     Running   15         10m
pmem-csi-h7dfn          2/2     Running   11         10m
pmem-csi-w4p2f          2/2     Running   9          10m

I've not caught it in the logs, but I think the node pmem-driver was restarting because the registry wasn't up yet.
This is confusing. In the sidecar containers, we chose the approach of waiting forever for a peer to show up, with regular logging while in that wait loop. The pmem driver should do the same. See https://github.com/kubernetes-csi/csi-lib-utils/pull/11.

Do the startup phase errors/retries happen differently on 1st vs next times, i.e. what's the impact caused by 1st fetch of docker images.
Also, is csi-1.0 branch behavior different from latest devel-branch, i.e. is there more related issues created by 1.0 work. Because I don't recall seen that high restart counts in devel-branch recently.
I will run some trials as well.

If i am not wrong, this exists in driver for long time, not specific to 1.0 changes. I can take this task.

with change #184, driver deployment looks like:
$ kubectl get po
NAME                    READY   STATUS    RESTARTS   AGE
pmem-csi-4d6xj          2/2     Running   0          107s
pmem-csi-controller-0   4/4     Running   0          107s
pmem-csi-g5v9h          2/2     Running   0          107s
pmem-csi-tszbz          2/2     Running   0          107s


Added phone number verification method

Based on this StackOverflow answer's regex added a verification for a phone number which requires at minimum 7 digits after removing +s or other symbols at the start of the phone value.

Thanks @HenrijsS .


coordinator bug

here is statu of normal pod in kind, with dual-stack
# ip r
default via <IP_ADDRESS> dev eth0
<IP_ADDRESS>/24 via <IP_ADDRESS> dev eth0 src <IP_ADDRESS>
<IP_ADDRESS> dev eth0 scope link src <IP_ADDRESS>

# ip -6 r
fd40:0:0:1::1 dev eth0 src fd40:0:0:1::20 metric 1024 pref medium
fd40:0:0:1::/64 via fd40:0:0:1::1 dev eth0 src fd40:0:0:1::20 metric 1024 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
default via fd40:0:0:1::1 dev eth0 metric 1024 pref medium

# ip a
3: eth0@if33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether fa:c6:28:13:f6:2e brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fd40:0:0:1::20/64 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::f8c6:28ff:fe13:f62e/64 scope link
       valid_lft forever preferred_lft forever

create for overlay mode,
~# kubectl get network-attachment-definitions -n kube-system   macvlan-net19-kubevirt -o yaml
apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"spiderpool.spidernet.io/v2beta1","kind":"SpiderMultusConfig","metadata":{"annotations":{},"name":"macvlan-net19-kubevirt","namespace":"kube-system"},"spec":{"cniType":"macvlan","coordinator":{"mode":"overlay","podCIDRType":"cluster"},"macvlan":{"ippools":{"ipv4":["net19"]},"master":["eth0"]}}}
  creationTimestamp: "2023-08-02T11:26:44Z"
  generation: 3
  name: macvlan-net19-kubevirt
  namespace: kube-system
  ownerReferences:
  - apiVersion: spiderpool.spidernet.io/v2beta1
    blockOwnerDeletion: true
    controller: true
    kind: SpiderMultusConfig
    name: macvlan-net19-kubevirt
    uid: d88ca865-cd82-47c9-bb16-2608a1989846
  resourceVersion: "19787"
  uid: 57b8d47e-acdf-4fad-8c12-47291b320605
spec:
  config: '{"cniVersion":"0.3.1","name":"macvlan-net19-kubevirt","plugins":[{"type":"macvlan","ipam":{"type":"spiderpool","default_ipv4_ippool":["net19"]},"master":"eth0","mode":"bridge"},{"type":"coordinator","ipam":{},"dns":{},"mode":"overlay"}]}'

~# kubectl get spidercoordinators -o yaml
apiVersion: v1
items:
- apiVersion: spiderpool.spidernet.io/v2beta1
  kind: SpiderCoordinator
  metadata:
    creationTimestamp: "2023-08-02T10:43:04Z"
    finalizers:
    - spiderpool.spidernet.io
    generation: 1
    name: default
    resourceVersion: "5736"
    uid: e4ec3858-894e-45ca-89d1-e9fd411820e6
  spec:
    detectGateway: false
    detectIPConflict: false
    hostRPFilter: 0
    hostRuleTable: 500
    mode: underlay
    podCIDRType: cluster
    podDefaultRouteNIC: eth0
    podMACPrefix: ""
    tunePodRoutes: true
  status:
    overlayPodCIDR:
    - <IP_ADDRESS>/16
    - fd40::/48
    phase: Synced
    serviceCIDR:
    - <IP_ADDRESS>/16
    - fd41::/108

create pod with annotation , overlay cni has dual-stack ip, and macvlan only has ipv4 ip
      annotations:
        k8s.v1.cni.cncf.io/networks: macvlan-net19-kubevirt

and pod failed
networking: [default/http-server-665fb4cbb-dcqct/1d4b375c-cb55-4659-9253-188de6d134ff:macvlan-net19-kubevirt]: error adding container to network "macvlan-net19-kubevirt": plugin type="coordinator" failed (add): failed to AddRoute for hijackCIDR: failed to add route table({Ifindex: 3 Dst: fd40::/48 Src: <nil> Gw: <IP_ADDRESS> Flags: [] Table: 100 Realm: 0}): gateway, source, and destination ip are not the same IP family

so , it seems not to check the ipfamliy when calculate the gateway

This should be related to https://github.com/spidernet-io/spiderpool/pull/2078.

{Ifindex: 3 Dst: fd40::/48 Src:  Gw: <IP_ADDRESS> Flags: [] Table: 100 Realm: 0})
destination is ipv6, and the gw is ipv4

I know this issue and I updated the logic for adding routes in this part in https://github.com/spidernet-io/spiderpool/pull/2078.

I tried to reproduce this issue with v0.6.0 and main, but it seems to work. Would you mind reproducing this issue again?  thanks.

fixed by https://github.com/spidernet-io/spiderpool/pull/2148


fix: validation error [APE-1036]

What I did
updated src/ape/api/providers.py web3provider getblock to accept none type gas baseFeePerGas
fixes: # https://github.com/SilverBackLtd/silverback/issues/2
How I did it
resolves nonetype error for basefeepergas
How to verify it
run a silverback test with geth provider
Checklist

[ ] All changes are completed
[ ] New test cases have been added
[ ] Documentation has been updated

fix resolves error but now hangs at INFO: Loaded Silverback App: network=adhoc:ethereum signer=None


Kubernetes default helm deployment configures github

Component
server
Describe the bug
The default kubernetes helm deployment enables the github integration from woodpecker. But woodpecker can be used in scenarios without github integration. If someone does not want the github integration, it must be actively disabled.
My proposal is, to remove the github configs from the helm charts values.yml
env:
  WOODPECKER_GITHUB: true

extraSecretNamesForEnvFrom:
- woodpecker-github-client
- woodpecker-github-secret

With this change the documentation also needs to be adjusted.
System Info
Helm chart for 0.15.x

Additional context
No response
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A join our Discord Chat Server or the Matrix room.

Not if you're not using github. I'm currently running a kubernetes helm deployment without the github secrets and the env variable WOODPECKER_GITHUB set to false.

That's what I wrote, at least that was my intention. If WODPECKER_GITHUB is true, the GitHub id and secret are required.
But if it's false, they are not required. Woodpecker can run without them.
The default helm deployment sets WOODPECKER_GITHUB to true. My proposal is to not enable any integration by default.

Yes, the config needs to be changed. But why activate an integration with the default settings? Shouldn't the integrations be deactivated by default and then activated upon configuration?


Assembly reference 'System.Numerics.dll' was not found or is invalid

when compiling fsx file on certain machines (without Visual Studio 2015?). Compiling fsproj (like the  test one) works correctly.

It seems the GetProjectOptionsFromScript method adds many references by default to fsx scripts (see image). I've tried removing the core references and it seems the AST can still be retrieved (but there'll be fails if custom references, like NUnit, are removed). Maybe the easiest solution would be to remove the core references but I'd like to check with the F# compiler team first.

Closing for now. Solution seems a bit messy, and probably it's better to update F# in the machines affected.

Sorry, I do not understand how to update F#. These are two build machines with the latest FSharp installed according to Option 3.
However copying 4.5 files from working development machine seems to fix this (I had only .NET 4.6 installed).
Anyway the build is now failing on
Starting Target: Plugins (==> MainRelease)
C:\Users\david.podhola\S\Fabel\build\plugins already exists.
FSC with args:[|"--out:build/plugins/Fable.Plugins.NUnit.dll"; "--target:library";
  "plugins/Fable.Plugins.NUnit.fsx"|]
startup (1,1)-(1,81) parameter error Could not resolve this reference. Could not locate the assembly "System.Numerics.dll". Check to make sure the assembly exi

This looks like a build problem and to be honest I'm not sure I can help: I'm not an expert and I'm not on Windows right now. These lines seem to cause the problem which are just calling a FAKE helper method to compile a .fsx file.
Sorry for the hassle but, would you mind opening a question in StackOverflow with the problem (cannot compile fsx files in your machines because System.Numerics.dll is missing)?

Yes, I think this is related to FAKE. I am still investigating.
BTW running

I followed this guide and also got the error.
Start compilation...
F# project contains errors:
> Assembly reference 'System.Numerics.dll' was not found or is invalid: L1 (startup)

How can I solve this?

I'm very lost with this error because I never could reproduce it myself. It does seem it has something to with the F# installation on some Windows machines. Can you please try with a project (.fsproj) instead of a script (.fsx)? It used to be a hassle to create projects outside VS but now it's much easier with Ionide and/or Forge :)

I created a project with yeoman and now get this error:
Start compilation...
F# project contains errors:
> Unable to find the file 'mscorlib.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0
 c:\Users\Manuel\Dropbox\Dev\fable-test\src
 C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\: L1 (unknown)
> Unable to find the file 'FSharp.Core.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0
 c:\Users\Manuel\Dropbox\Dev\fable-test\src
 C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\: L1 (unknown)
> Unable to find the file 'mscorlib.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0
 c:\Users\Manuel\Dropbox\Dev\fable-test\src
 C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\: L1 (unknown)

I tried to reinstall the Windows SDK and Net 4.6 SDK from here, but it was already installed and up to date.

I've reported the issue in the FSharp.Compiler.Service repo. Hopefully they can provide some help.

I forgot to install the Microsoft Build Tools 2015, this solved it for me.
(https://www.microsoft.com/de-de/download/confirmation.aspx?id=48159)

Great, I'm happy to hear that. This will probably be very useful for people having the same problem in the future :)


e2e: explicit namespace creation

Create the test namespace explicitely, instead of
letting the framework do it. This is helpful to
enable namespace customization, like label injection.

/hold
still WIP


添加PIR单测推全

添加PIR单测推全

 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.zhoubotao seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


fix README misspelled type name

Type name is EnhanceElemArg, README has it as EnhanceElemArgs.

good catch @dranovsk -- tyvm


Updated code to compute samza lag

Codecov Report

Merging #433 into release-2.1.0 will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff               @@
##             release-2.1.0    #433   +/-   ##
===============================================
  Coverage             32.1%   32.1%
  Complexity            1211    1211
===============================================
  Files                  172     172
  Lines                15045   15045
  Branches              2386    2386
===============================================
  Hits                  4830    4830
  Misses                9498    9498
  Partials               717     717

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 c3ea339...2fbca47. Read the comment docs.


Update sbt-scalafix to 0.9.31

Updates ch.epfl.scala:sbt-scalafix from 0.9.18 to 0.9.31.
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!

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

labels: sbt-plugin-update, semver-patch

Superseded by #65.


Calibration

Hi Dana:
Two questions:
1.Can I print the calibration rectangles on my calibration target instead of the specimen to be tested? Because my specimen is difficult to draw rectangles.
2.If I don't change the relative positons of my cameras, can I use the DLT files generated  last time?
Yours,
Joe

Certainly. The calibration target should not be your specimen. It's a separate object.
Yes. If nothing is changed in the positions and settings of the cameras, you should be able to use the same DLT files.


How to use the BrowserSpriteSymbol type in typescript？

Do you want to request a feature, report a bug or ask a question?
question
What is the expected behavior?
interface IconProps {
    type: BrowserSpriteSymbol
}

Please tell us about your environment:

Node.js version: 10.14.1
webpack version: last
svg-sprite-loader version:  last
OS type & version: Windows 10

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
When I introduced the svg file with require, I got a BrowserSpriteSymbol type, but I don't know how to use it as a property type. Can you tell me? Thank you!

I added next interface in my project
interface BrowserSpriteSymbol {
  id: string;
  viewBox: string;
  content: string;
  node: SVGSymbolElement;
}

@etozhkirill could you please make a PR with typings?


Cannot parse 'XX*': Encountered ""

Hi,
We are right now on the following versions:
<PackageReference Include="Lucene.Net" Version="4.8.0-beta00016" />
<PackageReference Include="Lucene.Net.QueryParser" Version="4.8.0-beta00016" />

Today, we have encountered a random error, that could not be reproduced:
Cannot parse 'Bl*': Encountered "<EOF>" at line 1, column 18.

    "*" ...

We use MultiFieldQueryParser with two fields and the following call:
Parse($"{input}*")
What could be the cause of it?
The data is read from Azure Blob storage, using AzureDirectory package.
Thank you for your help.

What datatype is {input}?
I suspect you might be having parse issues due to the culture of the current thread in your application, which may be formatting {input} in an unexpected way. You may need to use FormattableString.Invariant().
Note also that the parsing may be failing because a new QueryParser instance uses the culture of the current thread by default and you may need to change the culture.
var parser = new MultiFieldQueryParser(LuceneVersion.LUCENE_48, new string[] { "foo", "bar" }, analyzer)
{
    Locale = CultureInfo.InvariantCulture
};

Whatever the case, you should be able to debug what is happening by recording the culture and value to be parsed during a failure and then you should reproduce the issue in a debug environment so you can step through to debug. Note that you can enable Source Link on 4.8.0-beta00016 so you can step into the QueryParser code also.

It's a string.
The problem is that this happened just in one instance. I wasn't able to reproduce it when running the parsing on exactly the same string.
Thanks for the tip regarding Locale, I will try that and see if the error repeats

After deploying the fix, it did not help.
Still getting the exception:
Cannot parse '"a"': Encountered "<EOF>" at line 1, column 2.

    "*" ...

One more thing, I am using the AzureDirectory package. I have noticed that this may occur when the cache is being downloaded from a blob container. I will ask the person that takes care of the Lucene.Net.Store.AzureDirectory package

Thank you for your report, but I cannot reproduce with QueryParser or MultiFieldQueryParser and StandardAnalyzer, on either beta 16 or 17 (latest trunk). Closing this issue unless a reproducible case is provided.

@paulirwin It occurs when accidentally using a QueryParser in a multi-threaded scenario. This is not a threadsafe API but this error will happen if you use one instance in several threads.

@Shazwazza Great catch, thanks! I can now easily reproduce this failure even in Lucene 10.0 in Java by modifying my example to launch 100 threads that share a QueryParser. So this is not a Lucene.NET bug; the solution is to make sure that you are not sharing a QueryParser across threads.


break early after having found the struct field with _uuid tag

Signed-off-by: Girish Moodalbail<EMAIL_ADDRESS>

merged upstream .. closing


[Bug report]: Add custom node info field does not accept '/'

Platform
Desktop
Version
stardust-developt
Description
There is a bug in the onboarding flow, on the Connect to a custom network page. It looks like manually inputting the / character in the Node Address field is impossible. Copying works fine
Expected behaviour
I should be able to type the node address in manually
Actual behaviour
Typing / doesn't work in the node address field
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue

Create a Profile
Choose Shimmer protocol
Choose 'Custom Network`
Try typing in the node URI in Node Address field

Operating System
Linux
Diagnostics
TBD

Developer Profile
Yes
Profile Type
Software (Stronghold)
Staking
No response
Crash Status
Non-responsive
Error Messages
TBD
Error Logs
TBD

Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Resolved with:
https://github.com/iotaledger/firefly/pull/3866/files


How can I vendor:publish in a module

I'm trying to create a module with some dependencies, I found this solution for composer :
https://github.com/pingpong-labs/modules/issues/193
Now, some of packages need command like php artisan vendor:publish --tag=blahblah ,
How can I run this command for a modules?

Use the same command ? Use the --help flag if you're not sure how.

for example when I using php artisan vendor:publish --tag=laratrust the configuration files will create in /config, is there any way to create on /Modules/{module}/Config ?
I want design an isolated module, so I need to add packages to Modules/composer.json and then configure they on Modules/Config folder.

Modules can have dependencies, and configuration. Dependencies config file don't go into modules config folder.
Published configuration files should always end up in the laravel config folder.


pull request for e2e test at 12/03/2016 09:56:48

:x: Validation status: errors
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Can I export to web?

Description
Hi there, can I export the project to web? I believe that Mediapipe supports webGL.
Much appreciated!

See https://github.com/homuler/MediaPipeUnityPlugin/issues/49#issuecomment-1000696387.
In short, no by default, but you can do that with some work.


Implement missing density state functions

Currently, these are

CPU MPI densmatr_initPureState
CPU MPI densmatr_collapseToKnownProbOutcome
CPU local densmatr_collapseToKnownProbOutcome

the density analogs of the debugging functions (if necessary)

initStateDebug
initStateFromSingleFile
initStateOfSingleQubit
reportStateToScreen

Additionally,
CPU (local and MPI) for all of

oneQubitDephase
twoQubitDephase
oneQubitDepolarise
twoQubitDepolarise

and GPU densmatr_collapseToKnownProbOutcome

Additionally,
CPU (local and MPI) for

densmatr_calcFidelity
calcPurity

calcFidelity done

calcPurity done
initPureState done
collapseToKnownOutcome done
That leaves only the 4 noise functions which I'll move to a new issue


Is login.js returning incorrect refresh token?

When I execute lgoin.js on my windows PC on my account with MFA enabled I get a .token returned.
However, the refresh_token within appears to be from "step 4"  https://tesla-api.timdorr.com/api-basics/authentication#step-4-exchange-bearer-token-for-access-token which the API documentation indicates is of no value (in the token refresh section https://tesla-api.timdorr.com/api-basics/authentication#refreshing-an-access-token):
"This uses the SSO refresh_token from Step 3 above to do an OAuth 2.0 Refresh Token Grant. This does not work with the refresh_token provided by the Owner API. Those have no use currently and should be discarded."
and that the correct refresh_token is that from "step 3" https://tesla-api.timdorr.com/api-basics/authentication#step-3-exchange-authorization-code-for-bearer-token
The refresh_token should be in the form "refresh_token": "eyJrefresh"
Thanks

@IMgoRt Yes, you are correct. With the auth changes that Tesla made I have not yet fixed up the refresh token handling. There is a PR for this that I need to review and merge if it works. I will try to get to this soon.

Thanks, that PR works for me

I'll close this when I complete the merge. @IMgoRt can you confirm that you test merged in the PR or did you just inspect the diff?

I ran the code in the PR and it returned a valid refresh_token (and all other items remained correct)

Anything new? When will the npm be updated?

Another way to be compatible of many user interfaces is to add in teslaja/src/auth.js, just as the first lines of login function:
(...)
exports.login = function login(credentials, callback) {
// Tokens as username/password when username does not contain @
if (!credentials.identity.includes('@')) {
callback(null, {}, { access_token: credentials.identity, refresh_token: credentials.credential });
return;
}
var codeVerifier = generateCodeVerifier();

(...)
Then, provide access and refresh tokens as username/password in your preferred UI.
I also found that id_s seems to have changed; using the new one, everything is now working for me!
But the username/password is not possible yet and it would be great as getting token/refresh tokens with an external app is not very easy...

I am considering adding 2captcha support. Thoughts on that as a solution to keep the library headless and avoid the need to show a webview? I don't like taking a dependency on a paid service. OTOH I am struggling to find another solution that keeps this library working.


FR: upsert method

Would you be open to implementing and upsert functionality. Similar to https://github.com/pouchdb/upsert

Thanks for creating an issue.
Both updateOne and updateMany accept an upsert boolean option. That's the functionality you're looking for right?
https://docs.mongodb.com/manual/reference/method/db.collection.updateOne/
https://docs.mongodb.com/manual/reference/method/db.collection.updateMany/

Oh, should have read the docs.. Thanks for pointing that out to me. It's exactly what I was looking for.