Basic implementation of Thoth Dissemination Service

Background
Dissemination of publications to distribution platforms and archiving services usually requires submitting the publication file to be hosted accompanied by metadata relating to the file in the platform's preferred format. Users of Thoth currently need to do this manually, by retrieving metadata from Thoth in the appropriate output format, then supplying the file and metadata to the platform via an agreed channel.
Ultimately, Thoth will provide a service which automates this for the user, with specific triggers (e.g. on a monthly basis, or when a work changes from Forthcoming to Active) prompting the file and metadata to be retrieved and passed on to all relevant platforms. This will depend on the Traffic Light Service to control the quality of submissions and handle any errors returned from the platforms. In the meantime, we can implement the skeleton of the service as the basis of a semi-automated process with some manual intervention, by which we can trial the service with a small number of publishers/platforms.
Implementation
The service will be written in Python, linking together the Python Thoth Client library with target platforms' submission routes, some of which will be APIs which also provide Python client libraries (as investigated under WP7). The service will retrieve a work's metadata from the Client, convert it into the appropriate format, retrieve the publication file via the canonical location full text URL, then submit the file and metadata. The service will be modular, for easy extension to additional platforms, triggers, etc. The service will run in a Docker container for portability, and may be set up as a GitHub Action to increase automation.
Work required

[ ] Create new thoth-dissemination repository under thoth-pub
[ ] Extend Thoth Client queries to retrieve all required metadata for a single work (as a minimum, the PDF publication file URL, but this will also depend on target platforms' requirements and may be iterative)
[ ] Write Python method to retrieve all required metadata via Thoth Client
[ ] Write Python method to download publication file (to a temporary location, either in-memory or with later cleanup)
[ ] Write Python method to download e.g. ONIX metadata file from Thoth Export API (some platforms will require only this; for other platforms, e.g. archiving, we want to submit it as a supporting file in addition to providing metadata in the platform's required format, as a machine-readable and potentially richer backup in case of future changes to the platform)
[ ] Write Python method for each target platform to convert the retrieved metadata into the desired format (if applicable)
[ ] Write Python method for each target platform to submit the file and metadata
[ ] Create Docker infrastructure to wrap Python program in container
[ ] Investigate integrating service with GitHub Actions

Full workflow done for Internet Archive/Crossref and in progress for others (Figshare, DSpace)


[AutoDiff] Runtime EXC_BAD_ACCESS when running a pullback in certain cases.

Description
The code below generates a runtime EXC_BAD_ACCESS when executed.
Reproduction
Copy and paste the following code into a new project, and build in Debug mode.
import Foundation; import _Differentiation
public protocol N {}
public protocol H: Differentiable {}
public protocol D: H & N where Self.TangentVector: N {}
public struct O<V> {var v: V}
extension O: Differentiable where V: Differentiable {}
public extension N {var d: [String : PartialKeyPath<Self>] {return self.e(i: self) as! [String : PartialKeyPath<Self>]}}
public extension H {var z: TangentVector {Self.TangentVector.zero}}
public struct R: D {public var a: Double = 7}
public struct B<F, G> {
    @noDerivative public internal(set) var s: [String : WritableKeyPath<F, G>]
    @noDerivative public var a: Set<WritableKeyPath<F, G>> {var a = Set<WritableKeyPath<F, G>>(); a.insert(self.s.values.first!); return a}
    public init<S: Sequence>(to: S) where S.Element == WritableKeyPath<F, G> {self.s = ["0" : \R.a] as! [String : WritableKeyPath<F, G>]}
    @differentiable(reverse where F: D, G: Differentiable) public func o(f i: F) -> O<G> {
        var y: [G] = []
        for k in self.a {y = y + [p(i, at: k)]}
        var b = [O<G>]()
        for i in 0 ..< withoutDerivative(at: y.count) {
            b.append(O<G>(v: y[i]))
           // b = b + [O<G>(v: y[i])]
        }
        if withoutDerivative(at: b.count) > 1 {return O<G>(v: b[0].v)}
        else {return O<G>(v: y[0])}
    }
}
@inlinable @differentiable(reverse where W: D, M: Differentiable) public func p<W, M>(_ o: W, at j: WritableKeyPath<W, M>) -> M {return o[keyPath: j]}
@inlinable @derivative(of: p) public func vjpP<O, M>(_ o: O, at m: WritableKeyPath<O, M>) -> (value: M, pullback: (M.TangentVector) -> O.TangentVector) where O: D, M: Differentiable
{
    var z = o.z
    let r = o.d.mapValues { $0 as? WritableKeyPath<O, M> }.compactMapValues { $0 }.filter { $0.value == m }.compactMap { $0.key }
    let u = z.d.filter {r.first! == $0.key}.values.map { $0 } as! [WritableKeyPath<O.TangentVector, M.TangentVector>]
    return (value: o[keyPath: m], pullback: { d in z[keyPath: u.first!] = d; return z})
}
extension N {func e(i: any N) -> [String : AnyKeyPath] {if g == 0 {g += 1; return ["a": \R.a]}; return ["a" : \R.TangentVector.a]}}
var g = 0;
let b = R(a: 9)
@differentiable(reverse) func s(b: R) -> Double {return B<R, Double>(to: [\R.a]).o(f: b).v * 3}
print(valueWithGradient(at: b, of: s))

If run in Xcode, the error will be highlighted in line 19, which contains b.append(O<G>(v: y[i])). Here, it will indicate an "index out of range" error.
If built via swift build and executed in lldb, an EXC_BAD_ACCESS will be triggered with an attempt to access 0x0. The stack trace for this is listed below.
Expected behavior
The program should print:
(value: 27.0, gradient: i2.R.TangentVector(a: 3.0))
and exit with an exit code of 0.
Here, i2 is the name of the current project.
Environment
M1 Mac
Every toolchain I've tried exhibits this, from 2023-07-10a nightly all the way to 2024-05-01a. I can even reproduce this with the 6.0 2024-04-29a snapshot.
Additional information
Stack trace when run in lldb. Note that the executable is simply called a.
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000000000000
    frame #1: 0x0000000100155fa4 a`reverse-mode derivative of B.o(i=<unavailable>, self=_9999.B<_9999.R, Swift.Double> @ 0x000000016fdff018) at main.swift:14:72
    frame #2: 0x000000010015a1b0 a`reverse-mode derivative of s(b=(a = 9)) at main.swift:37:82
    frame #3: 0x0000000100152790 a`$s5_99991RVS2dAC13TangentVectorVIegyd_Igydo_ACSdxq_Ri_zRi0_zRi__Ri0__r0_lySdAEIsegnr_Iegnro_TR at <compiler-generated>:0
    frame #4: 0x0000000227a92f98 libswift_Differentiation.dylib`_Differentiation.valueWithPullback<τ_0_0, τ_0_1 where τ_0_0: _Differentiation.Differentiable, τ_0_1: _Differentiation.Differentiable>(at: τ_0_0, of: @differentiable(reverse) (τ_0_0) -> τ_0_1) -> (value: τ_0_1, pullback: (τ_0_1.TangentVector) -> τ_0_0.TangentVector) + 152
    frame #5: 0x0000000227a94780 libswift_Differentiation.dylib`_Differentiation.valueWithGradient<τ_0_0, τ_0_1 where τ_0_0: _Differentiation.Differentiable, τ_0_1: Swift.FloatingPoint, τ_0_1: _Differentiation.Differentiable, τ_0_1 == τ_0_1._Differentiation.Differentiable.TangentVector>(at: τ_0_0, of: @differentiable(reverse) (τ_0_0) -> τ_0_1) -> (value: τ_0_1, gradient: τ_0_0.TangentVector) + 184
    frame #6: 0x0000000100152494 a`_9999_main at main.swift:38:7
    frame #7: 0x000000018665d0e0 dyld`start + 2360

If we perform the append operation via b = b + [O<G>(v: y[i])], which is commented out in line 20, then the runtime error will not occur.

@jkshtj


Support pre 2014 SQL SERVER version drop table

Hi I got some errors while droping table in a SQL 2012 instance. Then I saw DROP TABLE IF EXISTS wasn't supported on that version.

With this pr we can drop tables in every SQL Server version implementing the GetDropTableString method for SQL Server provider for YesSql

I don't want to support pre-2017 since I can't test it easily. I suggest you create your own local dialect by inheriting from SqlDialect and overriding this specific method. I updated your PR with the new changes that include the schema now.


VELPITAR - The message "Cluj is not a city in Romania" is displayed, instead of job location

ENVIRONMENT: production
URL: https://peviitor.ro
Browser: Chrome
Version: 120
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open the url.
Click on "run scraper".
Scroll to "Electrician întreținere și reparații - București, Cluj" job.

EXPECTED RESULTS:
The locations Bucuresti and Cluj are correctly displayed in the location section.
ACTUAL RESULTS:
Bucuresti is displayed, but the message "Cluj is not a city in Romania" is displayed instead of Cluj.
Attachments:

Fixed can you retest?


fix issue with non-iis 8

fixes issue https://github.com/opscode-cookbooks/iis/issues/136
due to new property added in iis8

@ksubrama until we come up with a good IIS versioning system, no iis 8 properties


Update package requirements

[ ] Additional function parameters, change functionality or change defaults?
[ ] New estimator in cr.tl.estimators?
[ ] New kernel in cr.tl.kernels?
[ ] New gene trend model in cr.ul.models?
[ ] New plotting function in cr.pl?
[x] Other?

With scvelo==0.2.4 released, we can unpin the upper bound on numba. This applies both for the CellRank repo on GitHub and on bioconda.

@michalk8, I opened #729. Do you want to take care of bioconda once cellrank==1.5.0 is released?

@michalk8, I opened #729. Do you want to take care of bioconda once cellrank==1.5.0 is released?

Sure, I will take care of it.
closed via #729


Sample LocalClient indicator

Just roughly playing around with if a visual indicator for the local editing mode would be useful.

@mitchmac just so we can avoid header/nav layout issues, can we do something in the pencil icon? On hover we could show that message:

@jeffsee55 Yeah that's definitely more robust, so it could be brought into tinacms instead of the starter. Thoughts @spbyrne?


User agent causes security checks

Some sites ask for security checks, probably due to user agent

Disguise as chrome does not seem to make a difference,

Also,
Desktop user agent does not seem to work in all cases

Give a url to test.


Two taps required to select a date on Android after scroll

Description
On Anrdoid devices, after you scroll the calendars and stop, it requires 2 taps to select a date
Expected outcome
It selects on the first tap
Actual outcome
It ignores the first tap
Browsers Affected

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge
[ ] IE 11
[ ] iOS Safari
[x] Android Chrome

Seems to be working fine in the latest master, closing


UX : wizard for first time user

UX : wizard for first time user
https://github.com/cosmo0/arcade-manager/blob/master/psd/wizard.epgz (Evolus Pencil file)

Looking pretty good


New release?

As per issue #712
There has been no release in over a year and there are 92 commits in master that are not in v1.5.0
There's nothing particularly that I need in master, but it does seem like a long time to go without releasing when so much has been added to master.

I would love to see a new release too. Especially for this PR : https://github.com/flask-admin/flask-admin/pull/1620

There actually was a release on the 6th of March but it is not reflected in the Github releases. See https://pypi.org/project/Flask-Admin/#history

There are many feature requests or issues

Also would like to get new release (for peewee 3 support).

Seems like 1.5.2 was just released so I assume this ticket can be closed. Thank you @mrjoes!


Mobile Support

@alice-i-cecile asked me to add Android and iOS basics to this project from my cross-platform template
Added:

assets/res classic mobile resource assets folder, with the icon
Basic Android configuration in Cargo.toml following cargo-apk manifest
a basic Xcode project in the apple folder with a Makefile inspired by this bevy example

Changed:

The project is now both a lib and a bin

I still need to test everything before setting this to ready
Notes:

I didn't change the bevy version which is still 0.6
I didn't touch the wasm part, even though I don't think it should work as the index.html requires bevy_game.js when the project name is bevy_github_ci_template

The iOS part is working:

I didn't add the whole app icon setup which adds lots of files and configurations
I added audio support, required because of bevy_audio

thinking back on this PR, I think it would make more sense to have a separate template for mobile


The autocomplete menu appears above the edited line

Godot 3.1 ee6f1fa3f8a7aa48ed9becb0039f39e1c7f395cc
Windows 10 64 bits
The completion proposals menu is drawn above the current line, it should be below it.

I am on it.

It's a regression from #24553, CC @thomasruiz @Paulb23.


Add pnpm support

Description
brunch doesn't detect pnpm
Expected behavior
brunch should be able to install packages via pnpm
Actual behavior
brunch ignores pnpm
Implementation
CR https://github.com/brunch/deps-install/pull/4

@paulmillr this can be closed!


Grammatically updated the CONTRIBUTING file

Describe your changes
Small grammatical update to CONTRIBUTING file
Screenshots - If Any (Optional)
Issue ticket number and link
Checklist before requesting a review

[ ] My code follows the style guidelines of this project
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have performed a self-review of my code
[ ] If it is a core feature, I have added thorough tests.
[ ] New and existing unit tests pass locally with my changes

Please open the PR against the dev branch (Unless the PR contains only documentation changes)

Thanks for taking an interest in contributing to Kubescape!
There are no changes needed to be made to the files in the PR, so I will be closing this Pull Request. Have a nice day :)

ok thank you for replying


[WIP] Things to do

This is a general list of things that need to be done before anything is really even near completion
REMINDER: Update docs as I go or be miserable rewriting them at the end of it all
Immediate needs

[x] Simplify Stream types to be identified by their Source
[x] Only have 1 Stream type in core that is Multicast Only
[x] remove unshare() remember() share() from prototypes

Operators

[x] mapTo - should this be in map ?
[x] filter
[x] take
[x] drop
[x] last
[x] startWith
[x] endWhen
[x] fold
[x] replaceError
[x] flatten
[x] remember - should be home to MemoryStream type
[x] debug - Extra ideas for the future

[ ] Wild idea: if available, use ES6 Proxies to inspect the source chain and provide useful info
[ ] Provide info on when a subscriber (un)subscribes, receives events etc

[x] proxy - don't want to use the name imitate
[x] sample - sampling is very common, and in combination with combine() makes withLatestFrom

Factories

[x] create
[x] never
[x] empty
[x] throw
[x] fromPromise - maybe go in core to be used in from() ?
[x] periodic
[x] merge
[x] combine

Extra stuff

[x] optimize Multicast
[x] curry all the things
[x] Investigate Subject implementation

Probably could easily 'upgrade' a stream
Proof of Concept http://www.webpackbin.com/N1_ozN_DW

[ ] Add performance tests
[ ] Add documentation generation
[x] Investigate builder to make things DRY
[ ] Document/Simplify how to create a new package
[ ] Build Cycle.js adapter and run()

Closing in favor of #7


[MM-15459] Add mechanism to prevent suggestion close when clicking suggestion list

Summary
The scrollbar of the suggestion list is not detected as the relatedTarget of the focusOut event when clicked, so a preventSuggestionListClose function has been added that sets a flag as part of any mouseDown event inside the suggestion box. This flag prevents the list to be closed, hence allows the scrollbar to function properly.
Ticket Link
https://mattermost.atlassian.net/browse/MM-15459

@mgdelacroix can you take care of this one?


Add Cloudflare Workers caching

Current dependencies on/for this PR:

#13  👈
main

This stack of pull requests is managed by Graphite.


Unmounted component update caused by props passed into form

https://github.com/Lambda-School-Labs/story-squad-fe/blob/ca7a11c89720ff895897e415d27a623bbb0b93f9/src/app/components/child-dashboard/creative-content-submission/story-form/story-form.component.tsx#L72
the useEffect here uses child obj's currentSubmission I believe

After cleaning up submission state on FE, this issue looks to be resolved


Training is getting slower and slower

Hi
With WeNet 3.0.1, the time taken for later epochs is getting longer and longer, with a single batch taking from 1-2 minutes in the early stages to 4-5 minutes, yet the GPU utilization is still at 100%. I have ruled out hardware and resource issues, and I recall that WeNet 2.0.1 did not have this problem.

I've seen someone mention that the reason could be as follows, and it just so happens that I indeed dynamically added noise and reverb during the training process. I'm not sure if this is the reason; it still needs to be confirmed.
I'll make a note of it. If this turns out to be the reason, I will mark it here later.

https://discuss.pytorch.org/t/training-gets-slow-down-by-each-batch-slowly/4460/5
Problem confirmed. As for generating training data on-the-fly, the speed is very fast at beginning but significantly slow down after a few iterations (3000). At least 2-3 times slower.


Release a build after every update

So we can test it and report asap.
Regards.

RC1 is up now. I'll try to do more frequent updates in the future with beta testing and possibly through Google Play, but for now the latest version has the same code as my computer.
Thanks again for testing, and let me know if you find something that needs to be addressed, otherwise I'm planning to remove the pre-release tag really soon.

Jockey 1.1.0 beta 0 is currently available on GitHub and Google Play Beta Testing (which is significantly easier to update and will allow for more frequent beta updates). You can opt-in to the open beta here, or continue to sideload new versions as before.

You should start a G+ community to get testers to test your app, also make a trello page for this application so users can share new features and experiences based on the application.

Is there any reason why you've stopped attaching the .apk files to the releases/? The last one was around v1.2, but not even the (stable) v2.1.1 has an .apk attached anymore. Maybe you could fill that gap again? Thanks in advance!

Done. The previous versions had a simple built-in update mechanism, so this was a straightforward way of deprecating that after the switch to Google Play. I went ahead and uploaded all of the APK's that were on the Play Store for archival purposes.

Do you want me to setup travis for you? I can try to do that. It'll have a build up for every commit on master

I like the idea, but I think there might be a few complications. The first one is that each build should get an incremented version ID to differentiate between builds, and I don't think that Travis is capable of doing this. I'd also like for these builds to have Crashlytics enabled, if possible, but I don't know if there's a way to do it without publishing the API key. Similarly, it looks like Travis provides a lot of options for deploying builds, but it looks like most of them require putting OAuth tokens, API keys, or even plain-text passwords in the travis.yml file.

I think adding an .apk for each build is a bit overdoing it. There should be one for each tag, though – at least for the most recent one 😸

@marverenic : I'll look into it tonight. If it is possible, I'll start working on it.
@IzzySoft : You can have builds for each tags if you want, instead of every commit.

@Thunderbottom Of course the decision is made by @marverenic – but I'd guess he'd agree on that. A build for each commit would just drive the versionCode up unnecessarily, and might not even be needed. Only few will want to update that frequently (sure, testers might occasionally – but I doubt that would justify it). Have it automated for each tag OTOH would be very useful – even more if it could also automatically attach the resulting .apk to that tag, saving @marverenic some extra work 😺

I'd rather manually upload the apk for each release tag to be honest. It doesn't really add any additional work at all since I already need to build and upload the apk to the Play Store, and I'd rather make sure that the build on Github is exactly the same as the one on the Play Store (the main difference I'd be concerned about is that Proguard could perform a different obfuscation on each build, which means the apk's would have different deobfuscation mappings).


Bug: import ValidationProvider doesn't work.

If you are using the latest package and try to import ValidationProvider it would result in no such module. However it is working the old way: import VaporValidation.
Fix the package so import ValidationProvider would work instead of import VaporValidation.

Oops. That should be ValidationProvider. The fix will unfortunately need to wait until the next version since it's a breaking change.


Fix bad line wrapping for enum safeValueOf Kotlin model generation

Closes https://github.com/apollographql/apollo-android/issues/1296

Curious why didn't a test fail for this if it was a compilation error?

The issue that we don't have such test, our schema defines Episode enum that has short name. Kotlin Poet always wrap lines by spaces https://github.com/square/kotlinpoet#spaces-wrap-by-default


Add starter module to inject GoogleCredentials into application context

The basis for any interaction with google libs is it's credentials object being available. There are a handful of ways to bootstrap it.
This module should provide a boot starter that will bootstrap a bean of type Credential and will use Conditinal logic to determine what type of Credential it will create

I realise that CredentialsAutoConfiguration is already in its own started and provides pretty good functionality. It tries to get the credentials from the environment/properties and, if none are there, it uses the application's default credentials.
It seems like all use cases are covered?
My only peeve is that, due to the ResourceLoader internals, we're having to specify the location as in
cloud.gcp.auth.location=file:/usr/local/...
Is there another way to do this with the ResourceLoader that doesn't require providing a URL and that doesn't get the path as a relative one?
If this is a manifest expectation for usage of the tool, then I'm fine with it.

What do you mean? The gcloud auth from my understand only works if you provide the file or the auth default. There's a separate issue with the CloudFoundry broker that we don't want to address in this repo.
And it's not only the resource loader, any class that uses the starter, and wants a bean of GoogleCredentials to be created will need to decide either to use default or provide the location of the file.

I want to be able to say /usr/local/... and not file:/usr/local/..., but not fussed if no can do, as long as we have some documentation on what users must specify. I had to do a little bit of digging to find out that the path was considered to be relative, not absolute.
So GoogleCredentialsAutoConfiguraiton already probes env var "cloud.gcp.auth.location" (I think this covers both that property AND System.getProperty()?) and falls back to the credentials default. Any more requirements here that prevent us from marking this as resolved?

The file abstraction is a Spring feature, it's documented here: http://docs.spring.io/spring/docs/current/spring-framework-reference/html/resources.html, and it's actually we can make it possible the gs:// abstraction, we need to know the protocol. I don't think that a / would defer to file, it would probably look in the classpath.
The property can be System.getProperty, that's part of boot's relaxed binding. I'll submit an enhancement to it to use the GcpProperties instead of just a hardcoded string. But in the end, it will look in the same place for the value.

Sweet! Then it sounds like we can close this issue?
I'm also interested in what we can do for non-Boot users regarding credentials.


[iOS][master] Where is the WXDataRenderHandler

Hi,
I found WXDataRenderHandler in WXDataRenderHandler.h，but I didn't find it's implemention. So where is it.

This file will be deleted soon.


Files watcher exclude - do not ignore changes to the node_modules folder itself.

This PR fixes #125886
Glob online tester

same issue

Friendly ping @bpasero

What issue does this address?

updated

Thanks 👍


geogebra 6 : init at 6-0-598-0

since geogebra was ported from java to electron, this is a repacke;
wont want to delete geogebra 5, no darwin package for 6

Motivation for this change
Geogebra changed their stack from java to electron, so simple update wouldn't do the job. This happened on the version change from 5.x to 6.x. The update was requested in  #80593.
Things done
Added a package for geogebra 6.x and left the old geogebra package as it is. Since my approach didn't work for Darwin, I will not remove the old package.

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

The nixpkgs-fmt change seems broken btw.

The nixpkgs-fmt change seems broken btw.

ok some weird stuff is happening here.. Did all the changes on a vm. As soon as use my main System to edit the file the builder would fail. Some stuff about bootstrapping tools?

Thanks for reviewing

Also, please squash your commits into a single one :)

allright everything is in one commit right now

allright thanks for your patience :)


json.decoder error

Hi just recently i have started experiencing below issue
[+] Checking email in public leaks...
Traceback (most recent call last):
File "Cr3d0v3r.py", line 140, in
main()
File "Cr3d0v3r.py", line 99, in main
if ispwned.check_hackedEmails(email):
File "/home/csirt/tools/Cr3dOv3r/Core/ispwned.py", line 10, in check_hackedEmails
res = req.json()
File "/usr/lib/python3/dist-packages/requests/models.py", line 808, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.5/json/init.py", line 319, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

That issue is fixed with this PR:
https://github.com/D4Vinci/Cr3dOv3r/pull/47

Duplicate of #46
See my answer there

Version 0.4 just released!
Fixed, added and improved many things.
Check it out!


Running the example in the README does not work

When running the example on the README:
docker build -t camel-netty-proxy .
docker run --rm -p 8080:8080 camel-netty-proxy
http_proxy=http://localhost:8080 curl -v https://echo-api.3scale.net
the HTTP request does not go through the proxy, when configuring the proxy in curl like this:
curl -x http://localhost:8080 https://echo-api.3scale.net
the following response is returned:
curl: (56) Proxy CONNECT aborted
The Camel context + route are started normally, the output of stdout:
$ docker run --rm -p 8080:8080 camel-netty-proxy
2019-12-04 14:49:59 [main] INFO  o.apache.camel.main.BaseMainSupport - Using properties from classpath:application.properties
2019-12-04 14:49:59 [main] INFO  o.a.c.main.DefaultRoutesCollector - Loading additional Camel XML routes from: classpath:camel/.xml
2019-12-04 14:49:59 [main] INFO  o.a.c.main.DefaultRoutesCollector - Loading additional Camel XML rests from: classpath:camel-rest/.xml
2019-12-04 14:49:59 [main] INFO  o.a.camel.impl.DefaultCamelContext - Apache Camel 3.0.0-RC3 (CamelContext: camel-1) is starting
2019-12-04 14:49:59 [main] INFO  o.a.c.i.e.DefaultManagementStrategy - JMX is disabled
2019-12-04 14:49:59 [main] INFO  o.a.camel.impl.DefaultCamelContext - StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
2019-12-04 14:49:59 [main] INFO  o.a.c.c.n.h.HttpServerBootstrapFactory - BootstrapFactory on port 8080 is using bootstrap configuration: [NettyServerBootstrapConfiguration{protocol='proxy', host='<IP_ADDRESS>', port=8080, broadcast=false, sendBufferSize=65536, receiveBufferSize=65536, receiveBufferSizePredictor=0, workerCount=0, bossCount=1, keepAlive=true, tcpNoDelay=true, reuseAddress=true, connectTimeout=10000, backlog=0, serverInitializerFactory=org.apache.camel.component.netty.http.HttpServerInitializerFactory@9816741, nettyServerBootstrapFactory=null, options=null, ssl=false, sslHandler=null, sslContextParameters='null', needClientAuth=false, enabledProtocols='TLSv1,TLSv1.1,TLSv1.2, keyStoreFile=null, trustStoreFile=null, keyStoreResource='null', trustStoreResource='null', keyStoreFormat='JKS', securityProvider='SunX509', passphrase='null', bossGroup=null, workerGroup=null, networkInterface='null', reconnect='true', reconnectInterval='10000'}]
2019-12-04 14:49:59 [main] INFO  o.a.c.c.n.SingleTCPNettyServerBootstrapFactory - ServerBootstrap binding to <IP_ADDRESS>:8080
2019-12-04 14:49:59 [main] INFO  o.a.c.c.netty.http.NettyHttpConsumer - Netty consumer bound to: <IP_ADDRESS>:8080
2019-12-04 14:49:59 [main] INFO  o.a.camel.impl.DefaultCamelContext - Route: route1 started and consuming from: proxy://<IP_ADDRESS>:8080
2019-12-04 14:49:59 [main] INFO  o.a.camel.impl.DefaultCamelContext - Total 1 routes, of which 1 are started
2019-12-04 14:49:59 [main] INFO  o.a.camel.impl.DefaultCamelContext - Apache Camel 3.0.0-RC3 (CamelContext: camel-1) started in 0.378 seconds
I also tested it with by exporting the ENV var http_proxy and HTTP_PROXY but the results are the same.
I am running on Fedora 31.

nevermind, it works with HTTP and not with HTTPS since the proxy is not using TLS.


Toggle to highlight only 'next' obstacle on agility course

Close enough to #4717 that I'll call it a duplicate. Such a toggle could highlight the "next" obstacle differently, or simply remove the indicators for other obstacles entirely.


[NEW]: Sports fan cryptocurrency Iqoniq enters liquidation

Date
2022-26-01
Description
"Fan engagement blockchain platform" IQONIQ, which promised token holders “access to a wide range of exciting opportunities which bring them one step close than anyone else to their idols and organisations in sports and entertainment” went into liquidation late January 2022, taking down the token sale platform and crashing the value of the fan-owned coin by over 90%. The platform had major sponsorship deals with multiple Formula 1 teams, European soccer clubs and the Spanish La Liga league, which it owes €820,000.
Links
https://www.thetimes.co.uk/article/fans-face-big-cryptocurrency-losses-after-platform-goes-into-liquidation-czxpcwd60
Agreement

[X] I irrevocably agree to release my contribution under the CC-BY 3.0 License

Attribution name
Howie
Personal link
https://twitter.com/howiieb

Thank you! https://web3isgoinggreat.com?id=2022-01-26-2


CSRF Token does not attach to session

I'm using Flask as an API and ReactJS for my front-end, and followed the CSRF Protection Docs with Javascript Requests (Axios).
Please follow my Init App file to see my code: https://gist.github.com/Arthurdb1999/c72226800f19d6c8553d216fb1720900
When making a request, the following Exception is logged:
Traceback:
  File "C:\Users\arthur\Documents\Arthur\MyApp\venv\Lib\site-packages\flask_wtf\csrf.py", line 261, in protect
    validate_csrf(self._get_csrf_token())
  File "C:\Users\arthur\Documents\Arthur\MyApp\venv\Lib\site-packages\flask_wtf\csrf.py", line 103, in validate_csrf
    raise ValidationError("The CSRF session token is missing.")
wtforms.validators.ValidationError: The CSRF session token is missing.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\arthur\Documents\Arthur\MyApp\venv\Lib\site-packages\flask\app.py", line 1497, in full_dispatch_request
    rv = self.preprocess_request()
  File "C:\Users\arthur\Documents\Arthur\MyApp\venv\Lib\site-packages\flask\app.py", line 1838, in preprocess_request
    rv = self.ensure_sync(func)()
  File "C:\Users\arthur\Documents\Arthur\MyApp\venv\Lib\site-packages\flask_wtf\csrf.py", line 229, in csrf_protect
    self.protect()
  File "C:\Users\arthur\Documents\Arthur\MyApp\venv\Lib\site-packages\flask_wtf\csrf.py", line 264, in protect
    self._error_response(e.args[0])
  File "C:\Users\arthur\Documents\Arthur\MyApp\venv\Lib\site-packages\flask_wtf\csrf.py", line 307, in _error_response
    raise CSRFError(reason)
flask_wtf.csrf.CSRFError: 400 Bad Request: The CSRF session token is missing.

So I started to debug the error at csrf.py file in the flask-wtf folder of my virtual environment and found out that the generate_csrf() function is never called, and that's why I'm posting this as a bug report. Because of that, I think the token will never attach to session.
I'm sending the following header to the API: X-CSRFToken: {{ csrf_token() }}, and also tried to put the whole token on it (which wouldn't be secure).
Am I doing something wrong or is this really a bug to be fixed? I can give any other environment info if needed.
Environment:

Python version: 3.9.0
Flask-WTF version: 0.15.1 or 1.0.0 (error raises on both)
Flask version: 2.0.0

HI @Arthurdb1999 , I was having a somewhat similar issue to you, and it ended up being related to using multiple uwsgi worker processes. I would recommend checking to see if the CSRF signed token is present in g for the requests that fail, flask-wtforms will not attach a session token if the signed token in g is present (refer to csrf.py for more info). I'm not exactly sure why this issue was occurring when using multiple worker processes, but I assume it's related to the shared application context. I resolved this issue by moving to a single uwsgi worker process with multithreading. Good luck!

I think this might describe what I'm seeing https://github.com/wtforms/flask-wtf/issues/424
I get a session csrf_token, but it's not in the format that protect() expects, resulting in failure to validate.

Happens to me as well. Any news on this?


modal 对话框 if the user drags to nzMask and release the mouse the modal will close

What problem does this feature solve?
Our website often used modal to display form data. user want copy data from modal but often drag out of the viewport and release the mouse the modal  closes，caused information should be fill again.
What does the proposed API look like?
I think modal components should be added a mouseup event, feel the mouse in the modal viewport, press the mouse out of the viewport release the mouse will shut down, in many scenes experience is not good enough.

Will not support in the near future, you can reopen it after 0.7.0 released.


Added 'options' to the extension

These options are passed to the docker binary, thus allowing things like enabling debug logging.

Since we need to set options in our project a merge would be great.

I doubt this is correct, looks like this commit actually sets the options into the commands and NOT the daemon binary. Take a look at the command building (docker build  should be docker  build?)

You're right. I learned later that this doesn't do what I needed. I forgot to close this PR. Doing that now.


update ci workflow

There are several updates in this PR to the github actions workflow; I'm hoping this unblocks dependabot upgrades

ubuntu-latest is now ubuntu-22.04 which only supports OTP 24, 25
see https://github.com/erlef/setup-beam#compatibility-between-operating-system-and-erlangotp

elixir 1.12 only supports OTP 24
https://hexdocs.pm/elixir/1.12.3/compatibility-and-deprecations.html

use redis service
https://docs.github.com/en/actions/using-containerized-services/creating-redis-service-containers#running-jobs-in-containers

upgrade to actions/checkout@v3

fix deprecation with use Mix.Config vs import Config

I am seeing some instability in the test suite:
% mix test
..........
Finished in 1.8 seconds (0.00s async, 1.8s sync)
10 tests, 0 failures

Randomized with seed 481880

% mix test
..

  1) test if producer claim pending messages after restart (OffBroadwayRedisStream.ProducerTest)
     test/producer_test.exs:128
     ** (exit) exited in: GenServer.stop(#PID<0.285.0>, :kill, 10)
         ** (EXIT) time out
     code: Supervisor.stop(pid, :kill, 10)
     stacktrace:
       (elixir 1.14.3) lib/gen_server.ex:995: GenServer.stop/3
       test/producer_test.exs:141: (test)

     The following output was logged:

     14:20:57.680 [error] GenServer :Broadway3 terminating
     ** (stop) :kill
     Last message: []
     State: %{name: :Broadway3, supervisor_pid: #PID<0.286.0>, terminator: :"Broadway3.Broadway.Terminator"}

.......
Finished in 1.7 seconds (0.00s async, 1.7s sync)
10 tests, 1 failure

% mix test
.....

  1) test when a retry_after timestamp is in the message metadata, skips until time has passed (OffBroadwayRedisStream.ProducerTest)
     test/producer_test.exs:278
     Assertion failed, no matching message after 100ms
     Showing 10 of 344 messages in the mailbox
     code: assert_receive {:message_handled, %{data: ["1-0", _]}}
     mailbox:
       pattern: {:message_handled, %{data: ["1-0", _]}}
       value:   {:messages_fetched, []}

       pattern: {:message_handled, %{data: ["1-0", _]}}
       value:   {:messages_fetched, []}

       pattern: {:message_handled, %{data: ["1-0", _]}}
       value:   {:messages_fetched, []}

       pattern: {:message_handled, %{data: ["1-0", _]}}
       value:   {:messages_fetched, []}

       pattern: {:message_handled, %{data: ["1-0", _]}}
       value:   {:messages_fetched, []}

       pattern: {:message_handled, %{data: ["1-0", _]}}
       value:   {:messages_fetched, []}

       pattern: {:message_handled, %{data: ["1-0", _]}}
       value:   {:messages_fetched, []}

       pattern: {:message_handled, %{data: ["1-0", _]}}
       value:   {:messages_fetched, []}

       pattern: {:message_handled, %{data: ["1-0", _]}}
       value:   {:messages_fetched, []}

       pattern: {:message_handled, %{data: ["1-0", _]}}
       value:   {:messages_fetched, []}
     stacktrace:
       test/producer_test.exs:300: (test)

     The following output was logged:

     14:24:21.008 [error] ** (RuntimeError) error
         test/producer_test.exs:19: OffBroadwayRedisStream.ProducerTest.Forwarder.handle_message/3
         (broadway 1.0.3) lib/broadway/topology/processor_stage.ex:156: anonymous fn/6 in Broadway.Topology.ProcessorStage.handle_messages/4
         (telemetry 1.0.0) /Users/mlineen/readystate/_os/off_broadway_redis_stream/deps/telemetry/src/telemetry.erl:293: :telemetry.span/3
         (broadway 1.0.3) lib/broadway/topology/processor_stage.ex:143: Broadway.Topology.ProcessorStage.handle_messages/4
         (broadway 1.0.3) lib/broadway/topology/processor_stage.ex:63: anonymous fn/2 in Broadway.Topology.ProcessorStage.handle_events/3
         (telemetry 1.0.0) /Users/mlineen/readystate/_os/off_broadway_redis_stream/deps/telemetry/src/telemetry.erl:293: :telemetry.span/3
         (gen_stage 1.1.2) lib/gen_stage.ex:2471: GenStage.consumer_dispatch/6
         (stdlib 4.3) gen_server.erl:1123: :gen_server.try_dispatch/4
         (stdlib 4.3) gen_server.erl:1200: :gen_server.handle_msg/6
         (stdlib 4.3) proc_lib.erl:240: :proc_lib.init_p_do_apply/3

     14:24:21.521 [error] ** (RuntimeError) error
         test/producer_test.exs:19: OffBroadwayRedisStream.ProducerTest.Forwarder.handle_message/3
         (broadway 1.0.3) lib/broadway/topology/processor_stage.ex:156: anonymous fn/6 in Broadway.Topology.ProcessorStage.handle_messages/4
         (telemetry 1.0.0) /Users/mlineen/readystate/_os/off_broadway_redis_stream/deps/telemetry/src/telemetry.erl:293: :telemetry.span/3
         (broadway 1.0.3) lib/broadway/topology/processor_stage.ex:143: Broadway.Topology.ProcessorStage.handle_messages/4
         (broadway 1.0.3) lib/broadway/topology/processor_stage.ex:63: anonymous fn/2 in Broadway.Topology.ProcessorStage.handle_events/3
         (telemetry 1.0.0) /Users/mlineen/readystate/_os/off_broadway_redis_stream/deps/telemetry/src/telemetry.erl:293: :telemetry.span/3
         (gen_stage 1.1.2) lib/gen_stage.ex:2471: GenStage.consumer_dispatch/6
         (stdlib 4.3) gen_server.erl:1123: :gen_server.try_dispatch/4
         (stdlib 4.3) gen_server.erl:1200: :gen_server.handle_msg/6
         (stdlib 4.3) proc_lib.erl:240: :proc_lib.init_p_do_apply/3

....
Finished in 1.7 seconds (0.00s async, 1.7s sync)
10 tests, 1 failure

Randomized with seed 872650

Yes, flakiness is likely due to race conditions. I'll fix them tomorrow.

@mlineen released v0.5.0 version with latest dependencies.


How to login to a uplay with the files grabbed?

what do I do with them?

With cookies

With cookies

How do I do that?

You can paste those files and folders in your %localappdata%/Ubisoft Game Launcher folder and start the game to login.


Fix missing fmod variants

Fixes #1526 (maybe?)
Signed-off-by: Larry Gritz<EMAIL_ADDRESS>

@MasterZap Are you able to apply this patch on your end and see if it clears up the problem? I'm still having trouble directly reproducing, I think it may only be a problem on Windows.

If if that fixes it, it doesn't answer the question of how/why the "float" is not being properly promoted?

why should it?

stdosl.h:118 is why

I should fix the docs to make it more clear that fmod (like pow!) allows the second argument to be float even if the first arg is a triple.

That can be traced back to
https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/commit/ca0c6df4e030f45c0422461754aead1149287590
Fix slightly broken overload resolution
which added handling of float mixing with Vec3 based types.  But no documentation change.

Can we get some testsuite entries added to test these combinations and try them in batched as well?
I see a good example of testing the combinations in
testsuite/transcendental-reg
which exercises
"../common/shaders/test_binary_mixed_triple_float_xmacro.h"
whereas the fmod tests in
testsuite/arithmetic-reg
only exercises
#include "../common/shaders/test_binary_xmacro.h"
which does not include the Vec3%float variants.
If you update those tests to be on par with the pow tests, I think you will have your reproducer.
Then will be able to add the necessary implementations to support it.
In particular src/liboslexec/wide/wide_opalgebraic.cpp will need to have more variations added for fmod

@lgritz I will try to test this on Monday.

As Alex points out, this is not a complete solution. But if it changes the symptoms, it definitely means I'm on the right track.

Tested it - seems to work!!
Thanks so much for this ♥
/Z

Cool, you can try that patch on your end, I guess it can't make it any worse. But as Alex said, there's more work to make it fully complete for the batch case.
And also, I think Chris has a point. Looking at the implementation, I think there is no real runtime computation to be saved by having the (triple,float) special cases. I believe just allowing oslc to promote the (triple,float) case to (triple,triple) has no real penalty and is a simple solution, the only being that previously-compiled shaders would need to be recompiled. But as far as I know, you're the only person to ever report encountering the bug in practice, so maybe that's adequate. It's something I'm mulling over today.

@MasterZap Would you mind doing another experiment for me?
In llvm_gen.cpp, circa line 756, you'll see
#ifdef OSL_LLVM_NO_BITCODE
    // On Windows 32 bit this calls an unknown instruction, probably need to
    // link with LLVM compiler-rt to fix, for now just fall back to op
    if (is_float)
        return llvm_gen_generic(rop, opnum);
#endif

I'm kind of suspecting that these lines, which are 10 years old, may be totally irrelevant and reflects something that has long since been fixed on the LLVM side. Some things can easily be simplified if this is no longer needed.
Can you please simply comment out just these lines entirely? I don't have a good way of testing on Windows, but if things seem fine for you with this clause gone, that will change how I want to approach the full solution to this.

Updated with a full working solution (including batch) based on Alex's suggestion, including full regression tests. Passes now.
I'm awaiting Zap's test that I suggested above, and pending that I'll probably have one more cleanup/simplification round.

Those lines, are that specifically on windows 32 BIT as you wrote? We are all 64 bit, and really have no way to test 32 bit. And if it really only is for 32 bit then... you can probably ignore it :)

Under the paranoid assumption that all comments are not necessarily 100% correct, I guess I wanted to verify empirically that this was not a concern with today's LLVM on Windows in practice before I ripped it out completely.

I have not had time to test deleting this code yet, hope to soon.

In the interest of having a working solution in time for the 1.12 patch release this week, I'm inclined to merge and backport this now, and then later I can follow up with a separate PR that removes the parts that we think are only needed for the old-LLVM versions we no longer support (perhaps putting it only in main and not backporting, for additional safety).


README.md sample code fails with ImportError: cannot import name 'Alias' from 'alaska'

Describe the bug
Running  sample code in the README's 'Sample Usage' section fails with the import error: `ImportError: cannot import name 'Alias' from 'alaska'
To Reproduce

Create a python virtual environment and activate it.

install Alaska, pip install alaska

Save the Sample Usage code to a script:

from alaska import Alias
from welly import Project
import lasio

path = "testcase.las"
a = Alias()
parsed, not_found = a.parse(path)

run the script: (this will display the error)
python sample-runner.py

Expected behavior
The script should run successfully with no output
Screenshots
 python sample-runner.py
Traceback (most recent call last):
  File "sample-runner.py", line 1, in <module>
    from alaska import Alias
ImportError: cannot import name 'Alias' from 'alaska' (unknown location)

System (please complete the following information):

OS: MacOS
Python version: 3.7
AlasKA Version: 0.0.2
PyTorch Version 1.6.0

Additional context

pip list
Package                       Version
----------------------------- ---------
AlasKA                        0.0.2
backports.functools-lru-cache 1.6.1
certifi                       2020.6.20
cycler                        0.10.0
future                        0.18.2
kiwisolver                    1.2.0
lasio                         0.28
matplotlib                    3.3.2
numpy                         1.19.2
pandas                        1.1.2
Pillow                        7.2.0
pip                           20.2.3
pyparsing                     2.4.7
python-dateutil               2.8.1
pytz                          2020.1
setuptools                    50.3.0
six                           1.15.0
torch                         1.6.0

Thanks for opening the issue @dcslagel . I was able to reproduce the error on two different machines. I have gone through and reorganized the package today and was able to get it to function correctly on both linux and windows. We are going to have version 0.0.3 out by the end of this week which should take care of this issue. I will leave this issue open until we have the new version on PyPi

@jessepisel,  Great,  I'll look for 0.0.3 later this week.  Thanks.

I think this should be taken care of with PR #15

@jessepisel,  Yes, I just tested it with both a git-repo clone and by install ing AlasKA 0.0.4.  This issue is resolved in both cases.
Thank you,
DC


Call notification doesn't work anymore

Describe the bug
Call notification doesn't work anymore (Homekit and Telegram)
To Reproduce
Steps to reproduce the behavior:

Call my home number from my mobile

Expected behavior

a Homekit notification of an incoming call
a Telegram notification of an incoming call

Additional context
Here's my config:
    {
        "name": "FritzPlatform",
        "debug": false,
        "devices": [
            {
                "name": "FritzBox xxx",
                "host": "<IP_ADDRESS>",
                "port": 49000,
                "username": "xxx",
                "password": "xxx",
                "ssl": true,
                "tr064": true,
                "igd": true,
                "manufacturer": "AVM",
                "model": "7590",
                "serialNumber": "xxx",
                "master": true,
                "readOnly": false,
                "hide": true,
                "connection": "dsl",
                "options": {
                    "wifi_2ghz": "characteristic",
                    "wifi_5ghz": "characteristic",
                    "wifi_guest": "characteristic",
                    "wps": "characteristic",
                    "dect": "characteristic",
                    "aw": "characteristic",
                    "deflection": "characteristic",
                    "led": "characteristic",
                    "lock": "characteristic"
                }
            },
            {
                "name": "Repeater xxx",
                "host": "192.168.178.xxx",
                "port": 49000,
                "username": "xxx",
                "password": "xxx",
                "ssl": true,
                "tr064": true,
                "igd": false,
                "manufacturer": "AVM",
                "model": "1750E",
                "serialNumber": "xxx",
                "master": false,
                "connection": "repeater",
                "options": {
                    "wifi_2ghz": "characteristic",
                    "wifi_5ghz": "characteristic",
                    "wifi_guest": "characteristic",
                    "led": "characteristic",
                    "lock": "characteristic"
                }
            },
            {
                "name": "Repeater xxx",
                "host": "192.168.178.xxx",
                "port": 49000,
                "username": "xxx",
                "password": "xxx",
                "ssl": true,
                "tr064": true,
                "igd": false,
                "manufacturer": "AVM",
                "model": "1750E",
                "serialNumber": "xxxx",
                "master": false,
                "connection": "repeater",
                "options": {
                    "wifi_2ghz": "characteristic",
                    "wifi_5ghz": "characteristic",
                    "wifi_guest": "characteristic",
                    "led": "characteristic",
                    "lock": "characteristic"
                }
            },
            {
                "name": "Repeater xxx",
                "host": "192.168.178.xx",
                "port": 49000,
                "username": "xxx",
                "password": "xxx",
                "ssl": true,
                "tr064": true,
                "igd": false,
                "manufacturer": "AVM",
                "model": "1750E",
                "serialNumber": "xxx",
                "master": false,
                "connection": "repeater",
                "options": {
                    "wifi_2ghz": "characteristic",
                    "wifi_5ghz": "characteristic",
                    "wifi_guest": "characteristic",
                    "led": "characteristic",
                    "lock": "characteristic"
                }
            }
        ],
        "presence": [
            {
                "ping": false
            }
        ],
        "smarthome": [
            {
                "name": "xxx",
                "ain": "xxx",
                "energy": true,
                "temperature": true,
                "accType": "switch"
            },
            {
                "name": "xxx",
                "ain": "xxx",
                "energy": true,
                "temperature": true,
                "accType": "switch"
            },
            {
                "name": "xxx",
                "ain": "xxx",
                "temperature": true,
                "accType": "switch"
            },
            {
                "name": "xxx",
                "ain": "xxx",
                "temperature": true,
                "accType": "switch"
            },
            {
                "name": "xxx",
                "ain": "xxx",
                "energy": true,
                "temperature": true,
                "accType": "switch"
            },
            {
                "name": "xxx",
                "ain": "xxx",
                "energy": true,
                "temperature": true,
                "accType": "switch"
            },
            {
                "name": "xxx",
                "ain": "xxx",
                "energy": true,
                "temperature": true,
                "accType": "switch"
            },
            {
                "name": "xxx",
                "ain": "xxx",
                "energy": true,
                "temperature": true,
                "accType": "switch"
            }
        ],
        "callmonitor": {
            "active": true,
            "ip": "<IP_ADDRESS>",
            "port": 1012,
            "incomingTo": [
                "750xxx",
                "759xxx",
                "759xxx",
                "420xxx"
            ],
            "outgoingFrom": [
                "750xxx"
            ]
        },
        "extras": {
            "alarm": {
                "active": false
            },
            "wakeup": {
                "active": false
            },
            "ringlock": {
                "active": false
            },
            "phoneBook": {
                "active": true,
                "accType": "characteristic"
            }
        },
        "options": {
            "polling": {
                "timer": 45
            }
        },
        "telegram": {
            "active": true,
            "token": "xxx",
            "chatID": "59xxxxxxxx",
            "messages": {
                "callmonitor": {
                    "incoming": "Anruf von @",
                    "outgoing": "Anruf zu @"
                }
            }
        },
        "platform": "FritzPlatform"
    }

I didn't change anything on the FritzBox etc.. I even tried to install some 5.0.x versions of the plugin, but didn't succeed. It worked on Tuesday, when the new version was released.
Here's an excerpt of the debug log:
Nov 12 08:27:15 abbapie01 homebridge[12821]: [11/12/2020, 8:27:15 AM] [FritzPlatform] Callmonitor Incoming: "incomingTo" nr matched!
Nov 12 08:27:15 abbapie01 homebridge[12821]: (node:12821) UnhandledPromiseRejectionWarning: TypeError: entry.number.find is not a function
Nov 12 08:27:15 abbapie01 homebridge[12821]:     at Socket. (/usr/local/lib/node_modules/homebridge-fritz-platform/src/accessories/callmonitor/callmonitor.js:157:47)
Nov 12 08:27:15 abbapie01 homebridge[12821]: (Use node --trace-warnings ... to show where the warning was created)
Nov 12 08:27:15 abbapie01 homebridge[12821]: (node:12821) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
Nov 12 08:27:15 abbapie01 homebridge[12821]: (node:12821) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Nov 12 08:27:22 abbapie01 homebridge[12821]: [11/12/2020, 8:27:22 AM] [FritzPlatform] Callmonitor Incoming: Call disconnected with 0151xxxxxxx
n -> 14.15.0
npm -> 6.14.8
Thanks and best regards,
Thomas

@abbanatic
Please switch "Phonebook" on in Apple Home/Eve to generate a new phonebook.json - After that it should work again

Hi,
well, that did the trick, good too know.
But in the Eve app, the phonebook always switches back to off, as soon as I tap on "ON". I observe the same behavior regarding the phonebook and other characteristics mentioned in #105.

@abbanatic
Phonebook has only a ON function. Phonebook just stores the contacts to a json file and goes back to off if finished. So thats not a bug.
Ob which characteristics u have also problems?

Hi,
ah, ok, thank you for the explanation.
I've found problems with the characteristic for the answering machine: I can turn it off, but I can't turn if on again.
Best regards,
Thomas

@abbanatic
Version of Fritz OS ?

Hm, 07.24-83411 Inhaus - that might be the problem. ()

@abbanatic
I didnt try the beta firmware yet. Maybe that is the problem yes

Closing this issue because the main problem should be resolved. FW 7.24 will be supported in the future

Hi,
you're right, my fault! ;)
But if you should need debugging information to finally support firmware 7.24 on FritzBox 7590, please let me know. I'd be glad to contribute.
Besindes the answering machine, broadband and other characteristics don't work as expected.

Hi,
ich habe eben einen kleinen PayPal-Beitrag für Deine tolle Arbeit geschickt.
Leider konnte ich keinen persönlichen Kommentar hinterlassen.

Viele Grüße,
Thomas


Add Universidad de Costa Rica to domain

This PR adds the domain for University of Costa Rica

@IgnacioRoblesM I am sorry, the domain ucr.ac.cr is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Issue #359: Importing: Support syncing Watch History and Ratings from Plex

Changes made

Generalize sync modal to work for both plex and jellyfin
Fix plex login bug due to bad type filtering
Update plex token on re-login to support token revoke/expiration
Add Plex server configuration for fetching watch data
Add TV and Movie specific TMBD APIs
Move activity modal into modals directory

Ported changes to a fresh branch, closing this PR in favor for it in #413.


Can't open Bitwig after 5.2.4

when I apply the same skin to the 5.2.4 bitwig jar, its not opening Bitwig anymore

It works fine with 5.2.4 for me.
So, I would like you to provide more details about the issue. I'd be glad if you provide the theme you'd like to apply for me to reproduce it.

Weirdly enough, I have observed the same results as both @Spaylee and @Berikai. When I applied a theme to 5.2.4 (macOS), upon launching Bitwig I encountered an OS error message telling me that Bitwig was damaged and couldn't be opened. (I do not recall the exact language used.) So I reinstalled 5.2.4 and got on with making some music. Today I saw the above messages so I thought I'd try to reproduce the problem here to get the exact error message. This time I installed the nord.json theme without trouble--Bitwig launches normally. The only think I can think of is that maybe I installed 5.2.4 and then applied the theme without first running 5.2.4, whereas today I definitely had run 5.2.4 at least once before running the theme editor.

It's quite weird because I applied the theme without running 5.2.4 first, and I haven't encountered any error. So, the issue must be underlying somewhere else.
I suppose the issue is not related to the version 5.2.4, 'cause the evidences points into that direction. It's probably about some unlucky patch attempt that corrupts the jar file somehow, maybe some unknown factor caused to early termination of theme editor's process while it was writing on the jar. From my point of view, it looks like a coincidence that you both experienced the same issue on the same version. In the end, I'm still not sure.
It would be cool to see a way to reproduce the issue or any kind of detail like a crash log, if anyone encounters same issue.
As a reminder, please back up your jar file just in case of any corruption happens so that you can just replace the jar file back rather than reinstalling the entire Bitwig Studio app.

If it happens again I'll report any error messages or logs I can find.
Reinstalling the whole app is just a drag and drop operation also so it's not really much different than backing up the .jar.

thank you guys for explaining! But I dont wanna risk another experiment just to end up reinstalling Bitwig, I will consider switching my skin once the new Theme-Editor update comes out.

I just installed three more themes; no problems. Thank you very much @Berikai for your work. There are many things I love about Bitwig but how it looks is not one of them.


Prognostic b33

This PR implements a prognostic approach to B33, which means we treat the B-evolution of different components in a more consistent manner. It opens up the possibility of a compressible approach to parcel volume at a later point.

@matt-frey: this is ready for review.

I am thinking of dumping B33 in parcel netCDF as well, and optionally reading it in.

To be superseded by matrix exponential version.

You may delete the branch then.


Remove --unstable usage

As of now Lume doesn't use any unstable feature (and probably won't in the future), so remove the option.

Is there some unstable features being used, like Deno.networkInterfaces() to detect the local server ip. Also, other dependencies, like cliffy or deno_dom need this flag.

Oops, I haven't considered dependencies. Thought the tests passed.
I have no issue with appropriate use of unstable features, I just detest things like in Rust nightly is often taken for granted :( (at least that's how it looks to me)


public Bosun repository

It's much easier to install packages from repositories, especially when using automation tools. There are already convenient options for this (e.g. packagecloud.io), setting this up shouldn't be hard. I could do this too obviously, but it's much better if repo is controlled by StackExchange. Another option is using Travis to push packages, I haven't succeeded doing that though. Any thoughts?

Circleci is nice too

Because Go binaries are monolithic, I've found packaging per se to be unnecessary. Instead of:
  - name: install bosun
    apt: name=bosun state=installed

I can simply do
  - name: install bosun
    get_url: url=https://github.com/bosun-monitor/bosun/releases/... dest=/usr/local/bin/bosun

I'm not opposed to the idea, but I've already had good success to date.


Dealing with "NumberFormatException"

Fix  input without limit that caused "NumberFormatException". Also add some error messages.

Thank you for your contribution! This looks mostly good improvement but messages looked not good for me. Could you check my changes request?

It looks good! Thank you!


fix: synthetix v3 erc7412 decode process

Based on https://github.com/dhedge/toros-bots/pull/265

yes, I think it looks good. is there any way to test it? Base is always updated by other keepers from other protocols.
if we can get a tx on Arbitrum to test it out and if work as expected, then we are good here.

yes, I think it looks good. is there any way to test it? Base is always updated by other keepers from other protocols. if we can get a tx on Arbitrum to test it out and if work as expected, then we are good here.

yes, will do manual testing


feat: add react-ts-jest template to create-vite package

Description
This PR extends already existed template (react-ts) by adding jest setup, so that developers can scaffold this template and start development with testing.
fixes https://github.com/vitejs/vite/issues/17927

Replies here are probably still relevant: https://github.com/vitejs/vite/pull/8472

Hey @rschristian, thanks for pointing that out.  I could agree with those, partially, but..
This PR is just a template. Nobody is/will be forced to use it, but it will be there for those who might need it and definitely will save time on figuring out how to set up jest by themself.
p.s.
Also, there is awesome-vite with lots of helpful starters, but it isn't easy to find it (I found awesome-vite on the third day of working with vite), so IMHO it would be beneficial for future newcomers to have a separate template.

Yes, thanks for the reference @rschristian. Closing as the templates in create-vite are minimal  examples to test different frameworks with Vite (and they also serve as the base of bug reproductions). Each framework community should curate and recommend their own starters (see create-vue for example, or the many react frameworks). The Vite team can't maintain production ready setups for each framework, it is too much work and each framework communities has also their own ecosystem of tools they normally recommend.
About Jest in particular. If you're just starting with Vite, I recommend you check out https://vitest.dev that has a way better integration story with Vite (and a compatible API with Jest).


fix pointer-chasing to touch full working set

We (@jkehne and @mhillenbrand) found an issue in how X-Mem generates its pointer array for pointer-chasing micro-benchmarks. Most of the time, the traversed linked list does not cover the complete pointer array (only ~45% on average). Thus, the actual working set for random access patterns may be less than specified using -w. With the proposed fix, we ensure that the pointer chain walks across the full array (i.e., the pointers form a hamiltonian cycle) at minimum overhead (~4% slowdown in generating the permutation).
A test harness illustrates that the cycles generated by xmem::build_random_pointer_permutation most often miss significant parts of the pointer array. The code measures the actual length of the pointer cycle in the generated pointer array, comparing the original version of  xmem::build_random_pointer_permutation and our proposed alternative.
This pull request replaces the existing implementation with our proposed alternative generator.
Please see the commit message below for more details.

Hi Marius,
Thank you for this pull request and detailed description of the problem. And I apologize for my delayed response!
I will definitely take a look. I am actually already aware of this problem and had yet to fix it. In an early version of X-Mem, I believe I actually did have a Hamiltonian Cycle version of this function. If I recall correctly, I had a compile-time option to allow users to select between Hamiltonian and the shuffle algorithms. I don't recall why I removed this ability. It was probably due to long runtimes on large working sets. Let me re-investigate my notes and figure out the original reason. Otherwise, I agree, we should change this back to Hamiltonian Cycle to be more correct.
Mark


Identify pattern for experimental flags/extentions

From https://github.com/openservicebrokerapi/servicebroker/pull/95#issuecomment-258163461

In v2.10 volume services are no longer experimental.
Note that there was a breaking change for volume services from v2.9 to 2.10
when the "experimental" flag was removed.
As part of this WG I would love to discuss the use of "experimental" API
specs. Not sure that it worked well in this case.

Changing the title to clarify the goal of this issue

@MHBauer @shalako I don't believe there is anything to do regarding this anymore. Should we close this issue?

I believe this is being addressed with our docs for alpha features #228. Closing.


Updated validations.py python script.

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

Ok, Have contributed to the code.
Made changes to the validations.py file.
It's exciting. :)


Fix masking/ignoring relabeling error

Commit 317e94be44d64cf0 introduced a local variable err, which masked
the err used as a named return value. As a result, any relabeling error
(happened in that defer) is not returned, and the caller gets "", nil,
moving on to performing a bind mount with empty m.Source argument
(which, apparently, results in mounting a current directory).
This can be reproduced by trying to add a bind mount which has no space
left (see RHBZ link below for details).
This issue was spotted upstream during the review, and fixed before the
merge (see https://github.com/moby/moby/pull/34792#issuecomment-330355030).
In this repository, though, it was never fixed.
Fixes: https://bugzilla.redhat.com/1878621

LGTM


fix: Redirecting to the desired url instead of /story page.

Title and Issue number
Title :Redirecting to /story page instead of the desired url.
Issue No. : #1021
Code Stack : HTML,JavaScript
Close #1021
Description
Now on click of the close icon on the window , main landing page is opened instead of story page . Also all the other corresponding links are opened on click of the tabs on navbar.
Video/Screenshots (mandatory)
https://github.com/apu52/Travel_Website/assets/143121854/45e624d1-d946-4edd-8cdf-0f48e21468ab
Type of PR

[x] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Checklist:

[x] I have performed a self-review of my code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have gone through the  contributing.md file before contributing

Additional context:

##Are you contributing under any Open-source programme?
Yes under GSSoC'24.

[x] I am contributing under GSSOC'24
[ ] I am contributing under VSOC'24

@meetarora10 this PR has merge conflicts .please try to resolve them faster so that I can review the code & will be able to merge it or submit a complete new PR to avoid the merging conflicts

@apu52 okay I will do now.

@apu52 please review this as well

Okay @apu52

Done @apu52


More Table Widget Improvements

Customizable Foreground Colors
Customizable X Offset f/ Cells/Items
Improved Type & Bounds Checks
Fixed Active Row Contents
Added better Column Selection

Thanks!


fix(versions): update Activiti/activiti-cloud-full-chart-security versions

UpdateBot pushed helm dependency: activiti-cloud-full-example to: 7.1.124

UpdateBot commands:
updatebot push-version --kind helm activiti-cloud-full-example 7.1.124


Remove assert about release mode

b/150295238 has been resolved for a while now.

The tests that needed this are in the internal google repo.


How did the performances differ?

Nice to show the difference in activations, but how did the training times, losses, validation accuracies, etc differ?

The training loss/accuracy can be viewed on Tensorboard and the sampled testing accuracy is shown per 1000 iterations. Also, the training log shows how many instances are processed per second as well as how many seconds are needed to process a batch.
Adding accumulative training time should be trivial. Obtaining validation accuracy can also be done by testing the saved checkpoints. I recommend you to work on these first. I may also spend some time on them once I am free. Thanks!

Yes I know it is possible to do this in Tensorboard, but I'm wondering if there were significant differences in your training times, losses, accuracies for inclusion in the README, before I burn my own gpu time, since you already did this.  (This is not an issue, but just a question).

Thanks for your explanation. I didn't take a careful look at the testing results since the main motivation of this implementation is to visualize the distributions of activations. As I remember, there's no obvious difference in term of accuracy. Also, an informative discussion of the efficiency of SELU can be found here on Reddit.


tmdb, imdb, etc. ratings for shows ?

Hello,
Is there a way to get this information from the API ?
Regards.

There isn't unfortunately. Since IMDB doesn't have a public API for this info, we can't send it via the Trakt API. You might look into OMDB API and see if that can help you out.


Click OK on alert/confirm message

Hello, cannot find any example on how to automate the clicking of the OK button of a alert or confirm message. Have a few web pages where it ask a question before submitting to server. This is possible within tagui?

Hi Travis, if you know the JavaScript code that can do this (for example this), you can try doing it using dom step. The dom step lets you send JavaScript code to be executed on the browser.
If not, you can use the visual automation method to visually click on the OK or Cancel button -
https://github.com/kelaberetiv/TagUI#visual-automation

Thanks Kensoh. Visual automation seem to be a start, but running into a side effect. In my script, a button is clicked that fires the confirmation popup box. At that point, all code execution is paused (like hitting a breakpoint in debug mode) and will not continue to the next step that would start the visual automation to click either ok or cancel.
There is probably not a way to execute another script outside the primary thread that would run the visual portion?
If not, may just redesign the web page with a custom confirmation dialog so tagui could answer.
Thanks again for your help.
BTW, this is one of the coolest projects on github.

Thanks Travis for sharing your appreciation! The visual automation, when installed correctly, should work seamlessly within the same script. So all the steps that you need to run can be put in the same script in the order you want to run them. For example -
click web_locator1
click ok_button.png
click web_locator2
...

When installed using the setup instructions in the previous link above, TagUI will detect that you are using visual automation and starts the Sikuli process automatically when your automation is started, and will show the following message - [starting sikuli process]
PS - for users of visual automation, last night i've added new commits to master that can interact with UI elements by specifying the (x,y) coordinates. for details, see https://github.com/kelaberetiv/TagUI/issues/361 and https://github.com/kelaberetiv/TagUI/issues/365

Really like the (x,y) feature, saves from having to create bunch a images.
When you get a chance, could you look at this simple example project? To tell when the script pauses is by design or something else going on. The button images is from Chrome.
visual.zip
It seem to work great, when sikuli clicks the Save button, but fails when the DOM executes the Save button.

This is another question where you are trying to click on a web element using its identifier. I can't replicate the issue on my laptop (Chrome v73 / macOS 10.14.4).
When I tried running TagUI with chrome option, both syntax below works and the button gets clicked.
click //*[@id="button1"]
click button1

I was able to click button1 (Save button) usi g the identifier. Just not able to click the Ok button on popup.
I'm guessing you are not seeing the executed code pauses until I manually click the Ok button. Wonder if my version of chrome has a security flag set. (Chrome 73/ Windows 10). Will do some research. Thanks for looking sample.

No probs Travis, I get what you mean now. I tried running the full sample script and looked at the logs. It looks like when the popup window appears, Chrome immediately halts responding back to TagUI. That becomes blocking to TagUI. Thus TagUI is still looping to get the response of the click to confirm whether it has been successfully received and processed by Chrome, before continuing execution.
I don't have any straightforward solution on this. One way I can think off is setup another instance of TagUI in another directory, and concurrently run both scripts using something like start /min cmd /c in a batch file. That way, both processes exist independently and the visual automation process won't be blocked by the process waiting for response from Chrome. But this may not be robust to pull off, due to potential timing issues and added complexity not designed and tested for.

Hello @JTravis76 try with Tampermonkey extension for Chrome, and create the next script, so when the tagui arrive to the section of the "ok buttom" the script will automatically press the ok button,
just put a wait on tagui....
`// ==UserScript==
// @name        Example of Ok buttom alert
// @match       https://yourwebpage.com/*
// @run-at      document-start
// ==/UserScript==
addJS_Node (null, null, overrideSelectNativeJS_Functions);
function overrideSelectNativeJS_Functions () {
window.confirm = function alert (message) { return true; }
}
function addJS_Node (text, s_URL, funcToRun) {
var D = document;
var scriptNode = D.createElement ('script');
scriptNode.type = "text/javascript";
if (text) scriptNode.textContent = text;
if (s_URL) scriptNode.src = s_URL;
if (funcToRun) scriptNode.textContent = '(' + funcToRun.toString() + ')()';
var targ = D.getElementsByTagName ('head')[0] || D.body || D.documentElement;
targ.appendChild (scriptNode);

}
//var oldConfirm = window.confirm;
//   window.confirm = function (e) { return true };`

Hi @fez226 , thanks for sharing Tampermonkey. Never heard until today. Definitely keep in my toolbox.
Using the visual automation seem to work the best in my situation. Anytime a button triggers a pop-up box, I just use the sikuli process to jump that hurdle. Lucky, there is not too many :)
Thanks again @kensoh for all your help.

Cool hack @fez226! That's a good idea. Building on the idea, another elegant alternative is using the dom step to override the window.confirm function on the browser's DOM context. For example, below will cause the pop-up to be closed automatically after the click is executed -
dom window.confirm = function alert(message) {return true;}
click //*[@id="button1"]

Hello @JTravis76 i use TamperMonkey for one reason: is faster than sikuli (visual automation). I will try the
dom window.confirm = function alert(message) {return true;} click //*[@id="button1"]

Hi @kensoh I tried visual automation by using sikuli and captured images of both dialog box and ok button.
First I hovered on the dialog box to gain the focus then click on ok
vision hover("dialog_box.png")
vision click("Ok_btn.png")
However I saw one more console window is waiting for user input so could not able to move furthur to gain focus. Could you please help how could I focus on dialog box to hit ok button

Hi @shahidshaikhleaque when the browser has a popup, the control will not be returned back to TagUI until user clicks OK. The only workaround I'm afraid is to use visual automation. Use that to click on the browser button that triggers the popup dialog box, after that use that to click OK. After that you can do the normal web identifier stuffs. See below issue for example -
https://github.com/kelaberetiv/TagUI/issues/491

Maybe it is written somewhere but I had a similar issue and the problem was that I had two displays and it "looks" only at the main display.

Hi @mapall, by design, TagUI automates the primary monitor. A quick workaround is dragging your taskbar to the monitor that you want to automate visually on. I believe on Windows system, that will assign that as the default monitor. Using vision step is another way but need to write custom instruction, the example is in issue #285 below.
Some related issues - https://github.com/kelaberetiv/TagUI/issues/405 and https://github.com/kelaberetiv/TagUI/issues/285

Hi I'm unable to click the ok button using TagUI

Hi @sairamphp oh this type of popup is a blocking process, only after user clicks then browser will return control to TagUI.
A workaround is using computer vision to trigger this popup (eg click image.png on something that will open this), then use computer vision again to click on this button (eg click ok.png). You can capture the snapshot using snipping tool or use the Microsoft Word plug-in at https://github.com/kelaberetiv/TagUI/blob/master/src/office/README.md


Feature/should publish async

Adds an extension hook to allow a more nuanced approach to whether or not to default to async publishing

Looks good.


zsv-playground (https://github.com/iamazeem/zsv-playground)

I've been working on https://github.com/iamazeem/zsv-playground lately.
Most of the issues I reported here are the observations during its development.
LMK what you think. Would love to hear your feedback. Thanks!

could we make put this playground in this repo's GitHub pages and have it automatically updated with the latest wasm build on commit to main?

I'll look into it.
It definitely needs some changes to accommodate this use case.

GitHub Pages usage limits for reference:
https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#usage-limits


arch: Fix compile error when enabling CONFIG_DUMP_ON_EXIT.

Summary
Fix following error:
error: incompatible types when assigning to type 'struct filelist *' from type 'struct filelist'    filelist = tcb->group->tg_filelist;
Impact
Option is disabled by default.
Testing
ESP32.

@xiaoxiang781216 can you please check again?
The current task was also being dumped which leads to a crash because at that point it has left its group.


Code always built with -msse4.1 leads to crashes on older CPUs

Since vvenc seems to always set various CPU feature compiler options unconditionally (only checking if the compiler understands them), this leads to the generated code to crash near immediately on any CPU that does not support AVX2.
See also https://github.com/BtbN/FFmpeg-Builds/issues/411
The issue is made even worse by the use of static initializers like https://github.com/fraunhoferhhi/vvenc/blob/0c2c21eba8b336a273e7dc6e5e7fc0a95e8c5fcc/source/Lib/CommonLib/Buffer.cpp#L500
So even if for example an ffmpeg user doesn't even want to do anything with vvenc, ffmpeg will crash instantly on startup, since the static initializer runs and was generated with advanced simd instructions by gcc.
What confuses me a bit about this is that there's clearly some degree of runtime simd level detection in https://github.com/fraunhoferhhi/vvenc/blob/master/source/Lib/CommonLib/x86/InitX86.cpp, but it'll be mostly useless if the code generated by the compiler itself uses avx2 everywhere.
A possible workaround to at least prevent the crashing static initializers would be to build specifically those with a generic arch, by attaching some compiler attribute or moving them to their own file or something.

Actually, the -mavx2 flag is only used for objects with code that should be called for AVX2 supporting CPUs, only. How exactly do you build VVenC?
Can you please try if the problem is solved by disabling link-time optimization (add -DVVENC_ENABLE_LINK_TIME_OPT=0 to the cmake call). We've had problems before with AVX2 code leaking to other objects due to link-time optimization.

Hmm, very interesting.
The static initializer for g_pelBufOP  just sets some function pointers to the default C implementations of several functions. So, actually no need for the compiler to emit any SIMD code there.
The Buffer.cpp file is compiled without -mavx2, but with -msse4.1 . Are you sure the problematic CPU is only missing AVX2 support or could it also be missing support of SSE4.1?

I didn't actually check which extension the instruction(pinsrq) belongs to. It's indeed SSE4.1 and not anything AVX.
The user reporting this is using an old Phenom II CPU, so either extension is missing there.
I tried setting some compiler attributes on the static initializer, in an attempt to stop the compiler from emitting any advanced instructions, but with no success.
Moving the static initializers(There is at least one other one in TrQuant_EMT.cpp) to their own file and compiling it them with minimal instruction flags would be an option, but it'd also be relatively involved due to needing to access all the other functions.

Ok, now it all makes sense. We never thought anybody would use such an old CPU to encode VVC, so we took SSE4.1 as given. But it's clearly a problem if these instructions are in the static initializers.
A quick workaround could be to add the function attribute __attribute__(( target( "no-sse" ) )) to the function called by the static initializer. Unfortunately, I don't think we have access to such old machines to debug the problem.
Could you please try if adding the attribute like this in Buffer.h:78 solves the issue for this specific location?
  PelBufferOps() __attribute__(( target( "no-sse" ) ));

This would need to be done for all static initialization code, but if it stops crashing in PelBufferOps(), we know we are on the right path.
A long term fix could be getting rid of all the static initialization, but I think that needs some more work.

I've managed to get past the Buffer.cpp initializer, but it does not work properly with the Rom.cpp one sadly.
Here's what I have tried: https://github.com/fraunhoferhhi/vvenc/compare/master...BtbN:vvenc:fix_global_init
No matter what I set there, it keeps generating some instructions from the sets that are explicitly disabled, like for example pshufb for the int16_t rho = line.

I've given up on trying to stop gcc from emitting sse instructions.
So instead I just got rid of static initializers: https://github.com/BtbN/vvenc/commit/f3ae9d63397eb47327e53915e143596c0e50947d
Not the prettiest, but it does work and stops the crash on ffmpeg startup.

I guess we also add the -msse4.1 because its mandated on x86_64 architectures. We could remove it for 32-bit builds. It would require code-changes at a few points where inline SIMD is used (it would not be used at runtime, but cause compilation failures if the -msse4.1 is removed during compilation). I will try and prepare something soon.

SSE4.1 is not mandated by amd64/x86_64, only SSE2 is.
According to gcc feature levels, sse4.1 and sse4.2 don't appear until v2.


Update to v0.14.0-rc3

Backlinking to purescript-contrib/governance#35

This is blocked by the js-uri repo issue and purescript/purescript-integers#42


Add instant event compresss/decompress

Test result：

OS:  macOS Monterey 12.3.1
make lint

Success: no issues found in 24 source files

make test

Failed case: test_sanitize_function_name, test_use_external_processor
Blocked case: test_attach

But I don`t think my modification will affect the above functions.

It seems PyObject_JsonDumps has a memory leak issue
since PyUnicode_AsUTF8(ret) returns the address of string in PyUnicodeObject, Py_DECREF(ret) will release the memory

since PyUnicode_AsUTF8(ret) returns the address of string in PyUnicodeObject

My commit can compress and decompress event instant correctly. I have some doubts about the correctness of this statement. I didn't see a similar description in the python documentation. Could you tell me the source of this statement?

Hi, sorry it took so long to take a look at your PR. The reason was because #278 was also working on compression features and having two PRs probably makes it more difficult.
As the other PR is merged, we can take a look at this now. Overall the code quality is good. However, you probably need to rebase on the current trace-log-compressor branch and fix the conflict.
An important change was that now json library is imported and globally available. It could probably make your life easier to dump json strings. You can refer to the existing code.
If you are still willing to work on this, after you rebase and update your PR, I'll do a code review.

It is not my intention to close this PR. I will submit a new PR later.


Import fails on MacOS with Node 12

I'm unable to use ganache-core on MacOS with Node 12. I seem to have hit a combination of #297 (optional depencency on scrypt is not so optional) and https://github.com/barrysteyn/node-scrypt/issues/192 (scrypt doesn't and will never work on MacOS and Node 12).
Expected Behavior
When I import ganache-core, I expect no errors.
Current Behavior
I see the following error:
Error: Cannot find module 'scrypt'
Require stack:
- /Users/mark/Development/ganache-core/node_modules/web3-eth-accounts/node_modules/scrypt.js/node.js
- /Users/mark/Development/ganache-core/node_modules/web3-eth-accounts/src/index.js
- /Users/mark/Development/ganache-core/node_modules/web3-eth/src/index.js
- /Users/mark/Development/ganache-core/build/ganache.core.node.js
- /Users/mark/Development/ganache-core/index.js
etc..

Possible Solution
Updating ethereumjs-wallet and web3 to the latest versions should remove the dependency on scrypt.
Steps to Reproduce (for bugs)
Luckily the problem also manifests itself when running the unit tests of ganache-core, so the steps to reproduce are simple:

Checkout ganache-core on a Mac with Node 12
yarn
yarn build
yarn test

Context
I use ganache-core as a web3 provider in Truffle for testing.
Your Environment

Version used: latest develop (cba166610008262266a60908d7ab4eb20fd856be)
Environment name and version: Node 12.1.0
Operating System and version: MacOS Mojave
Link to your project: https://github.com/sustainablesource/sustainablesource

Thanks for this! These abandoned native transitive deps have been quite the headache for many projects here at Truffle!

@markspanbroek Are you sure that upgrading ethereumjs-wallet to the latest version will remove the dependency on Scrypt? Because I see that they still list Scrypt.js as a dependency: https://github.com/ethereumjs/ethereumjs-wallet/blob/master/package.json#L46

@adrianmcli that's it exactly. Updating to scrypt.js 0.3.0 marks the native scrypt dependency as optional. With Node 12.1.0 the native scrypt doesn't compile, but as long as it's optional that doesn't matter.

@markspanbroek noted, I'll bring this up to the team and hopefully @davidmurdoch can prioritize this.

@markspanbroek This should be fixed in ganache-core v2.5.7 although it was absent from the release notes (fixed now).  Can you test it out and reopen this issue if it still doesn't work?

Thanks! Works like a charm.

Still getting errors on ganache-cli, since it has a devDep on "scrypt": "6.0.3",. Ideas?

@liamzebedee, we don't currently develop ganache-core or ganache-cli using node 12 currently. If you want to work on ganache-cli or ganache-core itself use node v10 or v8. Otehrwise npm install ganache-cli@latest -g or npm install ganache-core@latest shouldn't fail on node 12 though.

@davidmurdoch ganache-cli still has a devDependency on scrypt, so it doesn't work with node 12 unfortunately.

@liamzebedee. Yes, but because it is a devDependency it won't be installed when you run npm install ganache-cli -g. Are you experiencing otherwise?

the latest version of ethereumjs-wallet fixes this problem.


Add a netlify.toml config file for netlify hosting.

Is your feature request related to a problem? Please describe.
Add a netlify.toml config file for netlify hosting of our react app frontend.
Describe the solution you'd like
Setup redirect and rewrite rule for the react app and include them in the netlify.toml file.
Additional context
See this for more information.

I'd love to work on this issue. Please assign it to me.

Hi @heisastark!!! Glad that you want to contribute to our project. ✨


Error in running lammps with pair-nequip

Thank you for distributing such an exciting project to the society.
I have been trying using nequip and came up with the trained potentials.
Now I wanted to run the multi-scale simulation with pair_nequip potential in lammps.
I compiled according to the instruction, but keep getting an error like below:
Total # of neighbors = 27926
Ave neighs/atom = 57.108384
Neighbor list builds = 2
Dangerous builds = 0
Setting up Verlet run ...
  Unit style    : metal
  Current step  : 76
  Time step     : 0.001
Per MPI rank memory allocation (min/avg/max) = 3.059 | 3.059 | 3.059 Mbytes
Step PotEng KinEng TotEng Temp Volume
      76     -2010460    48.760029   -2010411.2          773        42875
corrupted double-linked list
[1]    112200 abort (core dumped)  lmp_nequip -in system.in

Like shown above, the error is raised right after the minimization step. The full log and input LAMMPS script can be found here.
Thank you for reading.

Hi,
From your minimization output
Force max component initial, final = 23.158852 44838200.0

it looks like the minimization fails badly. Try to look at the resulting structure, and maybe do a dump at every minimization step.


Didn't Receive a 2xx response.

Hermes is failing to connect to pandora. Screenshot below.
http://o7.no/yfM4oy

I'm also having this issue

Confirming the issue, as well.
Version: 1.0.19 (190)
OS: 10.6.8 with 64 bit extensions

hermes version: 1.0.19 (190)
os x version: 10.7.3

Apparently Pandora changed some things again, 1.0.20 should work!

Beautiful! Thanks so much


Allow installing packages from private indexes

Poetry allows dependencies to be installed from private package indexes (https://python-poetry.org/docs/repositories/#private-repository-example). This PR passes the extra indexes and credentials from poetry to pip so that they can be properly installed in nox.
Includes new and updated unit tests, and an integration test for private sources.

@cjolowicz Is this something you can review? Can you suggest another reviewer? The contributing guide was a little unclear on that point :)

I believe this is related to #887.

#887

Bumping this @cjolowicz

Does this dump credentials in clear into the generated constraints file under .nox?

Does this dump credentials in clear into the generated constraints file under .nox?

Yup, this adds --extra-index-urls inside .nox/<session>/tmp/requirements.txt.
In case you believe that's not always wanted, I could make it so this PR's code is disabled by default and only ran under a certain argument passed to export

Does this dump credentials in clear into the generated constraints file under .nox?

Yup, this adds --extra-index-urls inside .nox/<session>/tmp/requirements.txt.
In case you believe that's not always wanted, I could make it so this PR's code is disabled by default and only ran under a certain argument passed to export

I'm also happy to make revisions. If we want to go down the route of making the behavior optional, we'd want to plumb the option all the way to the session decorator so users can trigger the new behavior. I can definitely see the argument for doing so.

Sorry but dumping secrets in the generated requirements file is not a behavior I want to support, even as an option. Please export the secrets as an  environment variable for pip instead.

Sorry but dumping secrets in the generated requirements file is not a behavior I want to support, even as an option. Please export the secrets as an environment variable for pip instead.

Ah, that does sound like a better approach, if a little less straightforward to implement. I'll make the changes.

I don't think nox-poetry should handle credentials at all. You can export the secrets as environment variables in CI.

You can, but I find that suggestion unsatisfying. Setting environment variables is not the recommended approach for using private sources with poetry, so users who follow the poetry instructions are likely going to have a tough time. Additionally, there's no way to set environment variables that will be used by both poetry and nox - the two require different environment variable names with different formats (poetry wants you to set POETRY_HTTP_BASIC_<SOURCE>_USERNAME=<username> and POETRY_HTTP_BASIC_<SOURCE>_PASSWORD=<password>, while to get nox to work you have to set PIP_EXTRA_INDEX_URL=https://<username>:<password>@<source_url>).
To me, the great thing about nox-poetry is that it pretty much just works. Requiring the user to set specific environment variables seems to break that.
While I do understand your concerns about dumping credentials to a file, I don't really see the issue with automatically populating those environment variables inside the nox session?


Some landcover files can not be found

First of all, thank you for this awesome project, this was exactly what I was looking for the whole time!
When the shapes are being read to write the .mbtiles the following error occurs. Is this to be expected or did the file locations change?

Unable to open landcover/ne_10m_antarctic_ice_shelves_polys/ne_10m_antarctic_ice_shelves_polys.shp or landcover/ne_10m_antarctic_ice_shelves_polys/ne_10m_antarctic_ice_shelves_polys.SHP.
Unable to open landcover/ne_10m_glaciated_areas/ne_10m_glaciated_areas.shp or landcover/ne_10m_glaciated_areas/ne_10m_glaciated_areas.SHP.

Hi Haves1001 - thanks for checking this out - glad I could help!
That is currently expected behaviour. Tilemaker looks for the urban/glaciated/antarctic shape files in two places.
See just above where the relevant shape files are loaded in.
Reading .shp urban_areas
Reading .shp ice_shelf
Reading .shp glacier

I may add the same files in both locations just to make the error go away, in the future, however that will not change the planet.mbtiles output.


Code example component

@AaronCoplan what are your thoughts on this? Might work nicely with documentation stuff too?
It's a component to wrap other components that renders it's child components as normal but with an additional button to reveal highlighted source code.
Usage:
<ComponentDemo>
  <Button color='primary'>Hello World</Button>
</ComponentDemo>

I might also just split this out into its own package so not clogging up the example with it and it's dependencies

@jonthomp I think it's fine if it clogs up the example - after all I doubt anyone will actually be using the example package but if you want it to be its own package that works too!  Just a matter of opinion

@AaronCoplan I'll just leave it here, easier to update it to our needs. CSS is now in own file and put them in own folder


Idea: Let DJ play disc on his workstation randomly

DJ will play different music based on their mood, relationship, health etc.
Play some Epic Music when pillage has comes, and Celebrating when pillage has defeated.
Make village(rs) more alive.

Hi. Thanks for idea, but i will not develop this mod further. Sorry.
I would like to spend efforts on some new if i will have inspiration.
I have some my own ideas for new mods.

Thank you for your reply. It's a pity though, but I'm glad to see your new mods in future.