Fixed typo: latancy to latency

Saw this in your latest video on winutil and it bugged me. So here I am. There's a chance you may reject this but at least I tried.

Thanks I'm terrible at spelling lol.


module declares its path as github.com/xdg-go/scram but was required as: github.com/xdg/scram

Hi,
URL seems to be changed. How can i solve in my projects?
go get<EMAIL_ADDRESS>updating to
<EMAIL_ADDRESS>parsing go.mod:
module declares its path as: github.com/xdg-go/scram
but was required as: github.com/xdg/scram
Thanks

I've the same issue.

I've had this pop up in my build upgrades as well

For anyone Googling, looks like my issue was triggered by mongo-go-driver; and looks like it'll be addressed in the 1.15.1 release.
https://github.com/mongodb/mongo-go-driver/pull/624

I've also done a retrospective on what happened: https://xdg.me/i-broke-the-mongodb-go-driver-ecosystem/


Implement PublicKeyCredentialHint for WebAuthn L3

Implements WebAuthn L3 PublicKeyCredentialHints:

https://www.w3.org/TR/webauthn-3/#enum-hints
https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialcreationoptions

When the Hints property is set on CredentialCreateOptions, AuthenticatorSelection.AuthenticatorAttachment will be set to CrossPlatform to match the spec for backwards compatibility. By default the Hints property will be null.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Project coverage is 74.32%. Comparing base (9ad038b) to head (92e054d).

Files
Patch %
Lines

Src/Fido2.Models/CredentialCreateOptions.cs
0.00%
6 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #524      +/-   ##
==========================================
- Coverage   74.49%   74.32%   -0.17%
==========================================
  Files          98       98
  Lines        2639     2645       +6
  Branches      445      448       +3
==========================================
  Hits         1966     1966
- Misses        570      576       +6
  Partials      103      103

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


when building and running wgpu I get errors looking for Metal adapter.

When attempting to run the wgpu on m1 mac example I encounter this error. I know it has to do with selecting the adapter and I'm not sure why it isn't finding Metal ..
cargo xcodebuild run                                                                                ✹    Compiling wgpu v0.1.0 (/Users/gennaroschiano/Documents/GitHub/cargo-xcodebuild/examples/wgpu) error[E0599]: no associated item named Metalfound for structBackendsin the current scope   --> examples/wgpu/src/framework.rs:89:86    | 89 |     let backend = wgpu::util::backend_bits_from_env().unwrap_or_else(wgpu::Backends::Metal);    |                                                                                ^^^^^ associated item not found inBackends`
For more information about this error, try rustc --explain E0599.
error: could not compile wgpu due to previous error
Compiling wgpu v0.1.0 (/Users/gennaroschiano/Documents/GitHub/cargo-xcodebuild/examples/wgpu)
error[E0599]: no associated item named Metal found for struct Backends in the current scope
--> examples/wgpu/src/framework.rs:89:86
|
89 |     let backend = wgpu::util::backend_bits_from_env().unwrap_or_else(wgpu::Backends::Metal);
|                                                                                ^^^^^ associated item not found in Backends
For more information about this error, try rustc --explain E0599.
error: could not compile wgpu due to previous error
Compiling wgpu v0.1.0 (/Users/gennaroschiano/Documents/GitHub/cargo-xcodebuild/examples/wgpu)
error[E0599]: no associated item named Metal found for struct Backends in the current scope
--> examples/wgpu/src/framework.rs:89:86
|
89 |     let backend = wgpu::util::backend_bits_from_env().unwrap_or_else(wgpu::Backends::Metal);
|                                                                                ^^^^^ associated item not found in Backends
For more information about this error, try rustc --explain E0599.
error: could not compile wgpu due to previous error
[2022-07-04T15:42:38Z ERROR mobile_device] Value from property DeviceClass is null
thread 'main' panicked at 'called Option::unwrap() on a None value', /Users/gennaroschiano/.cargo/registry/src/github.com-1ecc6299db9ec823/mobile-device-0.1.0/src/lib.rs:115:76
stack backtrace:
0: rust_begin_unwind
at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:584:5
1: core::panicking::panic_fmt
at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/panicking.rs:143:14
2: core::panicking::panic
at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/panicking.rs:48:5
3: mobile_device::get_device_list
4: cargo_xcodebuild::xcodebuild::Xcodebuild::find_device
5: cargo_xcodebuild::xcodebuild::Xcodebuild::build
6: cargo_xcodebuild::main`
thanks for any help in advance!

I am able to get the xcode project to work and do somewhat of a build... but it is very janky... this is the error I get while building in xcode after a crash
2022-07-04 11:57:40.639920-0400 wgpu_xcodebuild_example[34014:587671] Metal GPU Frame Capture Enabled 2022-07-04 11:57:40.640017-0400 wgpu_xcodebuild_example[34014:587671] Metal API Validation Enabled Using Apple iOS simulator GPU (Metal) MTLValidateFeatureSupport:4849: failed assertion Sampler Compare Function is not supported on this device'
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/gennaroschiano/Library/Developer/Xcode/DerivedData/wgpu_xcodebuild_example-gngjvhffzynrakclzoiqlkarsshp/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMTLCapture.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/gennaroschiano/Library/Developer/Xcode/DerivedData/wgpu_xcodebuild_example-gngjvhffzynrakclzoiqlkarsshp/Build/Products/Debug-iphonesimulator
MTLValidateFeatureSupport:4849: failed assertion Sampler Compare Function is not supported on this device' CoreSimulator 802.6 - Device: 13PROMAX (B563A558-9AD9-45F3-BDDC-86780B62DF05) - Runtime: iOS 15.4 (19E240) - DeviceType: iPhone 13 Pro Max (lldb)

@gschian0 Could you rerun you test with wgpu 0.13.2? What about release build? Is it works?

Sure! Will keep
You posted.


Doc comment typo fixes

I love Rhino but occasionally see Intellisense comments with typos, usually in the constraints.
I wanted to give back and clean up the comments a bit for grammar and spelling. Please keep up the good work!

Thanks


refactor(aspect-ratio): update component

Description

Linked Issues
cc #358
Additional context

[ ] https://github.com/oku-ui/primitives/pull/426

build this fixed pr

Thank you :heart:


[WIP] OpenH264 encoder

Multistage docker build of cvat/server
Use of OpenH264 instead of libx264
Ability of source code installation for Ubuntu OSS packages
Motivation and context

How has this been tested?
Manually + CI unitests
Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
- [ ] I have updated the documentation accordingly
- [ ] I have added tests to cover my changes
- [ ] I have linked related issues (read github docs)
- [ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Coverage decreased (-0.007%) to 62.123% when pulling fd394f75dfff3110f5c81f52adfc01f9744479c1 on az/openh264_encoder into 4edabdb3ed34b0902140493f78634770936047a9 on develop.


[1Password] Passwords not displaying

Extension
https://www.raycast.com/khasbilegt/1password
Description
I have added the extension and chosen 1Password 7, but none of my items show up when I run the "My Passwords" command.
Steps To Reproduce
Install 1Password extension.
Selected 1Password 7 from settings
Run the command "My Passwords"
Nothing displays
Current Behaviour
No response
Expected Behaviour
No response

I'm experiencing this issue as well

Yes me too. Would love to be able to use this extension again! Thanks for looking into this.

Hello guys, Did you guys install the 1password CLI?

Hello guys, Did you guys install the 1password CLI?

Yes I did:

It just doesn't seem to be recognized by the extension.

Could you please check where it is installed with the "where op" and verify if the path is correctly configured on the extension settings

Glad I could help!
@raycastbot close this issue


Launch Terminal Session from DBeaver

In other SQL IDEs, there is the ability to access the target database system via a terminal session. The feature I would like DBeaver to have is the ability to launch a terminal session so server-side files can be edited from within the tool.
The solution I am looking for is the ability to right-click on the connection and have an open to "Open via Terminal" and it would leverage that connection's information to spawn a putty session.
My current working alternative is to have DBeaver and a Putty open at the same time and connected to the same system, but I'd like to use DBeaver for both activities.

Hello @paid-geek,
You can install an extension that provides terminal support inside Eclipse:
https://marketplace.eclipse.org/content/tm-terminal
Although we don't have any integration to sync hosts, you can add them manually.
Please let me know if that solves your issue.

@ShadelessFox - This is great! Probably not what paid-geek wants, but still quite great!

Sorry for the long delay, installing the extension fits the bill. I agree that this issue can be closed.


⚠ Buyfrom.io has degraded performance

In 99026ad, Buyfrom.io ($BUYFROM_IO_URL) experienced degraded performance:

HTTP code: 504
Response time: 29927 ms

Resolved: Buyfrom.io performance has improved in 8538ded.


feat: add circular overview + detail example

Adds Overview + Detail example.

I'm having some issue with the linking here @sehilyi. I'm curious if this is something similar to the issue identified in #37...

This looks indeed an issue with overlay in Gosling. Similar to #37, when I move data to the parent, brushes are properly shown. Let me closer look at Gosling.

Up to you whether or not we can/should merge. It seems like something we should resolve outside of this PR, since it will be in gosling.js.


Drop creating RPM packages and update docs

Refs: XRDCAT-8

Yes. BUILD.md file should be updated with Docker related documentation in the next PR.
This PR is created separately so that PR #39 can be built.


Cached payload data is returned as base64 string

I got some JSON Decoding crashes while trying to read the payload for my experiments variants while the app is offline. For some reason it's returning as a base64 string.
When the user has connection it doesn't happen.
Example:
returned payload: eyJwYXlsb2FkIjp7InVzZV90b2RheV9yZWRlc2lnbiI6dHJ1ZX19
base64 decoded: {"payload":{"use_today_redesign":true}}
Expected payload (this is returned when the app is online):
([String : Any?]) 1 key/value pair {
  [0] = {
    key = "use_today_redesign"
    value = true
  }
}

Hi @AlTavares, thanks for reporting. What version of the SDK are you using?

1.12.0

fixed in v1.12.2


decreased number of X

From today's phenotype editors call (https://docs.google.com/document/d/1WrQanAMuccS-oaoAIb9yWQAd4Rvy3R3mU01v9wHbriM/edit?usp=sharing)
How do we handle the relationship between decreased number of X and decreased number of a subtype of X (say Xa) when it is possible that Xa could be transformed into Xb such that we have a decreased number of Xa but a normal total number of X.
See for example http://www.informatics.jax.org/allele/genoview/MGI:5789903
Mice have a transformation of L6 to S1 resulting in a reduced number of lumbar vertebrae but not a reduced number of TOTAL vertebrae.
Propose that we modify the definition of decreased number of X to make it clear that this is a decrease in either the total number of X or the number of some subset of X even if the total number is unchanged. This clarification would fit with how these terms are also being used.
Also we need to fix the relation between absent incisors and the absent lower and upper incisors terms as this is breaking our current agreed upon pattern of relations for absent terms.

Also, should we be following the pattern proposed by David where absent lower incisor and absent upper incisors both have the child absent incisors? Logically this makes sense since if you are lacking all incisors you must also be lacking the upper and lower incisors. Currently we are not doing this.


feature: remove delay when clearing all notifications

When having 50+ notifications, clicking the clear all button takes some time before it does the job.
This was because we were adding a delay with settimeout of 100 ms .
This makes the clearall instant which is a better UX similar to other implementations like in swaync

I'm not a fan of the delay either ideally it should be MUCH lower but this is something you have to do to prevent crashes in AGS. Notice the clearDelay property on the AGS documentation https://aylur.github.io/ags-docs/services/notifications/.
For some users this number has to be even higher. If we want to remove it, we can add an option to let the user define the delay amount and add a warning below the settings that "Setting this value too low may crash AGS".

Looks like this PR still needs some work. I will try to add in the option by tomorrow

Updated the setting widget to include the delay with the initial value as 100 ms.

That's for the wonderful contributions! :heart:


reakit-system error: Cannot find module 'reakit/Box/Box'

🐛 Bug report
Current behavior
Following the migration guide from v0 to v1 installing<EMAIL_ADDRESS>as reakit-next. reakit-system throws the following error:
TypeScript error in /Users/andresrodriguez/CFS/roadside-app/node_modules/reakit-system/src/createComponent.ts(3,30):
Cannot find module 'reakit/Box/Box'.  TS2307

    1 | // TODO: Refactor
    2 | import * as React from "react";
  > 3 | import { BoxHTMLProps } from "reakit/Box/Box";
      |                              ^
    4 | import { As, PropsWithAs } from "reakit-utils/types";
    5 | import { splitProps } from "reakit-utils/splitProps";
    6 | import { memo } from "./__utils/memo";

Steps to reproduce the bug

Follow the migration guide and use v 1.0.0-beta.5 as the version for reakit-next

Expected behavior
Should not throw an error
Environment
    reakit: ^0.16.0 => 1.0.0-beta.5
    styled-components: ^4.3.2 => 4.3.2
    typescript: ^3.5.2 => 3.5.2

Hi @AndresRodH! Thanks for opening the issue.
I'll need some time to dig into this, but for now you can try to play with Yarn resolutions. Maybe the following works:
"resolutions": {
  "reakit-system/reakit": "1.0.0-beta.5"
}

You can also rename the old reakit version to something else and keep the new one intact, but this will require more work unfortunately.

@diegohaz Unfortunately yarn resolutions didn't work :( I can always wait until this is resolved to migrate to v1.

@diegohaz Thanks for getting into this so quickly! Do you have an estimate for a release that includes this fix? I am getting some work ahead by manually adding the BoxHTMLProps type to reakit-system

Next release will be this weekend. Sorry for the delay.

Don't be! Thanks for this great lib :)


82 SPIDER Illinois Labor Relations Board

This is a completed spider and test (#82) for the Illinois Labor Relation Board events page.  It's a simple page that just lists the next upcoming meeting for each of the three boards.
There's little structure on the page to work with, so the scraper may be a bit fragile.
Questions:

How do we handle undefined end_times? Set to None or estimate a duration
I could use some more guidance on classification. It seems like this page only lists confirmed meetings, but most of the other scrapers default to tentative
Is there a taxonomy of meeting types? I set these to "board meeting", but I can change it to None

One last thing: ./tests/test_ilrb.py:29:29: E711 comparison to None should be 'if cond is None:'
I think that's template cruft and I'll just fix it myself :)
Thanks! One more down.


Mechanical exchanger conversion destroy currency

Describe the Bug
When we change the exchange rate in the config to a smaller number like 8 for my case, the mechanical exchanger doesn't adds ingots to output.
For exemple if I place a gold ingot, it transforms it into 8 iron ingots. But if i don't touch the output and convert an other gold ingot, it's consumed but doesn't give any more iron ingot, the output stays at 8.
There also is a small visual bug if the client have a different number than the server in exchange rate, it first shows the client number and then the server one.
Reproduction Steps

Edit missions/config.json by setting "exchange-rate": "64" to "exchange-rate": "8"
Go in a singleplayer or multiplayer world
Place down a Mechanical Exchanger
Power it counter clockwise
Put two gold ingot inside
Notice that your second gold ingot just vanished

Expected Result
To have 16 iron ingot, then 24, etc. and stop converting when the output is 64
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
Macos (for the client but idk for the server)
Mod Version
0.2.10
Create Mod Version
0.5.1f
Minecraft Version
1.19.2
ModLoader and Version
Forge 43.3.5
Other Mods
No response
Additional Context
No response

I fixed the bug, but the client-server unsync issue might be trickier to fix


TMFS: Add setting Title field did not carry over

I added the title, but it did not carry over when I submitted

Hmm. The title should be displayed to the left. Will investigate.

I've updated a thing or two for the 'add setting' gubbins. Which might have fixed this, without knowing exactly what the cause was. Could you try and re-create, and if you can re-create, note down the steps?


LinkedIn API does not return a person who created the Ad Account

Describe the bug
LinkedIn API does not return a person who created the Ad Account.
To Reproduce
Sample request:
GET /v2/adAccountsV2?q=search& start=0& count=100 HTTP/1.1
Host: api.linkedin.com

Sample response:
{
    "elements": [
        {
            ...
            "changeAuditStamps": {
                "created": {
                    "time":<PHONE_NUMBER>000
                },
                "lastModified": {
                    "time":<PHONE_NUMBER>191
                }
            },
            ...
        }
    ],
    "paging": {
        "total": 1,
        "count": 100,
        "start": 0,
        "links": []
    }
}

Expected behavior
As per sample response (see below), actor field should be set to an URN of a person who created the account.
Sample response:
{
    "elements": [
        {
            "changeAuditStamps": {
                "created": {
                    "actor": "urn:li:person:T1xE4HItnJ",
                    "time":<PHONE_NUMBER>000
                },
                "lastModified": {
                    "actor": "urn:li:unknown:0",
                    "time":<PHONE_NUMBER>534
                }
            },
            ...
    ],
    "paging": {
        "count":<PHONE_NUMBER>,
        "links": [],
        "start": 0,
        "total": 56
    }
}

Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@abarron-linkedin Can you take a look at this issue?


Support deregister field in Check.script

I think you've pushed way to much commits here. Missing a rebase on upstream?

It is now fixed


Make date format configurable

Extract the date format into a configurable translation

Thank you for contributing!

@longfangsong sure thing :D thank you for merging 👍🏻


Create how-to's showing how to use the various parts of the new QPD package

Closing this, as we do not want to feature the QPD package in early releases, as it is susceptible to breaking changes. For early releases, we will start out with docs focused on the circuit cutting workflow.


change the hr style in footer

I want to work on this issue

assigned.

I want to work on this issue, @Sayak-Bhunia can you assign me this issue
assigned.

please try to show me the first the design you will be building.

This is the design
large screens

small screens

It's good but ty to use the X logo instead of Twitter Bird logo if possible otherwise this looks good though.

Okay, Here's the update:

Okay, Here's the update:

Great 👍🏻

merged.
issue closed.


Has anyone managed to install it on Windows?

Hi, everyone,
I am trying to install Spimagine or Biobeam on Windows, from Anaconda prompt, without any success.
Did anyone manage this?
My system is Windows 7, Anaconda 64 bit, Python 2.7, OpenCL C 2.0, graphics card Intel HD 520 (CPU, not GPU). Can it work on such configuration in principle?
Thanks!
PS: The errors are:
pip install spimagine
...
    C:\Users\user1\AppData\Local\Programs\Common\Microsoft\Visual C++ for Pyth
on\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DPYGPU_PACKAGE=
pyopencl -DPYGPU_PYOPENCL=1 -DPYOPENCL_USE_SHIPPED_EXT=1 -Isrc/c_wrapper/ -Ic:\u
sers\user1\appdata\local\continuum\anaconda2\include -Ic:\users\user1\appdat
a\local\continuum\anaconda2\PC /Tpbuild\temp.win-amd64-2.7\Release\pyopencl._cff
i.cpp /Fobuild\temp.win-amd64-2.7\Release\build\temp.win-amd64-2.7\Release\pyope
ncl._cffi.obj -std=gnu++11
    cl : Command line warning D9002 : ignoring unknown option '-std=gnu++11'
    pyopencl._cffi.cpp
    C:\Users\user1\AppData\Local\Programs\Common\Microsoft\Visual C++ for Pyth
on\9.0\VC\Include\stdint.h(82) : error C2371: 'int8_t' : redefinition; different
 basic types
            build\temp.win-amd64-2.7\Release\pyopencl._cffi.cpp(221) : see decla
ration of 'int8_t'
    c:\users\user1\appdata\local\temp\pip-install-pxw3ou\pyopencl\src\c_wrappe
r\clinfo_ext.h(10) : fatal error C1083: Cannot open include file: 'CL/cl.h': No
such file or directory
    error: command 'C:\\Users\\user1\\AppData\\Local\\Programs\\Common\\Micros
oft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status
 2

and
pip install biobeam
...
    C:\Users\user1\AppData\Local\Programs\Common\Microsoft\Visual C++ for Pyth
on\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DPYGPU_PACKAGE=
pyopencl -DPYGPU_PYOPENCL=1 -DPYOPENCL_USE_SHIPPED_EXT=1 -Isrc/c_wrapper/ -Ic:\u
sers\user1\appdata\local\continuum\anaconda2\include -Ic:\users\user1\appdat
a\local\continuum\anaconda2\PC /Tpbuild\temp.win-amd64-2.7\Release\pyopencl._cff
i.cpp /Fobuild\temp.win-amd64-2.7\Release\build\temp.win-amd64-2.7\Release\pyope
ncl._cffi.obj -std=gnu++11
    cl : Command line warning D9002 : ignoring unknown option '-std=gnu++11'
    pyopencl._cffi.cpp
    C:\Users\user1\AppData\Local\Programs\Common\Microsoft\Visual C++ for Pyth
on\9.0\VC\Include\stdint.h(82) : error C2371: 'int8_t' : redefinition; different
 basic types
            build\temp.win-amd64-2.7\Release\pyopencl._cffi.cpp(221) : see decla
ration of 'int8_t'
    c:\users\user1\appdata\local\temp\pip-install-wkccr_\pyopencl\src\c_wrappe
r\clinfo_ext.h(10) : fatal error C1083: Cannot open include file: 'CL/cl.h': No
such file or directory
    error: command 'C:\\Users\\user1\\AppData\\Local\\Programs\\Common\\Micros
oft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status
 2

    ----------------------------------------
Command "c:\users\user1\appdata\local\continuum\anaconda2\python.exe -u -c "im
port setuptools, tokenize;__file__='c:\\users\\user1\\appdata\\local\\temp\\pi
p-install-wkccr_\\pyopencl\\setup.py';f=getattr(tokenize, 'open', open)(__file__
);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'ex
ec'))" install --record c:\users\user1\appdata\local\temp\pip-record-ms6qyf\in
stall-record.txt --single-version-externally-managed --compile" failed with erro
r code 1 in c:\users\user1\appdata\local\temp\pip-install-wkccr_\pyopencl\

just a long shot here... but did you try installing spimagine via conda?: conda install -c talley spimagine
it may correctly install pyopencl for you, and if you can get spimagine to import correctly, then you can follow it up with pip install biobeam.

Hi Nikita,
(I'm replying on my phone, sorry for the brevity.) You need to install the
Microsoft Visual C++ compiler for Python. Windows exit status 2 means that
it cannot be found.
I hope this helps,
Kyle

... here are some hints, which might be very useful to include in the installation instructions for biobeam and other python packages on Windows 10, 64 bit, NVIDIA Cuda (with Visual Studio Community edition 2017) already installed:
if "pip install biobeam" fails with something like
"CL/cl.h" not found
The (newer) NVIDIA distributions include OpenCL, but unfortunately this is not known to the Visual Studio c-compiler cl.exe
To change this, do the following:

check if the variables "INCLUDE" and "LIB" exist. If yes, add the paths below appended with a preceding ";"
edit environment variables  (in German: "Umgebungsvariablen für dieses Konto bearbeiten")
click on "new" and for each of the following variables:
name: INCLUDE
value: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include

name: LIB
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64
After this you can run
pip install biobeam
in Anaconda. You may have to run "anaconda command prompt" in Administrator mode, since it otherwise has no rights to write to the C:/Program files" path, which it needs to.
To do this: right-click "anaconda command prompt" and "show directory" (or alike) and then right click "run as administrator".

Thank you @tlambert03, @kmdouglass and @RainerHeintzmann , I am slowly going through all suggestions and will report when things start working. I appreciate your tips!

Tried all the tips listed above, nothing helps, same errors pop up. Failed building wheel for pyopencl verdict. I guess this is another great program which I cannot install on a Windows machine, due to lack of documentation. Very sad. Back to geometrical ray tracing in Python.

Are you aware, that you could also use the Linux/Ubuntu shell in Linux? Maybe that’s also worth considering if you just want to have an idea of how it works. Currently I don’t know about the OpenCL support, but maybe it works.

I think you're focusing on the wrong part of the error traceback. I was not quite right about the explanation for the exit status 2 error, but @RainerHeintzmann I think is spot on. According to the original traceback you get the status 2 error because the compiler cannot find the cl.h header file.
As a sanity check, can you search for this file on your system? If it exists and you get this error then it likely means that you do not have your include directories correctly setup in the call to the compiler. It may not necessarily be your fault, though, since these are sometimes defined in the package's setup.py.
Can you post your full error traceback from your second attempt at installing the package?
Finally, I highly recommend switching to Python 3, preferably 3.6 or higher. Python 2.7 is old, is missing a lot of great features that are in Python 3, and has a closely approaching end-of-life.

I just did some digging and it looks like the include directories are defined in pyopencl's setup.py, i.e. the problem is not that of biobeam's but rather pyopencl's.
You might be able to get an idea of what environment variables you need to set by taking a look for yourself: https://github.com/inducer/pyopencl/blob/7b5abf57a181646bdadeb1b9cb2090e6451a45c6/setup.py#L308

Some cl.h file is missing (cannot find it manually either), although cl.exe is found correctly:
c:\users\user1\appdata\local\temp\pip-install-e3s6zf_6\pyopencl\src\c_wrapper\clinfo_ext.h(10): fatal error C1083: Cannot open include file: 'CL/cl.h': No such file or directory   error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
errLog-biobeam-07_09_2018.txt

This seems to be a known issue when attempting to install pyopencl on Windows.

Forgot another caveat: Some CPUs don't support some OpenCL extensions that gputools/biobeam needs. You can check that by running if python -c "import gputools"runs without errors.


Fix style

This brings the code a lot closer in line with the unofficial Ruby style guide.

CC @porras — I am sure you can give me a +1 :D

:+1:


Alienware LightFX DLLs

The pre-requirement to have Alienware LightFX DLLs installed on your computer is invalid when AlienFX v1.0 and/or AlienFX v2.0 DLLs are not installed by the Alienware Command Center.  When these DLLs are not installed the alienfx-tools should provide them.

Looks strange for me, at both of my rigs (API 2.0 and API 1.0) it's installed into /windows/system32.
Anyway, good point, i'll add it into archive.
Also thank you to reveal a fact i forget to request enable 3rd-party access into AWCC.

I include DLL into 0.4.4, but looks strange - let me check deep how it possible to have AWCC without it. Maybe some old versions doesn't have it (i see this a year ago...).


Move the body of the AbstractKernel to sulu/sulu

We should have a DefaultKernel or something in sulu/sulu which contains all of the bundle instantiations. The standard edition kernel would then extend this class.
This will enable us to handle our bundle dependencies in the main library instead of client installations which may not get updated (who wants to merge and fix conflicts in their setups? especially when they do not understand the changes).
Users would then be able to extend a different class if for some reason they do not want a certain bundle enabled (or we could add a method to explicitly disable bundles).

I think it the methods in AbstractKernel should be just moved to SuluKernel. I also suggest adding special cache and log dirs if the environment is Vagrant (then it should be moved to /dev/shm) for better performance. Like the Sylius guys did it here https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/CoreBundle/Kernel/Kernel.php#L130-157

Probably makes sense. And I also like the vagrant solution from Sylius, I think we should do it the same way. /cc @philipheimboeck

+1

https://github.com/sulu-io/sulu-standard/issues/621

@chirimoya Doesn't the linked issue replace this one? We would remove the AbstractKernel there, won't we?

@danrot Not sure if it replaces, I think they are related.

I think they are related, too. However, do we really provide a prebuilt kernel for our users? That means that changing that kernel automatically changes all applications using that kernel. I think that's a bit risky.

I also think that makes less sense, if we change to a single kernel setup and stop pulling from sulu-standard. So I'd rather not do that anymore.

I don't really like the idea of having vagrant related stuff right in the kernel. It is a development detail. There are better ways for doing this IMO, which does not effect the application itself.


Problem when subscriber dispatch action

Hi! I have code, that has the same logic as the following:
'use strict';

var createStore = require('redux').createStore;
var watch = require('redux-watch');

function foo(state, action) {
    state = state || {a: null, b: {c: null, d: null}};
    switch (action.type) {
        case 'action1':
            return Object.assign({}, state, {
                a: 1,
                b: {
                    c: 2,
                    d: 3
                }
            });
        default:
            return state;
    }
}

function bar(state, action) {
    state = state || {};
    switch (action.type) {
        case 'action2':
            return Object.assign({}, state, action.data);
        default:
            return state;
    }
    return state;
}

function reducer(state, action) {
    state = state || {};
    return {
        foo: foo(state.foo, action),
        bar: bar(state.bar, action)
    };
}

var store = createStore(reducer);
store.subscribe(watch(store.getState, 'foo')(() => {
    // calculate some data
    var data = {e: [1,2,3], f: {}};
    store.dispatch({type: 'action2', data: data});
}));

store.dispatch({type: 'action1'});

And when I am using redux-watch I get Maximum call stack size exceeded error, but if i swap 14 and 15 lines in redux-watch it works fine. Am I using redux or redux-watch in wrong way, or it is a bug?

You're never handling action2, which would imply that you're modifying the state every time, but I'm not seeing that. What happens if you remove the redux-watch code?

Oh, sorry, I modified the example.

What happens if you remove the redux-watch code?

in my project, I use a fork of the redux-watch with swapped 14,15 lines, if I remove it, I will have Maximum call stack size exceeded again, because action1 dispatched and some subtree (foo) of the store changes, the subscriber do some work, than it dispatches action2 and another subtree (bar) changes, and the subscriber called again, but it shouldn't, because it is interested only in changes of the first subtree (foo).

any updates?

same issue. I have a route push when a certain state changes. it runs in a loop unfortunately.

Hmm. Ok. @gitim is your snippet above updated to reproduce this issue?

@jprichardson, yes

@gitim if you will use setTimeout/setImmediate in watch function, all will works:
store.subscribe(watch(store.getState, 'foo')(() => {
    // calculate some data
    setImmediate(function () {
        var data = {e: [1,2,3], f: {}};
        store.dispatch({type: 'action2', data: data});
    })
}));

but you're right, lines order should be changed https://github.com/jprichardson/redux-watch/blob/011300f80b543d45c2ad256829dd186ce00abd08/index.js#L14-L15
moreover, maybe will better call fn through setImmediate:
function watch (getState, objectPath, compare) {
  compare = compare || defaultCompare
  var baseVal = getValue(getState(), objectPath)
  return function w (fn) {
    return function () {
      var newVal = getValue(getState(), objectPath)
      if (compare(baseVal, newVal)) return
      baseVal = newVal
      setImmediate(fn, newVal, baseVal, objectPath)
    }
  }
}

tx for the fix, I did something similar as workaround and was going to submit but glad to see a fix was put in.


Special case comparison on first/last tuple in index range scan

This PR adds the logic to handle left/right open range index scan in the IndexScanExecutor. Special flags will be set when constructing the IndexScanPlan in the optimizer, and then IndexScanExecutor will take the flags in the plan and perform pruning on the head/tail of the return tuple list if the flags indicate so.
We have to do that because the raw index can only return tuples for a close-boundary range. The logic was handled by index::Compare(), but that function will be removed soon by @wangziqi2013 .
@wangziqi2013 After you remove the index::Compare(), it seems to me that we no longer need IndexMetadata::GetTupleToIndexMapping and some related interfaces. Can you double check that and remove unnecessary code? I cannot remove them now since the compilation would fail when we still have index::Compare().

Coverage increased (+0.07%) to 63.301% when pulling 882b42921c087ace9e6621bf2e0574fdbb7e36cd on malin1993ml:master into f885ee7031e8b912e8935b1ffea1184b712e04b6 on cmu-db:master.

I will review and merge in the morning.


-onDemandDistro needed

"Enable for on-demand distribution" for a DP is painfully needed in PowerShell.
Having to set this/check this in the GUI is a huge waste of time since it's not even a column in the DP Overview.

Thanks @N5ZY for taking the time to provide feedback on Configuration Manager! This is an interesting feature idea, and I want to make sure it gets directly into the hands of the engineering team. Fortunately, we've got dedicated channels for that very purpose. :) See the Product feedback section in our docs. I think it’s important that you submit it directly, because that allows you to receive notifications and more closely monitor the progress. I'm closing this issue as there's nothing actionable for docs at this time.


Move the ResourceAllocator from Engine to Renderer

The ResourceAllocator used to be global and owned by the Engine, this was causing some issues when using several Renderers because each one could cause the eviction of cache data for another.
We now have a ResourceAllocator per Renderer, which makes more sense because most resources are allocated by the FrameGraph. However, there are some textures temporarily owned by Views in their  FrameHistory (e.g.: with SSR or TAA) and because Views can be used by  multiple Renderers, this means that FrameHistory entries can have  resources owned by different ResourceAllocators.
So we need to handle these cases:

a Renderer is destroyed before a View that rendered into it: The view won't be able to destroy the resources later, so they are now destroyed when the Renderer is destroyed, effectively making the  handles stale.

a View is destroyed and has FrameHistory state that belongs to  multiple Renderer and therefore need to be returned to the corresponding ResourceManager

Both cases are handled by storing a weak pointer to the correct ResourceAllocator which each FrameHistory entry. This allows the view to return the resources when it is destroyed AND this allows all parties to check that the FrameEntry is valid and its handles are  usable. In particular Renderer now checks the validity of the history before using its handles (an Entry could have resources belonging to another, destroyed, Renderer).
Finally we add a View::clearFrameHistory() method which can be used when a view is moved from one Renderer to another, or when it is  appropriate to ignore the frame history (e.g.: cut-scene). Generally, it is not a good idea to use the same View with multiple Renderers as it will most certainly mess-up the frame history (At least not if  temporal effects are used).

I have possibly a better idea to implement this, so closing for now.


Feature Request: Button "Folders" instead of "Order by" (Like in native Android app)

I would appreciate possibility to set displaying of "show folder" button
as one of main buttons, visible for one-tap using.
The same way, like it is in native android application.
There is "order by" button instead of it in K9mail.
I use K9 mail instead of native android mail app,
because K9 can refresh (download, sync) all folders in account,
and I use lot of folders
(and filters, which are directing new messages into various sub-folders;
and I need to read some sent or archived message sometimes).
So, I need to switch view between various folders very often.
And I absolutely do not use another ordering but a default newest top.
So I would like to have button "folders", as it is in default android app.
I have not found such possibility in settings.
K9mail is necessary for users with lot of folders,
so more users could appreciate that button, I think.
Thanks.

I'm not sure why the back arrow (top left) doesn't fulfil this purpose as it goes back to the folder list. But in any case the app needs a general design overhaul - this is just one more piece of the puzzle.

I did not know that it is possible - when I switch the app on,
I am directly in main inbox folder (maybe by my settings, it is ideal for me),
so I did not have idea it is possible to go to the folder list by "back" button.
(Since  I came into the inbox from android home, not from folder list.)
Thanks for info, it looks as good way :)

Although: I know now why I did not notice possibility to use "back" button:
It is not possible always. It works sometimes, and it does not work sometimes.
Because it takes me to desktop sometimes.
(I mean HW button "back";  SW button "back" in left top corner works).
Android 5, LG Wine.

The design overhaul will take care of this. I don't think we need an issue to remind us.


examples/typescript-vanilla doesn't work out-of-the box

Prerequisites

[X] I have written a descriptive issue title
[X] I have searched existing issues to ensure the bug has not already been reported

Fastify version
5.0.0
Plugin version
6.0.7
Node.js version
20.18.0
Operating system
Windows
Operating system version (i.e. 20.04, 11.3, 10)
Windows 10 + Ubuntu
Description
npm run dev

✘ [ERROR] Missing "./plugin" specifier in "@fastify/vite" package [plugin externalize-deps]

    node_modules/esbuild/lib/main.js:1225:27:
      1225 │         let result = await callback({

  This error came from the "onResolve" callback registered here:

    node_modules/esbuild/lib/main.js:1150:20:
      1150 │       let promise = setup({

  The plugin "externalize-deps" was triggered by this import

    vite.config.js:2:28:
      2 │ import { viteFastify } from '@fastify/vite/plugin'

Link to code that reproduces the bug
No response
Expected Behavior
No response

This is fixed in 8.0.0-alpha.2
Please try that release.

Confirmed that it's working for me with that version. Thanks!


chore(validator): add raw queries

Current script only keeps compound prom query. This PR makes the raw query results persisted so we can use them to replay the validation.

@sthaha @KaiyiLiu1234 @vprashar2929 can you review the MSE queries?


Sensors/BMA2XX - New PR based on PR #697 changes

@rymanluk @vrahane - I figured it was easier to make a new pull request with the complete changes and cleaner history.  The old PR is at https://github.com/apache/mynewt-core/pull/697, and I should have incorporated the comments.  Lastly, I kept in the change to the sensor.h file (adding <string.h>), because it was breaking the my test application even though sensor_test app works because of dependency differences.  I would like to get this change sooner rather than later.  Thank you for the time and help!

@joshgrob Could you please rebase it :) Basically what I do is
git fetch --all
git rebase -i origin/master (assuming that origin is git@github.com:apache/mynewt-core.git )
Now some editor will open and you will see list of patches which are going to be applied on top of origin/master. You should have there only two patches I guess. Remove patches which are not in your interest and save/close editor.
It should be it.
Then do force push on your remote branch (add option -f when pushing) and we can continue review.

rebase should be complete. Lemme know if something looks off, and thanks for the help in troubleshooting @rymanluk

@rymanluk Hope all is well.  Any additional thoughts on this PR?

Hi @joshgrob -- would you be willing to respond to comments and rebase this pull request?  I'd like to merge it into Mynewt.

Hi @sterlinghughes many apologies for the delay in my comments.  Yes, I will try and respond by the end of the week or early next.

ping

Okay I added my comments.  Will do the rebase after my comments are reviewed.  Will keep slack open and am reachable there for more detailed conversations.

ping, can we do a new review or resolve?

Hi @sterlinghughes @rymanluk, quick question.  I made the remaining changes, tested the code on my bmd300eval, and successfully did git pull --rebase origin master (from the apache mynewt-core repo).  All works well.  However, when I try to push to my fork it says it has diverged to much and I must to a git pull from that remote (fork/master in my repo).  I tried to a git pull --rebase fork master to align, but I am getting a lot of unexpected conflicts.
In short, what it is the best way to push my changes to pull request after I have successfully rebased my changes locally?

@joshgrob, the short answer is: you probably just need to do a git push -f fork master (i.e., a force push).
Here are some more details.    A normal (non-force) push can only append new commits on top of the remote history, it cannot interleave new commits.
Say your local and remote repos both have histories that look like this (A# are commits in apache-mynewt-core;J# are commits specific to this PR).
LOCAL       REMOTE
J3          J3
J2          J2
J1          J1
A4          A4
A3          A3
A2          A2
A1          A1

That is, your three commits are "on top" of the core repo.  Then you do a pull with rebase, which takes the latest from core and moves your commits on top of those:
LOCAL       REMOTE
J3          J3
J2          J2
J1          J1
A6          A4
A5          A3
A4          A2
A3          A1
A2
A1

Git can't reconcile these two histories.  Specifically J1 has a different parent in your local repo than in the remote repo.  When you do a force push, you replace the remote history with an exact copy of your local history:
LOCAL       REMOTE
J3          J3
J2          J2
J1          J1
A6          A6
A5          A5
A4          A4
A3          A3
A2          A2
A1          A1

Thank for @ccollins476ad for the very helpful explanation.  If finally get it! Now, after I did a force to my fork the PR was automatically closed.  Is the expectation that I create a new PR base on the new commits in my fork?

@joshgrob - no, the PR should not have closed automatically!  It appears your PR-specific commits aren't in the remote branch anymore.  It seems you must have force-pushed a regular version of apache-mynewt-core which did not contain your commits.
Hopefully you still have your commits somewhere, perhaps in a separate directory?  If you do, you will want to push that onto your fork.  If you can't find your commits anywhere, then hopefully one of the reviewers has them locally.


ERROR:rebasehelper.specfile:Patch x-y-z.patch does not exist

There are lots of ERRORs in the tool's output even they seem to be a hoax.
For example for httpd, which was successfully onboarded  with the patches applied:
+ exit 0

INFO:dist2src.core:The repo is not dirty, nothing to commit.
INFO:dist2src.core:Fetch the dist-git %prep branch to source-git branch updates.
INFO:dist2src.core:Placing .packit.yaml to the source-git repo and committing it.
INFO:dist2src.core:Copy spec file from /tmp/playground/rpms/httpd/SPECS/httpd.spec to /tmp/playground/src/httpd/SPECS/httpd.spec.
INFO:dist2src.core:Copy all sources from /tmp/playground/rpms/httpd/SOURCES to /tmp/playground/src/httpd/SPECS.
INFO:dist2src.core:Rebase patches from updates onto c8s-stream-2.4.
INFO:packit.cli.utils:Input directory is an upstream repository.
WARNING:packit.utils.repo:'' is not an URL we recognize.
ERROR:rebasehelper.specfile:Patch httpd-2.4.37-CVE-2020-1934.patch does not exist
ERROR:rebasehelper.specfile:Patch httpd-2.4.37-CVE-2019-10097.patch does not exist
...
ERROR:rebasehelper.specfile:Patch httpd-2.4.35-apachectl.patch does not exist
VERBOSE:rebasehelper.specfile:Downloading sources from lookaside cache failed. Reason: Failed to read rpkg configuration.
VERBOSE:rebasehelper.specfile:Writing SPEC file '/tmp/playground/src/httpd/SPECS/httpd.spec' to the disc
...
INFO: mock.py version 2.6 starting (python version = 3.6.8)...
...
INFO: Start(/tmp/playground/src/httpd/httpd-2.4.37-30.0.1.g38e228f1.el8.src.rpm)  Config(centos-stream-x86_64)
...
Finish: build setup for httpd-2.4.37-30.0.1.g38e228f1.el8.src.rpm
Start: rpmbuild httpd-2.4.37-30.0.1.g38e228f1.el8.src.rpm
...
Finish: rpmbuild httpd-2.4.37-30.0.1.g38e228f1.el8.src.rpm
Finish: build phase for httpd-2.4.37-30.0.1.g38e228f1.el8.src.rpm
INFO: Done(/tmp/playground/src/httpd/httpd-2.4.37-30.0.1.g38e228f1.el8.src.rpm) Config(centos-stream-x86_64) 5 minutes 6 seconds
INFO: Results and/or logs in: /var/lib/mock/centos-stream-x86_64/result
Finish: run
INFO:__main__:Onboard successful for httpd:

I am closing this as we decommissioning this repository.


No snippets when using tab completion, matching many snippets, not showing snippets in suggest

Issue Type: Bug
"editor.tabCompletion": "onlySnippets",
"editor.snippetSuggestions": "none",

Pressing Tab gives No suggestions.
VS Code version: Code - Insiders 1.31.0-insider (7ab53e6d1c7998006bc70f18230178a702598222, 2018-12-13T06:20:30.449Z)
OS version: Windows_NT x64 10.0.17763

in which languages? custom snippet? errors?

Not a regression. I somehow have 2 similar snippets in 2 files:
typescript.json
"snippet": {
	"prefix": "snippet",
	"body": "body"
}

all.code-snippets <- global
"snippet": {
	"prefix": "snippet",
	"body": "body"
}

Expected behavior is to insert scoped snippet (the one from typescript.json).

Expected behavior is to insert scoped snippet (the one from typescript.json).

No, the expected behaviour is that it shows IntelliSense with all snippets that match the prefix. That's how it works for me. Does it not show that for you?

"editor.snippetSuggestions": "none",

tough luck...

@jrieken , Can i take a look at this ?

I just don't think this worth it. Pretty rare configuration with a specific mix-up of global & local snippet.


[SPARK-19576] [Core] Task attempt paths exist in output path after saveAsNewAPIHadoopFile completes with speculation enabled

writeShard in saveAsNewAPIHadoopDataset always committed its tasks without question. The problem is that when speculation is enabled sometimes this can result in multiple tasks committing their output to the same path, which may lead to task temporary paths exist in output path after saveAsNewAPIHadoopFile completes.
-rw-r--r--    3   user group       0   2017-02-11 19:36 hdfs://.../output/_SUCCESS
drwxr-xr-x    -   user group       0   2017-02-11 19:36 hdfs://.../output/attempt_201702111936_32487_r_000044_0
-rw-r--r--    3   user group    8952   2017-02-11 19:36 hdfs://.../output/part-r-00000
-rw-r--r--    3   user group    7878   2017-02-11 19:36 hdfs://.../output/part-r-00001

Assume there are two attempt tasks that commit at the same time, The two attempt tasks maybe rename their task attempt paths to task committed path at the same time. When one task's rename operation completes, the other task's rename operation will let its task attempt path under the task committed path.
Anyway, it is not recommended that writeShard in saveAsNewAPIHadoopDataset always committed its tasks without question. Similar question in SPARK-4879 triggered by calling saveAsHadoopFile has been solved. Newest master has solved it too. This PR just fix 2.1

Can one of the admins verify this patch?

To me this PR aims to also use driver to coordinate Hadoop output committing for saveAsNewAPIHadoopFile -- actually the same was added for saveAsHadoopFile back in https://github.com/apache/spark/pull/4066.
Seems like issues has been reported with the current saveAsNewAPIHadoopFile -- like in https://github.com/apache/spark/pull/4066 by @matrixlibing. But this issue only exists prior to 2.2.0.
So @JoshRosen would you share your thoughts on this? Thanks!

Hi @sharkdtu, is there any opinion on ^? If it is inactive, I would rather like to propose to close this.


Spyder not opening because of problems with spyder.lock

This issue happened abruptly, and I have no idea what caused it to occur.  spyder has ceased to open from anaconda for me.  when I try to launch it, the icon highlights in the dock, but then no window for spyder opens.  I tried using "spyder --reset" from the command line, and cmd returns that "spyder is already running".  when i tried to kill spyder/python from cmd (and all child instances as well) computer shows no record of either running.  The only way I have been able to open the spyder IDE is by running spyder --new-instance from cmd.
I have uninstalled, and reinstalled, anaconda twice to try and fix this.  Same thing keeps happening with the spyder IDE after reinstallation.
Does anyone have any ideas on what would have caused this?  Any thoughts on what to do to fix (given that uninstalling hasn't worked)???

To solve this problem, please go to your Users directory on Windows/Mac, or your home directory on Linux, locate a folder called .spyder2 (notice the dot at the beginning of it) and delete it.
That should fix your problem :-)

Note to self: a solution to this problem is making spyder --reset to delete spyder.lock, something that (I think) we are not doing at the moment.

deleting '.spyder2' fixed it! Thanks!  I deleted all remaining files after uninstalling; I don't know why it didn't catch this folder.
spyder is the best ide ever.

I am running OSX El Capitan and Spyder 2.3.9.  I am having the same problem as described by KirkLab.  I do not seem to have a folder named .spyder2 so that fix is not working.  Could the problematic file be located elsewhere?  Thank you.

No, it's not. .spyder2 is not a file, is a directory, and in your case
it should be located in
  /Users/<name>/.spyder2

or
/Users//.spyder2-py3
if you are using Python 3. Here  is your user name.
El 11/08/16 a las 22:17, armarvin escribió:

I am running OSX El Capitan and Spyder 2.3.9. I am having the same
problem as described by KirkLab. I do not seem to have a folder named
.spyder2 so that fix is not working. Could the problematic file be
located elsewhere? Thank you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/3351#issuecomment-239352087,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWS7fbpVe0chwwMuO03tp_-EkI_iyyVks5qe-WtgaJpZM4JiJ_c.

Hi @ccordoba12,
I also have a problem launching the spyder IDE.
When I run spyder on my terminal, I get below message:
#spyder
Spyder: cannot connect to X server
Below is my spyder version along with python running under Linux CentOS 6.8.
I have read some articles about this issue but still couldn't fix the problem.
[] Troubleshooting done:

ran spyder then I get this message (Spyder: cannot connect to X server)
ran spyder --reset then same message I get (Spyder: cannot connect to X server)
ran spyder --new-instance then same message I get (Spyder: cannot connect to X server)
Uninstall then re-install spyder
removed .spyder2 directory that's being created when I ran spyder command.

=== spyder and python version ===
conda list spyder
packages in environment at /usr/local/anaconda2:

Using Anaconda Cloud api site https://api.anaconda.org
spyder                    2.3.9                    py27_0
python --version
Python 2.7.12 :: Anaconda 4.1.1 (64-bit)
python3 --version
Python 3.6.3
Thank you in advance for the help.

I have the same issue running in Windows. here is what i have observed.
1 - I delete .spyder folder (& hence subfolder spyder.lock) from /user/home drive.
2 - On running spyder.exe afterwards the same .spyder folder is created with a subfolder called spyder.lock each time.
3 - How can I prevent spyder.lock from being created on execution?

After uninstalling and installing again I have not able to open Anaconda and Spyder IDE in my Windows 8 machine. Can anybody help ?


OverflowError

Hi everyone,
today, after a pcr in silico command I have got this error. Can you help me?
ERROR: Traceback (most recent call last):
File "/home/utente/anaconda2/envs/CRABS/lib/python3.6/site-packages/cutadapt/pipeline.py", line 574, in run
for chunk_index, chunk in enumerate(dnaio.read_chunks(f, self.buffer_size)):
File "/home/utente/anaconda2/envs/CRABS/lib/python3.6/site-packages/dnaio/chunks.py", line 80, in read_chunks
raise
OverflowError: FASTA/FASTQ record does not fit into buffer
Thanks in advance!!! :)

Hello @LuciaRanieri97,
The error points to a sequence being too long for cutadapt to handle, which CRABS uses during the in silico PCR analysis. This probably occurred by downloading full genome sequences. The recommendation is to avoid longer fragments than mitochondrial and chloroplast genomes. Would this be a suitable option for your use-case or are the genomes essential to be incorporated in the database?
Best regards,
Gert-Jan

Thank you very much for the timely response.
I can proceed by streamlining the initial database!
Best regards,
Lucia


rewrite tait's usage to async fn

upstream changes in embedded-io use
#![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))]
#![cfg_attr(feature = "nightly", allow(incomplete_features))]
instead of
#![cfg_attr(feature = "nightly", feature(type_alias_impl_trait))]
relevant release https://github.com/embassy-rs/embedded-io/commit/1984b6166f38a12f7f9a6941572585c37ccb87a9

Fixed.


Support for Katacoda badge

Hi, that would be great to have a Katacoda badge, I may consifer this as a social platform like GH/Twitter.

Hello @adriens ! 👋🏻
Thanks for the suggestion. I'm not familiar with this service, what would such a badge display?

Hi,
it would display the number of scenarios. You can get a preview of what Katacoda provides by default:
https://github.com/adriens/katacoda-scenarios

Okay, the badge would need to be slightly different to be consistent with Shields' offering and follow our guidelines (https://github.com/badges/shields/blob/master/CONTRIBUTING.md#badge-guidelines), but apart from that it should be fine.
Do you know if there's an API available to easily retrieve the number of scenarios?

I'm trying to look for if there is a public API I'll let you know 👍

I'm on it 🚀

I've just dropped en email to their support:

Hi guys,
I'd like to be able to get Katacoda badges from shields.io to embed some of my katacoda metrics on my projects/webpages.
I've created a dedicated issue: https://github.com/badges/shields/issues/5758
So the question is: do you have any public API that can deliver scores on:
number of coursesnumber of scenariosother score centric metrics (nb of scenarios achieved, ...)
I really love your platform, getting public APIs would be awesome... I could even write  a scenario on how to consume it ;-p
Hope to see you soon on the GH ticket.
Kind regards,Adrien

now let's 🤞

No answer for now ⏸

I have quoted this issue on an article I hava dedicated to Katacoda and its integrations
https://www.linkedin.com/posts/adrien-sales_katacoda-freedom-inspiration-activity-6728075471919157248-QFID

Things are on the good way 🚀 🥇

https://www.linkedin.com/posts/adrien-sales_api-katacoda-badges-activity-6730381383874805760-shaX

Great, seems like the badge will be doable in a few months then. 😉

Badges rule ❣

Great, seems like the badge will be doable in a few months then. 😉

Definitely! The Katacoda icon has also been added to the Simple Icons repo 🎉
https://github.com/simple-icons/simple-icons/pull/3790


[Feature] Support Flink 1.17 application submit

What changes were proposed in this pull request
Issue Number: close #2503

Brief change log

add streampark-flink-shims_flink-1.17 module
Verifying this change
Manually verified the change by testing locally.

Does this pull request potentially affect one of the following parts

Dependencies (does it add or upgrade a dependency): (yes)

Manually test snapshot the following as:
tested list:

yarn application/session submit
k8s application submit


Error while running "pub get"

Error message:
Because every version of flutter_test from sdk depends on material_color_utilities 0.1.3 and dynamic_test_vin depends on material_color_utilities ^0.1.4, flutter_test from sdk is forbidden.
So, because dynamic_test_vin depends on flutter_test from sdk, version solving failed.
pub finished with exit code 1

Please provide flutter doctor -v

Use the right dynamic color version.
dynamic_color:
# When depending on this package from a real application you should use:
#   dynamic_color: ^x.y.z
# See https://dart.dev/tools/pub/dependencies#version-constraints
# The example app is bundled with the plugin so we use a path dependency on
# the parent directory to use the current plugin's version.
# path: ../

I have the same problem
[✓] Flutter (Channel stable, 2.10.2, on Ubuntu 21.10 5.15.17-051517-generic, locale ru_RU.UTF-8)
    • Flutter version 2.10.2 at /home/leonid/.asdf/installs/flutter/2.10.2-stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (7 days ago), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

This is WAI. As indicated by the error message, versions 1.0.0 and greater required the 0.1.4 utilities, which are included in the Flutter framework. A few options:

flutter channel master
wait for the next Flutter beta release, and flutter channel beta
wait for the next Flutter stable release
depend on dynamic_color: 0.1.0

I recommend 2. or 3.

Now available with the stable release, closing :)


Add a settled property, tracking the fulfilled/rejected stated of the Promise, to createPromiseCapability

This allows cleaning-up code which is currently manually tracking the state of the Promise of a createPromiseCapability instance.

Thank you for this clean-up!


How i can add new format validation?

In spec 2.0 for strings have 5 build-in formats: password, date, date-time, binary and byte
But it is also written that: "However, the format property is an open string-valued property, and can have any value to support documentation needs. Formats such as "email", "uuid", etc., can be used even though they are not defined by this specification."
I want add email validation. Library tv4 have method ValidatorContext.prototype.addFormat,
which can be used for that, but "swagger-express-middleware" can't yet use user-defined formats...

It turned out that the formats can be added directly using tv4.
No need proxy formats inside your library.
I think you can write about it in documentation - user-defined formats is very useful feature
Example:
    var tv4 = require('tv4');

    var formats = {
      email: function(data, schema) {
        var re = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
        if (re.test(data))
          return null;
        else
          return "Wrong Email format";
      }
    };

    tv4.addFormat(formats);

Looks like tv4 library very slow, you are considering - the transition to a faster library?
For example:
https://github.com/epoberezkin/ajv
or
https://github.com/mafintosh/is-my-json-valid

Hi, @Santinell.  Sorry for taking so long to reply.  I just started a new job, so my schedule has been super busy lately.  o_O
I'm currently in the process of switching from tv4 to Z-Schema, which has many more features, better performance, and is more compliant with the specs.  I've already made this switch in Swagger Parser, which is used internally by Swagger Express Middleware.  So, right now, Swagger Express Middlware actually contains tv4 and Z-Schema, but that won't be the case for much longer
And, to answer your other question... yes, I will provide a way for you register custom format validators.  Z-Schema makes this very easy

How switching process? maybe you need help?
I can try make PR for z-schema using

By the way...
ajv (fastest json-schema validator) now supports some features of json-schema v5 and data coercion ;)
(not advertising)

Z-schema throw error on test "JSON Schema - parse date-time params should parse a valid date-time param"
He cannot use maximum, minimum for date-time in schemas like:
var schema = {
type: 'string',
format: 'date-time',
minimum: new Date(Date.UTC(2010, 0, 1)),
exclusiveMinimum: true,
maximum: '2010-12-31T23:59:59.999Z',
exclusiveMaximum: false
};

Looks like using for minumum and maximum not stings is wrong:
http://swagger.io/specification/

If ignore this test then tests stops on:
"JSON Schema - parse file params should parse a valid file param"
With error "Keyword 'required' is expected to be of type 'array'"


Deprecation types option

https://developers.google.com/maps/documentation/javascript/places?csw=1#deprecation
Should change your API accordingly :)
Awesome project btw!

I really like this library which saved me a lot of work on UI so I researched Google and made "types" work again in #301 .

Google has changed the parameter from "types" to "type", but most of type values remain unchanged.

Regardless, the only change we need to make is to explicitly call a new method setTypes() of AutoComplete. For example, I added this line right after autocomplete object initialization.
this.autocomplete.setTypes(types);

I did test locally but didn't check in test code due to lake of cleanness. Hope it helps!

This is true for "text search requests" but looks like, AutoComplete is not affected: https://developers.google.com/maps/documentation/javascript/3.exp/reference#AutocompleteOptions


refactor yaml configs and settings ⚙

closes #416

@SWeav02 this PR will be ready tomorrow -- but I'm going to wait until you merge #588 because my changes will likely affect your badelf app. The "deadline" for me merging this PR will be next Tuesday (the 16th), so try to get your PR ready by then 😄
Once merged, all simmate settings will be given via (a) env vars, (b) ~/simmate/settings.yaml, or (c) ~/simmate/my_env-settings.yaml
We will also be able to register built-in apps with commands like simmate config add-app badelf.

Sounds good. I'm making one last big update to #588 that fixes some issues with the partitioning stage of the alg (and makes it WAY faster for larger structures) and then I should be ready to merge. I think that should be ready today.


Use default indicator in vi replace mode

It is consistent with the ZSH version of pure. R goes into replace mode in Fish, but viins mode in ZSH, so it makes sense to use the default indicator instead of the reverse one.

@NovaDev94 thanks your PR look great!
Would you mind adding a GIF of your feature, I'm not familiar enough with vi mode myself.
I would probably merge over the weekend

@edouard-lopez This will change the prompt to ❮ instead of the default ❯ in vi mode, similar to the original zsh prompt:

See: https://github.com/sindresorhus/pure#why

Support VI-mode indication by reverse prompt symbol (Zsh 5.3+).

@edouard-lopez I think this will change the prompt to ❮ instead of the default ❯ in vi mode, similar to the original zsh prompt:

See: https://github.com/sindresorhus/pure#why

Support VI-mode indication by reverse prompt symbol (Zsh 5.3+).

@NovaDev94 Could you clarify?

@edouard-lopez @jorgebucaran
Yeah, the reverse symbol ❮ is only used for normal (vicmd) mode in the original ZSH prompt, and since there're only 2 modes there: vicmd and viins, when you press R from normal mode, it goes into viins - so ❯ is expected in that case. And Fish has a dedicated mode (replace) for it, so ❯ should be used for both insert and replace to make it consistent with the original ZSH prompt.


Cert Template Issue

[ ] Says "ISSUED TO $name"
[ ] Remove "Georgia Tech," from "ISSUER"
[ ] Use description from Django
[ ] Issue date should be actual issue date
[ ] Issue date should not abbreviate month
[ ] On verifier, "View Record" link is broken

After fixing, issue just one to matt on testnet. send json and he'll test. then we'll clean up the credential and issue a test run to matt and yakut.


annotate command docs may be misleading

https://buildkite.com/docs/agent/v3/cli-annotate
Last night, I was working on improving some annotation output in a build of mine and had some feedback from the experience.

The CLI help output states that that "Annotations can be written in either Markdown or HTML"
However, it seems that only Markdown is processed and that the few HTML tags that are honoured are the ones that most Markdown processors accept as part of the MD spec. It might be clearer to state that it accepts Markdown, including some HTML tags within the Markdown document.
An example build where I was trying to upload a .html file and it was clear that it was being processed only via Markdown processor (indented tags treated as code blocks, etc): https://buildkite.com/covidence/app/builds/1652 (the .html file is also an artifact)

The usage docs show <file> being passed as a parameter. However, when I tried the following, it resulted in an annotation with the file name as the content:
gem install brakeman
brakeman -q -A --no-pager \
  --github-repo covidence/covidence \
  --no-exit-on-warn \
  --no-exit-on-error \
  -f html > brakeman.html
buildkite-agent annotate brakeman.html --style warning --context brakeman

I tried with file name before args (as docs show) and after but it didn't appear to make a difference.
Example build showing the annotation and the .html file as an artifact: https://buildkite.com/covidence/app/builds/1648

(this might belong as a feature request elsewhere instead) This may be tricky depending on your Markdown processor and potentially some security headers, but it would be wonderful if I could create an <iframe> if and only if it was loading an artifact. That would allow embedding full HTML output for commands which cannot generate Markdown or for which it would be difficult to represent output in Markdown.

I think this has been fixed by updating the agent annotate command usage text, and a corresponding update to the docs page:
https://buildkite.com/docs/agent/v3/cli-annotate
🎉

(this might belong as a feature request elsewhere instead) This may be tricky depending on your Markdown processor and potentially some security headers, but it would be wonderful if I could create an  if and only if it was loading an artifact. That would allow embedding full HTML output for commands which cannot generate Markdown or for which it would be difficult to represent output in Markdown.

This one sounds like a bit difficult for us security-wise. But maybe we could add the ability to link to artifact URLs, and rewrite them for display?

Yeah, we found this ourselves @bjeanes which led to buildkite/agent#792 and buildkite/agent#792 — but I think the next step was to add a --html or --format html argument to the annotate command for uploading HTML content.

I think the next step was to add a --html or --format html argument to the annotate command for uploading HTML content.

Seems sane, but would probably still need to be sandboxed in some way to prevent malicious JS from loading or CSS from leaking. It definitely would be handy though!
I think buildkite/agent#813 and the docs update resolves the main reason for this issue though!

Yep, I think we'd do similar html santization we do on the markdown content — whitelist tags, disallow js, and whitelist bass classes only, or something.

whitelist bass classes only

That is sane, but FWIW that would not have helped me. The problem I'm trying to solve is expose reports from generated tools. I can't generally control the classes they use.
I wonder if there is any reliable way to rewrite a HTML doc to inline all styles. I think I've come across a few tools specifically for doing this with HTML emails. Perhaps applying a similar strategy could be successful... 🤔

This is what I was thinking of before: https://github.com/Mange/roadie. It's designed to allow you to write "normal" HTML/CSS and it will post-process it to have styles be inlined for maximum mail client compatibility.
Obviously, this is not designed to be a "secure" solution for 3rd party code so I am very much on the side of "it's not worth the feature to risk getting it wrong" but still interesting to consider.

The feature isn’t really intended for piping HTML from arbitrary reports into, our UI isn’t built for that. It’s been intended from the start as a way to surface a small amount of useful information, be it some statistics, a link to a particular artifact, or some other clever thing, via a little snippet of markdown.
I do understand wanting to push an HTML report from various tools into this but it’s not really suitable for that - uploading as an artifact and then linking off to the report makes more sense from that perspective. We’ve been pondering ways to make generated HTML reports in particular less clunky (we’ve had countless issues with reports generated with external resources and weird scripting which you can’t really do much other than zip up right now due to the security model of artifacts on s3), but we’re not there yet.

💯 makes sense. I agree artifact+link is much saner and sufficient.
Fortunately I've been able to get our generate a markdown summary easily
enough in most cases, as i really want certain things visible (e.g.
security report).
Thanks for your time talking it out with me!


Can you provide a pre-trained model for convolutional KAN?

Your model has greatly reduced the computation time, if there is a pre-trained model, can you provide it to us?

There already are in the models folder, you can find its accuracy and other information in the table and figures


feat: support zig 0.14

Adds support for Zig 0.14 (master).
As far as I can tell, https://github.com/ziglang/zig/pull/20908 broke it -- specifically commit ziglang/zig@1ba6b56c817777c5f504a5975591da6de68dd361.
This PR abstracts the debug symbol information behind some functions, which internally decide which fields of the structures to access depending on the Zig version (0.13 or 0.14).

Looks good, thanks!
I am currently away for a week. Hopefully this does not block you and the PR can wait till the next week?

No this doesn't block me, I'm using my fork in my config for now. Enjoy your time away :)

Thanks!


Development capacitypool ui improve

issue: https://github.com/threefoldtech/js-sdk/issues/476
Added three filters on workload data:

KeysIgnored : to ignore keys in workload tab view
KeysWithTypeList : to view keys with type list in v-chip tag
KeysWithTypeDict : to view keys with type dict in v-chip tag with pattern key : value

I asked @dmahmouali to make it a single component and re-use it, as we have nearly the same code duplicated in another view.


Router are triggered out of the basePath

When a basePath is set in the router, it should ignore the URL when it doesn't contain the basePath on the begin of the URI.
Example: http://domain.com/test should be ignored if there is a /app basePath.
And http://domain.com/app/test should be trigger the test URI.

Fixed on the commit: https://github.com/gartz/pushStateTree/commit/ae32ee2d314b09331622f66cfbd7d60de0b83a2c


add user's locale to fedora-toolbox user image

I think fedora containers only include glibc-langpack-en by default.
So to handle this better I suggest either fallback to en_US.utf8 or C.utf8, but I don't know how to do that, so better would be to add the glibc-langpack-xx package for the user's locale to the user fedora-toolbox image.

Duplicate of #60


Can we use upgrade from 2.1 to 4.1

Hello,
I just tried to upgrade from 2.1 to 4.1 to use openssl no error I use only secret key and no secret_iv and no cipher_algorithm
when I try to compare to decrypt or encrypt the result isn't the same between the two version is there a way or a configuration to the new version give the same result to the old one and the possibility to decrypt it.
thank you
Maybe I didn't use the new one in the best way.

Hello,
For now the bundle is not yet compatible with the version 4 of symfony. It's however compatible with v2 and v3.
I'm working on the upgrade for the v4 of symfony.

Hello @speeeeeed2006
NzoUrlEncryptorBundle is now compatible with version V4 of Symfony, just do a:
composer update nzo/url-encryptor-bundle  to update to the new V4.2.0 tag.
You can follow the instructions in Readme.


Add riscVim arch

The project I'm using uses riscv32im instruction set that also doesn't support atomic32/64. Since i vs im vs imc is just differences with extensions added to the standard riscv32, it probably make sense to include them under a single matcher but this works for now

@djkoloski there is one here too that is needed

Thanks for the ping, I overlooked this one. After checks pass I'll merge this PR.

Looks like one check is failing on mips64-unknown-linux-gnuabi64. I'll take a look and try to fix that up later today then retry that check.

Thanks for the PR!


ARROW-4854: [Rust] Use zero-copy slice for limit kernel

Has the benefit of being faster and supporting all array types

@andygrove @ntrinquier here's an update to limit kernel thanks to @sunchao 🎉


declared delimiter to take whole next token

Feature request?
Discussed in https://github.com/mybatis/migrations/issues/88
Currently the --@DELIMITER flag only accept a single character. Considering most programming languages are capable of using every character on the keyboard, frequently a multi-character delimiter is used.
Here is the PR

My mistake, I already submitted this to the migrations issues

fixed via #1116


Local file: support comments

can use // or #, just as in paket.dependencies

thanks! awesome work


Refactor add/add_related logic from 'cli.add' and 'cli.utils' into ProjectAddService and update tests

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3230
Originally created by @kgpayne on 2022-02-10 11:55:03

Currently the implementation of ProjectAddService includes methods for add() and add_related() for adding plugins and their related file bundles. There is also related logic inside the cli.add, cli.install and cli.utils modules for calling add() and add_related() and combining outputs. This causes issues during testing (e.g. when testing if file bundles are correctly added), as the logic defined for cli.add cannot easily be exercised using the underlying service add and add_related methods. I propose we consolidate these methods and helper-functions onto the ProjectAddService, providing args to determine if related plugins should be installed (as is implemented at the CLI level).

We did this partially in

https://github.com/meltano/meltano/pull/6355
https://github.com/meltano/meltano/pull/8748

I'm happy to close this and refactor individual pieces between modules to 1) increase unit test coverage, 2) eliminate dependencies of Core on CLI code, 3) shave-off import times.


Close another XSS hole

Fixed in the same way as the other two you fixed :smile:

Aha.  Easy enough to fix, fortunately!


Gnome 45: How to move forward?

Preamble
I am currently in the process of rewriting a Gnome shell extension and the breaking changes of Gnome 45 were the trigger for this. I am not the author of the original extension and I am a total newbie on the subject, although I learned alot within the last few days.
The typings you provide here (and here) are very useful for a type safe and productive development. I wonder how anyone could write a complex extension without them. However, they are currently targeting Gnome 44 from what I can tell.
Matter at hand
I have used ts-for-gir to create Gnome 45 compatible typings and also created a package for the gnome-shell essentially by forking this repository and performing a search replace for the imports (adapting the version= query). And.... et voilà: I've got phenomenal types for the most part with only a few custom declarations or re-exports required for the gnome-shell package.
I like the idea of distributing an npm package for everyone to use, so I came here. Creating a PR would be a matter of minutes, but I am not really sure what's the best approach in terms of versioning and possible backports. Essentially I see two options:
Option A: Lifecycle Policy
The first option would be to have separate branches such as gnome44, gnome45, etc. Each branch contains the typings for the targeting Gnome environment and of course only depends on @gjsify/<lib> packages that are compatible with this release. This way it would be possible to provide backports whenever typings are improved but at the cost of a higher maintenance overhead. Therefore I propose to put a time limit for backporting of improvements for older Gnome versions (e.g. for 2 years after release).
Option B: Evergreen Policy
The second option would be to simply keep the typings up-to-date with the latest Gnome release and simply publish a new NPM package (ideally with matching versioning) each time. This also means that bugfixes and improvements of types for older Gnome versions wouldn't really be an option (unless they are tracked in separate branches, but then I would go for option A).

I would be happy to go with either of the two options. Maybe there are more options that I am not seeing. I would appreciate feedback from you @JumpLink (or any other contributor/maintainer, if any). Maybe you could also address which approach you would favor for the gjsify/types repository. From what I can tell, Gnome 44 and Gnome 45 packages could live side-by-side from one another as of now. If that is guaranteed to be the case for future releases as well, that would be perfect.

Hey @schnz Do you have a link / repo for the types, since I am also rewriting a massive Extension and it is pain atm. I managed to fix some types, that I specifically need, but thats not a clean solution, the best atm would be, to just create a PR and imo it's best to create separate branches, and than publish separate version to npm, so that we have
e.g<EMAIL_ADDRESS>and than in the next bugfix o that<EMAIL_ADDRESS>etc.
and a separate maintained version for<EMAIL_ADDRESS>So that Gnome 44 and Gnome 45 type are supported.
Anywhere, that's just my opinon.

Hey @Totto16 ,

Do you have a link / repo for the types

I do. Check my repository at https://github.com/schnz/gTile/tree/types . The dist directory holds the tarballs. You can also install the packages through the GitHub NPM registry. Note that you should configure npm accordingly:
npm.rc
//npm.pkg.github.com/:_authToken=<redacted>
@schnz:registry=https://npm.pkg.github.com

Even though the packages are public, GitLab requires you to authenticate with the registry. Check their documentation for more information. Note that I have only created the types that were necessary for the extension at hand. But see if it fits your need.

the best atm would be, to just create a PR and imo it's best to create separate branches, and than publish separate version to npm

There will be separate versions for the npm package either way. The question is whether or not to maintain multiple branches. I don't know the ecosystem well enough to know whether it is worth it. Judging from the download history thats probably not the case.
P.S. You might want to add  some glue code to make the resource:// imports work. A little excerpt from my typings:
/gnome-shell.d.ts
/// <reference<EMAIL_ADDRESS>/>

declare module "resource:///org/gnome/shell/ui/panelMenu.js" {
  import * as ns from<EMAIL_ADDRESS>
  export = ns;
}

declare module "resource:///org/gnome/shell/ui/popupMenu.js" {
  import * as ns from<EMAIL_ADDRESS>
  export = ns;
}

declare module "resource:///org/gnome/shell/ui/main.js" {
  import * as ns from<EMAIL_ADDRESS>
  export = ns;
}

@schnz Thanks
Yes, the most extensions are unfortunately written in js 😓
We use rollup to rewrite the imports, so no problems there 👍🏼

Hi [@schnz, @Totto16, and other contributors],
Thank you for your valuable insights and suggestions regarding the GNOME Shell 45 migration. I'm currently managing this project in my spare time, which limits my availability, but I'm committed to making progress as soon as possible.
I've already started migrating to GNOME Shell 45 and have managed to get the example running under this version. Furthermore, I've updated all dependent @girs/xyz types to their current versions and outlined the next TODOs in the README. Your contributions, especially in writing more types manually, would be incredibly helpful. Most of the types I've written are untested and might be outdated, so any assistance in this area would be greatly appreciated.
Regarding the options for versioning and possible backports mentioned in the comments, I'm still evaluating the best approach. I'll make sure to thoroughly review the issue and all comments to better understand your perspectives and suggestions. It's been a pleasant surprise to see the project gain followers, and I apologize for any oversight regarding the issues raised. I'm committed to improving my engagement with the community.
I believe with the foundational elements now in place, we can continue to advance the project effectively. Any further collaboration, especially in areas like testing and updating the types, would be a significant boost.
Looking forward to your continued support and contributions.

I wanted to add something important. It would be awesome if some of you could step in as contributors or even as maintainers. This would really help take some of the load off, especially since my free time is pretty tight with personal stuff going on.
Having more maintainers would mean we're not just waiting for my schedule to clear up to get things moving. It’s all about teamwork, right? If you’re into overseeing parts of the project, reviewing pull requests, or just want to help steer the ship, that would be super helpful.
If you’re up for it, or know someone who might be, give me a shout. It could make a world of difference and keep this project rolling.
Thanks a ton for all your understanding and support!
Cheers,
JumpLink

Hey @JumpLink ,
thanks for the response. How sad,. I hoped for an update and hosted the Gnome 45 compatible typings only in the GitHub npm registry which requires authentication. 3 days ago I prepared the public release of the extension I was rewriting and that required all npm dependencies to be publicly available. Now I see that 2 days ago you published an update on your own. Unfortunate timing, but I am still glad that (part) of the update is available now.
Regarding the gnome-shell types: I noticed that they are not 100% up-to-date, but only because it lacked some exports, not because the existing exports were faulty. I only added the missing types that I required specifically for the extension at hand https://github.com/gTile/gTile/blob/master/gnome-shell.d.ts. The gnome-shell project is relatively large and I didn't wanted to invest a lot of time to add types that I don't need anyway.
As to your most recent post: I could imagine to be a contributor/maintainer. But I also want to say that my primary interest would be to have up-to-date types for the extension that I rewrote. So I would certainly be able to update the gisify/types repository once a new Gnome version releases. But to be honest I don't see myself making large efforts towards completing the gnome-shell types. But I could/will certainly contribute the types that I now added to the gnome-shell.d.ts that I linked above.

Hey @schnz,
Totally get it if you're only contributing types that you need for your work. That's actually a great approach because it means those types are getting tested in real-world scenarios. If more folks did the same, we'd gradually build up a solid collection of types, covering the most commonly used ones.
So, definitely, even smaller contributions are super valuable and much appreciated.
Once I knock out the key TODOs, I'm planning to roll out a new NPM release tagged as version 45.0.0.

I also am willing to help, but as @schnz mentioned, doing the whole GNOME Shell types is much work, I also only use a subset of them, so I'll look into my self written ones, and if there's some new stuff in there, that isn't covered by already existing types or types in the PR I'll be happy to also make a PR with those types. I would also think that option B ("evergreen updates") is better. The main problem I see in general, that soooo many extensions are made in js and not in TS. I also have experience with some EGO reviewers, that are against versioned imports. e.g here
import Clutter from 'gi://Clutter?version=13'

So thats a really bad view on types, since than it theoretically can load everything, and the types are not that helpful, if we load v 14, where potential breaking changes can occur, like e.g. this time in Clutter v12 vs. v13.
And just asking since I have not that much knowledge abut gnome-shell development yet, are there no .gir or .typelib files for gnome shell?

And just asking since I have not that much knowledge abut gnome-shell development yet, are there no .gir or .typelib files for gnome shell?

No, because parts of the gnome shell are written in Javascript itself. However, they are working on better JSDoc support so that the types can be derived better and better. Maybe we can even generate types automatically thanks to JSDoc?

Sorry I don't answer which option I prefer, I am also for Option B. We could create branches for older Gnome Shell versions before we port this project to a new version to keep Option A open, e.g. for the case someone is willing to do this work

@Totto16 , @schnz I have now automated some of the work so that only the types need to be defined, the rest is now generated automatically. I have updated the README.md where I describe this in more detail. I have also created some new types (blind). By the way, ChatGPT can be very helpful, even if the types usually have to be reworked by hand, here you can have a look at my history with ChatGPT.
If there is a need I can make a beta release on NPM. I would be very happy if you could test it.

Tanks you, I'll look into them since I yesterday looked at my gnome-shell types, and I thought I didn't have so much, but it were  more than I thought, so I'm definitely going to test those and submit changes / addition if needed ❤

I have now automated some of the work so that only the types need to be defined, the rest is now generated automatically. I have updated the README.md where I describe this in more detail. I have also created some new types (blind).

Works perfectly well, thank you! Going to submit the PR now (your updates already provided some of the missing types).
Very impressive what ChatGPT is already able to do, although I am not really sure how this is more helpful than built-in TSC functionality.
Also going to close this, as you answered and implemented all I asked in my initial request :).

If there is a need I can make a beta release on NPM. I would be very happy if you could test it.

If you release a beta package after my (to be opened) PR is merged, I would be happy to directly depend on the @gjsify packages for gTile!

@schnz version 45.0.0-beta1 is published now 👍


Feature Request: Import from the Playback Reporting Plugin

The official Playback Reporting Plugin stores playback information. It would be cool to be able to import Playback Reporting data to Jellystat.
I believe Playback Reporting data is stored in "playback_reporting.db" located in $JELLYFIN_DATA_DIR/data.

Hi @cm-chandler , this is actually on my to-do list. It's on a lower priority at the moment as I'm still trying to finish up the core functionality, and then implement back up and restore options for the current data. Once completed,  I plan to expand the current data set using the existing data from the Playback reporting plugin.

Nice to see that this will come in the future. I have a ton of data collected with that addon but it soooo tough to look at it from my phone or even on the media player 😆 so having jellystat use it will help

I would love to see this too.
With Jellystat freshly installed it holds zero stats while the Playback Reporting Plugin holds pretty much all the stats since the jellyfin server was installed.

Hi @mLgz0rn , this has been in the works for a while and im actually working with it at the moment. Its the last feature for the current unstable branch and then itl be on the next release. Just something to note, This will only import past data. IE if you have been running Jellystat since 1st of this month, then everything before that will be imported. This is to prevent duplicated stats in Jellystat as wed have 1 record from Jellystat and 1 from the Playback Reporting Plugin.

Hi @mLgz0rn , this has been in the works for a while and im actually working with it at the moment. Its the last feature for the current unstable branch and then itl be on the next release. Just something to note, This will only import past data. IE if you have been running Jellystat since 1st of this month, then everything before that will be imported. This is to prevent duplicated stats in Jellystat as we'd have 1 record from Jellystat and 1 from the Playback Reporting Plugin.

That sounds great! And makes sense.
I just stumpled upon this yesterday, been missing a solid stats interface for jellyfin, and this looks great!

 Playback Reporting Plugin Importer

Any ETA on this?
Would be highly appreciated

Hi @GrimJu , technically the feature is already there to import the data, but the reason i haven't closed this of was because the data that comes from the plugin can be abit garbage, especially older data. So I'm trying to work on a function to fix the already imported data. You can go ahead and import the data if you want but you may notice some weirdness where if you click on a watch record it wont link back to a specific item. Rough estimate would be in the next 2 -3 weeks for this function alone as its very hit or miss at the moment and seems to miss alot of older records

Sorry, I didn't see that the option is already in the settings. But it doesn't seem to work for me. After clicking the button the request instantly finishes with a 304 code and nothing changes. Are there any logs that I can post?

there should be a log for that task under logs. its generally a quick process as its a straight import with just a remap of the data

My bad, it was a problem with my reverse proxy blocking the request.
Thank you for the quick response

Just wondering the status of this?  I have 3 years of Playback reporting data and I'm about to start using jellystat.  Is it safe to import my data now and it will be organized properly or should I wait for the next release to import?

Is the conversion error already fixed in the unstable release?

Hi @PCJones, its not 100% fixed, alot of the major issues have been mitigated but youl notice that a decent chunk of your playback doesnt reflect, for now its all stored in a temp table and as the fix gets worked on itl retroactively be added into the activity table.

Is this in the stable 1.10 build now since I had jellystat down for a while and tried importing from the playback reporting plugin and nothing populated.

I found this in the logs:
2024-08-08T06:55:09.203287147Z [JELLYSTAT]: Error occurred while executing query: getaddrinfo EAI_AGAIN jellystat-db
2024-08-08T06:55:10.203853634Z [JELLYSTAT]: Error occurred while executing query: getaddrinfo EAI_AGAIN jellystat-db
2024-08-08T06:55:11.205065613Z [JELLYSTAT]: Error occurred while executing query: getaddrinfo EAI_AGAIN jellystat-db
2024-08-08T06:55:12.205293496Z [JELLYSTAT]: Error occurred while executing query: getaddrinfo EAI_AGAIN jellystat-db
2024-08-08T06:55:13.206875533Z [JELLYSTAT]: Error occurred while executing query: getaddrinfo EAI_AGAIN jellystat-db
2024-08-08T06:55:14.208151208Z [JELLYSTAT]: Error occurred while executing query: getaddrinfo EAI_AGAIN jellystat-db
2024-08-08T06:55:15.208338120Z [JELLYSTAT]: Error occurred while executing query: getaddrinfo EAI_AGAIN jellystat-db
2024-08-08T06:55:16.209912295Z [JELLYSTAT]: Error occurred while executing query: getaddrinfo EAI_AGAIN jellystat-db
2024-08-08T06:55:17.210975280Z [JELLYSTAT]: Error occurred while executing query: getaddrinfo EAI_AGAIN jellystat-db
2024-08-08T06:55:18.210610225Z Error: Postgres DB Connection refused at <IP_ADDRESS>:5432
2024-08-08T06:55:19.212193920Z [JELLYSTAT]: Error occurred while executing query: the database system is starting up
2024-08-08T06:55:20.213710922Z [JELLYSTAT]: Error occurred while executing query: the database system is starting up

Is it supposed to only import up to 3 months of playback history?


User > Notification: "Notify me when a synchronization with billing system has failed" is not saved in the backend

Fixed