Panic when drawing off the edge of an offscreen image

panic: runtime error: index out of range [28] with length 28

goroutine 10 [running]:
golang.org/x/image/vector.(*Rasterizer).rasterizeDstAlphaSrcOpaqueOpSrc(0x1400016cab0, 0x140010f9200, {{0x14000f715f8?, 0x100a74078?}, {0x14000f715f8?, 0x100a74018?}})
        /Users/kalexmills/go/pkg/mod/golang.org/x/image@v0.7.0/vector/vector.go:384 +0x1b4
golang.org/x/image/vector.(*Rasterizer).Draw(0x1400016cab0, {0x1012f21b8?, 0x140010f9200}, {{0x24?, 0x0?}, {0x0?, 0x0?}}, {0x1012f1820?, 0x14000192410?}, {0x0?, ...})
        /Users/kalexmills/go/pkg/mod/golang.org/x/image@v0.7.0/vector/vector.go:281 +0xf4
github.com/tinne26/etxt/emask.(*DefaultRasterizer).Rasterize(0x1400016cab0, {0x1400012d500, 0x24, 0x40}, {0xf71798?, 0x140?})
        /Users/kalexmills/go/pkg/mod/github.com/tinne26/etxt@v0.0.8/emask/impl_default.go:87 +0xf0
github.com/tinne26/etxt/emask.Rasterize({0x1400012d500?, 0x1008233d4?, 0x30000000028?}, {0x1012f0b30?, 0x1400016cab0?}, {0x36c?, 0x234?})
        /Users/kalexmills/go/pkg/mod/github.com/tinne26/etxt@v0.0.8/emask/rasterizer.go:105 +0x84
github.com/tinne26/etxt.(*Renderer).LoadGlyphMask(0x140003b4700, 0x28, {0x1?, 0x1?})
        /Users/kalexmills/go/pkg/mod/github.com/tinne26/etxt@v0.0.8/renderer_draw.go:73 +0x98
github.com/tinne26/etxt.(*Renderer).DrawFract.func1({0x18?, 0x0?}, 0x12a2980?, 0x1?)
        /Users/kalexmills/go/pkg/mod/github.com/tinne26/etxt@v0.0.8/renderer_draw.go:45 +0x58
github.com/tinne26/etxt.(*Renderer).Traverse.func1({0x28e013d8?, 0x1?})
        /Users/kalexmills/go/pkg/mod/github.com/tinne26/etxt@v0.0.8/renderer_traverse.go:112 +0x2c
github.com/tinne26/etxt.(*Renderer).traverseGlyphLTR(0x140003b4700, {0x12a2980?, 0x1?}, {0x1?, 0x0?, 0x0?}, 0x140007da198)
        /Users/kalexmills/go/pkg/mod/github.com/tinne26/etxt@v0.0.8/renderer_traverse.go:246 +0xcc
github.com/tinne26/etxt.(*Renderer).Traverse(0x140003b4700, {0x140019940e4, 0xa}, {0x8c0, 0x140?}, 0x140016d7020)
        /Users/kalexmills/go/pkg/mod/github.com/tinne26/etxt@v0.0.8/renderer_traverse.go:111 +0x3f8
github.com/tinne26/etxt.(*Renderer).DrawFract(0x140003b4700, {0x140019940e4, 0xa}, 0x1?, 0x0?)
        /Users/kalexmills/go/pkg/mod/github.com/tinne26/etxt@v0.0.8/renderer_draw.go:42 +0xa4
github.com/tinne26/etxt.(*Renderer).Draw(...)
        /Users/kalexmills/go/pkg/mod/github.com/tinne26/etxt@v0.0.8/renderer_draw.go:25
github.com/Frabjous-Studios/ebitengine-game-template/internal.(*MainScene).randCheck(0x1400011a000)
        /Users/kalexmills/repos/personal/ldjam-53/internal/main_scene.go:1276 +0x3ec
github.com/Frabjous-Studios/ebitengine-game-template/internal.(*MainScene).putCounter(0x1400011a000, {0x140007fe090?, 0x1, 0x1?})
        /Users/kalexmills/repos/personal/ldjam-53/internal/main_scene.go:1027 +0xb8
github.com/Frabjous-Studios/ebitengine-game-template/internal.(*MainScene).Command(0x1400011a000, {0x140001b63d8, 0x12})
        /Users/kalexmills/repos/personal/ldjam-53/internal/main_scene.go:847 +0x2e4
github.com/DrJosh9000/yarn.(*VirtualMachine).execRunCommand(0x1400088c980?, {0x140002b0350?, 0x1?, 0x14000714d20?})
        /Users/kalexmills/go/pkg/mod/github.com/!dr!josh9000/yarn@v0.5.0/vm.go:326 +0x234
github.com/DrJosh9000/yarn.(*VirtualMachine).execute(0x0?, 0x0?)
        /Users/kalexmills/go/pkg/mod/github.com/!dr!josh9000/yarn@v0.5.0/vm.go:228 +0x9c
github.com/DrJosh9000/yarn.(*VirtualMachine).Run(0x1400088c980, {0x100c42151, 0x12})
        /Users/kalexmills/go/pkg/mod/github.com/!dr!josh9000/yarn@v0.5.0/vm.go:186 +0x3bc
github.com/Frabjous-Studios/ebitengine-game-template/internal.(*DialogueRunner).DoNode(0x1400031bf10?, {0x100c42151?, 0x0?})
        /Users/kalexmills/repos/personal/ldjam-53/internal/dialogue_runner.go:86 +0xa0
github.com/Frabjous-Studios/ebitengine-game-template/internal.(*MainScene).startRunner(0x1400011a000)
        /Users/kalexmills/repos/personal/ldjam-53/internal/main_scene.go:746 +0x58
created by github.com/Frabjous-Studios/ebitengine-game-template/internal.(*MainScene).Update
        /Users/kalexmills/repos/personal/ldjam-53/internal/main_scene.go:262 +0x17c
exit status 2

Seen at commit24101a8

It very much looks like the TODO in Golang's code at fault: https://cs.opensource.google/go/x/image/+/refs/tags/v0.7.0:vector/vector.go;l=268. We probably want to get the actual values of bounds and points and rects to debug. It should be patchable from etxt's end, but that's not very ideal; a more minimal example reported to Golang directly may be the way to go here. I'll look into it when I can, but it may take a few days.
I'm particularly interested in a more minimal example because since this doesn't seem to be etxt's fault, it may also affect ebiten/text. A temporary workaround may involve trying to render with<EMAIL_ADDRESS>instead (though that's much less tested and slower and it doesn't give the best guarantees either).

I tried to compile your project to reproduce the issue and try the quickfix with EdgeMarkRasterizer, but failed to do so. I installed ysc and compiled the yarn files, but then I got other errors for missing files:
2023/05/01 09:29:20 fonts available: Munro,Munro Narrow,Munro Small,Roustel Regular,Thesignature,Honey Script Light,Honey Script SemiBold
2023/05/01 09:29:20 error loading animation: scan_shreder.json: open gamedata\img\scan_shreder.png: file does not exist
2023/05/01 09:29:20 failed to load image: gamedata/img/head_psychoClown: open gamedata/img/head_psychoClown: file does not exist

[...]

this usage of filepath is incorrect
Jesus; I literally did the same thing a few weeks ago and I think you pointed it out in the Ebitengine Discord. After this Game jam I'm making a resources library and never writing this code again. ;)


Dropdown list display the labels instead of values

Hello I am trying to set my data as "array of objects". My data is desigend as
[
  {label,value},
  {label,value},
  {label,value},
...]

But it displays to me the labels instead of my values. Here are my convert, render, and dropdown code blocks I hope you can help. I am stuck on this bug.
App.js
https://gist.github.com/OnurSerbes/2b09965bbff263f88973c989018bf7c5
DynamicComponent.js
https://gist.github.com/OnurSerbes/b16991f1f015e33c180a69deb79627ec
CustomDropdonw.js
https://gist.github.com/OnurSerbes/78bddf7c14199494c467b6855f8956e1
If you want to see the discussion about it here you can check
https://stackoverflow.com/questions/74400109/cant-display-values-instead-of-labels-in-dropdown-list

After reviewing the documentation I noticed that the dropdown list only shows the label. So I organized my data according to that.


PEP8 Errors in the package

While trying to solve some issues and after taking reviews from people, I've observed that the code isn't compliant with the PEP8 guidelines. We can use tools like autopep8 to fix these at once.

I think we can follow the convention that is followed in the core of django: use flake8 and isort end enforce these style conventions in the build, see the django tox.ini configuration (look for isort and flake8).

What do you think about using YAPF (https://github.com/google/yapf) which autoformats all code to a deterministic format (much like prettier does for JavaScript)?
We could enforce that the format is the same as YAPF would give us. The output is pep8 compatible and there will never be any discussions of one persons preferred style.

I didn't know yapf. I think is a good idea to use it in combination with isort.
Django uses flake8 + isort, but you are right in the sense that sometimes different styles will pass the flake8 validation, so having a neutral judge may be better.

Started to work on this in #113
If someone feels like helping out on fixing the flake8 errors, feel free to contribute! You can create a PR based on the flake8-check branch.

@gregmuellegger great! that may happen even with flake8 and isort, I usually configure some files like settings.py and migrations to be ignored because there's really no great value to spend time on those (especially because migrations are usually autogenerated and not touched very much by humans plus may be added often over time on some projects), here's an example of one of the latest flake8 and isort configuration I recently improved: https://github.com/openwisp/netjsonconfig/blob/master/setup.cfg#L4-L15
Here's an example of travis.yml configuration:
https://github.com/openwisp/netjsonconfig/blob/master/.travis.yml#L14-L18
After almost a couple of years I started to run these checks in the before_script section of travis-ci, so the main dependencies (eg: django, etc) are installed only if the static checks pass, this allows to spot style issues faster because those checks are run almost straightaway.


🐛 [Bug report]: On each mount there is 3 api calls. better we cache these data instead of making calls

Descrcibe the bug?
actually not a bug but more like a feature. we are curerntly making call when our filter modal mounts each times and the apis are retuning same data everytime. better we only call these apis only on first mount and cache them internally so that next time when it mounts it wont make any call again and again.
Steps to reproduce the bug?
we need to create a caching technique.
Expected behavior
expected bhaviour is not making call on each mount
Desktop (Please provide your system information)
OS - Ubuntu 22.10
brower - Google Chrome
version - lastest
Mobile (Please provide your device information)
No response
Screenshot / Screenshare

Relevant log output
No response
Code of Conduct

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

if anyone wants can pick it up

@supminn want to take a look?

@supminn want to take a look?

Sure, I'd like to take it up!


[Important] The current website is about to enter maintenance mode to aid with v3 launch

TL;DR; At the end of Jan 2021, all tracks will enter v3 staging mode. Updates will no longer sync with the current live website, but instead sync with the staging website. The J section of the v3 repo will be extracted and PR'd into this track (if appropriate). Further issues and information will follow over the coming weeks to prepare J for the launch of v3.
Over the last 12 months, we've all been hard at work developing Exercism v3. Up until this point, all v3 tracks have been under development in a single repository - the v3 repository. As we get close to launch, it is time for us to explode that monorepo back into the normal track repos. Therefore, at the end of this month (January 2021), we will copy the v3 tracks contents from the v3 repository back to the corresponding track repositories.
As v3 tracks are structured differently than v2 tracks, the current (v2) website cannot work with v3 tracks. To prevent the v2 website from breaking, we'll disable syncing between track repositories and the website. This will effectively put v2 in maintenance mode, where any changes in the track repos won't show up on the website. This will then allow tracks to work on preparing for the Exercism v3 launch.
Where possible, we will script the changes needed to prepare tracks for v3. For any manual changes that need to be happening, we will create issues on the corresponding track repositories. We will be providing lots of extra information about this in the coming weeks.
We're really excited to enter the next phase of building Exercism v3, and to finally get it launched! 🙂

As of today, the website has entered maintenance mode.

As of today, the website has entered maintenance mode.

With Exercism v3 just being released, tracks are no longer in maintenance mode and are active again.
This means that changes made to this track will once again show on the website.
Thanks for being patient with us and enjoy Exercism v3!


App missing from Google Play Store

The link included in README links to non-existing app in Google Play Store.
To reproduce:

Visit https://play.google.com/store/apps/details?id=com.ethereal.openscan
Observe "We're sorry, the requested URL was not found on this server."

https://github.com/ethereal-developers/OpenScan#psa

Thanks for clarification.


Test CDP PR

Coverage remained the same at 100.0% when pulling 0b4ae559f95962c00adc511d7d171c06a472cd68 on trungnguyen:master into bc8c0323f4a210c4278bb00d1ac7d6848d2d12bd on ukparliament:master.


Don't show create new thread modal for non confirmed users

I've updated the create a new thread button to only be accessible to users that have been confirmed, I've also updated the all.blade.php to be includeWhen. I was also tempted to do the same for the login and register modals, but I thought that'd be best to do in a separate PR.

Does anything happen when they click the "Please confirm your email address" button?

Nothing happens when you click the button, I was tempted to remove the button all together, but I wanted to make it clear to the user that they need to confirm their email before continuing and I thought another modal/alert would be redundant.
Let me know, if you have any ideas and I'll be happy to implement it :)

you can add pop up module with description what you should do for confirming your email


Editing appointments seems to display old data/wrong button labels at times

Expected behavior:
I can view the latest (correct) appointment data.
The Cancel/Return button does not change labels.
Actual behavior:
Sometimes I see appointment data from a previous edit.
The Cancel/Return button changes labels.
When clicking Cancel, I see new data pop in before being taken away.
Steps to reproduce:

Create an all day appointment.
Edit the appointment, make it not be all day.
Restart the browser (optional?)
Go to search and click the appointment.
Notice that it's back to being all day.
Button says "Cancel" rather than "Return".
Clicking "Cancel" changes the label to "Return".
Going back to the appointment the same way now should make it show "Return" and the latest data (it will not be all day).

Screenshots (if applicable):
This is a gif taken with the current beta build (beta.hr.io).
http://imgur.com/a/ohrGc
Gif taken with the current local build (showing the invalid data):
http://imgur.com/ncKpJe8
OS and Browser:
Windows 8.1 64 bit & Firefox 49.0.2 (beta.hr.io)
Lubuntu 16.10 32 bit & Firefox 49.0.2 (local)

Edited to provide local behavior gif. It seems to happen consistently locally. On the online beta I haven't had luck with the All Day -> Not All Day update repro steps, but the Cancel/Return bug shows up for other appointments.

I'll try to tackle this issue.

It looks like @jkleinsc has solved this issue with https://github.com/HospitalRun/hospitalrun-frontend/commit/c0d191fa9dd2e7d914b77d8dc3a3dbf1932ba37b .

Closing this issue as resolved.


Error building for ios

This worked ok for android but we are having this error while building the app for IOS
Running Xcode build...
Xcode build done.                                           14.1s
Failed to build iOS app
Error output from Xcode build:
↳
* BUILD FAILED *
Xcode's output:
↳
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:3:8: error: error extracting
version from module interface
import SupportSDK
^
/Users/imo/web/reimnet/clients/suez/suezElectric/ios/Pods/ZendeskSupportSDK/SupportSD
K.framework/Modules/SupportSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface:
1:1: error: error extracting version from module interface
// swift-interface-format-version: 1.0
^
/Users/imo/web/reimnet/clients/suez/suezElectric/ios/Pods/ZendeskSupportProvidersSDK/
SupportProvidersSDK.framework/Modules/SupportProvidersSDK.swiftmodule/x86_64-apple-io
s-simulator.swiftinterface:1:1: error: error extracting version from module interface
// swift-interface-format-version: 1.0
^
/Users/imo/web/reimnet/clients/suez/suezElectric/ios/Pods/ZendeskSupportProvidersSDK/
SupportProvidersSDK.framework/Modules/SupportProvidersSDK.swiftmodule/x86_64-apple-io
s-simulator.swiftinterface:1:1: error: error extracting version from module interface
// swift-interface-format-version: 1.0
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:4:8: error: error extracting
version from module interface
import ChatSDK
^
/Users/imo/web/reimnet/clients/suez/suezElectric/ios/Pods/ZendeskChatSDK/ChatSDK.fram
ework/Modules/ChatSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface:1:1:
error: error extracting version from module interface
// swift-interface-format-version: 1.0
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:5:8: error: error extracting
version from module interface
import ChatProvidersSDK
^
/Users/imo/web/reimnet/clients/suez/suezElectric/ios/Pods/ZendeskChatProvidersSDK/Cha
tProvidersSDK.framework/Modules/ChatProvidersSDK.swiftmodule/x86_64-apple-ios-simulat
or.swiftinterface:1:1: error: error extracting version from module interface
// swift-interface-format-version: 1.0
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:6:8: error: error extracting
version from module interface
import ZendeskCoreSDK
^
/Users/imo/web/reimnet/clients/suez/suezElectric/ios/Pods/ZendeskCoreSDK/ZendeskCoreS
DK.framework/Modules/ZendeskCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinter
face:1:1: error: error extracting version from module interface
// swift-interface-format-version: 1.0
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:8:8: error: error extracting
version from module interface
import MessagingSDK
^
/Users/imo/web/reimnet/clients/suez/suezElectric/ios/Pods/ZendeskMessagingSDK/Messagi
ngSDK.framework/Modules/MessagingSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinte
rface:1:1: error: error extracting version from module interface
// swift-interface-format-version: 1.0
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:23:13: error: 'Logger' is
unavailable: cannot find Swift declaration for this class
Logger.isEnabled = true
^~~~
ChatProvidersSDK.Logger:2:14: note: 'Logger' has been explicitly marked unavailable
here
public class Logger : NSObject {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:24:13: error: 'Logger' is
unavailable: cannot find Swift declaration for this class
Logger.defaultLevel = .verbose
^~~~
ChatProvidersSDK.Logger:2:14: note: 'Logger' has been explicitly marked unavailable
here
public class Logger : NSObject {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:38:13: error: 'Zendesk' is
unavailable: cannot find Swift declaration for this class
Zendesk.initialize(appId: applicationId,
^~~
ZendeskCoreSDK.Zendesk:2:14: note: 'Zendesk' has been explicitly marked unavailable
here
public class Zendesk : NSObject {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:41:13: error: 'Support' is
unavailable: cannot find Swift declaration for this class
Support.initialize(withZendesk: Zendesk.instance)
^~~
SupportProvidersSDK.Support:2:14: note: 'Support' has been explicitly marked
unavailable here
public class Support : NSObject {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:42:43: error: cannot find
'Identity' in scope
Zendesk.instance?.setIdentity(Identity.createAnonymous(name:nameIdentifie
r, email: emailIdentifier))
^~~~
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:42:13: error: 'Zendesk' is
unavailable: cannot find Swift declaration for this class
Zendesk.instance?.setIdentity(Identity.createAnonymous(name:nameIdentifie
r, email: emailIdentifier))
^~~
ZendeskCoreSDK.Zendesk:2:14: note: 'Zendesk' has been explicitly marked unavailable
here
public class Zendesk : NSObject {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:53:13: error: 'Chat' is
unavailable: cannot find Swift declaration for this class
Chat.initialize(accountKey: accountKey,appId:applicationId)
^~
ChatProvidersSDK.Chat:2:14: note: 'Chat' has been explicitly marked unavailable here
public class Chat : NSObject {
^
/Users/imo/web/reimnet/clients/suez/suezElectric/ios/Pods/ZendeskSDKConfigurationsSDK
/SDKConfigurations.framework/Modules/SDKConfigurations.swiftmodule/x86_64-apple-ios-s
imulator.swiftinterface:1:1: error: error extracting version from module interface
// swift-interface-format-version: 1.0
^
/Users/imo/web/reimnet/clients/suez/suezElectric/ios/Pods/ZendeskSDKConfigurationsSDK
/SDKConfigurations.framework/Modules/SDKConfigurations.swiftmodule/x86_64-apple-ios-s
imulator.swiftinterface:1:1: error: error extracting version from module interface
// swift-interface-format-version: 1.0
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:70:28: error:
'HelpCenterUiConfiguration' is unavailable: cannot find Swift declaration for this
class
let hcConfig = HelpCenterUiConfiguration()
^~~~~~~~~
SupportSDK.HelpCenterUiConfiguration:2:14: note: 'HelpCenterUiConfiguration' has been
explicitly marked unavailable here
public class HelpCenterUiConfiguration : NSObject, Configuration {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:72:30: error: cannot find
'HelpCenterUi' in scope
let helpCenter = HelpCenterUi.buildHelpCenterOverviewUi(withConfigs:
[hcConfig])
^~~~~~
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:77:34: error: 'RequestUi' is
unavailable: cannot find Swift declaration for this class
let viewController = RequestUi.buildRequestUi(with: [])
^~~~~
SupportSDK.RequestUi:2:14: note: 'RequestUi' has been explicitly marked unavailable
here
public class RequestUi : NSObject {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:81:34: error: 'RequestUi' is
unavailable: cannot find Swift declaration for this class
let viewController = RequestUi.buildRequestList(with: [])
^~~~~
SupportSDK.RequestUi:2:14: note: 'RequestUi' has been explicitly marked unavailable
here
public class RequestUi : NSObject {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:112:9: error: 'Chat' is
unavailable: cannot find Swift declaration for this class
Chat.profileProvider?.addTags(["标签：昵称："+name+" 手机号："+phone])
ChatProvidersSDK.Chat:2:14: note: 'Chat' has been explicitly marked unavailable here
public class Chat : NSObject {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:114:45: error:
'ChatFormConfiguration' is unavailable: cannot find Swift declaration for this class
let chatFormConfiguration = ChatSDK.ChatFormConfiguration.init(name:
.required, email: .hidden, phoneNumber: .hidden, department: .hidden)
^~~~~~~~~
ChatSDK.ChatFormConfiguration:2:14: note: 'ChatFormConfiguration' has been explicitly
marked unavailable here
public class ChatFormConfiguration : NSObject {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:116:33: error:
'ChatConfiguration' is unavailable: cannot find Swift declaration for this class
let chatConfiguration = ChatConfiguration()
^~~~~~~
ChatSDK.ChatConfiguration:2:14: note: 'ChatConfiguration' has been explicitly marked
unavailable here
public class ChatConfiguration : NSObject, Configuration {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:129:38: error:
'MessagingConfiguration' is unavailable: cannot find Swift declaration for this class
let messagingConfiguration = MessagingConfiguration()
^~~~~~~~
MessagingSDK.MessagingConfiguration:2:14: note: 'MessagingConfiguration' has been
explicitly marked unavailable here
public class MessagingConfiguration : NSObject, Configuration {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:132:30: error: 'ChatEngine' is
unavailable: cannot find Swift declaration for this class
let chatEngine = try ChatEngine.engine()
^~~~
ChatSDK.ChatEngine:2:14: note: 'ChatEngine' has been explicitly marked unavailable
here
public class ChatEngine : NSObject {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:134:34: error: 'Messaging' is
unavailable: cannot find Swift declaration for this class
let viewController = try Messaging.instance.buildUI(engines: [chatEngine],
configs: [chatConfiguration,messagingConfiguration])
^~~~~
MessagingSDK.Messaging:2:14: note: 'Messaging' has been explicitly marked unavailable
here
public class Messaging : NSObject {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:139:40: error:
'ChatAPIConfiguration' is unavailable: cannot find Swift declaration for this class
let chatAPIConfiguration = ChatAPIConfiguration()
^~~~~~~~
ChatProvidersSDK.ChatAPIConfiguration:2:14: note: 'ChatAPIConfiguration' has been
explicitly marked unavailable here
public class ChatAPIConfiguration : NSObject {
^
/Users/imo/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zendes_plug
in-1.0.3/ios/Classes/SwiftFlutterZendeskPlugin.swift:141:13: error: 'Chat' is
unavailable: cannot find Swift declaration for this class
Chat.instance?.configuration = chatAPIConfiguration
^~
ChatProvidersSDK.Chat:2:14: note: 'Chat' has been explicitly marked unavailable here
public class Chat : NSObject {
^
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 11 Pro.

note: Using new build system
please using new build system,
in Xcode, plese selecet File -> Workspace Settings.. -> Build System , choose  "New Build System(Ddfault)"


[bug] Livepeer theme not being applied on NextJs without dynamic import

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
2.0.0-next.13
Current Behavior
Weird but happening 🙇🏻 Without dynamic import lazy load/ssr: false the video player theme is set to default (green one). With the below import lazy load, it works fine!
const VideoPlayer = dynamic(() => import('web-ui/VideoPlayer'), {
  ssr: false
})

Expected Behavior
Styles should work with normal import.
Steps To Reproduce
No response
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response

Docs fixes made here:
https://github.com/livepeer/docs/pull/279/files#diff-457ff3b8f7e47d7d6b5fc1c9996fe162b3f63e159a4f9b3fa25d9ee7afb49ebb


Sleep schedule not fully working

Time now is 1AM.
Just started bot.
Expected Behavior
Bot should wait and go into sleep mode, since we are well within the sleep schedule
Actual Behavior
Bot bots
Your FULL config.json (remove your username, password, gmapkey and any other private info)

{
"type": "SleepSchedule",
"config": {
"enabled": true,
"time": "20:34",
"duration":"11:46",
"time_random_offset": "00:24",
"duration_random_offset": "00:43"
}
},

Steps to Reproduce
Set your time to 1AM (or any time well within the parameters), copy the above chunk to your config tasks, and start the bot. I assume the bot isn't smart enough to take into the actual physical location and offset the system time to the local time of the location that we have input into the config.json.
Other Information
Branch:
dev
Git Commit:
52495aee0cd0882077270c9c3ed9445bcee31f4d
Python Version:
Python 2.7.9

#3792


[CM-1244] Dependencies section added to read me.

Introduction
Dependencies section added to read me.
Purpose
Dependencies section added to read me.
Scope
Read me file updated.

Introduction and Purpose should never be identical. Introduction is supposed to be more conversational. It is intended to literally "introduce" the subject of the PR to a reader who might not be familiar with the task. So in this case, I would have used something like this:

This library depends upon two other open source libraries. It is important that we list them in the README file.

You also need to add "Fix #5" to the Purpose section. This will then automatically close the correct issue when this PR is merged. Do this before merging the PR (after has no effect).


ci(deps): 👷 setup dependabot

Codecov Report

Merging #24 (5f12f00) into master (d241bd7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #24   +/-   ##
=======================================
  Coverage   84.78%   84.78%
=======================================
  Files          29       29
  Lines         309      309
  Branches       49       49
=======================================
  Hits          262      262
  Misses         47       47

Continue to review full report at Codecov.

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


Further development of the format?

Since I recently wrote my own Zoo implementation and added it to both ObjFW and ofarc, I was wondering if further development of the format is planned and there might be things I should add in the future? For example, support for files > 4 GB?
Furthermore I was wondering if there are any plans to release a bunch of .zoo files for compatibility testing.

I am not the original author of zoo. I sometimes restore old programs for use on Linux and UNIX systems.
The only plan I have for this project is to make it work with modern compilers and on 64-bit systems.
However, I do not have the time to work on it presently.

I'd like to see some extensions to the format, but they should be done in a way that don't massacre compatibility and degrade gracefully with existing implementations of archivers.


Add a Code of Conduct

Adds a copy of the Contributor Covenant Code of Conduct to Brackets. There have been numerous big projects that have done so before (see http://contributor-covenant.org/#who), and I don't see any particular reason why we shouldn't also have one, except for maybe the added responsibility, but we should have that anyway.
cc @bethomas

Btw, I used<EMAIL_ADDRESS>as a contact address as it's the only one I know of that is a generic one that only Adobe people (but not just one, I suppose) can read.

@bethomas : Could you take a quick look at this PR and see if we are good to go?

@MarcelGerber Just in time 😄  This was a long pending change required to keep the community interactions constructive 👍

@madanbn @swmitra can we merge this?

Sure @ficristo. I would love to do that myself 😄

Merging...


Migrate task functions to inter-op

Purpose

$subject

Fixes #19774
This might cause bugs #19893
Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

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

[ ] Increased Test Coverage
[ ] Added necessary documentation

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

Codecov Report

Merging #19906 into ballerina-1.0.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.0.x   #19906   +/-   ##
================================================
  Coverage            20.51%   20.51%
================================================
  Files                   52       52
  Lines                 1394     1394
  Branches               216      216
================================================
  Hits                   286      286
  Misses                1095     1095
  Partials                13       13

Continue to review full report at Codecov.

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


Uniqueness test failures on main

Since updating to fdd19c2f13ad4fcf3b400a237a813a417617a195, the following tests are failing:
10:45:43  Failure in test unique_stg_ga4__users_first_last_events_user_key (models/staging/ga4/stg_ga4.yml)
10:45:43    Got 452 results, configured to fail if != 0
10:45:43
10:45:43    compiled SQL at target/compiled/ga4/models/staging/ga4/stg_ga4.yml/unique_stg_ga4__users_first_last_events_user_key.sql
10:45:43
10:45:43  Failure in test unique_dim_ga4__sessions_session_key (models/marts/core/core.yml)
10:45:43    Got 11 results, configured to fail if != 0
10:45:43
10:45:43    compiled SQL at target/compiled/ga4/models/marts/core/core.yml/unique_dim_ga4__sessions_session_key.sql
10:45:43
10:45:43  Failure in test unique_stg_ga4__users_first_last_pageviews_user_key (models/staging/ga4/stg_ga4.yml)
10:45:43    Got 15 results, configured to fail if != 0

@adamribaudo-velir Keen to hear your thoughts on this.
In that commit you removed the uniqueness test on the events table. But these other tests still exist.
I'm not sure if this is the right direction to be going anyway?

Right, a few things are held up and waiting on a partition-friendly way to keep events unique. Using row_number() over(partition by session_key) negates the partition pruning and causes unnecessary scans for any model accessing stg_ga4__events.sql
If we can find a way to determine event uniqueness, this feels like the right direction to take. But leaving main in a state with failed tests isn't great, so apologies for that.
Any ideas on event uniqueness?

Is the original problem that there are duplicate deliveries of the same event, or that there is sometimes more than one session start event per session?

Aargh, I'm running into #61 again, so my sessions are just not working properly at all.
Specifically, I am missing rows from the dim_ga4__sessions table corresponding to the fct_ga4__sessions and other events, because the session_start event is associated with a session_key that is based on a user_key that is sometimes based on user_pseudo_id and sometimes based on user_id (from later in the session once they've logged in). And the dim_ga4__sessions table is based on the session start events, therefore, it's affected.
I'm not sure what we need from the session_start event itself, but in any case, I think it might be time we (╯°□°)╯︵ ┻━┻ on this approach and move on with the session remodelling you started working on (#62)? The best idea I have right now is still what I suggested in https://github.com/Velir/dbt-ga4/issues/61#issuecomment-1237514454.

OK, https://github.com/Velir/dbt-ga4/pull/76 should sort that, then if you're happy with merging that I can test out the change you propose here.

All set.

This is still open because #74 is still unresolved (see latest comment)

Summarizing some discussion from #74 given that it solves some, but not all issues raised here.

We uncovered a few different scenarios where both firebase and gtag.js can produce duplicate events. Some of these scenarios can be resolved through modifications to the collection implementation, but in other cases these are system-generated events that cannot be customized.

Ideally, events would be deduped on the way into a partitioned table and then surrogate event keys would be created on top of the deduped events. Someone will need to propose an implementation path here.


About the dynamic objects' unsee face

Hello, thank you very much for your work. I am very curious about how your work handles the invisible surfaces of dynamic objects. Is it based on a small hypernetwork?Thank you!

Hi, we use a simple mirror prior (left side of car == right side of car). Of course this doesn’t help if the front or back side is invisible, so the editing is still limited for those cases.
We did some experiments with an actor hypernetwork but did not see any noticeable improvements over this simple mirroring.

Hi, we use a simple mirror prior (left side of car == right side of car). Of course this doesn’t help if the front or back side is invisible, so the editing is still limited for those cases.
We did some experiments with an actor hypernetwork but did not see any noticeable improvements over this simple mirroring.

ok thanks for your quick reply! It does a lot of help! And sorry for my late reply!
Finally thank you for you great work!

I wonder are there any implement about this mirror prior  in the code ,can you link it? Thanks a lot !

Np! It is enabled by default in neurad in neurad-studio. Look for actor_flip

Np! It is enabled by default in neurad in neurad-studio. Look for actor_flip

Got it! Thank you for your quick reply and great work!


Fix issues for az aks kollect on private clusters

Fixes #1679

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

add to S169

@arrownj  thanks, should be fixed now.

@arrownj could we get this merged now?


MAINT: ndimage: malloc fail check

Added malloc checks for returning null based on issue #9999 for the ni_morphology.c.

Sounds like @pv also agreed with this changeset so I'll merge, thanks @clementkng


storybook/no-uninstalled-addons false positives on monorepo

Describe the bug
Getting errors like these in a monorepo:
The @storybook/addon-links is not installed in pats/. Did you forget to install it or is your package.json in a different location?

the pats is the root of the monorepo.
Each package has storybook and addons installed.
Expected behavior
no error
Additional context
I'm not sure if storybook should be hoisted or install only at the top level of monorepo.
Right now, I have each package self-contained and each has their own copy of storybook.
I'm using pnpm.

Hey @unional thanks for opening this issue. Would you be able to either provide a minimal reproduction repo or a PR to fix this issue? This is the rule code: https://github.com/storybookjs/eslint-plugin-storybook/blob/main/lib/rules/no-uninstalled-addons.ts
You could for now disable that rule to unblock you.

@yannbf this isn't exactly a fix but it looks like a work around has been implemented here that is better than just blanket ignoring the rule:
https://github.com/storybookjs/eslint-plugin-storybook/pull/129

We have the same issue here - also using pnpm with a monorepo.


Most of the channels are not working

I installed one week ago. It worked well for 2-3 days and all of a sudden now most of the channels aren't working. In Tamil on Star Vijay is working, all other channels are not working and few other channels are working. Please do check this. I would say 80% channels are not working.

Hey @Chinna-23 . Can you please provide me log file. Because no one is facing this kind of issue where 80% channels are not working. It's strange

@botallen I'm not sure how to capture logs in KODI. Check all Tamil channels, and you will get an idea.

You mean 80% Tamil channels are not working or 80% of all channels are not working. Log will help me to catch error quickly

Only one Tamil channel is working (Star Vijay) other than that nothing works. Please do let me know how to check logs.

@botallen did you get a chance to look at my logs?

Sorry for bit late reply. Try to re login and it'll be all good

worked.


Provide snake-case aliases for Subscription, Resolver and Directive

As suggested by @florimondmanca here #169. It should be more pythonic to expose snake-case aliases for Subscription, Resolver and Directive.

[ ] Pull-request for the tartiflette implementation
[ ] Pull-request for the documentation
[ ] Pull-request for the tutorial

Hello @florimondmanca,
The current tree of the tartiflette module contains a submodule called resolver and directive. Which doesn't allow us to expose the snake-case aliases of Directive and Resolver.
We agree with your point of view, we will add this improvement to a future major version.

Understood! If this requires breaking chances, I can see why this shouldn’t make it to Tartiflette for now.

Hey @tsunammis, is this issue still considered for a future major version despite being closed? Perhaps this should be reopened unless this is something we won't consider implementing in the future at all?
Also, I think sub-packages conflicting with the snake-cased decorators can be easily worked around (e.g. by renaming packages to resolvers and directives).


Allow dynamic search directory and search mode

First of all, thank you for such a nice plugin, it's probably the best grep plugin for Vim out there.
I want to ask if there's a way to dynamically set the search directory and search mode when doing a single search, without having to use the \vo or \vy mapping. I mean can we have new commands, maybe:
Grep [pattern] [directory] # if [directory] is set here it overrides the EasyGrepRoot setting
GrepBuffers # do the same thing as Grep but using the Buffer search mode

The ability to prompt for [directory] when using \vv (in normal mode or visual mode) is great too.
It is also useful to be able to define custom mappings that change options AND do a grep, for example:
map <silent> <Leader>vb <plug>EgMapGrepCurrentWordBufferMode_v

This allows us to quickly search for text under cursor in loaded buffers, without having to manually change the option, and then type the key combination.

I'm glad you find the plugin useful!
Great ideas. I think that the first thought about a specific directory could be accomplished by adding a command line switch; e.g. Grep -d [directory]. Implementing it should be mostly straightforward.
For the GrepBuffers command, perhaps a command line switch 'Grep -b' would serve that purpose as well? In general I don't really like having separate commands because it limits the composability by requiring an outer-product of commands to achieve all possible options that you might want to invoke. Long term I actually would like to try to implement all mappings to actually be an invocation of a ":Grep" command with the appropriate options. I think that would allow achieving all existing mappings and many more.
I like these ideas and I'll see about adding some support for these features in the next version.

Thank you for your consideration.
In my opinion it's all about consistency. Since grep, ack, and ag all use the grep [pattern] [directory] structure, -d option might seem inconsistent.
However, I'm fine with -b and -d options, because I will map some of my keys to those commands anyway :)


Slides: Motivating the course: From an epidemiological line list to informing decisions in real-time

Might make sense to write this after #54 which could than refer back to the intro

Closed by #133


update TestPrecompute to modern standards

Running tool: /usr/local/bin/go test -timeout 30s -run ^TestPrecompute$ github.com/moov-io/watchman/cmd/server

ok  	github.com/moov-io/watchman/cmd/server	0.175s

@hampgoodwin can you rebase off origin/master? Fixed the build.

Looks like there's a build failure. From what I can tell when attempting to build watchman (and then test?), the port 8084 is already occupied somewhere in the CI process.
Any suggestions on where I can look to fix this? I already tried some of the usual culprits I would expect, like a bad config in docker-compose, two services same port or something, but I didn't find anything obvious to me.
https://github.com/moov-io/watchman/pull/335/checks?check_run_id=2229796797

Yea. That looks to be an issue with conflicting ports. Not sure why, but there must be something that didn't shutdown properly before.

Yea. That looks to be an issue with conflicting ports. Not sure why, but there must be something that didn't shutdown properly before.

I did try a simple "re-run tests" before my comment, and it was the same thing. When you say "something that didn't shutdown properly before", do you mean in a previous run, or in the same run? I'll look around the makefile to see what all is ran and try to validate there should be no port conflicts.

do you mean in a previous run, or in the same run?

I'm not sure off hand. Would need to look into it. There's likely stuff we can optimize from the past year or two.

Ok,
So to me this sounds like an invitation to look at the build process, and make whatever changes I would consider a standard build.
I'll do this with a branch that I'll PR into this branch & PR.
Thanks! :)

Can we rebase this off origin/master?

Codecov Report

Merging #335 (f62a57a) into master (a4ee2a3) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head f62a57a differs from pull request most recent head 18cfa8c.


Let swiftenv read the version instead

I realized that Kyle actually already exposed this functionality in #1 in swiftenv:
https://swiftenv.fuller.li/en/latest/integrations/travis-ci.html
So I simplified the code here to reduce code smell

This is a lot better. We originally had to pull the version ourselves when we had the 07-20-qutheory snapshot. But that's not being used anymore.

Ah, that makes sense =] Cool!


Add postcss-nested-props plugin

https://www.npmjs.com/package/postcss-nested-props
Refer to https://github.com/postcss/postcss-nested/issues/26

agree


Error make install

This is cmake result for relase:
-- The C compiler identification is AppleClang <IP_ADDRESS>20042
-- The CXX compiler identification is AppleClang <IP_ADDRESS>20042
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.10")
CMake Warning at tools/cmake/CodeCoverage.cmake:82 (MESSAGE):
  Compiler is not GNU gcc! Clang Version 3.0.0 and greater supports gcov as
  well, but older versions don't.
Call Stack (most recent call first):
  CMakeLists.txt:16 (INCLUDE)

CMake Warning at tools/cmake/CodeCoverage.cmake:112 (MESSAGE):
  Code coverage results with an optimized (non-Debug) build may be misleading
Call Stack (most recent call first):
  CMakeLists.txt:16 (INCLUDE)

-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
Git version: eb9f3b5afc43f679c6bdc44196e6d3fc59ac6396
Building untagged branch
-- Looking for jansson
-- Jannson Already Available /usr/local/lib/libjansson.dylib
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29")
-- Checking for one of the modules 'openssl;openssl>=1.0.2'
-- Using OpenSSL 1.1.1-dev - /usr/local/lib - /usr/local/lib
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/gokhanacer/KU/jwt-cpp/release

and then I try to "make install" command, but it is appeared:
[  2%] Building CXX object src/CMakeFiles/jwt.dir/jwt/jwt.cpp.o
[  5%] Building CXX object src/CMakeFiles/jwt.dir/base64/base64.cpp.o
[  8%] Building CXX object src/CMakeFiles/jwt.dir/validators/hmacvalidator.cpp.o
/Users/gokhanacer/KU/jwt-cpp/src/validators/hmacvalidator.cpp:31:47: error:
      member access into incomplete type 'const EVP_MD' (aka 'const evp_md_st')
  md_(md), algorithm_(algorithm), key_size_(md->md_size), key_(key) {
                                              ^
/usr/local/include/openssl/ossl_typ.h:91:16: note: forward declaration of
      'evp_md_st'
typedef struct evp_md_st EVP_MD;
               ^
/Users/gokhanacer/KU/jwt-cpp/src/validators/hmacvalidator.cpp:68:12: error:
      variable has incomplete type 'HMAC_CTX' (aka 'hmac_ctx_st')
  HMAC_CTX ctx;
           ^
/usr/local/include/openssl/ossl_typ.h:102:16: note: forward declaration of
      'hmac_ctx_st'
typedef struct hmac_ctx_st HMAC_CTX;
               ^
2 errors generated.
make[2]: *** [src/CMakeFiles/jwt.dir/validators/hmacvalidator.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/jwt.dir/all] Error 2
make: *** [all] Error 2

I set openssl path manally and it is solved.
INCLUDE_DIRECTORIES(/usr/local/opt/openssl/include)
LINK_DIRECTORIES (/usr/local/opt/openssl/lib)

This looks like the same issue I had, your first build was using the newer OpenSSL versions(1.1.0+) from your /user/local/lib which made a few types opaque, and some code modifications were required for compilation, although it seems you instead manually included an older version of OpenSSL from /usr/local/opt

We now support ssl 1.0 & 1.1


It's a PyTorch implementation,why use tensorflow?

It's not a PyTorch implementation of MF-Q and MF-AC, but it uses tensorflow.

Thanks for pointing out the typo!


Automatic index filtering is not working if columns are named in the Table class

Difficult to describe and maybe a no-issue or by design.
The query_from_indexes is creating a query section only if the filter columns are not named columns in the Table class
     class DataTable(Table): # working example
        class Meta:
              auto__model = DataModel
              auto__include = ['name', 'description']
              query_from_indexes = True

    class ColumnDataTable(DataTable): # not working
        name = Column()
        description = Column()

Also add a small test case with some instructions, hopefully not too confusing:
    """
    file name: test/test_iommi_table_filter.py

    additional files in test:

    test/apps.py
        from django.apps import AppConfig

        class TestConfig(AppConfig):
            default_auto_field = 'django.db.models.BigAutoField'
            name = 'test'

    test/models.py

        from django.db import models

        class DataModel(models.Model):
            name = models.CharField(max_length=32, unique=True, db_index=True)
            description = models.TextField(null=True, blank=True)

    setting.py

        if int(os.getenv('TESTING', 0)) == 1:
            print('testing.........')
            INSTALLED_APPS.append('test')

    urls.py

        if os.getenv('TESTING', 0) == '1':
            urlpatterns += [path('test_a/', DataTable().as_view(),
                name='test-a'),
            path('test_b/', ColumnDataTable().as_view(),
                name='test-b')]
    """

    from django.test import TestCase, Client
    from django.urls import reverse_lazy

    from iommi import Table, Column

    from test.models import DataModel  # see above

    class DataTable(Table):
        class Meta:
            auto__model = DataModel
            auto__include = ['name', 'description']
            query_from_indexes = True

    class ColumnDataTable(DataTable):
        name = Column()
        description = Column()

    class IommiTableTests(TestCase):
        def setUp(self) -> None:
            self.client = Client()

        def test_filter_wo_columns(self) -> None:
            url = reverse_lazy('test-a')  # see urls.py adjustment
            repsonse = self.client.get(url)
            self.assertEqual(repsonse.status_code, 200)
            self.assertIn('
', str(repsonse.content))

        def test_filter_with_columns(self) -> None:
            url = reverse_lazy('test-b')  # see urls.py adjustment
            repsonse = self.client.get(url)
            self.assertEqual(repsonse.status_code, 200)
            self.assertIn('
', str(repsonse.content))

The second test case fails.
if you change it to
    class ColumnDataTable(DataTable):
            name = Column(filter__include=True)
            description = Column()

the second test case passes. But in more complex scenarios you will then might loose all the nice automation from the query_from_index switch (at least in my experience).

I do think this is by design yea. It's so that you can later totally override a configuration of column.
In this specific example, if you just remove the name and description column definitions from the subclass it will work as you want I think.


feat: add custom comparator

Refactor func to sort key and add custom comparator. #373

@lyl156 could you help change the readme.md to add an example and explaination of this exciting feature? Thanks in advance.

@lyl156 could you help edit the readme.md to add an example and explaination of this exciting feature? Thanks in advance.

Please read #391.


AsyncChannel: Use close verb instead of finish

When we are talking about channels, we usually close them (e.g. same for file descriptors, pipes etc.).
It is also named close in Kotlin, Go etc.

/cc @twittemb Since I saw you reimplemented AsyncChannel in a different PR

/cc @twittemb Since I saw you reimplemented AsyncChannel in a different PR

Thanks for keeping me in the loop. If my PR is approved I’ll make sure the naming of in sync.

Also /cc @phausler since the proposal seems to originate from you

Close has some distinct implications; AsyncStream uses the finish terminology and our documentation around AsyncSequence in general uses finish too. So I am not fully convinced that this should have a distinct name in comparison to other systems that are related. (yield versus send are named distinctly since they do different things)

Mhm. AsyncStream.Continuation is the only async type in Swift that has a finish method, and its not actually on the AsyncStream itself, but its continuation. On the other hand close would be called on the channel, not some continuation.

in my mind, ‘close’ is bidirectional. either side can close a medium.
‘finish’ is directional. the consumer stops (or terminates) consumption, the producer finishes producing values.
i think the word finish has the connotation that it wouldn't make sense to continue communication because there is nothing left to communicate. closing or stopping communication doesn't suggest there is nothing left to communicate.
just my 2c

I guess it would fit the theme of Apple constantly claiming they invented something that existed for ages.

https://gobyexample.com/closing-channels
https://kotlinlang.org/docs/channels.html#closing-and-iteration-over-channels
http://www.di.uevora.pt/~lmr/syscalls.html section "Creating a Channel"

I see this is pointless.


Add Atom color scheme

The Atom theme (https://github.com/kognise/obsidian-atom) was at this time downloaded more than 25,000 times. I request to add these theme as a color scheme.

This is available as of 5.1.4.
You need to update both theme and plugin.

@kepano, crazy, thanks a lot!


Worse openGL performance on new version with gpu10

I have installed the new version of softGPU on virtualbox 7.0.14 with gpu10. I have noticed that performance is worse on games compared to the prior version on gpu9. Quake II for example ran on 60-84fps avg but now averages 25-50 fps. gpu9 still averages much higher with fifo on in the new version but dips to 40-54fps

Thanks to report, vGPU10 is unfortunately slower than vGPU9 especially in older games (DX6 etc.). I'll look at the performance drop between the old and new version - 3D mark 99 and 2000 gives me much better results for newer version, but I forgot to Quake 2 during testing...


[WFLY-18347] Removing PermissionUtils

https://issues.redhat.com/browse/WFLY-18347

Thanks @lvydra!


Add multi-stage groupby operator

Adding Simple AGG function support for multi-stage engine.
Details

Support simple aggregation

simple definition: stateless splittable aggregation such as SUM, MIN, MAX.
COUNT(*) is modeled as SUM(1)

Support single-column key aggregation GroupSet (similar to JOIN)

see TODO for more details on multi-column key

Support non-grouped aggregation

null-value handling is not supported. null-values will not be converted to "default value" in dataSchema.

TODO

https://github.com/apache/pinot/pull/8937 - multiple aggregation column key GroupSet support in separate PR:

KeySelector improvement.
KeyGroup carrying as stage metadata

support default null-value retrieval from data schema

Codecov Report

:exclamation: No coverage uploaded for pull request base (multi_stage_query_engine@ffedb2d). Click here to learn what that means.
The diff coverage is n/a.

@@                     Coverage Diff                     @@
##             multi_stage_query_engine    #8833   +/-   ##
===========================================================
  Coverage                            ?   27.00%
  Complexity                          ?        1
===========================================================
  Files                               ?     1729
  Lines                               ?    91122
  Branches                            ?    13636
===========================================================
  Hits                                ?    24604
  Misses                              ?    64184
  Partials                            ?     2334

Flag
Coverage Δ

integration1
27.00% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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

closing in favor of #8946 that also implemented multi-column group by


Optimal Algorithms.

Write the following algorithms for:

Prediciting if the element exists in future in the given data.
Find page to be replaced.

OPTIMAL Removed


[REQUEST] Compatibility with Applied Energistics 2

Description:

For all users of the mod "Applied Energistics 2" (AE2), it is certainly a pain to have to lay additional power cables to the "Fluix ME Glass Cable". With AE2, there is the possibility of using a "Quartz Fiber" cable to transfer ONLY power to a device. So you could build your system purely with the AE2 cables.

Reason:

As described above, I would like to expect AE2 compatibility in Industrial Revolution.
This not only simplifies cabling, but also saves resources in the end.

You can currently send Industrial Revolution power over AE2 cables with the AE2 Energy P2P tunnels. This is one-to-many, so from a single input P2P tunnel you can supply IndRev power to multiple outputs. You still have to connect IndRev cables to and from the AE2 P2P tunnels and IndRev machines, but this allows you to have IndRev power anywhere your AE2 network goes.

I have now tried to connect an Electric Furnace with P2P ME Energy. However, the furnace does not receive any power.

I had issues getting this to work at first too, so here are some notes I took while I was troubleshooting getting this setup to work:

The P2P tunnels can be connected to either IndRev cable or an active side of an IndRev flux container.
P2P tunnel is directional: energy can only flow from the input to the outputs, not the other way.
The P2P tunnel that is copied to memory card becomes the input tunnel, any tunnel pasted is an output tunnel.
Keep a copy of the memory card in a barrel next to the output tunnel so the tunnel can be moved easily.
If the input tunnel is moved, the channel changes and must be re-copied to the memory card and pasted to the output tunnel.

To establish link:

Place IndRev flux container, set input and output side configurations
Place P2P input tunnel on flux container output side, or cable attached to output side
Right click the P2P tunnel with charged IndRev flux container to set as energy
Sneak, right click input P2P tunnel with memory card
Place output P2P tunnel at destination
Right click output P2P tunnel with charged flux container
Right click output P2P tunnel with memory card to link with input
Spend half an hour troubleshooting only to realize I put the tunnels on separate subnets
Move input tunnel to primary subnet instead of trunk subnet
Re-copy input tunnel to memory card and re-paste to output tunnel
Now it works

Hopefully some of this is helpful to you, it took me a few tries to get it working on my survival world after knowing it could work from a creative test world.

Thank you very much for your help.
Was about to send you my setup, when it suddenly worked after all

I'd like to mention another problem on a similar note - IndRev can power AE2 systems via the Energy Acceptor, but cannot take power from AE2. It's a bit annoying, since it's limiting me to storing all my power in the Flux Containers.

@64-Tesseract That's the way intended by AE2 for the mod to be played, even its wiki says so:

To power your network, you can either connect a Vibration Chamber directly, or use an Energy Acceptor to connect energy sources from compatible mods.

The best solution in your case is to connect your energy source to your flux containers and from there have a single cable power AE2 through a energy acceptor.

Sure, but I don't see why it wouldn't be 2-directional...
It's not that huge of an issue, just seems unintuitive to me

There's a few reasons that I think they do it that way.
The first is simple drama avoidance. There's been some issues in the past with mods having infinite loops and duplication of resources/energy when able to cycle back and forth. If I remember correctly, there was a massive blowup between two mod teams in the past over "imbalance" due how the two mods interacted when installed together, which led to one of the mod authors corrupting players' Minecraft worlds if their mod detected the other mod's existence. It's easier for AE2 to just avoid any potential issues by only accepting power to avoid similar circumstances.
Another reason is that they have complete control over their energy API this way. They can keep or break backwards compatibility when they need to. They can make the power/item flow as efficient (computationally) as possible without worrying about anything else crossing their network. They can update to new Minecraft/Fabric/etc. versions without waiting for external energy APIs before beginning.
The last, and possibly biggest reason when the mod started, is "realism." Applied Energistics 2 isn't based on a high-voltage power grid or factory design, it's meant to be a communications/low-voltage network. Think of the terminals, drives, crafting CPUs, etc. as PCs and servers, and the cables as ethernet lines/switches. The controllers are stacked/bridged network switches. The energy inputs are PSUs, and energy cubes are UPSes. This is the design that AE2 tries to build around. In real life networking, you can't send 120v/240v power over low-voltage data lines by regulation and simple physics (though you can send data over high-voltage with Ethernet over Power adapters, but let's ignore those.) It's meant to be the same with AE2, the mod is mimicking these types of networks, from channels being 8 and 32 port switches to calling the access stations terminals and requiring "CPUs" to manage the crafting flow.
I see their energy P2P terminals as a statement of, "Yes, we understand that this would be useful, and we agree, even though it slightly breaks our realistic design. Here's a way that works for both of us." The energy P2P terminals are metal conduit for the standard current lines to run near, but not directly with, the network cables.


PP-4860: Log successful/unsuccessful Google payments

At present we aren't able to introduce smoke tests for Google payments, so we
need to introduce some monitoring. These log messages are inteded to be
searched for by our logging provider so as to build up some form of metric over
time.

Sorry Oz, I see that you've requested review from @heathd  so I'll defer to his better judgement, feel free to dismiss mine :)

@danworth @heathd this is ready for review. Thanks.

one other thought.. it's good to log gateway account ID but I think we should do that by adding it via MDC to every log line

@heathd i can't see how we're logging gateway account id via MDC in the code?


Advanced application functionality list

This list will be updated in due course.

[ ] Shape the version-controlled API routes for advanced interaction with the database
[ ] Error handling
[ ] Write tests
[ ] Write documentation

Closing in favour of #212


python312Packages.aiorussound: 4.1.0 -> 4.2.0

Diff: https://github.com/noahhusby/aiorussound/compare/refs/tags/4.1.0...4.2.0
Changelog: https://github.com/noahhusby/aiorussound/releases/tag/4.2.0

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 368771

x86_64-linux

:white_check_mark: 5 packages built:

home-assistant-component-tests.russound_rio
python312Packages.aiorussound
python312Packages.aiorussound.dist
python313Packages.aiorussound
python313Packages.aiorussound.dist


Resources in notifying_block having trouble finding resources in parent scope

See the gist. We chatted a little bit about this on #chef yesterday, but we were unable to quickly reach a solution. The issue occurs with include_recipe 'firewall' both inside of and outside of the notifying_block.  The issue does not occur when placing the firewall_rule resource outside of the notifying_block.

I too seem to be hitting issue when upgrading from Chef 11.18.12 to Chef 12.18.24 on Ubuntu 14.04:
Recipe: cobblerd::default
[...]
  * bash[cobbler-sync] action nothing (skipped due to action :nothing)
Recipe: cobblerd::web
[...]
Recipe: bcpc::cobbler
[...]
  * cobbler_image[ubuntu-12.04-mini] action import

================================================================================
    Error executing action `import` on resource 'cobbler_image[ubuntu-12.04-mini]'
    ================================================================================

    Chef::Exceptions::ResourceNotFound
    ----------------------------------
    resource bash[ubuntu-12.04-mini-cobbler-import] is configured to notify resource bash[cobbler-sync] with action run, but bash[cobbler-sync] cannot be found in the resource collection. bash[ubuntu-12.04-mini-cobbler-import] is defined in /var/chef/cache/cookbooks/cobblerd/libraries/cobbler_image.rb:98:in `block (2 levels) in action_import'

    Cookbook Trace:
    ---------------
    /var/chef/cache/cookbooks/cobblerd/libraries/cobbler_image.rb:51:in `block in action_import'
    /var/chef/cache/cookbooks/cobblerd/libraries/cobbler_image.rb:50:in `action_import'

    Resource Declaration:
    ---------------------
    # In /var/chef/cache/cookbooks/bcpc/recipes/cobbler.rb

    219: cobbler_image 'ubuntu-12.04-mini' do
    220:   source "#{get_binary_server_url}/ubuntu-12.04-hwe313-mini.iso"
    221:   os_version 'precise'
    222:   os_breed 'ubuntu'
    223:   action :import
    224: end
    225:

    Compiled Resource:
    ------------------
    # Declared in /var/chef/cache/cookbooks/bcpc/recipes/cobbler.rb:219:in `from_file'

    cobbler_image("ubuntu-12.04-mini") do
      action [:import]
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      declared_type :cobbler_image
      cookbook_name "bcpc"
      recipe_name "cobbler"
      source "http://<IP_ADDRESS>//ubuntu-12.04-hwe313-mini.iso"
      os_version "precise"
      os_breed "ubuntu"
      os_arch "x86_64"
      target "/var/chef/cache/ubuntu-12.04-mini.iso"
    end

    Platform:
    ---------
    x86_64-linux

Recipe: cobblerd::default
  * service[cobbler] action restart
    - restart service service[cobbler]
[...]

The code flow can be seen at: cobbler_image.rb


Prototype message patterns: RecvSend, SendRecv and Send

Whilst thinking more about https://github.com/libp2p/rust-libp2p/issues/3130 and the PoC I made in https://github.com/thomaseizinger/rust-async-response-stream, I realized that this could actually be part of asynchronous-codec.
It could be implemented on top but it is also fairly intertwined with the idea of Framed. A good data point here is that we don't need any additional dependencies. All we are doing is defining a Stream utility on top of Framed that makes it easier to implement a request-response message pattern.
The design has slightly evolved from https://github.com/thomaseizinger/rust-async-response-stream. Instead of providing two Futures, we now just implement Stream. For the easy usecase where we close the stream after sending the response, we only ever output one Item: The incoming request and the placeholder for the response. Because it is a Stream, a SelectAll will continue to poll it until it returns None. This allows us to completely hide the message exchange and makes using this really easy:

Create an instance and push it into a SelectAll.
Process messages coming in from polling SelectAll.

I also removed the timeout, I think this should be implemented on top.

Sorry for the lack of documentation!
The asynchronuous-codec crate is useful to define encoding and decoding modules that compose well. Framed can then be used to turn an Async{Read,Write} into a Stream and Sink of messages. We use it extensively inside rust-libp2p to decode network messages from a byte stream.
What this PR adds are "message patterns" on top of a framed stream. So far only one is added but it is easy to envision more. I've started with RecvSend because it is the most interesting one.
Your pseudo-code is on point. My vision is that by implementing Stream, we can drive a RecvSend through a SelectAll as part of ConnectionHandler::poll.
The item returned from RecvSend are the incoming requests plus a "channel" to send the response back. This allows for the response to be provided out-of-bound from the stream. There are various patterns employed in rust-libp2p as to how the response makes it to the stream. I think a channel-design lives at the intersection of convenience (response can be sent from anywhere), minimal boilerplate (no message passing down the layers) and (type)safety (response can only be sent once).
The design goals for this were:

Minimal boilerplate upon usage. It is intended to be repeated in every ConnectionHandler to replace the current InboundUpgrade and OutboundUpgrade traits.
Good composition. For most use cases, we will want to add a timeout to the entire recv and send operation. By implementing Stream, we should be able to compose it with a generic wrapper that times out if the inner stream doesn't finish in time.
Flexible for different messages. Because we depend only on Encoder and Decoder, this can be used with probably any protocol.

Okay, that is really helpful, I think I have a much better understanding of it now, thanks!

Sent some tweaks for this branch in https://github.com/thomaseizinger/asynchronous-codec/pull/1

@mxinden I keep coming back to wanting this almost every time I touch any protocol code. Are you in favor of this?

@mxinden I keep coming back to wanting this almost every time I touch any protocol code. Are you in favor of this?

We would use it in combination with a TimedStreams abstraction that wraps a stream::SelectAll but races each stream against a timeout. Using it together with the RecvSend in here (and other "protocols" like SendRecv or just Recv or Send) gives us the same functionality as InboundUpgrade and OutboundUpgrade just without having to implement any traits but composing existing code together.

I am hesitant: I don't think the usage of Stream is intuitive here. I consider a Stream a consumer from a source, not both a consumer and a source sending data to a destination.
All that said, the abstraction might be worth the confusion that comes with it. It seems to me that you feel strongly about this new abstraction. Which of our rust-libp2p protocols would benefit the most of this pattern? Do you want to integrate this into one of them as a proof-of-concept?

I am hesitant: I don't think the usage of Stream is intuitive here. I consider a Stream a consumer from a source, not both a consumer and a source sending data to a destination.

I think of it as a source of events of a protocol.

All that said, the abstraction might be worth the confusion that comes with it. It seems to me that you feel strongly about this new abstraction. Which of our rust-libp2p protocols would benefit the most of this pattern? Do you want to integrate this into one of them as a proof-of-concept?

Every one that sends messages. The idea has the potential to replace every state machine for sending messages in rust-libp2p with a use of the appropriate "message pattern". Currently we only have RecvSend implemented here but it is easy enough to envision additional ones, SendRecv for example.

Do you want to integrate this into one of them as a proof-of-concept?

Here you go: https://github.com/libp2p/rust-libp2p/pull/3610

Code duplication in here is currently horrendous but that can be fixed later.

I am hesitant: I don't think the usage of Stream is intuitive here. I consider a Stream a consumer from a source, not both a consumer and a source sending data to a destination.
All that said, the abstraction might be worth the confusion that comes with it. It seems to me that you feel strongly about this new abstraction. Which of our rust-libp2p protocols would benefit the most of this pattern? Do you want to integrate this into one of them as a proof-of-concept?

I've written about this - to some extent - here: https://github.com/libp2p/rust-libp2p/discussions/3603
The usage of Stream is somewhat accidental actually. It happens to be the closest thing to a generator interface that we have on stable and has widespread use.
If we had generators, I'd use that!

I might have a go at re-writing these using async/await and see whether they turn out to be cleaner. Most likely they will at the cost of an allocation but I'd be surprised if we can even measure that in the context of network IO.

I might have a go at re-writing these using async/await and see whether they turn out to be cleaner. Most likely they will at the cost of an allocation but I'd be surprised if we can even measure that in the context of network IO.

It doesn't really work very well because Rust doesn't have native generators yet.


test: add e2e testcases for Gateway with NodeLevel sidecar

Description:

Testing done:

Affected area:

Functional Area

New Functionality
[ ]

CI System
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Demo
[ ]

Documentation
[ ]

Egress
[ ]

Ingress
[ ]

Install
[ ]

Networking
[ ]

Observability
[ ]

Performance
[ ]

SMI Policy
[ ]

Security
[ ]

Sidecar Injection
[ ]

Tests
[ ]

Upgrade
[ ]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project?

Did you notify the maintainers and provide attribution?

Is this a breaking change?

Has documentation corresponding to this change been updated in the fsm-docs repo (if applicable)?

@Mergifyio backport v2.0-stable

@Mergifyio rebase

@Mergifyio refresh


feat: implement a content display area and associated buttons (resolves #2)

@klown Thanks for the review and great suggestions. All have been address. Ready for another look.

A few of other possible issues that I have noticed while trying it out.

If the input area is filled with symbols and one keeps adding to it, then an horizontal scroll bar appears and the whole keyboard starts to narrow.

The horizontal scroll bar might be an issue since it adds another user interaction that AAC users don't want to deal with.  I say "might be an issue" since this is a design problem: how do AAC users want the input area to behave?  Should there be a scroll bar, or should it expand to a multi-line text box?  Or something else?  By way of comparison, CBoard behaves the same, adding an horizontal scroll bar when its input area is full.
The keyboard narrowing needs to be addressed at some point.  I don't have any recommendations for fixing it.  I don't think it's a blocker, but if you can think of a quick fix, great.

I'm getting a lot of Netlify error messages on FireFox when I run the deployed version.  However, I do not see any error messages on Safari.  It's possible that it has something to do with my FF settings.   A message shows up just below the BMW palette that says "Application error: a client-side exception has occurred (see the browser console for more information)."   Here is a sampling of the browser console, in case it means something to you.

TypeError: document.getElementsByTagName(...)[0] is undefined        vendor.bundle.js:9246:26
DOMException: The operation is insecure.                             bugsnag.js:2457:26
DOMException: The operation is insecure.                             bugsnag.js:2457:15
A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
                                                                     bugsnag.js:2457:15
DOMException: The operation is insecure.                             bugsnag.js:2457:15
Eight more similar DOMExcptions

@klown thanks for these helpful findings. All addressed and ready for another review.

@klown new comments have been addressed. Ready for another look. Thanks.


Investigate Docker-based local execution

It should be doable to use docker-java or similar to build a local container from either the official or community Domino Docker images and use that to do the actual execution, especially since the process already involved spawning a sub-process anyway.
It would make sense for this to allow specification of an ID file and other parts to use to do the actual building, and to otherwise build using a temporary-spawned name from a domino-config.json file.

The initial commit adds support for auto-configured hclcom/domino:12.0.2 containers, which are useful for compilation and export. A few things remain to cover other capabilities:

Adding classpathJars to the ndext directory
Allowing specification of a custom base image
Allowing specification of a custom server ID
Potentially allowing specification of advanced server-setup properties: existing server, connection docs, etc.


Added display: 'contents'

More details: https://developer.mozilla.org/en-US/docs/Web/CSS/display#display_contents
In the future, it would be great to add this to the configuration file.

Why was this closed?

Hello, probably for the same reason that display: flow-root has not been added yet. Support in Safari is a bit buggy (https://github.com/tailwindcss/tailwindcss/pull/1247 & https://caniuse.com/#feat=css-display-contents).
But it would definitely be useful to have  display: contents and display: flow-root in a future release.

+1 for display: contents support


authentik: init at 2022.5.2

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Hi @SuperSandro2000 ,
I was interested in having Authentik in NixOS. I may be looking to continue your work. Could you tell me which problem you encountered?

That the application is totally designed around cloud native and for authentication we are now using https://github.com/majewsky/portunus


Getting ready to release v3.7.0

Hey everyone,
Our last release 3.6 was already over 2 months ago. We haven't made any serious changes to the architecture or the stack since but I propose releasing 3.7 anyway.
It includes quite a few bug fixes as well as major upgrades for Babel and ESLint.
I think it would be great if we could include @gretzky's work from #2257 if we can finish it up soon-ish.
It's also a good opportunity to update the docs and add details/links about SSR, Electron and Docker as discussed in various issues. Relevant contributors are invited to take care of that in the relevant places (#2306, #2282, #2288).
Thoughts anyone? Have I missed anything?

@julienben I'd like to update our CI to use latest and LTS versions and make sure #2304 is fixed for windows. I'll create a branch for these two items...

Also, what's everyone's thoughts on running npm audit (npm audit fix), which requires adding package-lock.json file?

You can create a package-lock with npm i --package-lock-only but if we're gonna do this, are there any reasons not to switch to npm entirely?

I know, wanted to more discuss yarn vs. npm, but should probably saved that for a later discussion. Wanted to see if npm audit had enough of an advantage (more from a maintenance perspective) to switch back.

Agreed. I'm not sure how big of a "change" this is as to whether it requires maintainer buyoff per our guidelines. @mxstbr thoughts?

fwiw i support switching back to npm, there were very good reasons to use yarn 2 years ago but npm has really come a long way... yarn workspaces are useful for monorepo/library ecosystem maintenance, but i think new  features (especially adding vuln auditing and npm ci for ) will add value to end users of this project, and as mentioned lockfile ensures builds are deterministic
the one caveat is that yarn does seem to still be slightly faster, especially when packages are cached (https://github.com/pnpm/node-package-manager-benchmark).. may be prudent to benchmark before making a final decision

ooh. I like this. I didn't know this about Yarn vs NPM. I'll switch back to NPM.

Update:
We've implemented the switch to npm and still working on the Babel 6 -> 7 transition (in #2331 especially).
There's still more planned including @gretzky's Webpack work and a few useful doc additions.
If anyone else would like to bring some improvements, now is the perfect time.

Just as an fyi, I'm gonna be traveling from tomorrow until the end of the month. Might answer an issue here or there but won't be doing any work outside of that.

Btw, is anyone interested in trying to replace Immutable with something that's still being maintained and perhaps with a simpler API? We can think about Immer or other possibilities.

@julienben Raised a pull request regarding #2288

👍 for Immer. https://www.netlify.com/blog/2018/09/12/the-rise-of-immer-in-react/

Plugging #2092 again.

Here's IMO the ideal to-do list for a next version:

[ ] Remove Immutable.js entirely (#2092) or replace it with Immer or seamless-immutable
[ ] Move docs to Gitbook (#951)
[ ] Fix all issues with saga injections (#2021, #2121, #2266, #2314)
[ ] Switch to reach-router or replace abandoned react-router-redux with connected-react-router (#2354)
[ ] Fix for extract-intl script broken by Babel 7 changes (#2331, #2350)
[ ] Many Webpack improvements (#2257)

And the changelog so far:

Switch from Yarn back to npm
Upgrades to Babel 7, ESLint 5 and more
Many documentation updates including new section for forks
Bug fixes for generators, template app, scripts, and more

heads up: react-router-redux package is now deprecated ... https://github.com/ReactTraining/react-router

Thanks for the heads up. Already taken care of in #2375 though.


Poorly Documented Assertion: 'package:flutter/src/widgets/binding.dart': Failed assertion: line 885 pos 12: '!debugBuildingDirtyElements': is not true.

See stack trace:
════════ Exception caught by scheduler library ═════════════════════════════════
The following assertion was thrown during a scheduler callback:
'package:flutter/src/widgets/binding.dart': Failed assertion: line 885 pos 12: '!debugBuildingDirtyElements': is not true.
2

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=BUG.md

When the exception was thrown, this was the stack
#2      WidgetsBinding.drawFrame
package:flutter/…/widgets/binding.dart:885
#3      RendererBinding._handlePersistentFrameCallback
package:flutter/…/rendering/binding.dart:302
#4      SchedulerBinding._invokeFrameCallback
package:flutter/…/scheduler/binding.dart:1117
#5      SchedulerBinding.handleDrawFrame
package:flutter/…/scheduler/binding.dart:1055
#6      SchedulerBinding.scheduleWarmUpFrame.<anonymous closure>

Flutter doctor -v:
flutter doctor -v                                                                                ted@Teds-MBP
[✓] Flutter (Channel unknown, 1.22.6, on macOS 11.2 20D64 darwin-x64, locale en-AU)
    • Flutter version 1.22.6 at XXX
    • Framework revision 9b2d32b605 (3 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at XXX
    • Platform android-30, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.53.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.19.0

[✓] Connected device (1 available)
    • iPhone 12 mini (mobile) • 21B13100-7F39-468E-8EDD-63D38DA7E86C • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    ! Error: XXX phone is not connected. Xcode will continue when XXX phone is connected. (code -13)

! Doctor found issues in 1 category.

@t-kozak
Can you provide a minimal reproducible code sample that shows the issue ?

I have meet same problem

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Use the correct Formik way of handling the submit.

Description
Description of the feature or fix with link to the issue if existing
On what platform have you tested the change?

[ ] Android - Emulator
[ ] Android - Physical device
[ ] iOS - Emulator
[ ] iOS - Physical device

Screenshots
Please attach screenshots showing the change if relevant
Checklist

[ ] I have updated mockServer
[ ] I've added analytics as relevant
[ ] I have run npm test
[ ] I have run npm run test:i18n

Out of scope and potential follow-up
Is there any related changes that you plan to do in a follow-up PR or voluntarily excluded from the scope?

Tested this for double tapping the button -> two server calls. Looks good to me!

Suggestions (can be done in another PR).

Display an error message somewhere on the screen if you get an error from thrown by the API call.
Display a spinner while the server submission is in progress. (i.e. before the screen transition).

We could use this screen as an example of "how to do formik + server submission correctly.
The main thing is if we use Redux to capture the state, do we transition to the next screen before the server has responed with ("Okay" - I've saved your data)?
CC: @juliatan @bionara

Suggestions (can be done in another PR).

Display an error message somewhere on the screen if you get an error from thrown by the API call.
Display a spinner while the server submission is in progress. (i.e. before the screen transition).

We could use this screen as an example of "how to do formik + server submission correctly.
The main thing is if we use Redux to capture the state, do we transition to the next screen before the server has responed with ("Okay" - I've saved your data)?
CC: @juliatan @bionara

I like that, this will serve as an example change for the other parts of the codebase 👌

Suggestions (can be done in another PR).

Display an error message somewhere on the screen if you get an error from thrown by the API call.
Display a spinner while the server submission is in progress. (i.e. before the screen transition).

We could use this screen as an example of "how to do formik + server submission correctly.
The main thing is if we use Redux to capture the state, do we transition to the next screen before the server has responed with ("Okay" - I've saved your data)?
CC: @juliatan @bionara

Generally speaking (without having context around each form), my thinking process is:

How important is it that we save the data from the user to the backend e.g. if used to calculate other results, or needed for future reporting, then we shouldn't allow user to proceed to next screen unless data is successfully saved.
If it's not all that important, then probably makes sense to allow user to proceed so that they're not held up in any way. If this ultimately failed in the backend, it would be treated as lost data though (I don't think it's great UX to have them go back and fill in the form...but we could give them the option to and see if they take it up, though the user journey might be a little complex depending on the form).


msys2 environment is totally broken

Since some days (last update I think) the msys2 environment is totally broken.
When I open the console, for example msys64.bat:
askon@DESKTOP-BT8UGJK MINGW64 /usr/bin
$ which pacman
/usr/bin/pacman
askon@DESKTOP-BT8UGJK MINGW64 /usr/bin
$ cd /usr/bin/
askon@DESKTOP-BT8UGJK MINGW64 /usr/bin
$ ls -l
askon@DESKTOP-BT8UGJK MINGW64 /usr/bin
$
pacman -Syu fails with:
askon@DESKTOP-BT8UGJK MSYS /usr/bin
$ pacman -Syu
error: GPGME error: Invalid crypto engine
error: GPGME error: Invalid crypto engine
error: GPGME error: Invalid crypto engine
:: Synchronising package databases...
mingw32                                               228.1 KiB   292K/s 00:01 [#############################################] 100%
mingw32.sig                                            96.0   B  93.8K/s 00:00 [#############################################] 100%
error: GPGME error: Invalid crypto engine
error: failed to update mingw32 (invalid or corrupted database (PGP signature))
mingw64                                               227.1 KiB   331K/s 00:01 [#############################################] 100%
mingw64.sig                                            96.0   B  0.00B/s 00:00 [#############################################] 100%
error: GPGME error: Invalid crypto engine
error: failed to update mingw64 (invalid or corrupted database (PGP signature))
msys                                                  128.4 KiB   533K/s 00:00 [#############################################] 100%
msys.sig                                               96.0   B  0.00B/s 00:00 [#############################################] 100%
error: GPGME error: Invalid crypto engine
error: failed to update msys (invalid or corrupted database (PGP signature))
error: failed to synchronise any databases
error: failed to init transaction (invalid or corrupted database (PGP signature))
pacman.zip

Maybe you can solve it by reading the nice write-up by @Elieux in issue https://github.com/Alexpux/MSYS2-packages/issues/393.

I've tried that. Deleting /etc/pacman.d/gnupg
but pacman-key --init returns nothing:
askon@DESKTOP-BT8UGJK MINGW64 /etc/pacman.d
$ pacman-key --init
askon@DESKTOP-BT8UGJK MINGW64 /etc/pacman.d
$
and what I find really strange is that I can't list files with "ls -l"..

Does pacman -Qqe work?

seems so:
$ pacman -Qqe
warning: Public keyring not found; have you run 'pacman-key --init'?

GPGME 2015-12-28 20:00:32 <0x0968>  gpgme_check_version: call: 0=0x0, req_version=(null), VERSION=1.6.0
GPGME 2015-12-28 20:00:32 <0x0968>  gpgme_check_version_internal: call: 0=0x0, req_version=(null), offset_sig_validity=60
GPGME 2015-12-28 20:00:32 <0x0968>  gpgme_set_locale: enter: ctx=0x0, category=2, value=en_GB.UTF-8
GPGME 2015-12-28 20:00:32 <0x0968>  gpgme_set_locale: leave
GPGME 2015-12-28 20:00:32 <0x0968>  gpgme_set_locale: enter: ctx=0x0, category=6, value=en_GB.UTF-8
GPGME 2015-12-28 20:00:32 <0x0968>  gpgme_set_locale: leave
GPGME 2015-12-28 20:00:32 <0x0968>  engine.c:155: returning error: Invalid crypto engine
error: GPGME error: Invalid crypto engine
autoconf
automake-wrapper
bash
bash-completion
bsdcpio
bsdtar
bzip2
catgets
cmake
coreutils
crypt
curl
dash
dos2unix
file
filesystem
findutils
flex
gawk
gcc-libs
git
gmp-devel
grep
gzip
inetutils
info
less
libreadline-devel
lndir
make
man-pages-posix
mc
mingw-w64-i686-gdb
mingw-w64-x86_64-SDL2
mingw-w64-x86_64-SDL2_gfx
mingw-w64-x86_64-arpack
mingw-w64-x86_64-aspell
mingw-w64-x86_64-aspell-en
mingw-w64-x86_64-boost
mingw-w64-x86_64-breakpad-svn
mingw-w64-x86_64-clang
mingw-w64-x86_64-cmake
mingw-w64-x86_64-docbook-xml
mingw-w64-x86_64-docbook-xsl
mingw-w64-x86_64-emacs
mingw-w64-x86_64-evince
mingw-w64-x86_64-extra-cmake-modules
mingw-w64-x86_64-gc
mingw-w64-x86_64-gcc-ada
mingw-w64-x86_64-gcc-fortran
mingw-w64-x86_64-gdb
mingw-w64-x86_64-glfw
mingw-w64-x86_64-graphicsmagick
mingw-w64-x86_64-libtorrent-rasterbar
mingw-w64-x86_64-libunistring
mingw-w64-x86_64-lld
mingw-w64-x86_64-ocaml
mingw-w64-x86_64-poco
mingw-w64-x86_64-python3-docutils
mingw-w64-x86_64-python3-ipython
mingw-w64-x86_64-python3-pip
mingw-w64-x86_64-qt-creator
mingw-w64-x86_64-qt5
mingw-w64-x86_64-rust
mingw-w64-x86_64-smpeg2
mingw-w64-x86_64-vlc-git
mintty
msys2-keyring
msys2-launcher-git
msys2-runtime
ncurses
pacman
pacman-mirrors
pax-git
pkgfile
rebase
repman-git
sed
tar
texinfo
tftp-hpa
time
tzcode
util-linux
which

Ok, one approach to investigate further is to rename your C:\msys64 (assuming that's where it is) to C:\msys64.broken, and follow the instructions at https://sourceforge.net/p/msys2/wiki/MSYS2 re-installation to setup a new installation, then, install mingw-w64-x86_64-meld3 to compare the differences between the files and folders.

.. if your new installation works after that, then great, but we'd quite like to get to the bottom of this too of course.

Ok, I installed the new environment as instructed on https://sourceforge.net/p/msys2/wiki/MSYS2 re-installation. Now it works.
But after comparing the old msys and the new, how do I export the diff from meld?

Well, to be honest, meld hasn't worked in MSYS2 properly until about a week ago, so I've been using some proprietary software called Beyond Compare 4 in the meantime.
There's guides at other places for using meld (mine is in a broken state due to development work I'm doing). Regardless, doing a normal diff with diff /c/msys64.broken /c/msys64 and pasting the results here would be useful.

the diff output is in the attachment.
diff.txt

I've been having a similar problem while running MSYS2 with ConEmu.  I was able to resolve it as described at https://github.com/Alexpux/MSYS2-packages/issues/393#issuecomment-299669754