incompatible with newer dependencies

Because json_serializable ^4.0.1 depends on analyzer >=0.41.2 <2.0.0 and freezed 1.0.0 depends on analyzer ^2.7.0, json_serializable ^4.0.1 is incompatible with freezed 1.0.0.
And because no versions of freezed match >1.0.0 <2.0.0, json_serializable ^4.0.1 is incompatible with freezed ^1.0.0.
So, because app_market depends on both freezed ^1.0.0 and json_serializable ^4.1.4, version solving failed.
pub get failed (1; So, because app_market depends on both freezed ^1.0.0 and json_serializable ^4.1.4, version solving failed.)

For those having the same question, this project looks abandoned.
Another similar project is currently maintained : https://pub.dev/packages/dio_cache_interceptor

Not related with this project.


docs(changelog): changelog for v2.3.0

List of the PRs added in changelog:

#15

Codecov Report

Merging #17 (de9080c) into develop (609ab7b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #17   +/-   ##
========================================
  Coverage    34.44%   34.44%
========================================
  Files           27       27
  Lines         2105     2105
========================================
  Hits           725      725
  Misses        1343     1343
  Partials        37       37

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 609ab7b...de9080c. Read the comment docs.


Task 15008120: Update AzureSDK with the latest swagger changes that i…

…ncludes response schema
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

@ArcturusZhang could you please help review this? Thank you!


v6.0.0 to v6.0.1 introduces TypeScript type incompatibilities

Description
In this change: https://github.com/Netflix/pollyjs/compare/v6.0.0...v6.0.1
The NodeHttpAdapter and FSPersister types are no longer compatible.
import NodeHttpAdapter from '@pollyjs/adapter-node-http';
import FSPersister from '@pollyjs/persister-fs';

  setupPolly({
    adapters: [NodeHttpAdapter],
    persister: FSPersister,
   ...
  });

Error Message & Stack Trace
Type 'typeof NodeHttpAdapter' is not assignable to type 'string | typeof Adapter'.
  Type 'typeof NodeHttpAdapter' is not assignable to type 'typeof Adapter'.
    Construct signature return types 'NodeHttpAdapter' and 'Adapter<TOptions, TRequest>' are incompatible.
      The types of 'defaultOptions' are incompatible between these types.
        Type '{}' is not assignable to type 'TOptions'.
          '{}' is assignable to the constraint of type 'TOptions', but 'TOptions' could be instantiated with a different subtype of constraint '{}'.ts(2322)

Environment
Node.js v14.18.1
linux 5.15.5-76051505-generic
npm: 6.14.15

I just realized that the types come from:
    "@types/pollyjs__adapter-node-http": "2.0.1",
    "@types/pollyjs__core": "4.3.3",
    "@types/pollyjs__persister-fs": "2.0.1",

And that PollyJS is a JS project.
Feel free to close this issue if you feel that this should be handled elsewhere. I'm leaving it open for now in case others come across this when trying to upgrade and may be able to help provide direction here.

I ran into the same problem.
I ended up doing the following as a workaround.
import Adapter from '@pollyjs/adapter';
import Persister from '@pollyjs/persister';
import NodeHttpAdapter from '@pollyjs/adapter-node-http';
import FSPersister from '@pollyjs/persister-fs';

Polly.register(NodeHttpAdapter as typeof Adapter);
Polly.register(FSPersister as typeof Persister);

It was not clear to me why it was necessary.

I just ran into this. It's true the types are located in DefinitelyTyped but it looks like they were recently moved into the respective @pollyjs repos (see types.d.ts in each repo). It looks like for @pollyjs/core, Polly.register and Polly.unregister have the wrong types:
https://github.com/Netflix/pollyjs/blob/master/packages/%40pollyjs/core/types.d.ts#L262-L263
I believe instead of:
export class Polly {
  static register(Factory: typeof Adapter | typeof Persister): void;
  static unregister(Factory: typeof Adapter | typeof Persister): void;
}

it should be:
export class Polly {
  static register(Factory: Adapter | Persister): void;
  static unregister(Factory: Adapter | Persister): void;
}

It seems that the types are now located in the subrepos instead of DefinitelyTyped.
@pollyjs/adapter-node-http/types.d.ts should be:
import Adapter from '@pollyjs/adapter';
import { Request } from '@pollyjs/core';

export default class NodeHttpAdapter<
  TOptions extends {} = {},
  TRequest extends Request = Request
> extends Adapter<TOptions, TRequest> {}

@pollyjs/persister-fs/types.d.ts should be:
import Persister from '@pollyjs/persister';

export default class FSPersister<
  TOptions extends {
    recordingsDir?: string;
  } = {}
> extends Persister<TOptions> {}

Can you give v6.0.2 a try?

Thanks for looking at this. Moved on to some new errors:
node_modules/@pollyjs/core/types.d.ts:108:3 - error TS7010: 'constructor', which lacks return-type annotation, implicitly has an 'any' return type.

108   constructor(
      ~~~~~~~~~~~~
109     polly: Polly,
    ~~~~~~~~~~~~~~~~~
...
116     }
    ~~~~~
117   );
    ~~~~

node_modules/@pollyjs/persister/types.d.ts:2:24 - error TS7016: Could not find a declaration file for module 'set-cookie-parser'. '/<my-repo-redacated>/node_modules/set-cookie-parser/lib/set-cookie.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/set-cookie-parser` if it exists or add a new declaration (.d.ts) file containing `declare module 'set-cookie-parser';`

2 import { Cookie } from 'set-cookie-parser';
                         ~~~~~~~~~~~~~~~~~~~

Found 2 errors.

@guyellis apologies for the back and forth. Can you give v6.0.3 a try?

@offirgolan - yes that worked - thank you! :1st_place_medal:


Change all 'Init' pointers to const

This change reflect upstream change:
https://github.com/llvm/llvm-project/pull/112705

Looks good, thanks


Testing

@ilayofir please update this task status and your testing findings.

testing completed. 1 issue found.

testing completed. 1 issue found.


No cover shown, apps disconnected after a short while

After a recent software update in my BMW the connection with Android Galasy S22 Ultra has got much worse as before.
Previoulsy the cover where shown and the connection with the apps was stable. Now after few minutes the music player disconnects and my car tells me, that my telephone is just connected for calling, but the app connection is deselected and cannot be activated again. After having the car restarted, it works for a while...
Which settings in Android might be affected?

In the meantime I have removed all connections in the car and in the phone, restarted the phone and connected again.
Now the connection seems to be stable, but still no cover is shown. However, this is only in the right part of the splitscreen. If I switch to media view in the main part of the screen, the cover is shown. Strange indeed.
My car software is:
TB-007.039.008
MB-007.039.008
Any help?

The MyBMW app is responsible for activating the Apps connection in the car, and has traditionally been unreliable. I'm sorry to hear that it sounds like it got worse!
The lack of cover art in the splitscreen view sounds like AAIdrive is running in the legacy Audioplayer mode instead of the new Spotify mode. Is your phone connected over USB instead of Bluetooth? AAIdrive's UI should have a checkbox about Global Coverart, with an explanation for why it didn't enable it.

Dear Walter
Many thanks for your response.
I do not use spotify, only the Poweramp player.
AAidrive shows me, that the car does not support global cover art (if I remember the message correctly).
However, as I wrote on Github, when I show media on the main screen instead of the map, cover is shown.
Crazy…
Best regards and thanks again
Jerzy
Mit freundlichen Grüßen
Kind regards
Z poważaniem
Dipl.-Ing. Jerzy Czopik
Feldbrandweg 22
D-44339 Dortmund
Tel.            +49 231 801645
Fax            +49 231 801653
Mobil       +49<PHONE_NUMBER>
E-Mail<EMAIL_ADDRESS><EMAIL_ADDRESS>Von: Walter Huf @.>
Gesendet: Donnerstag, 20. Oktober 2022 16:01
An: BimmerGestalt/AAIdrive @.>
Cc: Jerzy Czopik @.>; Author @.>
Betreff: Re: [BimmerGestalt/AAIdrive] No cover shown, apps disconnected after a short while (Issue #623)
The MyBMW app is responsible for activating the Apps connection in the car, and has traditionally been unreliable. I'm sorry to hear that it sounds like it got worse!
The lack of cover art in the splitscreen view sounds like AAIdrive is running in the legacy Audioplayer mode instead of the new Spotify mode. Is your phone connected over USB instead of Bluetooth? AAIdrive's UI should have a checkbox about Global Coverart, with an explanation for why it didn't enable it.
—
Reply to this email directly, view it on GitHubhttps://github.com/BimmerGestalt/AAIdrive/issues/623#issuecomment-1285598009, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3VE2ABU72DLFOGBH3E724DWEFGA3ANCNFSM6AAAAAARHGZLVM.
You are receiving this because you authored the thread.Message ID: @.***>

Yes that sounds right, when you open the Media app, it has a dedicated image widget to display the cover art. However, if AAIdrive is connected in Spotify mode, then there is an extra image widget to display the cover art on the home screen and in the sidebar. This Spotify mode is (by default) automatically enabled if Spotify is installed on the phone, even if you aren't using it, and if the Apps connection is running over Bluetooth. Again, AAIdrive will tell the reason for why it didn't connect as Spotify.

Now all is clear.
I have uninstalled spotify from my phone recently.
Many thanks for pointing me into right direction.
I reinstall spotify and test again soon.
Kindest regards & have a nice day
Jerzy
Von: Walter Huf @.>
Gesendet: Donnerstag, 20. Oktober 2022 16:25
An: BimmerGestalt/AAIdrive @.>
Cc: Jerzy Czopik @.>; Author @.>
Betreff: Re: [BimmerGestalt/AAIdrive] No cover shown, apps disconnected after a short while (Issue #623)
Yes that sounds right, when you open the Media app, it has a dedicated image widget to display the cover art. However, if AAIdrive is connected in Spotify mode, then there is an extra image widget to display the cover art on the home screen and in the sidebar. This Spotify mode is (by default) automatically enabled if Spotify is installed on the phone, even if you aren't using it, and if the Apps connection is running over Bluetooth. Again, AAIdrive will tell the reason for why it didn't connect as Spotify.
—
Reply to this email directly, view it on GitHubhttps://github.com/BimmerGestalt/AAIdrive/issues/623#issuecomment-1285640264, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3VE2AGEX2THK6PBWGHCV23WEFI45ANCNFSM6AAAAAARHGZLVM.
You are receiving this because you authored the thread.Message ID: @.***>

Ah yep, that would do it!

HI
Many thanks again. After reinstalling Spotify all works again as expected.
Best regards
Jerzy
Von: Walter Huf @.>
Gesendet: Donnerstag, 20. Oktober 2022 16:44
An: BimmerGestalt/AAIdrive @.>
Cc: Jerzy Czopik @.>; Author @.>
Betreff: Re: [BimmerGestalt/AAIdrive] No cover shown, apps disconnected after a short while (Issue #623)
Closed #623https://github.com/BimmerGestalt/AAIdrive/issues/623 as completed.
—
Reply to this email directly, view it on GitHubhttps://github.com/BimmerGestalt/AAIdrive/issues/623#event-7632006628, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3VE2AG7NXFABW4KAMXIWWLWEFLCPANCNFSM6AAAAAARHGZLVM.
You are receiving this because you authored the thread.Message ID: @.***>

Sorry for reopening here.
Now even though I can see icons (Spotify is installed), the app crashes/closes after a short while.
The connection behaves like this:

Phone connects to the car
After a while the Poweramp (my music app) starts playing
For a short while I can use forward or reverse button
After doing so the icon and the status bar of the song freeze and Poweramp continues to play
I cannot affect the played songs anymore
After a while music stops
Reconnecting to Poweramp is impossible, the car states, that the function is currently unavailable
On the phone I have seen a message "BMW Scrobbler has caused a problem"
I uninstalled all add-ons from AAIdrive
Deleted phone in the car, deleted car in the phone, reconnected
All to no avail, after a while no function

Can you help again? Thanks a bunch

And it seems all the issues started after I updated AAIdrive on November 7th...

Unfortunately I haven't experienced this, please try checking the power saving and background execution options for MyBMW and AAIdrive.

Hi Walter
Many thanks for coming back to me.
Both apps are excluded from power saving.
It is really strange, as it started to happen only after the latest update.
I haven’t changed anything in the car or in the settings of my mobile.
Do you mean, uninstalling all BMW related apps and installing them again would help? Is there any way to clean uninstall the apps, removing all traces of them from the phone?
Kindest regards and many thanks
Jerzy
Mit freundlichen Grüßen
Kind regards
Z poważaniem
Dipl.-Ing. Jerzy Czopik
Feldbrandweg 22
D-44339 Dortmund
Tel.            +49 231 801645
Fax            +49 231 801653
Mobil       +49<PHONE_NUMBER>
E-Mail<EMAIL_ADDRESS><EMAIL_ADDRESS>Von: Walter Huf @.>
Gesendet: Mittwoch, 23. November 2022 19:26
An: BimmerGestalt/AAIdrive @.>
Cc: Jerzy Czopik @.>; Author @.>
Betreff: Re: [BimmerGestalt/AAIdrive] No cover shown, apps disconnected after a short while (Issue #623)
Unfortunately I haven't experienced this, please try checking the power saving and background execution options for MyBMW and AAIdrive.
—
Reply to this email directly, view it on GitHubhttps://github.com/BimmerGestalt/AAIdrive/issues/623#issuecomment-1325490501, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3VE2ADKO6JPQVJ5VJKABILWJZOUPANCNFSM6AAAAAARHGZLVM.
You are receiving this because you authored the thread.Message ID: @.***>

The only update on November 7th was to add Bluetooth permission support for Android 12 and to add a faster screen update method. Please try reverting to the stable version instead of the beta version to see if that helps.
I don't mean uninstalling BMW apps will help. If anything, it'll reset Samsung's view of what apps you use recently and might keep them in memory longer, I think there's a 3 day timer after which Samsung starts closing apps more aggressively.
Does the Apps checkbox in your car still show as connected? If this clears itself, that means MyBMW isn't able to keep the heartbeat going with the car and is something that AAIdrive can not help with.

Hi
Thanks for this update.
How do I revert to non-beta?
It looks like the app option in car is still kept.
I am abroad now, so I will check during the weekend.
Best regards from Cracow in Poland
Jerzy
Von: Walter Huf @.>
Gesendet: Donnerstag, 24. November 2022 18:03
An: BimmerGestalt/AAIdrive @.>
Cc: Jerzy Czopik @.>; Author @.>
Betreff: Re: [BimmerGestalt/AAIdrive] No cover shown, apps disconnected after a short while (Issue #623)
The only update on November 7th was to add Bluetooth permission support for Android 12 and to add a faster screen update method. Please try reverting to the stable version instead of the beta version to see if that helps.
I don't mean uninstalling BMW apps will help. If anything, it'll reset Samsung's view of what apps you use recently and might keep them in memory longer, I think there's a 3 day timer after which Samsung starts closing apps more aggressively.
Does the Apps checkbox in your car still show as connected? If this clears itself, that means MyBMW isn't able to keep the heartbeat going with the car and is something that AAIdrive can not help with.
—
Reply to this email directly, view it on GitHubhttps://github.com/BimmerGestalt/AAIdrive/issues/623#issuecomment-1326688374, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3VE2AG3SMENYI6QXX3PFD3WJ6NVFANCNFSM6AAAAAARHGZLVM.
You are receiving this because you authored the thread.Message ID: @.***>

When you navigate to the BimmerGestalt AAIdrive page in the App Store, it should show that you are a Beta Tester, and it should offer a button to Leave the beta testing program. After uninstalling and reinstalling, it will install the latest stable version from August.
However, uninstalling and reinstalling will also reset the phone's understanding of whether it should leave the app in the foreground or pause it in the background, which will confound the test. However, there are no new features in the beta, so you aren't going to miss anything by staying on the stable version.


Accuracy Ultralytics RT-DETR vs Pytorch models.

I was trying to do people detection and was experimenting on the models. attached in this repository and one with ultralytics-rtdetr
This are my observation

Ultralytics model perform much better in people detection  vs the heaviest model(resent 101..). it misses multiple but ultralytics based model was able to detect majority of the people with high accuracy.
Problem with Ultralytics model i found was it was giving duplicate rectangle which I understand is a solved problem in RT-DETR.

--
any info on why this discrepancies are there ? have below questions :

are ultralytics one and one here are the same model or they are trained differently
is there any equivalent configuration for ultralytics model here that can be used for training ?
May be its a question belongs to ultralytics forum, why ultralytics baed model gives duplicated nested boxes which should not be happening with RT-DETR ?

ultralytics implemented these two models
https://github.com/lyuwenyu/RT-DETR/blob/main/rtdetr_paddle/configs/rtdetr/rtdetr_hgnetv2_l_6x_coco.yml
https://github.com/lyuwenyu/RT-DETR/blob/main/rtdetr_paddle/configs/rtdetr/rtdetr_hgnetv2_x_6x_coco.yml


Uncaught TypeError: Path must be a string. Received undefined

Atom is flipping out every time I use it. I have uninstalled, reinstalled. I am using the stock version. This is very annoying as I am working on a project for my class and every minute I get 5 identical errors popping up. Literally the exact same error. covering the right side of my screen. Please help
[Enter steps to reproduce:]

use atom ( pops up every now and then)
Click on the github desktop GUI guarantees the error pops up every time

Atom: 1.24.0 x64
Electron: 1.6.16
OS: Microsoft Windows 10 Pro
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Path must be a string. Received undefined
At path.js:7

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at Object.join (path.js:468:7)
    at ~/AppData/Local/atom/app-1.24.0/resources/app/src/path-watcher.js:184:48
    at Array.map (native)
    at handler (~/AppData/Local/atom/app-1.24.0/resources/app/src/path-watcher.js:177:36)

Commands
     -1:57.7.0 core:move-left (input.hidden-input)
     -1:57.3.0 core:delete (input.hidden-input)
     -1:55 core:backspace (input.hidden-input)
     -1:48.9.0 core:cut (input.hidden-input)
     -1:17.5.0 editor:newline (input.hidden-input)
     -1:10.2.0 core:paste (input.hidden-input)

Non-Core Packages

Thanks for the report - we'll go ahead and close the issue since it's a duplicate of https://github.com/atom/atom/issues/14227.

use atom ( pops up every now and then)

Do you have any more specific details you can share?  E.g. does it pop up at random?  What kind of files are you editing?  Do you see the errors only when working on a specific project?  And can you confirm if you can reproduce the error in safe mode(atom --safe)?

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


New package: RandomLineChart v0.1.0

Registering package: RandomLineChart
Repository: https://github.com/arjun1638/RandomLineChart.jl
Created by: @arjun1638
Version: v0.1.0
Commit: 1d1dfa075b3b3addfe5120d253881feb7c4a47b7
Reviewed by: @arjun1638
Reference: https://github.com/arjun1638/RandomLineChart.jl/issues/1

What is the motivation for publishing this package?


Node-related callbacks are not typed properly

Describe the bug
In this PR, typings were added for GraphEventCallbacks.
Later, in this PR, a node argument was added to node-related callbacks.  However, the typings were never updated to reflect this change.
To Reproduce

Use node in any callback that accepts a node according to the docs
Get a typescript error

Expected behavior
There is no typescript error.

I've faced the same problem and had to use //@ts-ignore with onClickNode callback. However normal typing must be provided.


I can read the door status, but not control it

So I built one of my boards with the D1 mini.
I hooked the red, white and black wires to the GDO.
LiftMaster Security + 2.0
I can read the state in HA, motor running, obstruction clear or not and it knows if the door is open or closed.
I cannot control the door at all.  No open, close, light on/off.
ideas?

I went through the schematics again and I think I have them right. If not, I sincerely apologize. Have you taken a look at this issue?
https://github.com/Kaldek/rat-ratgdo/issues/31
@Kaldek also has a video that he did linked at the bottom of that issue to do a little troubleshooting. Also, make sure that you flash the ESPHome firmware for the 2.5 board so the pins match up the way they should.
When I get my boards tomorrow, I'll solder it up and have a shot as well.

the gnd pin on the D1 Mini is not connected to ground.  It is in my PCB in Ki-CAD, checking with JLCPCB now to see what happened.

Sure enough.  When JLCPCB read it in it got messed up.

KiCad

I'll blue wire it and see if that fixes the issue.  I can see that it would be difficult to ground the red wire if your grounds are different

Interesting. Well, now that they messed up, can you get an updated board with a good silkscreen for free? ;) I don't know if anyone here has a solid grasp of KiCAD (you or @dolfelt probably do for sure), but if they do, it might be a good idea to review all the designs to make sure I didn't screw stuff up.

KiCad is fine.  Just need to figure out what happened

Yep, grounding pin 10 and everything works.  Grounding is as the entire back plane is ground

@dpeart - I'm having the same issue of only being able to read status but not control it with my esp32 variant. In my case the obstruction sensor is never updated either; only door, light, rolling code, etc.
I used the kicad PCB files from this repo and exported all the relevant files with the JLCPCB plugin and had them assemble the components. When you say you grounded pin 10 (GND), do you mean you soldered a wire from the GND pin to the GDO WHT GND? If it matters, I'm powering the ESP32 via USB.
Thanks!

My pin 1- (GND) was left floating, so I scraped a bit of the green coating away to expose the ground plane.  I then put a drop of solder to connect the pin to the ground plane.


Removes CMAKE_BUILD_TYPE from the generated file

Removes forced_build_type
#5

I figured that vs code doesn't like CMAKE_BUILD_TYPE in the json file. See more info here: https://github.com/microsoft/vscode-cmake-tools/issues/763. I don't think CMAKE_BUILD_TYPE is required in the cmake-kits.json file and should therefore be removed as shown here in the PR.


Original zipkin id as tag

@hanwavefront we should do this for Jaeger as well.
Also rename to zipkinSpanId instead of originalSpanId
and similarly jaegerSpanId instead of originalSpanId

@sushantdewan123 added for jaeger and renamed the zipkin tags


Multiple Linear Regression - Base

Hi, I'm a GSSoC Participant and I want to contribute the codebase for Multiple Linear Regression in Python. Kindly assign me this issue. I assure that I'll submit the PR in time.
Thanks!
@geekquad
@ashwani-rathee

@mgncodes Task assigned to contribute codebase for Multiple Linear Regression

How many days can I take to resolve this issue?
@ashwani-rathee

I am a participant GSSOC'21
I would like to contribute in this

@mgncodes Yeah it should be like module

Can I contribute to this issue too?

@ashwani-rathee i request u please assign me this issue

Hi I am GSSOC participant .
I've quite knowledge about Multiple linear regression and would like to contribute the codebase for this! Kindly please assign me the issue @ashwani-rathee

@mgncodes what are the updates on the issue? It's been quite long.

Can I go ahead with this @yukti845? I'll do the implementation as well as make the README for this. Please assign it to me :)

Go ahead @Manasi2001


Use valid archiveFilePatterns pattern

*.zip is not a valid match pattern and should be replaced by **/*.zip (see https://github.com/microsoft/azure-pipelines-tasks/issues/13613)

@mikemonteith : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Allow subscribing to reflector store updates

Motivation

This is largely a "shower thoughts" take on https://github.com/kube-rs/kube/issues/1189 and the discussions from the last office hours.
It still fails controller::tests::applier_must_not_deadlock_if_reschedule_buffer_fills and introduces some type safety  regressions that I'm not quite sure how to fix.
Solution
It introduces a new (internal) Broadcaster channel, which has the backpressure and broadcasting properties that we need (async-channel is inappropriate after all since it only sends each message to one receiver).
It then adds an interface to reflector::store::Writer for subscribing to changes.
This all leads to a fair amount of changes to reflector and its downstreams to accomodate for Writer::apply_watcher_event now being async (so that it can send out the appropriate events).

hey, just linking this here since I've been working on the same thing
https://github.com/kube-rs/kube/compare/main...mateiidavid:kube:matei/arc-watcher
I too switched to async-broadcast after our discussion since it's better suited for what we need to do.

Ah, hadn't seen that one. However, that also looks like it prefers to drop messages rather than apply backpressure (https://docs.rs/async-broadcast/latest/async_broadcast/enum.RecvError.html#variant.Overflowed).

I think overflow is disabled by default. It can also be disabled manually (see https://docs.rs/async-broadcast/latest/async_broadcast/struct.Receiver.html#method.overflow).
The Send future does have annoying lifetimes so what I ended up doing is using try_recv instead of trying to build a state machine to resume after backpressure was applied. The function returns a RecvError that is either Error::Full or Error::Closed (slightly paraphrasing the types).
I actually wanted to send that over to you for a quick sanity check but I guess now's as good a time as any 😂

I think overflow is disabled by default. It can also be disabled manually (see https://docs.rs/async-broadcast/latest/async_broadcast/struct.Receiver.html#method.overflow).

Ahh: https://docs.rs/async-broadcast/latest/src/async_broadcast/lib.rs.html#156, gotcha, looks reasonable.

The Send future does have annoying lifetimes so what I ended up doing is using try_recv instead of trying to build a state machine to resume after backpressure was applied. The function returns a RecvError that is either Error::Full or Error::Closed (slightly paraphrasing the types).

I assume you mean try_broadcast? Sadly that won't work, since it won't register with the waker (so that it knows when it's time to retry). That'll deadlock until the next time that the future is polled for some other reason.


Fetch response metadata

A loader hook might want to do something expensive with a module the first time it's seen and cache the result.  (The specific caching approach doesn't matter; it's just something that's persisted somewhere across requests.)  Over time, the hook can invalidate the cache in response to changes to the resource as long as it has something intrinsic to compare.  However, there may be changes to the application configuration that would necessitate cache invalidation even though the specific resource did not change.  In this scenario, it would be useful if hook code could access details of the fetch response instead of just the body.  For example, it could observe a 200 instead of a 304 and respond to the hard reload by invalidating unconditionally.  There might also be headers in the response that a hook could vary its behavior in response to.
There are other ways to signal the sorts of things a hook might want to respond to, but this typically requires cooperation from things outside the scope of the hook itself.  If the ModuleStatus contained details about the fetch response, then a hook could act more autonomously.  This information would be protocol dependent, so I don't know if this is something the spec should speak about or if it's better left to loader implementations (or if it's too fringe for either to consider), but it's something that you can't currently do in something like es6-module-loader without overriding fetch completely which is why I wanted to explore the idea here.

@nlwillia you have the fetch hook, and you can do your own fetching, and keep your own cache. On top of that, we have the module status metadata, which will be exposed to the hooks, and finally, we might populate that metadata with some stuff in the default hooks, but we haven't get to that level of detail just yet. IOW, yes, this will be possible.


4.1.(0, 1) cluster does not form in the presence of neo4j-streams-4.0.2.jar

Actual Behavior (Mandatory)
See internal slack discussion involving dvoutila.   I independently reproduced this.
How to Reproduce the Problem

Launch 4.1.0 cluster or 4.1.1
Add neo4j-streams-4.0.2.jar.
With or without kafka/streams configuration in neo4j.conf, the same behavior will be seen, I did without any config (default neo4j.conf)
Start the cluster, and then run a CREATE DATABASE command.
Database is not created, and you will see lots of messages in the log like this:

2020-08-12 20:43:58.940+0000 INFO [c.n.c.c.s.CoreSnapshotService] [system] Waiting for another raft group member to publish a core state snapshot

Hypothesis
Raft group for databases never properly form.   I don't see any evidence in the logs of anything bad that streams is doing, but this related ticket is a hint:  https://github.com/neo4j-contrib/neo4j-streams/issues/341 it appears that streams might be trying to subscribe to kafka topics or otherwise doing something with the kafka client, even in the absence of good configuration.
We've seen some issues lately where the database & cluster lifecycle is not appropriately respected by the internal availability guard.  That is to say, the DBMS may signal to plugins that a database is ready before the database is actually ready, causing streams to do something before the DBMS is ready for it.   So this is my hunch on where to look.   In particular, we need to look for code paths of how neo4j-streams becomes aware of new databases being created.  What actions does it take, and critically when in response to that?
More Technical Information
(It may mention another database or the one you created, not necesarily the system database)
Behavior I'm seeing in a local cluster is that the raft group never properly forms.
One cluster member says this:
2020-08-12 21:49:42.358+0000 INFO [c.n.c.c.s.s.DurableStateStorage] [newdb] session-tracker state restored, up to ordinal -1
2020-08-12 21:49:42.364+0000 INFO [c.n.c.c.s.s.DurableStateStorage] [newdb] last-flushed state restored, up to ordinal -1
2020-08-12 21:49:42.367+0000 INFO [c.n.c.c.c.l.s.SegmentedRaftLog] [newdb] log started with recovered state State{prevIndex=-1, prevTerm=-1, appendIndex=-1}
2020-08-12 21:49:42.367+0000 INFO [c.n.c.c.c.m.RaftMembershipManager] [newdb] Membership state before recovery: RaftMembershipState{committed=null, appended=null, ordinal=-1}
2020-08-12 21:49:42.367+0000 INFO [c.n.c.c.c.m.RaftMembershipManager] [newdb] Recovering from: -1 to: -1
2020-08-12 21:49:42.367+0000 INFO [c.n.c.c.c.m.RaftMembershipManager] [newdb] Membership state after recovery: RaftMembershipState{committed=null, appended=null, ordinal=-1}
2020-08-12 21:49:42.368+0000 INFO [c.n.c.c.c.m.RaftMembershipManager] [newdb] Target membership: []
2020-08-12 21:49:42.368+0000 WARN [c.n.c.c.c.m.RaftMembershipManager] [newdb] Target membership [] does not contain a majority of existing raft members []. It is likely an operator removed too many core members too quickly. If not, this issue should be transient.
2020-08-12 21:49:42.388+0000 INFO [c.n.c.d.RaftMonitor] Trying bootstrap using initial members [MemberId{e10a7715}, MemberId{b1275961}, MemberId{6764dade}] and store ID StoreId{creationTime=1597268981712, randomId=-5020605660939756307, storeVersion=3471765337752883975, upgradeTime=1597268981712, upgradeTxId=-5020605660939756307}
2020-08-12 21:49:42.398+0000 INFO [c.n.c.c.s.RaftBootstrapper] [newdb] Bootstrapping database newdb for members [MemberId{e10a7715}, MemberId{b1275961}, MemberId{6764dade}]
2020-08-12 21:49:42.399+0000 INFO [c.n.c.c.s.RaftBootstrapper] [newdb] Initializing the store for database newdb using a temporary database in com.neo4j.causalclustering.core.TempBootstrapDir$Resource@33dcf233
2020-08-12 21:49:42.752+0000 INFO [c.n.c.d.a.GlobalTopologyState] Core topology for database DatabaseId{087b170c} is now: [MemberId{b1275961}, MemberId{6764dade}, MemberId{e10a7715}]
No members where lost
New members:
  MemberId{6764dade}=CoreServerInfo{raftServer=<IP_ADDRESS>:7000, catchupServer=<IP_ADDRESS>:6000, connectorAddresses=bolt://<IP_ADDRESS>:7687,http://<IP_ADDRESS>:7474,https://<IP_ADDRESS>:7473, groups=[], startedDatabaseIds=[DatabaseId{cfb8387e}, DatabaseId{0f9b21e7}, DatabaseId{087b170c}, DatabaseId{00000000}], refuseToBeLeader=false}
  MemberId{e10a7715}=CoreServerInfo{raftServer=<IP_ADDRESS>:7000, catchupServer=<IP_ADDRESS>:6000, connectorAddresses=bolt://<IP_ADDRESS>:7687,http://<IP_ADDRESS>:7474,https://<IP_ADDRESS>:7473, groups=[], startedDatabaseIds=[DatabaseId{0f9b21e7}, DatabaseId{cfb8387e}, DatabaseId{087b170c}, DatabaseId{00000000}], refuseToBeLeader=false}
  MemberId{b1275961}=CoreServerInfo{raftServer=<IP_ADDRESS>:7000, catchupServer=<IP_ADDRESS>:6000, connectorAddresses=bolt://<IP_ADDRESS>:7687,http://<IP_ADDRESS>:7474,https://<IP_ADDRESS>:7473, groups=[], startedDatabaseIds=[DatabaseId{cfb8387e}, DatabaseId{0f9b21e7}, DatabaseId{087b170c}, DatabaseId{00000000}], refuseToBeLeader=false}
2020-08-12 21:49:42.753+0000 INFO [c.n.c.c.c.m.RaftMembershipManager] [newdb] Target membership: [MemberId{b1275961}, MemberId{6764dade}, MemberId{e10a7715}]
2020-08-12 21:49:42.753+0000 WARN [c.n.c.c.c.m.RaftMembershipManager] [newdb] Target membership [MemberId{e10a7715}, MemberId{b1275961}, MemberId{6764dade}] does not contain a majority of existing raft members []. It is likely an operator removed too many core members too quickly. If not, this issue should be transient.
2020-08-12 21:49:42.754+0000 WARN [c.n.c.c.c.m.RaftMembershipManager] [newdb] Target membership [MemberId{e10a7715}, MemberId{b1275961}, MemberId{6764dade}] does not contain a majority of existing raft members []. It is likely an operator removed too many core members too quickly. If not, this issue should be transient.
2020-08-12 21:51:07.807+0000 INFO [c.n.c.c.c.l.s.Segments] [system] Pruning SegmentFile{file=raft.log.0, header=SegmentHeader{formatVersion=2, recordOffset=56, prevFileLastIndex=-1, segmentNumber=0, prevIndex=-1, prevTerm=-1}}
2020-08-12 21:51:24.008+0000 INFO [c.n.c.c.c.l.s.Segments] [neo4j] Pruning SegmentFile{file=raft.log.0, header=SegmentHeader{formatVersion=2, recordOffset=56, prevFileLastIndex=-1, segmentNumber=0, prevIndex=-1, prevTerm=-1}}
2020-08-12 21:51:24.021+0000 INFO [c.n.c.c.c.l.s.Segments] [foo] Pruning SegmentFile{file=raft.log.0, header=SegmentHeader{formatVersion=2, recordOffset=56, prevFileLastIndex=-1, segmentNumber=0, prevIndex=-1, prevTerm=-1}}

the others say this:
2020-08-12 21:49:42.421+0000 INFO [c.n.c.d.RaftMonitor] Trying bootstrap using initial members [MemberId{e10a7715}, MemberId{b1275961}, MemberId{6764dade}] and store ID StoreId{creationTime=1597268981712, randomId=-5020605660939756307, storeVersion=3471765337752883975, upgradeTime=1597268981712, upgradeTxId=-5020605660939756307}
2020-08-12 21:49:42.430+0000 INFO [c.n.c.c.s.CoreSnapshotService] [newdb] Waiting for another raft group member to publish a core state snapshot
2020-08-12 21:49:42.824+0000 INFO [c.n.c.d.a.GlobalTopologyState] Core topology for database DatabaseId{087b170c} is now: [MemberId{b1275961}, MemberId{6764dade}, MemberId{e10a7715}]
No members where lost
New members:
  MemberId{6764dade}=CoreServerInfo{raftServer=<IP_ADDRESS>:7000, catchupServer=<IP_ADDRESS>:6000, connectorAddresses=bolt://<IP_ADDRESS>:7687,http://<IP_ADDRESS>:7474,https://<IP_ADDRESS>:7473, groups=[], startedDatabaseIds=[DatabaseId{087b170c}, DatabaseId{00000000}, DatabaseId{0f9b21e7}, DatabaseId{cfb8387e}], refuseToBeLeader=false}
  MemberId{e10a7715}=CoreServerInfo{raftServer=<IP_ADDRESS>:7000, catchupServer=<IP_ADDRESS>:6000, connectorAddresses=bolt://<IP_ADDRESS>:7687,http://<IP_ADDRESS>:7474,https://<IP_ADDRESS>:7473, groups=[], startedDatabaseIds=[DatabaseId{cfb8387e}, DatabaseId{0f9b21e7}, DatabaseId{087b170c}, DatabaseId{00000000}], refuseToBeLeader=false}
  MemberId{b1275961}=CoreServerInfo{raftServer=<IP_ADDRESS>:7000, catchupServer=<IP_ADDRESS>:6000, connectorAddresses=bolt://<IP_ADDRESS>:7687,http://<IP_ADDRESS>:7474,https://<IP_ADDRESS>:7473, groups=[], startedDatabaseIds=[DatabaseId{cfb8387e}, DatabaseId{0f9b21e7}, DatabaseId{087b170c}, DatabaseId{00000000}], refuseToBeLeader=false}
2020-08-12 21:49:42.825+0000 INFO [c.n.c.c.c.m.RaftMembershipManager] [newdb] Target membership: [MemberId{b1275961}, MemberId{6764dade}, MemberId{e10a7715}]
2020-08-12 21:49:42.825+0000 WARN [c.n.c.c.c.m.RaftMembershipManager] [newdb] Target membership [MemberId{e10a7715}, MemberId{b1275961}, MemberId{6764dade}] does not contain a majority of existing raft members []. It is likely an operator removed too many core members too quickly. If not, this issue should be transient.
2020-08-12 21:49:42.826+0000 WARN [c.n.c.c.c.m.RaftMembershipManager] [newdb] Target membership [MemberId{e10a7715}, MemberId{b1275961}, MemberId{6764dade}] does not contain a majority of existing raft members []. It is likely an operator removed too many core members too quickly. If not, this issue should be transient.
2020-08-12 21:49:52.435+0000 INFO [c.n.c.c.s.CoreSnapshotService] [newdb] Waiting for another raft group member to publish a core state snapshot
2020-08-12 21:50:02.439+0000 INFO [c.n.c.c.s.CoreSnapshotService] [newdb] Waiting for another raft group member to publish a core state snapshot
2020-08-12 21:50:12.442+0000 INFO [c.n.c.c.s.CoreSnapshotService] [newdb] Waiting for another raft group member to publish a core state snapshot
2020-08-12 21:50:22.446+0000 INFO [c.n.c.c.s.CoreSnapshotService] [newdb] Waiting for another raft group member to publish a core state snapshot
2020-08-12 21:50:32.450+0000 INFO [c.n.c.c.s.CoreSnapshotService] [newdb] Waiting for another raft group member to publish a core state snapshot

Alternative way to reproduce is to install the plugin prior to first start of the cluster. The cluster will never form and the CoreSnapshotService will log the same "Waiting for another raft group member..." message for the system database.

Another thing to check is the release notes for the 4.1 series.  Note that new features went in about database leader "balancing" https://neo4j.com/release-notes/neo4j-4-1-0/
It's possible that under 4.0 there was one machine always the leader for most/all databases, and 4.1 I think is intentionally "spreading out the leader" role to help maximize write throughput; but when we need to monitor the availability of a lot of databases, and the leaders are spread out, this has implications for where streams code is executing

Doesn't matter if it is a cluster or not, here's a quick way to reproduce this issue, just follow the example by updating the image to 4.1.1-enterprise: https://neo4j.com/docs/labs/neo4j-streams/current/docker/

Still a problem with the latest plugin version. Found this stack trace in the debug logs showing it seems related to trying to inspect the databases before the database fully exists (I snipped out a LARGE swath of steps to help get to the usage of the streams library):
2020-09-02 14:24:23.466+0000 DEBUG [s.c.StreamsConfig] Neo4j Streams configuration reloaded from neo4j.conf file: {}
2020-09-02 14:24:25.461+0000 DEBUG [o.n.c.i.CommunityCompilerFactory] [system] Index not found for indexPropertyExistsSelectivity No index was found
org.neo4j.internal.kernel.api.exceptions.schema.IndexNotFoundKernelException: No index was found
	at org.neo4j.kernel.impl.newapi.AllStoreHolder.assertValidIndex(AllStoreHolder.java:1033)
	at org.neo4j.kernel.impl.newapi.AllStoreHolder.indexSize(AllStoreHolder.java:713)
	at org.neo4j.cypher.internal.spi.TransactionBoundGraphStatistics$BaseTransactionBoundGraphStatistics.indexPropertyExistsSelectivity(TransactionBoundGraphStatistics.scala:89)
	at org.neo4j.cypher.internal.planner.spi.DelegatingGraphStatistics.indexPropertyExistsSelectivity(GraphStatistics.scala:80)
	at org.neo4j.cypher.internal.planner.spi.InstrumentedGraphStatistics.indexPropertyExistsSelectivity(InstrumentedGraphStatistics.scala:98)
<SNIP SNIP SNIP>
	at org.neo4j.kernel.impl.coreapi.TransactionImpl.execute(TransactionImpl.java:236)
	at org.neo4j.kernel.impl.coreapi.TransactionImpl.execute(TransactionImpl.java:225)
	at org.neo4j.kernel.impl.coreapi.TransactionImpl.execute(TransactionImpl.java:219)
	at streams.extensions.DatabaseManagementServiceExtensionsKt.getDefaultDbName(DatabaseManagementServiceExtensions.kt:12)
	at streams.config.StreamsConfig.defaultDbName(StreamsConfig.kt:123)
	at streams.config.StreamsConfig.isDefaultDb(StreamsConfig.kt:125)
	at streams.StreamsEventRouterConfiguration$Companion.from(StreamsEventRouterConfiguration.kt:54)
	at streams.StreamsEventRouterLifecycle.start(StreamsExtensionFactory.kt:54)
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:442)
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:110)
	at org.neo4j.kernel.extension.AbstractExtensions.start(AbstractExtensions.java:82)
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:442)
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:110)
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:442)
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:110)
	at org.neo4j.kernel.database.Database.start(Database.java:481)
	at org.neo4j.dbms.database.AbstractDatabaseManager.startDatabase(AbstractDatabaseManager.java:187)
	at com.neo4j.dbms.database.MultiDatabaseManager.forSingleDatabase(MultiDatabaseManager.java:134)
	at com.neo4j.dbms.database.MultiDatabaseManager.startDatabase(MultiDatabaseManager.java:119)
	at com.neo4j.dbms.Transition$Prepared.doTransitionAction(Transition.java:101)
	at com.neo4j.dbms.Transition$Prepared.doTransition(Transition.java:88)
	at com.neo4j.dbms.DbmsReconciler.doTransitionStep(DbmsReconciler.java:346)
	at com.neo4j.dbms.DbmsReconciler.doTransitionStep(DbmsReconciler.java:347)
	at com.neo4j.dbms.DbmsReconciler.doTransitionStep(DbmsReconciler.java:347)
	at com.neo4j.dbms.DbmsReconciler.lambda$doTransitions$11(DbmsReconciler.java:315)
	at com.neo4j.dbms.DbmsReconciler.namedJob(DbmsReconciler.java:326)
	at com.neo4j.dbms.DbmsReconciler.doTransitions(DbmsReconciler.java:316)
	at com.neo4j.dbms.DbmsReconciler.lambda$doTransitions$9(DbmsReconciler.java:307)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)

Hi guys thanks a lot for reporting this can you try with the following jar?
neo4j-streams-4.0.2.jar.zip

You can tune this parameter in order to startup your instance
streams.systemdb.wait.timeout=<ms that the plugin waits the systemdb to be ready, default=10000>

Using that jar, Neo4j 4.1 properly cold starts now and (at least in a single-instance deployment) I can create a new database.
One nitpick in the logs...mixing English variations of s/z:
2020-09-03 12:32:38.514+0000 INFO  [junk] Initialising the Streams Source module
2020-09-03 12:32:38.531+0000 INFO  [junk] Initializing Kafka Connector

I haven't tested a causal cluster deployment, but if you get the changes into the 4.0 branch I'll build a copy and try it later this week.

Tested with neo4j-streams-4.0.3.jar using the same example above: Neo4j server couldn't start-up on IPv4 interface.

You can tune this parameter in order to startup your instance
streams.systemdb.wait.timeout=<ms that the plugin waits the systemdb to be ready, default=10000>

Hi Conker84,
The docker examples (tested up to source/sink) can run as expected with your jar. I deployed to docker swarm and it works as expected as well. Hope to see your fix goes into the mainline soon.
Thanks.

Hi guys thanks a lot for reporting this can you try with the following jar?
neo4j-streams-4.0.2.jar.zip

Hi Conker84,
The docker examples (tested up to source/sink) can run as expected with your jar. I deployed to docker swarm and it works as expected as well. Hope to see your fix goes into the mainline soon.
Thanks.

closed via 614a7ab


Patch not going away even after running scripts

🧐 Have you read the FAQ and viewed similar issues?

[X] I have read the FAQ
[X] I have checked older issues, open and closed
[X] I did a clean install of SpotX as described in the FAQ

Сountry of your account
india
What is your Spotify Plan?
Free
Do you have Spicetify installed?
No
ℹ Computer information
- Spotify: Spotify for Windows
<IP_ADDRESS>3.g4f94bf0d
- Windows: 10
- PowerShell:

📝 Description
1.Installed spotx new theme.bat Worked as it should
2.Tried removing the patch ran uninstall.bat didnt work
3.Tried reinstalling spotify
4.Also I have tried uninstallspotify.bat and clearing cache
Still Spotify seems like patched without any ads and no podcasts recommends on homepage
...
📸 Screenshots
No response

worked after i copied the script again from source


Added Chocolatey Installation

I've created a chocolatey package for PSCodeHealth (https://chocolatey.org/packages/pscodehealth)
Description
The Chocolatey packages takes a dependency on PSScriptAnalyzer and Pester.
Motivation and Context
It allows you to manage PSCodeHealth as a Windows package.
Checklist:

[ ] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@MathieuBuisson The AppVeyor checks failed not because of my PR (which is nothing more than a documentation change).

Hi @pauby ,
Thanks for creating a Chocolatey package for PSCodeHealth, that's very cool.
The build is only failing because the Coveralls key can only be decrypted from my Appveyor account.
So, no worries.


Create corpora for benchmarking

In order to execute the benchmarking we need some data with different characteristics to work on.
@mweidling already has examined the OCR-D GT repository and wants to discuss with @tboenig and @cneud about useful corpora.
TODOs:

[x] schedule a meeting for discussion
[ ] create the workspaces
[ ] provide them in a separate repo (QUIVER assets)

This is a first naive overview of my GT categorization: gt_overview.ods.
If this isn't of that much use, I'll have a deeper look into that.

Here ist second, reviewed version of the sheet:
gt_overview.ods

First draft for the corpora
General thoughts

we focus on Ground Truth that encompasses both layout and text information. Although we have lots of GT that aims at the page structure only, GT that has both enables us to measure both layout and text detection quality.
our first and most important category should be the century in which a work has been created since we aim for VD corpora
Fraktur vs. Schwabacher won't be a separate category since our models have been trained for Fraktur fonts in general (which encompass Schwabacher)

Categories
16th century, fraktur, simple layout

kistler_kraeuter_1500.ocrd + trota_mordtbrenner_1540.ocrd + luther_auszlegunge_1520.ocrd

16th century, fraktur, complex layout

two-columned: luther_babstum_1526.ocrd
hand-written additions, stamps: petrarca_psalmi_1506.ocrd + nn_lied_1520.ocrd
partly tabular-like structures, stamps: aventinus_grammatica_1515.ocrd
labelled illustration, initial, stamps: nn_historia_1500.ocrd

16th century, antiqua, simple layout

heyden_paedono_1548.ocrd

16th century, antiqua, complex layout

marginal notes [both printed and hand written], initial: alberti_pictura_1540.ocrd

16th century, font mix, simple layout

-/-

16th century, font mix, complex layout

-/-

17th century, fraktur, simple layout

calvi_beutelschneider01_1627.ocrd

17th century, fraktur, complex layout

musical notation: silesius_seelenlust01_1657.ocrd
hand-written additions, with title page: huebner_handbuch_1696.ocrd

17th century, antiqua, simple layout

-/-

17th century, antiqua, complex layout

-/-

17th century, font mix, simple layout
fraktur, antiqua

rollenhagen_reysen_1603.ocrd + loeber_heuschrecken_1693.ocrd + bohse_helicon_1696.ocrd (feat. initials, with title page, colour chart)

fraktur, antiqua, ancient Greek, Hebrew

weigel_gnothi02_1618.ocrd + dannhauer_catechismus10_1673.ocrd

17th century, font mix, complex layout
fraktur, antiqua

partly two-columned, initials: glauber_opera01_1658.ocrd
partly two-columned, initials, marginal notes: arnold_ketzerhistorie01_1699.ocrd
tabular-like layout: lohenstein_agrippina_1665.ocrd
marginal notes, initials: meyfart_rhetorica_1634.ocrd
initials, hand-written additions: valentinus_occulta_1603.ocrd

18th century, fraktur, simple layout

lessing_menschengeschlecht_1780.ocrd

18th century, fraktur, complex layout

marginal notes: justi_abhandlung01_1758.ocrd + estor_rechtsgelehrsamkeit02_1758.ocrd
partly two-columned: buerger_gedichte_1778.ocrd
tables, mathematics: euler_rechenkunst01_1738.ocrd
handwritten additions: nn_besuch_1780.ocrd
with title page, stamps: luz_blitz_1784.ocrd + bernd_lebensbeschreibung_1738.ocrd

18th century, antiqua, simple layout

ballenstedt_delatio_1777.ocrd

18th century, antiqua, complex layout

-/-

18th century, font mix, simple layout

-/-

18th century, font mix, complex layout

partly two-columned, intial: benner_herrnhuterey04_1748.ocrd

19th century, antiqua [1]

blumenbach_anatomie_1805.ocrd

19th century, fraktur [1]

arnimb_goethe03_1835.ocrd

[1] We only have two works with text GT for the 19th century, blumenbach_anatomie_1805.ocrd and arnimb_goethe03_1835.ocrd. Since the 19th century isn't part of our scope, we'll limit ourselves to the material we already have.

Creating the simple cases
Categories
16th century, fraktur, simple layout

kistler_kraeuter_1500.ocrd + trota_mordtbrenner_1540.ocrd + luther_auszlegunge_1520.ocrd

[ ] images with licenses
[ ] workspace

16th century, antiqua, simple layout

heyden_paedono_1548.ocrd

[ ] images with licenses
[ ] workspace

16th century, antiqua, complex layout

marginal notes [both printed and hand written], initial: alberti_pictura_1540.ocrd

[ ] images with licenses
[ ] workspace

17th century, fraktur, simple layout

calvi_beutelschneider01_1627.ocrd

[ ] images with licenses
[ ] workspace

17th century, font mix, simple layout
fraktur, antiqua

rollenhagen_reysen_1603.ocrd + loeber_heuschrecken_1693.ocrd + bohse_helicon_1696.ocrd (feat. initials, with title page, colour chart)

[ ] images with licenses
[ ] workspace

fraktur, antiqua, ancient Greek, Hebrew

weigel_gnothi02_1618.ocrd + dannhauer_catechismus10_1673.ocrd

[ ] images with licenses
[ ] workspace

18th century, fraktur, simple layout

lessing_menschengeschlecht_1780.ocrd

[ ] images with licenses
[ ] workspace

18th century, antiqua, simple layout

ballenstedt_delatio_1777.ocrd

[ ] images with licenses
[ ] workspace

18th century, font mix, complex layout

partly two-columned, intial: benner_herrnhuterey04_1748.ocrd

[ ] images with licenses
[ ] workspace

19th century, antiqua

blumenbach_anatomie_1805.ocrd

[ ] images with licenses
[ ] workspace

19th century, fraktur

arnimb_goethe03_1835.ocrd

[ ] images with licenses
[ ] workspace


Infinite loop in reimport_files, Condition "current_work == nullptr" is true.

Godot version:
4.0.dev 1c2766e
OS/device including version:
Windows 10.0.19041.928
Issue description:
I have a tool script which writes files into the project and subsequently calls
.get_resource_filesystem().scan()
The calls to scan() are done repeatedly on a timer until the new resources are successfully imported.
The lack of a proper API exposed to GDScript, and the lack of feedback ((get_scanning_progress and is_scanning are historically unreliable)) do not allow for a more reliable testing mechanism.
However, this crash does not appear to involve GDScript as it happens purely in engine code.
ERROR: Task 'reimport' already exists.
   at: (editor\progress_dialog.cpp:159)
ERROR: Condition "current_work != nullptr" is true.
   at: ThreadWorkPool::begin_work (S:\repo\godot-pr-pr\core/templates/thread_work_pool.h:84)
ERROR: Condition "current_work == nullptr" is true. Returning: false
   at: ThreadWorkPool::is_done_dispatching (S:\repo\godot-pr-pr\core/templates/thread_work_pool.h:108)
ERROR: Condition "!tasks.has(p_task)" is true. Returning: cancelled
   at: ProgressDialog::task_step (editor\progress_dialog.cpp:188)
ERROR: Condition "current_work == nullptr" is true. Returning: false
   at: ThreadWorkPool::is_done_dispatching (S:\repo\godot-pr-pr\core/templates/thread_work_pool.h:108)
ERROR: Condition "current_work == nullptr" is true. Returning: false
   at: ThreadWorkPool::is_done_dispatching (S:\repo\godot-pr-pr\core/templates/thread_work_pool.h:108)
ERROR: Condition "current_work == nullptr" is true. Returning: false
   at: ThreadWorkPool::is_done_dispatching (S:\repo\godot-pr-pr\core/templates/thread_work_pool.h:108)
ERROR: Condition "current_work == nullptr" is true. Returning: false
   at: ThreadWorkPool::is_done_dispatching (S:\repo\godot-pr-pr\core/templates/thread_work_pool.h:108)
ERROR: Condition "current_work == nullptr" is true. Returning: false
   at: ThreadWorkPool::is_done_dispatching (S:\repo\godot-pr-pr\core/templates/thread_work_pool.h:108)
ERROR: Condition "current_work == nullptr" is true. Returning: false
   at: ThreadWorkPool::is_done_dispatching (S:\repo\godot-pr-pr\core/templates/thread_work_pool.h:108)
ERROR: Condition "current_work == nullptr" is true. Returning: false
   at: ThreadWorkPool::is_done_dispatching (S:\repo\godot-pr-pr\core/templates/thread_work_pool.h:108)
ERROR: Condition "current_work == nullptr" is true. Returning: false
   at: ThreadWorkPool::is_done_dispatching (S:\repo\godot-pr-pr\core/templates/thread_work_pool.h:108)
ERROR: Condition "current_work == nullptr" is true. Returning: false

>	godot.windows.opt.tools.64.exe!EditorFileSystem::reimport_files(const Vector<String> & p_files) Line 2004	C++
 	godot.windows.opt.tools.64.exe!EditorFileSystem::_update_scan_actions() Line 582	C++
 	godot.windows.opt.tools.64.exe!EditorFileSystem::_notification(int p_what) Line 1141	C++
 	godot.windows.opt.tools.64.exe!EditorFileSystem::_notificationv(int p_notification, bool p_reversed) Line 110	C++
 	godot.windows.opt.tools.64.exe!Object::notification(int p_notification, bool p_reversed) Line 795	C++
 	godot.windows.opt.tools.64.exe!SceneTree::_notify_group_pause(const StringName & p_group, int p_notification) Line 796	C++
 	godot.windows.opt.tools.64.exe!SceneTree::process(float p_time) Line 443	C++
 	godot.windows.opt.tools.64.exe!Main::iteration() Line 2505	C++
 	godot.windows.opt.tools.64.exe!OS_Windows::run() Line 622	C++
 	godot.windows.opt.tools.64.exe!widechar_main(int argc, wchar_t * * argv) Line 163	C++
 	godot.windows.opt.tools.64.exe!_main() Line 187	C++
 	godot.windows.opt.tools.64.exe!main(int argc, char * * argv) Line 199	C++
 	[Inline Frame] godot.windows.opt.tools.64.exe!invoke_main() Line 78	C++

The loop in reimport_files appears as follows:
					do {
						if (current_index < data.max_index) {
							current_index = data.max_index;
							pr.step(reimport_files[current_index].path.get_file(), current_index);
						}
						OS::get_singleton()->delay_usec(1);
					} while (!import_threads.is_done_dispatching());

The error message is printed from is_done_dispatching() causing it to return false.
As a workaround, perhaps it should return true when current_work is null.
Steps to reproduce:
Happens randomly when I apply my custom importer to complex assets. I do not have sufficient redistributable assets to reproduce this, yet.
Minimal reproduction project:
Sorry, I do not currently have a reproduction project, and this crash happens 25% of the time so it's not reliably reproducible.

Hi! I was looking into this and I think I see a possibility. Apologies if what I say doesn't make sense, this is my first time looking into the code base.
It seems that reimport_files() is being called multiple times:
The first time, the import_threads thread pool is being given work, on the second time it tries to add more work to the thread pool before it's done with the first batch of work, therefore "currentwork != nullptr", throwing an error when begin_work() is called. This does not stop the execution it seems.
Once work on the first batch is done currentwork is put back to nullptr. On the second batch it's still checking import_threads_is_done_dispatching(), which throws an error because currentwork == nullptr now.
Thoughts? If this seems about right I'd love to implement something as my first contribution! <3


budget: Filter null values out of budget attributes

This pull request addresses issue #427.
The null pointer exception occurs because calling getValue can return null. Calling toString on a null value will result in an NPE.
That's why the check is needed if the value isn't null. After this we can safely call toString.
Closes #427

Now works for budgets, thanks.
Same issue occurs with contract reports, unfortunately. See budgeteer - ContractReportService.log attached.

Thanks for the review. We should extract this to a new issue and fix this in another pull request.


Strange malfunction with list-group, list-group-item and text-truncate.

This is the plnkr: https://plnkr.co/edit/Wlk4AWEJ3J5SeBh3OZ5l.
This is my code:

Hello!

        It works only if you remove the "d-flex" on first div: div class="container-fluid d-flex mt-5"

But I need it!

            Hello!

              MIKE:
              This text is a very long text, very very long, very very long, very very long, very very long. Very long end.
              15 w/h

              ME:
              This text is a very long text, very very long, very very long, very very long, very very long. Very long end.
              2 w/h

              MIKE:
              Very short.
              15 w/h

--- SPACE ---

              ME:
              Now with flex: 1. This text is a very long text, very very long, very very long, very very long, very very long, very very long, very very long, very very long. Very long end.
              15 w/h

Hello!

If you remove the d-flex from the first container div everything works. But when it is more text is in the list-group-item more width the entire page get.
Why?

There is an extra  on line 21 in the plunk you linked to.

@rajarju, yet, I removed, but it's not the problem.

@johnunclesam just wondering, why would you use the d-flex class on a container?

This is a flexbox problem, not a Bootstrap one.
You've turned the container into a flex container, meaning the row is now a flex item—it's dimensions and behaviors have changed. You'll need to account for this with some extra width declarations and potentially more styles.


Is this an official repo?

I understand two node packages with official Coinbase support appear to now be deprecated. Was there a state reason why it was deprecated? Can you please describe the support that this repo here has if official or not?

Hi @TheRyanMiller, I am happy that you are interested in my library.
The motiviation behind my library is explained in the readme file. It's my attempt to maintain an active Coinbase Pro API for Node.js. It's not official since I'm not a Coinbase employee.
I don't know the reason why the official API was deprecated. 😞


Fix createReactNativeComponentClass for RN < 0.50

Fix #498
Sorry, the last PR #486 was merged with this bug.
A patch fix needs to be deployed cc @magicismight
Current workaround: npm install --save brunolemos/react-native-svg#rn-50-fix

@magicismight thanks!


Append slash

Description:
Description of your changes.
New imports / dependencies:

package

Unit Tests:

apps/volontulo/tests/views/test_auth.py

What tests do I need to run to validate this change:
Description of testing workflow and potential affected places.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #952   +/-   ##
=======================================
  Coverage   87.41%   87.41%
=======================================
  Files         109      109
  Lines        2923     2923
  Branches       23       23
=======================================
  Hits         2555     2555
  Misses        366      366
  Partials        2        2

Impacted Files
Coverage Δ

frontend/src/app/homepage-offer/offers.model.ts
100% <ø> (ø)
:arrow_up:

frontend/src/app/auth.service.ts
57.69% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Implement Lazy Segtree

Should be merged after #37 is merged.
closes #39

Done with basic implementation.  TODO:

[ ] Add some tests
[ ] Sample code for K - Range Affine Range Sum
[ ] Sample code for https://atcoder.jp/contests/practice2/tasks/practice2_l

closes 39

@qryxip Could you review this PR if you have time?  (I have no rights to "request review.")


[TENSORIR] Add from_legacy_te_schdule attr to TE PrimFuncs

The from_legacy_te_schedule marks PrimFuncs created from TE scheduling. Passes that only operate on TE scheduling check this attrs and no op if it is not found. If from_legacy_te_schedule is false or not set, then it is assumed that the PrimFunc is from TensorIR. Passes specific to TensorIR now check for the absence of this attr.
@junrushao1994 @MasterJH5574 I'm not sure if we should also add an explicit attr to TensorIR PrimFuncs?

I did another round and it all looks good to me :-)


Issues on unit tests of Markdown exercise

Hey there
According to the Markdown Exercise after installing the packages while
testing the code it shows an error because in the markdown-spec.js file there is a mistake (typo issue) of xtest instead of test

I can fix it and make the PR for it
Kindly let me know if it's ok

(As written on the forum, this is a bun issue, not an exercise issue and not a typo 😄)


Delete all unused .keep files

These were leftovers from cloning the template exercise; if a directory contains any other tracked file, they become unnecessary.

Thank you, sir!


Fix vimeo embed crashes post initial set

It works on the first initialization and then crashes on later initializations because the first one ends up being async because Vimeo's script is not loaded yet[1]. In a sync world, plyr.container.ply has not yet been set.
Since plyr.container.plyr should hold a reference to the plyr object, there is no point in referencing the container only to come back to the current instance. Thus, the order of execution doesn't matter anymore.
Fixes #318
[1] I normally make all possilby-async-code always async, instead of sometimes async / sometimes sync, as it can lead to subtle bugs like this one

I'm not sure what this actually fixes? I still get the post message bug when switching sources with these two lines removed. Thanks for looking into it though. It would not surprise me if the post message bug is a Vimeo thing. It seems calling .unload() makes no difference. Their Fragaloop (or whatever weird name they gave it) API was mega buggy.

Hey Sam,

Again, this allows access to the media after a source change - otherwise the reference is to the old element

Unless I'm missing something, I do not think this is correct. I understand that plyr.container.plyr === plyr (ie exact same reference), which means that assigning anything like so plyr.container.plyr[whicheverProp] = value is exactly the same as plyr[whicheverProp] = value.

It would not surprise me if the post message bug is a Vimeo thing. It seems calling .unload() makes no difference.

The postmessage is indeed inside Vimeo, it happens if you remove the iframe before vimeo is done cleaning up. I think they probably should handle it differently, but #329 allows not having this message by letting developers remove the DOM node after vimeo's unload is complete.

Well, we had an issue without the media being reset on the container although the solution could have been wrong.
I'm looking at the .setup() / .destroy() methods now as I've never been 100% happy with them (and destroy is broken currently) - I'll take another look and go from there. I'll also include your other changes.

Thank you @SamPotts!

Hey, thanks for this - as per the other PR I've manually merged this into some other refactoring work I've been doing. 👍


No repeat please not valid

No repeat please

https://www.freecodecamp.com/challenges/no-repeats-please
Issue Description

I got the right answer which also display in the black box but exept the first test none are valid.
So I can't valid this challenge despite having the good answer.
Browser Information

Browser Name, Version: Firefox 47.0.1 and Google chrome
Operating System: win 7
Mobile, Desktop, or Tablet: Desktop

Your Code

 var unique = 0;

function swap(arr, i, j) {
    var tmp;

    tmp = arr[i];
    arr[i] = arr[j];
    arr[j] = tmp;
}

function perm(arr, posAc, posEnd) {
    var i;
    if (posAc !== posEnd) {
        for (i = posAc; i < posEnd; i++) {
            swap(arr, posAc, i);
            perm(arr, posAc + 1, posEnd);
            swap(arr, posAc, i);
        }
    }
    else
    {
      if (arr.join('').match(/(.)\1/g) === null)
        unique++;
	}
}

function permAlone(str) {
  perm(str.split(''), 0, str.length);
  return unique;
}

permAlone("abcdefa");

It display 3600 in the black box which is the right answer but dont valid.
Screenshot

Have a nice day.

Please see #9199
Although your code is correct. Manipulating global variables invalidates your code when we come to test it. We are discussing this in the linked-to-issue above

Alright, thank you a lot !


Adding @car-roll to help on the plugin

Description
Adding @car-roll to https://github.com/jenkinsci/promoted-builds-plugin/ so he can help too.
I am a maintainer myself.

Submitter checklist for adding or changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[ ] Make sure the file is created in permissions/ directory
[ ] artifactId (pom.xml) is used for name (permissions YAML file).
[ ] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[ ] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[ ] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[ ] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[ ] Make sure to @mention the users being added so their GitHub account names are known if they require GitHub merge access (see below).
[ ] All newly added users have logged in to Artifactory at least once

Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[ ] If security contacts are changed (this includes add/remove), ping the security officer (currently @Wadeck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

I have given the GitHub access to @car-roll already just now.


Automate release to Bioconda

One way to do this is to have a Github Action which would:

Update the meta.yaml file, including version number and if necessary any new dependencies
Create the pull request to bioconda-recipes, perhaps using this

This is actually already automated on the bioconda side, so not needed here.


Change date format for cluster cert expiration [v2.2]

https://github.com/rancher/rancher/issues/21220

LGTM


Support parsing a column definition with the default value "CURRENT_TIMESTAMP"

As defined here https://dev.mysql.com/doc/refman/5.7/en/create-table.html#idm140612891320832

Yes I didn't check it in on purpose, to avoid the noise goyacc seems to generate. Adding a commit now.

Need a rebase or re-merge from master.

LGTM


merge from arlac77/template-kronos-module

package.json

chore(package): add arlac77/template-kronos-module (template.inheritFrom)

:tada: This PR is included in version 3.0.14 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add option to specify which package manager (npm/yarn/pnpm) to use to run tests in playwright plugin

Make the package manager used by the playwright executor a config option. Currently it's hardcoded to yarn so won't work if users are using npm or pnpm.

added note in your PR - I wonder if abstracting to import/require playwright it in the style of cypress: https://github.com/nrwl/nx/blob/master/packages/cypress/src/executors/cypress/cypress.impl.ts#L13 would sidestep this issue

it's very strange that I can't set an NPM package manager
Also it will be great to use such package manager as in NX workspace
"cli": {     "packageManager": "npm"   },

@andreacaldera thx, it works for me, now I have another issue, playwright didn't launch but it doesn't related to this issue
anyway it will be great to get package manager from NX config by default

Closing as stale


CVE-2024-28182

Manually bumps libnghttp2 to 1.43.0-5.el9_4.3 until fixed in the base image.
Fixes CVE-2024-28182 - reported in Quay.io

Fixed in the base image.


Add box for Fedora 22

Fedora 22 was released some days ago and should be added to boxcutter/fedora.

Added (for VirtualBox)


(maint) Exclude vendored code from Puppet's gettext

The vendored semantic_puppet gem handles its own internationalization.
This commit adds a line to Puppet's gettext-setup config file which
causes it to ignore strings within semantic_puppet.

CLA signed by all contributors.


Is it normal to have loss value around zero?

Hi,
We have adapted your code into our images.
Could you please guide us whether the following values for the first iterations of the training are normal?
it.670/50000  lr=X(GP),1e-05(D)  loss=X(GP),-0.0001(D)  norm=1.0000  time=1569.77
it.680/50000  lr=X(GP),1e-05(D)  loss=X(GP),-0.0001(D)  norm=1.0005  time=1592.73
it.690/50000  lr=X(GP),1e-05(D)  loss=X(GP),-0.0001(D)  norm=1.0004  time=1615.83
it.700/50000  lr=X(GP),1e-05(D)  loss=X(GP),-0.0000(D)  norm=0.9995  time=1638.43
it.710/50000  lr=X(GP),1e-05(D)  loss=X(GP),0.0001(D)  norm=1.0001  time=1661.89
it.720/50000  lr=X(GP),1e-05(D)  loss=X(GP),-0.0000(D)  norm=1.0000  time=1684.70
it.730/50000  lr=X(GP),1e-05(D)  loss=X(GP),0.0001(D)  norm=0.9999  time=1708.04
Thank you.

Sorry for the late reply. It's hard to tell only from the numbers, but if you're able to run with the default settings there shouldn't be much of a problem :)


What is the minimum set of files to reuse the Bitcoin blockchain?

Hey guys,
I have an external HD with the Bitcoin blockchain that I have downloaded in the past, I'm trying to restore my node to recover some lost funds but I'm facing some issues that seem to be related to the files in the HD.
Recently I've burned Raspiblitz 1.3 into a micro SD card, but given the state persisted in the external HD when it started the node was "recovered", but I wanted to go through the process of recovering (because I've lost some on-chain funds in an old node), so I mounted the external HD in my laptop and decided to move some files away to avoid having to download and sync the Bitcoin blockchain but at the same time avoid this auto recovery process.
Now the problem is that I keep having issues like this Unable to create chain control: unable to subscribe for zmq block events: dial tcp :28332: connect: connection refused message or many others I've seen and disappeared after rebooting the node many times.
Sorry for the long intro, but I felt I needed to give a proper context. I want to know what is the minimum set of folders and files I should keep in the external HD, so I can start a node as if it never existed.
Thanks in advance for helping 😊

Normally if you just want to use the blockchain data of an HDD to setup a node you can (let it to its "recovery" and then) use the "REPAIR" menu "RESET-HDD". See https://github.com/rootzoll/raspiblitz#repair-options-to-test-repair-and-reset-your-raspiblitz
Now that you delete stuff manually from the HDD I am not sure whats maybe missing. The minimum folders should be: bitcoin/blocks &  bitcoin/chainstate

pls close this.


Fix calculation of confirmation date

Previously, the system calculated the confirmation date as the working day after the lead time. It should be the last day of the lead time.
For example, if a prison processes visits Monday to Friday, and Saturday is a visiting day, then it should be possible to book a visit for the coming Saturday:
Tuesday   | Make booking
Wednesday | Processing
Thursday  | Processing
Friday    | Processing & Confirmation
Saturday  | Visit

Previously, because of the extra day, the confirmation would not be sent until Monday, and visits would not be possible until Tuesday.
See https://www.pivotaltracker.com/story/show/101219102

These are excellent improvements! 👍 Nice work @threedaymonk.

This is great, @threedaymonk! :star:


Permissions issue

If you're not already, please try with the latest modrinth build. I can't really reproduce this
https://modrinth.com/plugin/huskhomes/versions

No further response, closing for now


laravel new project --auth doesn't create HomeController.php

I have created a new laravel project with --auth, but HomeController hasn't been created. I have also tried with composer require laravel/ui and php artisan ui vue --auth in an existing project and I encounter the same problem. Thanks

It has been fixed few minutes ago https://github.com/laravel/ui/pull/100

Great. Thanks

Fixed.


Public IP URL Not Available

When getting the user-data for cloud-init it is trying to send a request to "http://<IP_ADDRESS>/latest/meta-data/public-ipv4" to get the public IP. This url is not responding and result in a looping error at boot.
In the majority of cases the nodes will not be publicly available so there wont be a public ip address anyways. There should be an option to skip this check when requesting the user-data.
The current workaround is to remove these lines from the resulting user-data file before using it with cloud-init

Hi!
Could you please provide the boot log? There is the timeout in peeking Decapod API and in my test environment there is no metadata API at all therefore I cannot reproduce situation you are mentioning.

I am closing this issue. Feel free to reopen if problem is still with us.


Cannot import tensorflow

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution  Linux Ubuntu 18.04):
TensorFlow installed from (source or binary): pip3 install -U tf-nightly-gpu-2.0-preview
TensorFlow version: cannot be imported
Python version: 3.6
Installed using virtualenv? pip? conda?: pip3
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the problem
Import Error :
Provide the exact sequence of commands / steps that you executed before running into the problem

ImportError                               Traceback (most recent call last)
~/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py in ()
57
---> 58   from tensorflow.python.pywrap_tensorflow_internal import *
59   from tensorflow.python.pywrap_tensorflow_internal import version
~/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py in ()
27             return _mod
---> 28     _pywrap_tensorflow_internal = swig_import_helper()
29     del swig_import_helper
~/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py in swig_import_helper()
23             try:
---> 24                 _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
25             finally:
~/anaconda3/lib/python3.6/imp.py in load_module(name, file, filename, details)
241         else:
--> 242             return load_dynamic(name, filename, file)
243     elif type_ == PKG_DIRECTORY:
~/anaconda3/lib/python3.6/imp.py in load_dynamic(name, path, file)
341             name=name, loader=loader, origin=path)
--> 342         return _load(spec)
343
ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
ImportError                               Traceback (most recent call last)
 in ()
2 import time
3
----> 4 import tensorflow as tf
5 from tensorflow.python.ops import lookup_ops
6
~/.local/lib/python3.6/site-packages/tensorflow/init.py in ()
25 import sys as _sys
26
---> 27 from tensorflow._api.v2 import audio
28 from tensorflow._api.v2 import autograph
29 from tensorflow._api.v2 import bitwise
~/.local/lib/python3.6/site-packages/tensorflow/_api/v2/audio/init.py in ()
6 from future import print_function as _print_function
7
----> 8 from tensorflow.python.ops.gen_audio_ops import decode_wav
9 from tensorflow.python.ops.gen_audio_ops import encode_wav
10
~/.local/lib/python3.6/site-packages/tensorflow/python/init.py in ()
47 import numpy as np
48
---> 49 from tensorflow.python import pywrap_tensorflow
50
51 # Protocol buffers
~/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py in ()
72 for some common reasons and solutions.  Include the entire stack trace
73 above this error message when asking for help.""" % traceback.format_exc()
---> 74   raise ImportError(msg)
75
76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
ImportError: Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/home/ubuntu/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/home/ubuntu/anaconda3/lib/python3.6/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/home/ubuntu/anaconda3/lib/python3.6/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory
Failed to load the native TensorFlow runtime.
Any other info / logs
Installed Anaconda using : wget https://repo.anaconda.com/archive/Anaconda3-5.0.0-Linux-x86_64.sh
python3 --version gives python 3.6.2
Installed tensorflow 2 using cmd : pip3 install -U tf-nightly-gpu-2.0-preview
Opened Jupyter notebook and doing : import tensorflow as tf

You should wrap the code in a fenced codeblocks using three backticks ( ``` ).
The error message says: ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory --- you should have CUDA 10 installed.

Hi,
I was using : pip3 install -U tf-nightly-gpu-2.0-preview , which is a gpu
version, and I was doing in AWS EC2 t2large CPU instance.
Now I have installed : tensorflow==2.0.0-alpha0,
Getting a diff issue: its not finding this in jupyter :ModuleNotFoundError:
No module named 'tensorflow'
Pls see log here , I am in virtualenv, and also able to print Tensorflow
version from cmd line. But the same does not work in jupyter.
(venv) ubuntu@ip-172-31-22-38:~$ python3 -c "import tensorflow as tf;
print(tf.version);"
2.0.0-alpha0
Followed the steps : https://www.tensorflow.org/install/pip
Please help.
Thanks
On Thu, Mar 7, 2019 at 1:41 PM Jongwook Choi<EMAIL_ADDRESS>wrote:

You should wrap the code in a fenced codeblocks using three backticks (

The error message says: ImportError: libcublas.so.10.0: cannot open
shared object file: No such file or directory --- you should have CUDA 10
installed.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/tensorflow/tensorflow/issues/26429#issuecomment-470426654>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANFvt0owdG38R82E7R5GLF0CDNYcNXwJks5vUMnJgaJpZM4bijmX>
.

Did you install tensorflow from source? Are you running jupyter from the source directory?
You need to run Jupyter notebook from source directory. Or if you are using a virtual environment(venv), you need to install Tensorflow in that too in order for Jupiter notebook to import it.
Let me know if this resolves your issue. Thanks :)

Pls see here the steps:
I am activating venv, and the fact its activated is proven by the
tensorflow version which i can print out from cmdline:
ubuntu@ip:~$ source activate venv
(venv) ubuntu@ip:~$ python3 -c "import tensorflow as tf;
print(tf.version); "
2.0.0-alpha0
(venv) ubuntu@ip:~$ jupyter notebook
but then the same error msg : ModuleNotFoundError: No module named
'tensorflow'
Cant believe my eyes :) Maybe will reinstall evthing.
On Thu, Mar 7, 2019 at 4:37 PM Ayush Agrawal<EMAIL_ADDRESS>wrote:

@anirbankonar123 https://github.com/anirbankonar123 Did you install
tensorflow from source? Are you running jupyter from the source directory?
You need to run Jupyter notebook from source directory. Or if you are
using a virtual environment(venv), you need to install Tensorflow in that
too in order for Jupiter notebook to import it.
Let me know if this resolves your issue. Thanks :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/26429#issuecomment-470484566,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANFvt6021lOI1GMm2qiG9WUuqAqKxL_rks5vUPL4gaJpZM4bijmX
.

@anirbankonar123 If you really want to reinstall, I would recommend you to install via Anaconda. It'll be much easier to manage your packages through that.

@anirbankonar123 I don't see any issue. check the image here.
 Then run the commands. It will work. Please close once you verify it.
In future, please post support questions in stackoverflow. We should this GitHub uncluttered for the open source developers. Thanks!

Thanks, actually I was doing evthing fine, had a small issue . Had to start up a kernel properly before starting up Jupyter :
cmd : ipython kernel install --user --name=.venv  (was doing this but with name=venv, missed the . (dot) !).
Thanks for the responses, appreciate it.
Closing the issue.
Thanks


Code wanted

Hi, I'm really interested in your work, and I saw that you said you will open your source code in OpenReview. I was wondering when the code will be opened.

Thanks for your interesting! The code is released now.


Create masm_rockstar.py

for masm language

hey, I am updating the Rockstar and it will break the imports. Please wait for a min.
also, avoid using \n and use """ instead.

@avinassh does that mean we should clean up our examples that were already merged, or are you going to clean them up?

@yamamushi already cleaned, pushed, merged and released, like a rockstar :sunglasses:


what is not a PreTrainedModel?

Why do we need this?
    model = train_results.model
    if isinstance(model, PreTrainedModel):
        model.save_pretrained(
            save_directory=results_path,
        )
    else:
        st.save_model(
            model,
            os.path.join(results_path, "model.safetensors"),
        )

@jaidhyani

Probably a relic of the llama2c era


About SemGCN embeddings

I downloaded the pretrained SynGCN embeddings from your WordGCN github and then run the script "python semgcn.py -embed ./embeddings/syngcn_embeddings.txt  -gpu 0 -epoch 10  -name fine_tuned_embeddings", but after the model was successfully trained, I cannot find/get the finetuned SemGCN embeddings. What should I do?
Thanks!

Hi,
Please check this function:
https://github.com/malllabiisc/WordGCN/blob/master/semgcn.py#L479
It does the dumping part.


RFP - Samsung Dex

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL :  https://www.samsung.com/uk/apps/samsung-dex/
Direct download URL for the software / installer :  https://www.samsung.com/global/download/SamsungDeXWin
Software summary / short description:
Multitask between devices like a boss. Connect your Galaxy to your monitor or TV to bring it to life on the big screen.
And now, with just a USB cable, unlock your phone's possibilities on PC and Mac through Samsung DeX.
* DeX for PC is available on selected devices (including Note10/Note10+ and S10e/S10/S10+/S10 5G depending on software compatibility), and on Windows 7, 10

Interesting.
I will pick it up!

Just an FYI that Samsung has abandoned DEX an it will not work on Android 10.

Just an FYI that Samsung has abandoned DEX an it will not work on Android 10.

Bill I read it was only the Linux on DeX feature? The rest of DeX should work on Android 10 from what I understand

You're most likely right. I read it in quick passing a few times but don't use it. :)

Since I cant test and troubleshoot the installation problem, the package can be transfered to someone else.
When I try to install and start the chocolatey-test-environement, I got a BSOD "System_Service_Exception".

Hello,
I'll take this.
@boubou, can you add me (tunisiano) as maintainer ?
Thank you.

Done and approved


WIP: Pubsub pull operator

TODO before merging:

[ ] Design and implement system tests for the new PubSubPullOperator

Issue link: WILL BE INSERTED BY boring-cyborg
Make sure to mark the boxes below before creating PR: [x]

[ ] Description above provides context of the change
[ ] Commit message/PR title starts with [AIRFLOW-NNNN]. AIRFLOW-NNNN = JIRA ID*
[ ] Unit tests coverage for changes (not needed for documentation changes)
[ ] Commits follow "How to write a good git commit message"
[ ] Relevant documentation is updated including usage instructions.
[ ] I will engage committers as explained in Contribution Workflow Example.

* For document-only changes commit message can start with [AIRFLOW-XXXX].

In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@aff3a36). Click here to learn what that means.
The diff coverage is 28.3%.

@@            Coverage Diff            @@
##             master     #670   +/-   ##
=========================================
  Coverage          ?   32.05%
=========================================
  Files             ?      881
  Lines             ?    41622
  Branches          ?        0
=========================================
  Hits              ?    13343
  Misses            ?    28279
  Partials          ?        0

Impacted Files
Coverage Δ

airflow/sensors/base_sensor_operator.py
43.05% <100%> (ø)

airflow/providers/google/cloud/hooks/pubsub.py
22.08% <12.5%> (ø)

airflow/providers/google/cloud/sensors/pubsub.py
37.2% <17.64%> (ø)

airflow/providers/google/cloud/operators/pubsub.py
29.41% <34.61%> (ø)

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 aff3a36...0406042. Read the comment docs.

Opened PR against Apache master.
https://github.com/apache/airflow/pull/7613


[crypto] Update tiny-keccak

Update tiny-keccak to 2.0.1

@bors-libra retry

@huitseeker: :key: Insufficient privileges: not in try users

@huitseeker Bors can only retry a PR that was approved and failed. I can rerun the Circle job for you though.

LGTM @bors-libra r+

:pushpin: Commit 017b0d1 has been approved by mimoo

thanks @huitseeker !

:hourglass: Testing commit 017b0d1a0859658f460c8ff7b0f808b74c1d41d9 with merge 515a87c1828326ee35ec05ffbdf74954cd586eb1...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: mimoo
Pushing 515a87c1828326ee35ec05ffbdf74954cd586eb1 to master...


[DONT MERGE] Server Changes

This one needs a close inspection when we've completed other work. This is the last step in deploying.

Closing. Merged manually.


My part 1 pluggable widget doesn't include a render function wich is required by part 2.

Please use the form below, leaving the prefilled data to help us. Thank you.
Page link: build-a-pluggable-web-widget-part-2-advanced
Document link: create-a-pluggable-widget-two.md
My Issue/Suggestion
I cannot continue with the following instruction because my widget doesn't include a render function:
"In TextBox.tsx, replace the render function with the code below to check if the input should be disabled and pass it to in the TextInput component:"
I think the first part course uses function architecture and the second part course uses component architecture.
Please update the instructions.

Hello @GielAmsterdam ,
Thank you for this feedback. The developers have updated the code that you mentioned, and the documentation has also been updated (as you can see here). We hope this change in product and documentation accelerates your development.
Thank you for your improvement suggestion,
Connor


Add playlist page functions

Fixes #20

Added shuffle and play queue in order functionality.
Fixed typo in playlist.js file name
Updated song deletion from playlist

Demo videos:
Play queue in order:
https://github.com/youtanimstar/music-hub/assets/123486589/676b8df3-187e-4920-be9c-ca219a3747fa
Shuffle songs:
https://github.com/youtanimstar/music-hub/assets/123486589/f54c19be-fc00-4e78-9df5-43fe1a84ff78

Thanks for helping me, happy to contribute!


Enable few disabled xml tests

Purpose
$title
Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #21784 into stage will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            stage   #21784   +/-   ##
=======================================
  Coverage   14.67%   14.67%
=======================================
  Files          51       51
  Lines        1404     1404
  Branches      216      216
=======================================
  Hits          206      206
  Misses       1182     1182
  Partials       16       16

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 5dd2fc4...20c0a6a. Read the comment docs.


UI: Make logs searchable

Summary
When looking at a workflow, we often need to check its logs and look through them. Unfortunately, the way they're displayed in the browser doesn't make them searchable using the search function or browsers like Safari or Chrome. We end up with copy/pasting logs to another place and search through them and it's overcomplex.
There should be a way to look through logs without such a complexity.
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

This seems like a good idea.

Thanks @alexec, you're fast !


v4 incombatility with serilog-settings-configuration

The following code was working with the previous version of TestCorrelator (3.2.0), but it is failing with v4.
Here is the code.
var configuration = new ConfigurationBuilder()
            .SetBasePath(Directory.GetCurrentDirectory())
            .AddJsonFile(path: "appsettings.Test.json", optional: false, reloadOnChange: true)
            .Build();

const string message = "An event.";
using var context = TestCorrelator.CreateContext();

Log = new LoggerConfiguration().ReadFrom.Configuration(configuration).CreateLogger();

// Act
Log.Information(message);

// Assert
var logEvent = TestCorrelator.GetLogEventsFromCurrentContext().Single();
Assert.Equal(message, logEvent.MessageTemplate.Text);

If I replace ReadFrom.Configuration with this line, the code above works.
Log = new LoggerConfiguration().WriteTo.TestCorrelator().CreateLogger();

Here is my appsettings.Test.json
{
  "Serilog": {
    "Using": [
      "Serilog.Sinks.TestCorrelator"
    ],
    "MinimumLevel": "Debug",
    "WriteTo": [
      {
        "Name": "TestCorrelator",
      }
    ],
    "Enrich": [
      "FromLogContext"
    ],
    "Properties": {
      "Application": "Logging.Tests"
    }
  }
}

What about it is failing?

The Assert fails. TestCorrelator.GetLogEventsFromCurrentContext() does not return any log events when we do .ReadFrom.Configuration(configuration).

This is almost certainly because I added parameters to the WriteTo.TestCorrelator methods. As a workaround you can try passing an empty array as the ids parameter.
I think this is actually a "bug" or at least a missing feature from the Configuration library. I can comment in the other issue.

Modifying the appsettings file to the following worked. Thank you. Probably the ids field should have a default value of an empty array.
"WriteTo": [
      {
        "Name": "TestCorrelator",
        "Args": {
          "ids": []
        }
      }
    ],

It's a params array so it does have that default. The configuration library just doesn't detect that quite yet. I've commented over there so they can make the fix when they have time.


Wikitext103 Download Link Fix Plus and Script Enhancements

The main link seems to be down since last week, creating an issue to track.
Also let's aim to add progress bar too, and double check we're using the raw wikitext link (the main one apparently comes with   tokens for masking tasks).

@klei22 Could you take a look into the download scripts?

https://github.com/ReaLLMASIC/nanoGPT/pull/87


Geolocation button: getCurrentPosition() and watchPosition() no longer work on insecure origins.

getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.
http://the-internet.herokuapp.com/geolocation:46

Ah, interesting. Thanks for letting me know! I'll look into it.

There is only one solution - switch to https. For example, like this: https://medium.com/@franxyzxyz/setting-up-free-https-with-heroku-ssl-and-lets-encrypt-80cf6eac108e