please add a changelog

Hi
I am using this library, and saw that an update is available from the 0.8.1 release I am currently using. It is good practice to keep a changelog so users know what changed in every release.
I checked the commit history, so no need to add one for past releases, but consider adding one for future releases.

Sure thing bro, can do. Thanks for prodding us, this is super useful because like everyone I have 15,000 things on at the same time. Please prod me for anything like this major or minor that you come across anywhere in the rus-bitcoin org.


Translation crawler

@bluzi Hi there. I strongly believe that from time to time, a crawler could be ran in order to fetch translations from some official providers (for now, let's stick to Wikipedia).
Therefore, the goal would be to write such a scraper that goes through all entries and tries to fetch meaning/ translations/ aliases from given sources.
Let me know what you think. I could give you a hand of help with Python, if that's alright.

Hey @EmilLuta,
Our current method of data collection is community based. I find this method very accurate, it's the same method used by Wikipedia for instance.
However, if you think you can create a crawler that will be accurate enough, I'd love to add it to this project.

I'll give it a go. The scope of this would be to enhance the current data, not go further into adding new data. I can see your point of view. Looking forward to see how we'll be able to validate 'accurate enough', if the crawler is done. I'll keep you pinned.

Good to see we're on the same page here. Can't wait to see the outcome of this.

@bluzi Some job stuff has been done. Wikipedia doesn't seem to be such a reliable source (just a couple of names have translations) and even though this works, it's far from complete. My suggestion would be to create a new branch on your repo and integrate this for now (just to keep up with the reference) so far. From this point forth, I'm going to address https://www.behindthename.com/

@EmilLuta I added you as a collaborator, so feel free to create a branch and push your code.


Can't Archive my iOS app in XCode.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I am trying to Archive an app in Xcode.
Actual results
I have been trying to Archive this app in iOS and I am getting :
Command PhaseScriptExecution failed with a nonzero exit code
I have tried :

flutter clean
Deleting the Derived Data Folder.
Downgrading to XCode 14.2 as suggested in https://github.com/flutter/flutter/issues/124188#issue-1655079865

I can build the application but I can't Archive it.
Logs
Here are the logs from Xcode :
Showing Recent Messages
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/saurabhdhingra/Library/Developer/Xcode/DerivedData/Runner-aybbezrqpvkgwwbkvsdpxhleqjdf/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/Script-29A4AE1442784EF4647C62FE.sh (in target 'Runner' from project 'Runner')
    cd /Users/saurabhdhingra/AndroidStudioProjects/keepbilling/ios
    /bin/sh -c /Users/saurabhdhingra/Library/Developer/Xcode/DerivedData/Runner-aybbezrqpvkgwwbkvsdpxhleqjdf/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/Script-29A4AE1442784EF4647C62FE.sh

mkdir -p /Users/saurabhdhingra/Library/Developer/Xcode/DerivedData/Runner-aybbezrqpvkgwwbkvsdpxhleqjdf/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/Runner.app/Frameworks
Symlinked...
rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Users/saurabhdhingra/Library/Developer/Xcode/DerivedData/Runner-aybbezrqpvkgwwbkvsdpxhleqjdf/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/DKImagePickerController.framework" "/Users/saurabhdhingra/Library/Developer/Xcode/DerivedData/Runner-aybbezrqpvkgwwbkvsdpxhleqjdf/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks"
building file list ... done
DKImagePickerController.framework/
DKImagePickerController.framework/DKImagePickerController
DKImagePickerController.framework/Info.plist
DKImagePickerController.framework/DKImagePickerController.bundle/
DKImagePickerController.framework/DKImagePickerController.bundle/Assets.car
DKImagePickerController.framework/DKImagePickerController.bundle/Info.plist
DKImagePickerController.framework/DKImagePickerController.bundle/Base.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/Base.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/_CodeSignature/
DKImagePickerController.framework/DKImagePickerController.bundle/_CodeSignature/CodeDirectory
DKImagePickerController.framework/DKImagePickerController.bundle/_CodeSignature/CodeRequirements
DKImagePickerController.framework/DKImagePickerController.bundle/_CodeSignature/CodeRequirements-1
DKImagePickerController.framework/DKImagePickerController.bundle/_CodeSignature/CodeResources
DKImagePickerController.framework/DKImagePickerController.bundle/_CodeSignature/CodeSignature
DKImagePickerController.framework/DKImagePickerController.bundle/ar.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/ar.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/da.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/da.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/de.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/de.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/en.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/en.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/es.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/es.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/fr.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/fr.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/hu.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/hu.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/it.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/it.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/ja.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/ja.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/ko.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/ko.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/nb-NO.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/nb-NO.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/nl.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/nl.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/pt_BR.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/pt_BR.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/ru.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/ru.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/tr.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/tr.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/ur.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/ur.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/vi.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/vi.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/zh-Hans.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/zh-Hans.lproj/DKImagePickerController.strings
DKImagePickerController.framework/DKImagePickerController.bundle/zh-Hant.lproj/
DKImagePickerController.framework/DKImagePickerController.bundle/zh-Hant.lproj/DKImagePickerController.strings

sent 1516686 bytes  received 796 bytes  3034964.00 bytes/sec
total size is 1513302  speedup is 1.00
awk: syntax error at source line 1
 context is
	 >>> {/Users/saurabhdhingra/Library/Developer/Xcode/DerivedData/Runner-aybbezrqpvkgwwbkvsdpxhleqjdf/Build/Intermediates. <<< noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks/DKImagePickerController.framework/DKImagePickerController=/Users/saurabhdhingra/Library/Developer/Xcode/DerivedData/Runner-aybbezrqpvkgwwbkvsdpxhleqjdf/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks/DKImagePickerController.framework/DKImagePickerController;print}
awk: illegal statement at source line 1
Command PhaseScriptExecution failed with a nonzero exit code

mkdir -p /Users/saurabhdhingra/Library/Developer/Xcode/DerivedData/Runner-aybbezrqpvkgwwbkvsdpxhleqjdf/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/Runner.app/Frameworks

Symlinked...

rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Users/saurabhdhingra/Library/Developer/Xcode/DerivedData/Runner-aybbezrqpvkgwwbkvsdpxhleqjdf/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/DKImagePickerController.framework" "/Users/saurabhdhingra/Library/Developer/Xcode/DerivedData/Runner-aybbezrqpvkgwwbkvsdpxhleqjdf/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks"

building file list ... done

DKImagePickerController.framework/

DKImagePickerController.framework/DKImagePickerController

DKImagePickerController.framework/Info.plist

DKImagePickerController.framework/DKImagePickerController.bundle/

DKImagePickerController.framework/DKImagePickerController.bundle/Assets.car

DKImagePickerController.framework/DKImagePickerController.bundle/Info.plist

DKImagePickerController.framework/DKImagePickerController.bundle/Base.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/Base.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/_CodeSignature/

DKImagePickerController.framework/DKImagePickerController.bundle/_CodeSignature/CodeDirectory

DKImagePickerController.framework/DKImagePickerController.bundle/_CodeSignature/CodeRequirements

DKImagePickerController.framework/DKImagePickerController.bundle/_CodeSignature/CodeRequirements-1

DKImagePickerController.framework/DKImagePickerController.bundle/_CodeSignature/CodeResources

DKImagePickerController.framework/DKImagePickerController.bundle/_CodeSignature/CodeSignature

DKImagePickerController.framework/DKImagePickerController.bundle/ar.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/ar.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/da.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/da.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/de.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/de.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/en.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/en.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/es.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/es.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/fr.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/fr.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/hu.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/hu.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/it.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/it.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/ja.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/ja.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/ko.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/ko.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/nb-NO.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/nb-NO.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/nl.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/nl.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/pt_BR.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/pt_BR.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/ru.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/ru.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/tr.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/tr.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/ur.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/ur.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/vi.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/vi.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/zh-Hans.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/zh-Hans.lproj/DKImagePickerController.strings

DKImagePickerController.framework/DKImagePickerController.bundle/zh-Hant.lproj/

DKImagePickerController.framework/DKImagePickerController.bundle/zh-Hant.lproj/DKImagePickerController.strings

sent 1516686 bytes  received 796 bytes  3034964.00 bytes/sec

total size is 1513302  speedup is 1.00

awk: syntax error at source line 1

 context is

	 >>> {/Users/saurabhdhingra/Library/Developer/Xcode/DerivedData/Runner-aybbezrqpvkgwwbkvsdpxhleqjdf/Build/Intermediates. <<< noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks/DKImagePickerController.framework/DKImagePickerController=/Users/saurabhdhingra/Library/Developer/Xcode/DerivedData/Runner-aybbezrqpvkgwwbkvsdpxhleqjdf/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks/DKImagePickerController.framework/DKImagePickerController;print}

awk: illegal statement at source line 1

Command PhaseScriptExecution failed with a nonzero exit code

Flutter Doctor output

Doctor output

Saurabhs-Mac:~ saurabhdhingra$ flutter doctor -v
[✓] Flutter (Channel stable, 3.0.2, on macOS 13.2.1 22D68 darwin-arm (Rosetta),
    locale en-IN)
    • Flutter version 3.0.2 at /usr/local/Caskroom/flutter/3.0.0/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cd41fdd495 (10 months ago), 2022-06-08 09:52:13 -0700
    • Engine revision f15f824b57
    • Dart version 2.17.3
    • DevTools version 2.12.2

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/saurabhdhingra/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

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

Scanning for devices is taking a long time...[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.2.1 22D68 darwin-arm
      (Rosetta)
    • Chrome (web)    • chrome • web-javascript • Google Chrome 112.0.5615.49
    ! Error: Saurabh’s iPhone is not connected. Xcode will continue when
      Saurabh’s iPhone is connected and unlocked. (code -13)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

I also had the error in 3.7.3 and was able to solve the problem with flutter upgrade to 3.7.11!

@saurabhdhingra
Looking at the error log, it seems to be coming from file_picker package which uses DKImagePickerController. See this similar issue for your reference: https://github.com/flutter/flutter/issues/100193
Also you seem to be on very old version of stable : 3.0.2. Per above comment, you'll need to upgrade to latest which should fix the issue you are getting. Also see https://stackoverflow.com/a/74066006
Closing based on above. If you get same error using latest stable, write in comments, I'll reopen it.


Added support for enctype to form tag

It should be possible to supply an enctype to {#form} in order to handle POSTing multipart form data correctly.
Example template:
{#form uri:MyTemplate.upload() enctype="multipart/form-data"}
    {#input id="file" name="file" type="file" /}
    <button type="submit" class="btn btn-primary">Upload</button>
{/form}

Example controller:
@POST
@Consumes(MediaType.MULTIPART_FORM_DATA)
public void upload(@RestForm("file") FileUpload file) {
   // do stuff to uploaded file ...
}

I was just doing the same locally for the backoffice branch, because I'm adding support for binary fields and files :)


Link to the git forge within Ref Branches list

I think it's nice to have a link to the Git forge here considering we're showing the forge log and the PR/MR id as well.

This is something that will require more important refactoring. There is a lot of duplication in the code for both forge, but the plan is to do the refactoring once both versions run (GitHub and Gitlab) well in the copy system.

Well if we're going to refactor everything where's the harm in merging this?

Two reasons here why I'm reluctant to merge the PR: it is interfering with conforming the gitlab views to the new design, and this work will be erased when we merge gitlab and github views.

Ok, I trust you on this :)

Thanks! :pray: Here is the issue to track the progression of the refactoring task https://github.com/ocurrent/ocaml-ci/issues/645


Add edit & delete functions to event card

Issue #:
https://github.com/bcgov/met-public/issues/
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

Codecov Report

Merging #1271 (903912c) into main (a71c5bc) will decrease coverage by 0.33%.
The diff coverage is 45.65%.

@@            Coverage Diff             @@
##             main    #1271      +/-   ##
==========================================
- Coverage   72.56%   72.24%   -0.33%
==========================================
  Files         299      302       +3
  Lines        8347     8438      +91
  Branches      589      603      +14
==========================================
+ Hits         6057     6096      +39
- Misses       2202     2251      +49
- Partials       88       91       +3

Flag
Coverage Δ

metweb
66.63% <45.65%> (-0.50%)
:arrow_down:

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

Impacted Files
Coverage Δ

...nt/form/EngagementWidgets/Events/EventsContext.tsx
56.00% <25.00%> (-14.59%)
:arrow_down:

.../form/EngagementWidgets/Events/EventsInfoBlock.tsx
66.66% <25.00%> (-13.34%)
:arrow_down:

...t/form/EngagementWidgets/Events/EventInfoPaper.tsx
61.11% <37.50%> (-22.23%)
:arrow_down:

...EngagementWidgets/Events/VirtualEventInfoPaper.tsx
61.11% <37.50%> (-22.23%)
:arrow_down:

...gagementWidgets/Events/InPersonEventFormDrawer.tsx
66.03% <100.00%> (+6.03%)
:arrow_up:

...omponents/engagement/view/widgets/WidgetSwitch.tsx
100.00% <0.00%> (ø)

...ts/engagement/view/widgets/Events/EventsWidget.tsx
34.28% <0.00%> (ø)

.../engagement/view/widgets/Events/VirtualSession.tsx
75.00% <0.00%> (ø)

...s/engagement/view/widgets/Events/InPersonEvent.tsx
75.00% <0.00%> (ø)


[Bug] Login return 401

I have tried to setup the hoppscotch using the latest docker image, everything is working fine but the login part.
I added microsoft and github credentiols and both return 401 in the call back,
I have also defined the
schema=http,
ENABLE_API=true
MICROSOFT_CLIENT_ID=****
MICROSOFT_CLIENT_SECRET=*****
MICROSOFT_CALLBACK_URL=https://URL:3170/v1/auth/microsoft/callback
Mode=team

Hi, first things first, try the login using the e-mail, test if the login works when choose the option using email, look the log to url to login and tell me if works, as far I know, any oauth requires https.

No response.


Fix for newer go

This is similar to https://github.com/motemen/go-quickfix/pull/4 and related to #63.
However TestNormalizeNodePos in node_test.go is failed(with Go 1.6) which is not related to this PR. go/printer.Fprint sets needless indentations. I got following output.
package P

		import "fmt"

		func F() {
			fmt.
				Println(
					1,
				)
		}

Expected result is here.
package P

import "fmt"

func F() {
	fmt.
		Println(
		1,
	)
}

Thank you! I'll investigate TestNormalizeNodePos later.


Feature to extract Ntds.dit without touching disk?

Could this be implemented?

As far as I know, ntds.dit is not mapped to the windows registry so dumping that file is a bit out of scope for this tool.
The technique that comes to mind to dump the credentials without touching disk would be a dcsync which might be exposed via IPC (haven't checked).
I might take a look at that later and consider expanding the scope of this tool.


Include karton metrics in the readme

Ref: https://github.com/CERT-Polska/karton/issues/128

Wow, thank you! We probably need to add a count of replicas in metricas to have a vision about replica correlation and task queue.

For now we have task-oriented data: count of assigned, consumed, crashed, garbage-collected and produced.

And I ask you to add prometheus expressions used in screenshots for faster dashboard creation 'cause some people will meet pql the first time :P


Add tests for type hints

Need to add tests for type hint, detecting use of type hints for local and global variables, as well as for builtins.

This is only relevant in the console which is unlikely to be used very much. Closing this as being not important enough until it is raised by users.


[WIP] Compile-tested implementation of SQL-backed state

Still not wired into the rest of the project

@nalind @mitrmac ptal

@mheon Please cleanup gofmt and lint errors.

Wired the SQL backed state into the rest of libpod. Still needs unit tests.

Tests are segfaulting. Looks like a combination of errors (initializing the SQL-backed state is erroring, and then the deferred function to clean up the store on an error is segfaulting. I really don't understand how that segfault is happening, but I'll try and dig into this.

Tests should be passing now. @rhatdan @baude PTAL. Still needs unit tests to be ready to merge, but otherwise should be fine.

Well Sebastion has not tested perf on kpod at all yet, and I am pretty sure it would be really bad.  :^(
If we wanted to test this for performance we would need to rig it into CRI-O to see if it hurt its performance.

@baude @nalind PTAL

@rhatdan, I'd thought kpd was being used in some of the calls that Sebastian was doing.  If not, then yeah, no need to tie him in.

@mheon Rebase.

Tests can land in another PR. @rhatdan this should be ready to merge.

Ok lets merge and we can start testing as we merge components in.


Added a set of immutable brushes.

Make SolidColorBrush mutable, but make the static Brushes properties return immutable brushes. The immutable brushes will be needed by the deferred renderer.

Codecov Report

Merging #920 into master will decrease coverage by 0.29%.
The diff coverage is 74.43%.

@@            Coverage Diff            @@
##           master     #920     +/-   ##
=========================================
- Coverage   61.63%   61.33%   -0.3%
=========================================
  Files         533      539      +6
  Lines       20259    20364    +105
  Branches     2889     2909     +20
=========================================
+ Hits        12487    12491      +4
- Misses       6940     7040    +100
- Partials      832      833      +1

Impacted Files
Coverage Δ

....Visuals/Media/Immutable/ImmutableGradientBrush.cs
0% <0%> (ø)

...ls/Media/Immutable/ImmutableLinearGradientBrush.cs
0% <0%> (ø)

...ls/Media/Immutable/ImmutableRadialGradientBrush.cs
0% <0%> (ø)

...onia.Visuals/Media/Immutable/ImmutableTileBrush.cs
0% <0%> (ø)

...ia.Visuals/Media/Immutable/ImmutableVisualBrush.cs
0% <0%> (ø)

...nia.Visuals/Media/Immutable/ImmutableImageBrush.cs
0% <0%> (ø)

...rc/Gtk/Avalonia.Cairo/Media/SolidColorBrushImpl.cs
62.5% <100%> (ø)
:white_check_mark:

src/Avalonia.Visuals/Media/Brush.cs
84.61% <100%> (+9.61%)
:white_check_mark:

src/Avalonia.Visuals/Media/Brushes.cs
100% <100%> (ø)
:white_check_mark:

src/Gtk/Avalonia.Cairo/Media/DrawingContext.cs
71.25% <100%> (ø)
:white_check_mark:

... and 11 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 23e52b1...65f9fe6. Read the comment docs.


Move topic name to topic object

Codecov Report

Merging #240 (8608e85) into main (10c440d) will increase coverage by 0.52%.
The diff coverage is 77.77%.

@@            Coverage Diff             @@
##             main     #240      +/-   ##
==========================================
+ Coverage   49.50%   50.02%   +0.52%
==========================================
  Files          44       43       -1
  Lines        1709     1673      -36
  Branches      484      469      -15
==========================================
- Hits          846      837       -9
+ Misses        640      619      -21
+ Partials      223      217       -6

Impacted Files
Coverage Δ

rmw_microxrcedds_c/src/callbacks.c
65.57% <ø> (ø)

rmw_microxrcedds_c/src/rmw_init.c
58.06% <ø> (-0.27%)
:arrow_down:

rmw_microxrcedds_c/src/types.c
69.74% <ø> (-0.18%)
:arrow_down:

rmw_microxrcedds_c/src/rmw_client.c
49.10% <60.00%> (-0.46%)
:arrow_down:

rmw_microxrcedds_c/src/rmw_service.c
48.67% <60.00%> (-0.46%)
:arrow_down:

rmw_microxrcedds_c/src/rmw_publisher.c
53.14% <78.57%> (+5.05%)
:arrow_up:

rmw_microxrcedds_c/src/rmw_subscription.c
57.33% <78.57%> (+4.04%)
:arrow_up:

rmw_microxrcedds_c/src/rmw_publish.c
45.45% <100.00%> (ø)

rmw_microxrcedds_c/src/rmw_request.c
75.51% <100.00%> (ø)

rmw_microxrcedds_c/src/rmw_response.c
75.00% <100.00%> (ø)

... and 1 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 10c440d...8608e85. Read the comment docs.


New Scraper: Mayor- Metropolitan Entertainment and Convention Authority

Create a new scraper for Mayor Metropolitan Entertainment and Convention Authority
Website: https://mayors-office.cityofomaha.org/2-uncategorised/199-metropolitan-entertainment-and-convention-authority

http://www.omahameca.com/meetings-agendas/


The problem with using Occurrences (for eventual Async Client Calls)

The Client Sync Calls are well set up to eventually support an Async Client API, as they basically have "Start Action" parts, a "Wait till done" part, and a "Read Result part".  However, the use of an Occurrence for the wait part will cause a bug whenever a new Request is made while an older one is not yet filled.  This is because the Occurrence is static, and the same on each call, so the Response to the first Request will end the wait for both, causing the read of the second Response to be too early and thus fail.

Normally, I would use a Queue for these types of Waits, creating a new temporary Queue for each Request-Response, allowing multiple such async calls to be "inflight" at any one time.   Would it be easy to switch to using a Queue?

BTW, Async Client-side code is far more interesting to me than the "Async" Server-side stuff that your scripted Server seems to have.  I would actually recommend you drop that stuff as over-complicated and something that a User can do a number of ways if they need it.   Client-side is far more important to think about.

@drjdpowell
The "Async" server stuff is not async in the G sense. This is an overloading of the term and really just means supporting multiple  requests to be handled at the same time. It does not change the async-ness of the G method implementation code. The current implementation really falls short of even parallel requests though. It allows multiple methods to be handled in parallel but requests for the same method still serialize.
Supporting parallel client requests only requires the VI you showed to be reentrant. Each reentrant instance will get its own occurrence so it is fine.
Supporting an async G client API is a different thing and I'm not sure it is warranted. My feeling is that in the vast majority of cases, a reentrant synchronous API is fine. For cases that really need an async G API then async call by ref can be used to wrap the API.
If you think it is important to support an async G client API, then I'd say make an issue supporting that enhancement with use cases and this is just an implementation detail of that support.
FYI @eyesonvis

It does not change the async-ness of the G method implementation code. The current implementation really falls short of even parallel requests though. It allows multiple methods to be handled in parallel but requests for the same method still serialize.

That's why I think you should drop it.  It isn't bringing enough to the party to justify the increased difficulty in understanding.  Most real-world applications are likely to have a one or two Procedures that take significant time, plus several very quick ones.  Imagine, for example, an "Analyze Image" call; Users will want to analyze images in parallel, not to be able to other procedure types in parallel.
Also, doing stuff in parallel is a problem that has been solved in multiple ways already.  You don't need to have that in scope.

For cases that really need an async G API then async call by ref can be used to wrap the API.

Some problems there:
One cannot ACBR call a Malleable VI, and Malleable VIs are your core technique interacting with your dll (and you can't use variants to solve this problem).  So one is left with needing strong-typed cluster inputs on you Async-called subVIs.  ACBR-capable VI references are vulnerable to Root-Loop Blocking, which requires all such References to be cached ahead of time (at least in anything that can claim to be quality software).
Anyway, my point is that is complicated, and causes a lot of design restrictions.  I actually figured out last night how to work around the Occurrence issue, to get a Malleable API for an Async Client call, but I really had to call on some deep knowledge and experience to do so.  It would be a lot easier if you used a Queue.

My feeling is that in the vast majority of cases, a reentrant synchronous API is fine.

Do you know any Actor Framework guys?  Ask them what they think about blocking synchronous calls.

I believe this is behind #272 and #320, and possibly #77.
Local loopback can go quickly enough that the reply comes and the occurrence gets fired before LabVIEW execution can resume and get to the occurrence.  The result is a deadlock after a race condition.
I just noticed that there is a timeout that is unwired - I will submit that as a pull request since it (clunkily) prevents deadlock.  It waits out the timeout and then can resume.
After seeing all this, I'm persuaded by @drjdpowell - we should strongly consider rewriting the client side.  I like the idea of having a higher level call that makes everything easy.  But

We need something more graceful than this occurrence here
Ideally we have a cleaner low level library that can be used for more advanced or asynchronous use cases.  Auto-generating the protocol-related code (protobuf) is a fantastic productivity gain - but we shouldn't let that constrain more layers of our application than it has to.  Where we wish to make additional assumptions to make an easy example for simpler users that's ok - but that needs to be another separate layer on top of the low level scripted libraries.  The low level calls must not be coupled by those "simple use case" assumptions, or it will never see true adoption by customers NI cares about.

Note: swapping out the Occurrence for a temporary Queue or User Event should fix multiple problems without requiring more than minor changes.


mingw-w64-binutils 2.34 causes crashes in DXVK

If DXVK is compiled with mingw-w64-binutils 2.34, DXVK crashes in various different ways.
mingw-w64-binutils 2.33 does not have this problem. binutils master also does not have this problem. mingw-w64-binutils 2.34-1 is the current version in ArchLinux repos. I'm bisecting this now.
Filing an issue to keep track of the various occurrences of this in various games.
Software information
Bayonetta, various others
System information

GPU: RTX 2080
Driver: Nvidia 440.66.12-1
Wine version: proton-tkg-5.8
DXVK version: 1.6.1 or master 6643c75

Apitrace file(s)
N/A
Log files
Wine crashes on
wine: Unhandled page fault on write access to 00000000 at address 00314BAD (thread 00c4), starting debugger...

or various other symptoms such as https://github.com/doitsujin/dxvk/issues/1622

I've bisected this to be broken by binutils commit
ea933f17c3c6b9fa1daf8d03baa34f7bec855d6c: "Release bfd_alloc memory in bfd_check_format_matches"
between 2.33 and 2.34 release branches
and fixed by binutils commit
b03202e32c8235997b3485b0b4655926ad97a1cc: "bfd_get_size cache"
between 2.34 and master.

Can anyone afflicted by this problem try with the attached DXVK build to confirm binutils master fixes the problem for you? I only have one data point myself.
Attached is DXVK master compiled against binutils master (compiled as mingw-w64-binutils).
dxvk-master_binutils-master.tar.gz

Instead of creating wrappers for such a garbage title you should create fixes for older games!

I've filed a bug with binutils upstream: https://sourceware.org/bugzilla/show_bug.cgi?id=25993
More debug details are there.

I've got a tinderbox available for testing, I'll give it a try to reproduce this and also to test the patch.

TLDR on the issue is that there's a memory corruption bug that could show itself as a variety of symptoms. The bisection I did before was probably just perturbing the bug in different ways rather than actually introducing/fixing it.
There's a proposed patch on the binutils bug that seems to fix the issue. Attached is a PKGBUILD for anyone on ArchLinux who wants to try it out. Rename it to PKGBUILD.
PKGBUILD.txt

This is now in the latest master of binutils.

Well, there's actually three individual patches that need backporting to the 2.34 branch. With binutils-2.35 on the horizon, it's not very likely upstream will take the toll on it to update the old 2.34 branch. I mean, prove me wrong, but as of writing this it's best advice for everyone to avoid 2.34 and stick to 2.33.1 or wait for 2.35

Or just use master

Unless you're a toolchain dev you shouldn't depend on any live or master branch of toolchain. Been there, done that: wasting time and many cpu cycles.

@stefson only the first commit would need to be backported to fix the problem.
It's included in my PKGBUILD and it's also in TkG's builds:
https://github.com/Frogging-Family/mostlyportable-gcc/commit/54890d11935547f7a6a98f078339b79daf1acafa
https://github.com/Frogging-Family/mingw-on-arch-automator/commit/9c9fe424a0b9cc9a9d747642d6441f1fafc29b58
@stefson any results from your testing?

can anybody check this? mingw-w64-binutils-2.34-PKGBUILD

this patch seems to backport all three commits from binutils #25993 to the 2.34 branch?

nevermind, I took the patch and removed the gdb and Changelog bits to apply on top of binutils-2.34-r1 (gentoo user here), and I've got a set of smothly working dxvk-1.7 libs

@stefson thanks you
i also grab binutils-2_34-branch into cumulative patch from tag-2.34 to 20200521
for applying directly into https://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.gz
only first and last commit was edited (keep dev-mode turn off and for version editing only on last)
also 924adcb1d4836a08b254404350220b67332e7647 is huge (be careful)
mingw-w64-binutils-2.34-PKGBUILD-release-source

This is the patch I've been using for gentoo, with sys-devel/binutils-2.34-r1 patchset v4: 0059-PR-25993-Backport-from-mainline_v1.patch.gz
Gentoo doesn't use a complete git checkout, it uses the stable release and adds an own patchset on top of it with cherry picked commits from the branch, therefore the gdb parts and the Changlog's had to be removed by me.
Only the cross binutils needed the patch.
If you are the author of the backport, please post it to https://sourceware.org/bugzilla/show_bug.cgi?id=25993 , so that it can be merged into the 2.34 branch

https://sourceware.org/bugzilla/show_bug.cgi?id=25993#c16
Fix is applied to 2.34 branch, but the .tar.gz source downloads from https://ftp.gnu.org/gnu/binutils/ likely won't be updated, so Arch and other distros that use those downloads won't get the fix in 2.34. You'd have to use you use the binutils-2_34-branch git branch to get it.
But binutils 2.35 will have this fix and is planned to be released in a month's time.

upd for getting binutils-2.34 to 20200604 patch
binutils-2_34-branch-generator.sh

#!/bin/sh
cd "`dirname \"$0\"`"
#clear place for re-gen
[[ -d gen ]] && rm -r gen
mkdir gen && cd gen
git clone https://sourceware.org/git/binutils-gdb.git
cd binutils-gdb
git checkout -b binutils-2_34-branch
git checkout df18dbcfcee71422043af6f89d90f74c533d3983
git clean -xdf
git format-patch -151 HEAD -o ../patches
cd ../patches
mv 0151-Automatic-date-update-in-version.in.patch 0151-Automatic-date-update-in-version.in-current.patch
rm *-Automatic-date-update-in-version.in.patch
 # Turn off development mode (-Werror, gas run-time checks, date in sonames)
sed -i '/^-#define BFD_VERSION_DATE /s/20200604/20200201/' 0151-Automatic-date-update-in-version.in-current.patch
patch 0001-Re-enable-development.patch << 'EOM'
@@ -5,2 +5,4 @@

+keep development-mode
+
 ---
@@ -130,15 +132,2 @@

-diff --git a/bfd/development.sh b/bfd/development.sh
-index 32be4b9460..6bbed41d6d 100644
---- a/bfd/development.sh
-+++ b/bfd/development.sh
-@@ -16,7 +16,7 @@
- # along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
- # Controls whether to enable development-mode features by default.
--development=false
-+development=true
-
- # Indicate whether this is a release branch.
- experimental=false
 diff --git a/bfd/po/bfd.pot b/bfd/po/bfd.pot
EOM
cat *.patch > ../0001-binutils-2_34-branch.patch
cd ..
sha256sum 0001-binutils-2_34-branch.patch > 0001-binutils-2_34-branch.patch.sha256
exit 0

most likely there won't be another point release of the binutils-2.34 branch, so distros have to backport the fix or people have to fix the bug locally.

GNU Binutils 2.35 release
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=2cb5c79dad39dd438fb0f7372ac04cf5aa2a7db7

On Arch Linux, mingw-w64-binutils 2.35 is available now and was even adopted into the community repository.
Ubuntu 19 and 20 still only have 2.34.

gentoo has this fixed in sys-devel/binutils-2.34-r2 just yesterday I believe

Closing this because 2.35 is out now.


Enable management of static users via the Tectonic console.

Feature Request
Enable management of static users via the Tectonic console.
Environment
AWS
Desired Feature
While evaluating Tectonic, in the absence of LDAP, it is useful to quickly and easily add users for evaluation.
Currently his requires modifying a ConfigMap and using an external hash-generation and id-generation tool. I've found this process to be error-prone.
Ideally these commands would be simply wrapped within the UI with a simple form, with a strong hint that LDAP is the recommended solution.

Hey @elsonrodriguez, thanks for this suggestion. We're continuously looking to improve how Tectonic works with user management, and we'll make sure to keep this suggestion in mind. Is this mostly just for an evaluation standpoint, or would you also be interested in having this be a long-term user management solution?

It's for evaluation mostly. Kubernetes deployments in many organizations are still "Shadow IT", and plugging it into LDAP from the get-go is a non starter for those places.
However the basic user management would be able to get people over the hump easier, and would probably lead to higher Tectonic adoption.

@elsonrodriguez got it okay. Will bring this back to the product team and will update this issue with any progress on this. cc @robszumski

For one of my installations we only have a couple users so managing them statically is fine, even preferred for simplicity.

Yeah, our AWS environment doesn't have LDAP configured, and I am now having to set it up for the sole purpose of kubernetes management.  I'd like to be able to simply use static users.
On a side note...  even better - support SAML so we can integrate with our SSO provider

SAML support will be available in Tectonic 1.6.2 which is coming out very soon.


[AIRFLOW-713] EmrCreateJobFlowOperator and EmrAddStepsOperator attributes are not jinjafied

Make sure you have checked all steps below.
JIRA

[ ] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-713

Description

[ ] Here are some details about my PR, including screenshots of any UI changes:

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

[ ] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

@Swalloow
Thanks for the contribution, I think you also want to jinja-fy this file:
https://github.com/apache/incubator-airflow/blob/master/airflow/contrib/operators/emr_add_steps_operator.py
Would it be possible to add a simple test for both of then? Just set the property and assert if the properties get parsed correctly? You can find an example here:
https://github.com/apache/incubator-airflow/blob/master/tests/contrib/operators/test_spark_submit_operator.py
The application args are {{ ds }}, which should be converted to DEFAULT_DATE.strftime("%Y-%m-%d").
Cheers, Fokko

Codecov Report

Merging #3005 into master will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3005      +/-   ##
==========================================
+ Coverage   73.15%   73.24%   +0.08%
==========================================
  Files         175      175
  Lines       12331    12331
==========================================
+ Hits         9021     9032      +11
+ Misses       3310     3299      -11

Impacted Files
Coverage Δ

airflow/jobs.py
79.94% <0%> (+0.44%)
:arrow_up:

airflow/utils/helpers.py
54.02% <0%> (+2.87%)
:arrow_up:

airflow/task/task_runner/bash_task_runner.py
100% <0%> (+6.66%)
:arrow_up:

Continue to review full report at Codecov.

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

@Fokko Sure, thanks for your kind explanation :)


Not able to start worker

Flask is 0.12.2, I have customized launcher, basically normal FlaskGroup with couple additional commands
If I try to start worker using rq worker I'm getting following error:
$ python manage.py rq worker
Traceback (most recent call last):
  File "manage.py", line 35, in <module>
    cli()
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/flask/cli.py", line 380, in main
    return AppGroup.main(self, *args, **kwargs)
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/flask/cli.py", line 257, in decorator
    return __ctx.invoke(f, *args, **kwargs)
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/flask_rq2/cli.py", line 40, in new_func
    return func(rq, ctx, *args, **kwargs)
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/flask_rq2/cli.py", line 138, in worker
    queues=queues or rq.queues,
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/rq/cli/cli.py", line 175, in worker
    worker_class = import_attribute(worker_class)
  File "/home/jazg/v/zkw/local/lib/python2.7/site-packages/rq/utils.py", line 150, in import_attribute
    module = importlib.import_module(module_name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named backend_zkw.app

Application zkw otherwise runs fine and I can enqueue jobs.

rq info works fine:
$ python manage.py rq info
default      |█ 1
1 queues, 1 jobs total

0 workers, 1 queues

Updated: 2017-09-21 11:52:08.777488

Confirmed that customized launcher does not have any impact on this, generic flask rq worker fails in the same way.

Either google had problem indexing https://github.com/jezdez/Flask-RQ2/issues/6 or I was not able to formulate my search phrase correctly. ;)


Update bitcode guideline

https://developer.apple.com/documentation/Xcode-Release-Notes/xcode-14-release-notes
Apple has flip-flopped and now has deprecated bitcode. Thus, we need to switch our guideline from requiring it to not requiring it.

broken link unrelated.


⚠ Bofrost.be has degraded performance

In 9d86ec3, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1538 ms

Resolved: Bofrost.be performance has improved in accbd44.


Restore /stable and /dev as canonical links

Restores /stable and /dev as canonical links instead of using versioned URLs.

This change is

Sure, added Peter as a reviewer.


Component not updating

Hi! Thanks for a great component!
I'm having an issue with the counter showing the right value (until) after setting it on the emulator (Android Studio - Pixel XL2) but when I do the same thing after building the app (Expo, React Native) and installing it on my phone (Pixel xl2) the component does not update the displayed value after setting it. Only when the value is changed again it shows the OLD previous value (which is not right anymore).
Here's my code:
            <Timer
                isrunning ={isRunning}
                time={time}.      //Time is connected to the until prop in the timer
                onPress={() => this.TimePicker.open()}
                finishHandler = {onFinishHandler}
            />

        <TimePicker
            ref={ref => {
                this.TimePicker = ref;
            }}
            onCancel={onCancel}
            onConfirm={(hour, minute) => onConfirm(hour, minute)}
            maxHour = {59}
            hourUnit = {' Min'}
            maxMinute = {59}
            minuteUnit = {' Sec'}
            />

const onConfirm = (hour, minute) => {
this.TimePicker.close();
setTime(parseInt(minute) + parseInt(hour)*60)
}
TLDR: Component is updating in emulator but is not updating on built app (expo, react native) on phone (Google Pixel xl2)

Solution: I went pack one version and uncommented "componentWIllReceiveProps" and commented away "componentDidUpdate".
Now it works again =)

version 2.6.0 works fine. so problem is on update the deprecated react lifecycle.

@talalmajali are any updates?

I had similar problem, but when running on iOS simulator.
Solution: I opened index.js inside react-native-countdown-component folder and searched for "componentDidUpdate" function. Inside this function, I replaced prevState.until with this.state.until and replaced prevProps.until with this.props.until.
Now it behaves as I expect it to behave. Whenever I change value of until, it will update the component accordingly.

@mukhtarkussaiynbekov I did this, and YES it finally updates the time correctly, but now the timer doesn't count down! Did you find a fix?

@mikeportanova The timer counts down in my application. I am attaching screen shot of my code.

@mikeportanova The timer counts down in my application. I am attaching screen shot of my code.

Thanks! I had left multiple lifecycle methods uncommented.

Hi,
@thedavidpeterson, @mukhtarkussaiynbekov could you please let me know how can i achieve your solution in functional component?

Hi @anisurrahman072 I haven't coded in React Native in a while, but at that time I was only using functional component in my application. But because this package was written using class components, I had to change some parts of it to make it work. Please check my package, I haven't touched it since 2021.


Parsing timestamps from Traefik

Example timestamp 2018-10-12T17:20:36.403088507Z
%T doesn't seem to be able to parse that sort of precision. I tried a few different methods without success.

The following format should do it: 2018-10-12T17:20:36.403088507Z = %dT%t.%^

Perfect... thanks!


|-handling

@michael-franke I believe neither magpie-base nor magpie-backend currently have code that handles submissions containing |-chars in items of |-delimited lists.

I have a vague memory that there might have been functionality to recognize and process (somehow) submissions with bars in magpie V2, maybe as part of the frontend wrangling the data before submission?
I remember discussing some rule like this: if N is the maximum number of “|” occurring in direct sequence (e.g., “||||” -> N=4) in the input to be demarcated with “|”, then use N+1 bars (“|||||”) as demarcator. That’s hideous in worst-case scenarios, but should work alright in practice.
But, of course, better solutions exist.

On 19 Apr 2022, at 17:41, Marcel Klehr @.***> wrote:
@michael-franke I believe neither magpie-base nor magpie-backend currently have code that handles submissions containing |-chars in items of |-delimited lists.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

FYI, on the backend what currently happens is that a JSON array will be printed in the output CSV with "|" as the separator. I guess it will indeed be some processing on the frontend at submission time that figures out if the response is supposed to be submitted as a list.

I remember discussing some rule like this: if N is the maximum number of “|” occurring in direct sequence (e.g., “||||” -> N=4) in the input to be demarcated with “|”, then use N+1 bars (“|||||”) as demarcator. That’s hideous in worst-case scenarios, but should work alright in practice.

should this then be used on the whole dataset?

Only where we insert | due to array conversion.

On Apr 20, 2022, at 19:25, Marcel Klehr @.***> wrote:

I remember discussing some rule like this: if N is the maximum number of “|” occurring in direct sequence (e.g., “||||” -> N=4) in the input to be demarcated with “|”, then use N+1 bars (“|||||”) as demarcator. That’s hideous in worst-case scenarios, but should work alright in practice.
should this then be used on the whole dataset?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

Only where we insert | due to array conversion.

Usually array conversion will have to happen in every row though, right?
e.g. for this dataset...
a,b
['a text', 'another text'], 3
['a text with |-chars', 'another text'], 4

do we output...
a,b
a text|another text, 3
a text with |-chars||another text, 4

...or...
a,b
a text||another text, 3
a text with |-chars||another text, 4

Hm, yes, and when we insert multiple |s in this way for one participant, all previous submissions will still have a single |, making this really painful in later data analysis.
It would be better to replace all occurrences of “|” in array inputs with some dummy like “RPLCD-VRTCL-BAR” or some such (unlikely monster).

On 20 Apr 2022, at 19:42, Marcel Klehr @.***> wrote:
Only where we insert | due to array conversion.
Usually array conversion will have to happen in every row though, right?
e.g. for this dataset...
a,b
['a text', 'another text'], 3
['a text with |-chars', 'another text'], 4
do we output...
a,b
a text|another text, 3
a text with |-chars||another text, 4
...or...
a,b
a text||another text, 3
a text with |-chars||another text, 4
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.


content: add new Belize photo gallery

This PR adds a new blog post for my trip to Belize last year.

The deploy preview looks great. I'm going to merge this! 🚀


Install steps aren't quite right

See https://s3.amazonaws.com/archive.travis-ci.org/jobs/155699875/log.txt

Missing test executables (which we ARE building)
Installing include/scrypt header files

Being addressed in upstream.


Update jwttoken.go

Why does the refresh token include an expiry time?  I thought the whole point is that they are long life tokens?

An extra bit of information on this.  This change is merely cosmetic and makes the example a bit more understandable.


vue, vuetify, sass, vue-template-compiler version degraded- add other exam and ENV exam fix

vue, vuetify, sass, vue-template-compiler version degraded- add other exam and ENV exam fix
Note:

updated<EMAIL_ADDRESS>because of https://github.com/vuetifyjs/vuetify/issues/13694 warning

Closing due to issues and merge conflicts from reverting initial serviceflow pull request.


Query related to MLPTransformConnector in vae_text

Hi,
Thanks for adding vae_text example. I have a question related to MLPTransformConnector. MLPTransformConnector expects an input of size self.encoder.cell.hidden_size*2. I don't understand why it should be multiplied by 2.  Shouldn't we just use h of UnidirectionalRNNEncoder as input to MLPTransformConnector instead of (h, c)?

Hi, thanks for the issue! Since the example is ported from Texar-TF, I just checked the original code and indeed only h is used. Sorry for this careless mistake, I guess this is because UnidirectionalRNNEncoder in Texar-TF by default doesn't return the cell state while in Texar-PyTorch it does.
However, I feel that having either h or both (h, c) as input doesn't really affect the outcome of the model, but I'm not very sure about this. Does your previous experience with VAEs show that one of the methods is better than the other?

I don't think it will have a big impact on the performance but I think it's worth fixing because someone might use this implementation in a paper. And don't feel bad about it, you guys are doing an amazing job.

Thanks for the issue. Using either h or (h, c) combined is legitimate (e.g., different papers implement in different ways). But it'd be good to make it clear in the doc, and probably add the option of using h.


Fix issue in KL estimation using knn

Before, the method threw an error when all samples were equal. However, in these cases, it should rather return a KL divergence of 0.
Further, there can be a random timeout error in the github build most likely to an unwanted parallelization. To avoid this, we explicitly set the n_jobs to 1, which should be the expected behavior from the beginning.

Looks good to me, but should there be a test covering this?

There are already tests, which are failing on main (not sure why it was even able to go in there). Therefore this fix.


Preview shows text shows up same color as background

For certain vscode themes, the suggested code is not visible until you accept it. Is there a style property that can be adjusted/overridden to change the font color?

Going to go ahead and mark my own issue as resolved here.. You can fix this with the following vscode setting
  "workbench.colorCustomizations": {
    "editorGhostText.foreground": "#FF0000"
  }

Search Engine Text:
vscode captain stack preview invisible background text color


How to get the weights of signatures contributing to each tumor sample

Hi,
I want to get the weights of signatures contributing to each tumor sample. And I found that the output
of pd.read_hdf('nmf_output.h5', 'H') or pd.read_hdf('nmf_output.h5', 'Hraw') maight be the weights. But I am not much sure about that.
If it's correct, which one is the final weight matix? Thank you!

Apologies for the late reply - pd.read_hdf('nmf_output.h5', 'H') will give you the final weights after these have been normalized wrt. the W Matrix.
Specific details and code with comments for the function that does this transferring of weights may be found here.


Consider avoiding the use of floats for financial computations

Float values are prone to rounding errors, http://stackoverflow.com/questions/960072/rounding-errors.
The RubyMoney/money gem has moved from Floats to BigDecimal and explains why:

The Money#dollars and Money#amount methods now return instances of BigDecimal
rather than Float. We should avoid representing monetary values with floating
point types so to avoid a whole class of errors relating to lack of precision.
There are two migration options for this change:

The first is to test your application and where applicable update the
application to accept a BigDecimal return value. This is the recommended
path.
The second is to migrate from the #amount and #dollars methods to use the
#to_f method instead. This option should only be used where Float is the
desired type and nothing else will do for your application's requirements.

From money gem's Migration Notes

There is difference between BigDecimal and float:
expected: 42.82076503747119
got: 42.820765037470125

Legally, floats are fine, as the tolerance for APR is 4 decimals. :shrug:


Updated wrong doc parameters in UserVmService.

Description
Clean up some java doc codes.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[x] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

How Has This Been Tested?

Doesn't change anything.

Thanks @stephankruggg, I've applied the changes.

@DaanHoogland I don't have enough permission to merge this pr. Can you please merge it if it doesn't require any changes?


Fix crash on variable export. Disallow Object Types as values for "export"(ed) vars.

Fix #6719 crash
Writing:
export var path = Path

would crash the engine.
Now it properly reports an error.

@Faless Wouldn't this break valid things like:
export var test = TileSet.new()

@Faless Wouldn't this break valid things like:
export var test = TileSet.new()

You are right, I was pretty sure I tried it :(.
TileSet can still be exported via:
export(TileSet) var test

A better fix is needed though. I'll close this and look for it, sorry :-1:


Add editor integrations to documentation.

Based on https://github.com/pypa/pipenv/issues/1332

this should go on the basics page

or advanced


Slowdown on compress image with modified RegExp prototype

Uploading a huge image to the demo site (https://image-library.app/) in the "Upload and Compress Image", it'll take a long time to finish if some extensions or libs change the prototype of RegExp.
Reducing the steps to the minimum to reproduce the problem, I have:

Open https://image-library.app/
In browser console run the line:
globalThis.Object["defineProperty"](globalThis.RegExp.prototype, 'mynewproperty', {});
Click on Upload and Compress Image and chose a huge image (7MB or more)
It'll take almost 30 seconds to conclude. Without the change on RegExp prototype, it takes only 2 or 3 seconds.

Thirdy party products to protect JS code can causes this changes on RegExp.
The problem occurs only on Chrome and Edge. Firefox works fine.

Very interesting issue
There are some regex int he code
           const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
            const isIOS = /iPad|iPhone|iPod/i.test(navigator.userAgent);

For now the only solution is tu only use the compress part, and do the upload on your end.
I will investigate because it's interesting, but it is in low priority for now.


owners: fix small typo

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

/retest


Bump minimal Ruby version

The minimal Ruby version should be bumped to a supported on <= 2.6.0 as otherwise gems cannot be updated and security issues properly addressed any more.
Fixed once the devel branch gets merged into master.

Fixed with #75


ansible cannot be installed

pip does not allow to install packages in --user context anymore. We are forced to install pip packages either via apt install python3-<PACKAGE_NAME> or inside a virtual environment.

fixed by #27


[SCB-732] add omega-transport-feign to distribution and add the omega-transport-feign into distribution kit

add omega-transport-feign to distribution
Add the omega-transport-feign into distribution kit

Coverage decreased (-0.4%) to 92.825% when pulling f4fa2b5bdd76ab294f53442061deb86231b84a33 on Lionelpang:master into aee3a98e2a3846f8a5732d974a56b0cc46dff542 on apache:master.


Cannot ssh after joining new domain

Version: 8.3.3287.68880
OS/Distro: Ubuntu Server 16.04.3 LTS
Issue/Impact: I previously had this working perfectly on my old domain. I left that domain, and joined a new one and now I cannot ssh into the box using domain creds.

systemctl status lwsmd.service

brian@broyserver:~$ systemctl status lwsmd.service
● lwsmd.service - BeyondTrust PBIS Service Manager
   Loaded: loaded (/lib/systemd/system/lwsmd.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2017-12-15 09:37:21 EST; 20min ago
  Process: 1087 ExecStart=/opt/pbis/sbin/lwsmd --start-as-daemon (code=exited, status=0/SUCCESS)
 Main PID: 1107 (lwsmd)
   CGroup: /system.slice/lwsmd.service
           ├─1107 /opt/pbis/sbin/lwsmd --start-as-daemon
           ├─1120 lw-container lwreg
           ├─1142 lw-container eventlog
           ├─1158 lw-container netlogon
           ├─1226 lw-container lwio
           ├─1353 lw-container reapsysl
           └─2010 lw-container lsass

Dec 15 09:37:21 broyserver reapsysl[1353]: Logging started
Dec 15 09:37:21 broyserver systemd[1]: Started BeyondTrust PBIS Service Manager.
Dec 15 09:39:26 broyserver /opt/pbis/sbin/lwsmd[1107]: Service failed to start: lsass
Dec 15 09:39:39 broyserver lsass[1811]: Logging started
Dec 15 09:39:47 broyserver /opt/pbis/sbin/lwsmd[1107]: Service failed to start: lsass
Dec 15 09:39:50 broyserver lsass[1884]: Logging started
Dec 15 09:39:52 broyserver /opt/pbis/sbin/lwsmd[1107]: Service failed to start: lsass
Dec 15 09:39:54 broyserver lsass[1947]: Logging started
Dec 15 09:40:02 broyserver /opt/pbis/sbin/lwsmd[1107]: Service failed to start: lsass
Dec 15 09:40:05 broyserver lsass[2010]: Logging started

/opt/pbis/bin/lwsm list
brian@broyserver:~$ /opt/pbis/bin/lwsm list lwreg          running (container: 1120) dcerpc         stopped eventlog       running (container: 1142) lsass          running (container: 2010) lwio           running (container: 1226) netlogon       running (container: 1158) rdr            running (io: 1226) reapsysl       running (container: 1353) usermonitor    stopped
id broyuken\broy
works fine

pbis authenticate-user --user broy
Success
logging in via ssh fails with the following from /var/log/auth.log
Dec 15 10:11:41 broyserver sshd[2198]: PAM unable to dlopen(pam_smbpass.so): /lib/security/pam_smbpass.so: cannot open shared object file: No such file or directory
Dec 15 10:11:41 broyserver sshd[2198]: PAM adding faulty module: pam_smbpass.so
Dec 15 10:11:46 broyserver sshd[2198]: error: PAM: Authentication failure for broy from x.x.x.x

I'm assuming there is something cache'd from the old domain in there somewhere, but not sure how to clear it out. I ran sudo /opt/pbis/bin/ad-cache --delete-all but it didn't fix anything.

When you issue a domainjoin PBIS configures the PAM files to add our modules(also perform a backup). If you have any custom modifications to PAM there maybe a conflict. I recommend removing pam_smbpass.so entries and see if that clears it up.
If you want to link your samba server with AD you can use the samba-interop-install (see the Integration guide for more info) to use pbis with Samba.

If this is still an issue I would recommend a purge, download the latest version and install. Then try again.


workspace path ... does not exist

I'm trying to push a DSL (named current-sys.dsl) and I get the following output:
Pushing workspace 63929 to https://api.structurizr.com
 - workspace path current-sys.dsl does not exist

I've got the JSON files fetched by pull but those are outdated.
That seems to be a regression given that pushing DSLs with the CLI on ArchLinux worked last time I tried (with an older version tho, given the CLI hasn't been ported to any of the Linux package managers).
Edit: A similar issue happens with the export command.
System

CLI version: v1.11.0
Terminal: WSL 2.0 (Ubuntu 20.04)

Unrelated but it seems that there's a discrepancy in the workspace arguments across commands where validate/list have -w, --workspace but not pull/push which have -workspace, --workspace.

Are you running the version available from the releases page here (i.e. natively on your computer), or via another package (e.g. Docker)?

@simonbrowndotje Yup, I downloaded the zip from the releases.

Does this work with the newer versions?

Yup.


It opens the SC2 app (Version 5.0.2 (81433)) on my MacBook running Catalina (10.15.6) but unfortunately SC2 just renders a black window. SC2 works when I open it normally to play.
See:

What am I missing? I've read all the docs. Thanks!
[jyan@jyan-mbp sc2]$ cat main.js
const { createAgent, createEngine, createPlayer } = require('@node-sc2/core');
const { Difficulty, Race } = require('@node-sc2/core/constants/enums');

const bot = createAgent({
    async onGameStart({ resources }) {
        const { units, actions, map } = resources.get();

        const workers = units.getWorkers();
        return actions.attackMove(workers, map.getEnemyMain().townhallPosition);
    }
});

const engine = createEngine();

engine.connect().then(() => {
    return engine.runGame('Blueshift LE', [
        createPlayer({ race: Race.RANDOM }, bot),
        createPlayer({ race: Race.RANDOM, difficulty: Difficulty.MEDIUM }),
    ]);
});
[jyan@jyan-mbp sc2]$ node -v
v14.8.0

Same on windows. Considering that there's an unresolved issue from Jan 2019, I think it's safe to assume that this project has been abandoned

@kristians2 @jinghao The last changes are in alpha, please, try with "@node-sc2/core": "0.9.0-alpha.4",.
Here is a working example:
https://github.com/alkurbatov/kutuzov-bot

This has been working for quite awhile now on the alpha branch. 0.9.0-alpha.6 is the version you want.


New QR Code Keyword

Working fine now, I had lost the JS code for the toolkit. I entered it again and all is working

I have a details View with an address as the first field and all it seems to do is duplicate the first line of the address and is also showing up inside the Description of the view

Nevermnd it is fine, I lost the TK code in the javascript. Working now

Working fine now, I had lost the JS code for the toolkit. I entered it again and all is working


Target .NETFramework 4.5.1

Is it possible to target .NETFramework 4.5.1 as well? It looks like all dependencies are targeting it, so it shouldn't be a problem

I was honestly just waiting for someone to ask for that;) I'd happily take a PR for that.

Yeah man, sorry, that's not gonna happen. The latest Lamar is on ASP.Net Core 2.1 and that means netcoreapp2.1/netstandard2.0


parameters: handle MC_DTERM_CUTOFF -> IMU_DGYRO_CUTOFF migration

In PR https://github.com/PX4/Firmware/pull/14048 we removed the d term filtering in the multicopter rate controller and started using the vehicle_angular_acceleration topic. We can also automatically migrate the parameter value from MC_DTERM_CUTOFF to IMU_DGYRO_CUTOFF to ensure a seamless upgrade.

Thanks!

Thanks


Could not locate Gemfile

Can't build this theme on Jekyll because of this error:
Could not locate Gemfile

you dont need to build this theme. just try jekyll serve ./ in the theme folder.


Winit 0.23 support for imgui-winit-support

Continuation on @JMS55 winit 0.23 support PR.
This bumps the crate version, and makes winit 0.23 the default.

owned_ttf_parser-0.6.0 seems to break the minimal 1.40.0 requirement. What is the normal procedure when this happens? Update the minimal requirements?
Note: tested these changes locally on Windows, my imgui project seems to work fine!

@maxded thank you for continuing my PR! I've been busy with school and haven't had time to take another look at it.
I think the issue I had was that the way you defined Vertex's with Glium changed, and imgui has like 5 different shader versions with different parameters, which made implementing the Vertex trait confusing.

Could we get a winit dependency with no defualt features? I use winit without wayland support nad this is currently forcing it on.


State sync fails with "filetree" error

State sync isn't working. As soon as the snapshot header is verified, it fails.
Error is multistore restore: cannot import into non-IAVL store "filetree": internal logic error
Relevant log:
INF sync any module=statesync msg={}
INF Discovered new snapshot format=1 hash="\x1e\x03\x7fX��Ik�\"H8\\<EMAIL_ADDRESS>height=56400 module=statesync
INF Discovered new snapshot format=1 hash="��Ժf.���\f�d\x02�YgV��\x01��*���7p0c%�" height=56300 module=statesync
INF Discovered new snapshot format=1 hash="\x1a�k)�eZ\x05]�\x02a\a�qN)���\f\x10f�r�1LXʾs" height=56000 module=statesync
INF Discovered new snapshot format=1 hash="�گ��v��nk�\x15��\x12��'�<\x1f��ɮPgN���8" height=55000 module=statesync
INF service start impl="Peer{MConn{<IP_ADDRESS>:26626} 4ea723e652f11433734ae2aa6f364ef0510d6636 out}" module=p2p msg={} peer={"id":"4ea723e652f11433734ae2aa6f364ef0510d6636","ip":"<IP_ADDRESS>","port":26626}
INF service start impl=MConn{<IP_ADDRESS>:26626} module=p2p msg={} peer={"id":"4ea723e652f11433734ae2aa6f364ef0510d6636","ip":"<IP_ADDRESS>","port":26626}
INF Added peer module=p2p peer={"Data":{},"Logger":{}}
INF VerifyHeader hash=A2CE5A52D094F14F8637268B9FF5B2C25E4C6A7AD171169F3B6458B2707E172E height=56401 module=light
INF VerifyHeader hash=7A98A69D36CC75D67FA66967D8F45FB4D0268D408B30481DCDEE9785C8AD8100 height=56402 module=light
INF Offering snapshot to ABCI app format=1 hash="\x1e\x03\x7fX��Ik�\"H8\\<EMAIL_ADDRESS>height=56400 module=statesync
INF Snapshot accepted, restoring format=1 hash="\x1e\x03\x7fX��Ik�\"H8\\<EMAIL_ADDRESS>height=56400 module=statesync
INF Fetching snapshot chunk chunk=0 format=1 height=56400 module=statesync total=1
INF VerifyHeader hash=2353AC2A3E716334AAA90D42724A97D9F7E348A7DCC46E39E2E9EAAF3D9E9C83 height=56400 module=light
INF Header has already been verified hash=A2CE5A52D094F14F8637268B9FF5B2C25E4C6A7AD171169F3B6458B2707E172E height=56401 module=light
INF Header has already been verified hash=7A98A69D36CC75D67FA66967D8F45FB4D0268D408B30481DCDEE9785C8AD8100 height=56402 module=light
INF Header has already been verified hash=A2CE5A52D094F14F8637268B9FF5B2C25E4C6A7AD171169F3B6458B2707E172E height=56401 module=light
INF Header has already been verified hash=2353AC2A3E716334AAA90D42724A97D9F7E348A7DCC46E39E2E9EAAF3D9E9C83 height=56400 module=light
ERR failed to restore snapshot err="multistore restore: cannot import into non-IAVL store \"filetree\": internal logic error"
INF Applied snapshot chunk to ABCI app chunk=0 format=1 height=56400 module=statesync total=1
ERR State sync failed err="state sync aborted" module=statesync

State sync should be ready to go in about 8ish hours.  sync interval is 5000 blocks

State sync should be ready to go in about 8ish hours. sync interval is 5000 blocks

I'm not sure in what way your reply is applicable? I'm using a state sync node with valid snapshots.

@Bro-Chain do you know if this happens on testnet?

@TheMarstonConnell Yes, this happens on the testnet. Mainnet state sync is fine.

Double checking that this is still broken on testnet but not mainnet?

It seems to work on both mainnet and testnet now. Not sure why tbh. I guess we can close this.


Clarify 'from' macro expected arguments

It's quite confusing when you pass what will be a keyword list at runtime and get an error message saying it's not a keyword list.

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


Refactor ".nil? ? nil" used in ternary operators

Run git grep ".nil? ? nil" will show over a hundred occurrences.
Refactor to use one of the following techniques:

From object.nil? ? nil : object.method_name to object.try(:method_name)
From object.nil? ? nil : some_method(object) to object && some_method(object)

I am on it

What to be done for assignment statements like
fld = rec.nil? ? nil : rec[field[:name]]

fld = rec && rec[field[:name]] should suffice.

This is still valid for anyone looking for a Hacktoberfest contribution this year!

I am on it


Revert "Add "Result reported date" to the download CSV (#3793) (#4027)"

This reverts commit 5d9313bc7bc052efbfda82745bd15a5d7f8ebe83.

Demo was throwing a java.lang.NullPointerException error because as @emmastephenson shared
"the addition of telephone type (mobile/landline) on the patient object was a backfill, in that we originally didn’t collect the data and then added a new column for it to the schema. But I’m somewhat certain that the only environment that was properly backfilled was production, and all the lower environments still have the column/data type missing. So downloads try to access patient phone records and then blow up with NPE when they see mobile/landline isn’t properly configured"
After checking Azure this does not seem to be a problem in production


API Key Auth not correctly being assigned to header

We have the following logic in lib\auth\apikey.js
const aid = require('../aid');

class ApiKeyAuth {
  constructor(settings) {
    const params = settings.parameters();
    const key = params.get('key');
    const value = aid.evalString(params.get('value'));

    if (params.get('in') === 'header') {
      this.logic = '' + `config.headers['${key}'] = ${value};`;
    } else {
      this.logic = '' + `config.options['${key}'] = ${value};`;
    }
  }
}

module.exports = ApiKeyAuth;

I have my Postman collection auth defined like this:

A snippet from the json output from my exported collection:
	"auth": {
		"type": "apikey",
		"apikey": [
			{
				"key": "value",
				"value": "{{Authorization}}",
				"type": "string"
			},
			{
				"key": "key",
				"value": "Authorization",
				"type": "string"
			}
		]
	},

It appears to be incorrectly using config.options instead of config.headers so my auth to fail when using the generated k6s output.  If I manually change that part the auth works.
Perhaps something has changed in the output from Postman that's causing the line    if (params.get('in') === 'header') { to not work as expected?
Here is my Postman version:

I notice in the test (test\material\2\apikey.json) we're expecting this:
{
	"info": {
		"_postman_id": "3cb6376b-535c-4c2f-a5d6-7bf193bcc6b9",
		"name": "Request",
		"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
	},
	"item": [
		{
			"name": "TestRequest",
			"request": {
				"auth": {
					"type": "apikey",
					"apikey": {
                        "key": "Authorization",
                        "value": "secretApiKey",
                        "in": "header"
					}
				},
				"method": "GET",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": "example.com"
			},
			"response": []
		}
	]
}

hi @millerdrew
Thanks for providing the details for what seems to be a bug.
Would it be possible to share your Postman collection or a simplified format of the collection?
That way we can try to reproduce the issue.

@thim81 Sure.  Here's a simplified export:
API Example.postman_collection.zip
The major difference from what's in the test appears to be this line is missing:
"in": "header"
instead there's only key, value, and type
thanks for the response appreciate your help!  let me know if anything would be useful

hi @millerdrew
Is this issue still happening?

hi @millerdrew
I tried to reproduce your case, but I'm not able to fully understand your issue.
What you would expect?
This is the converted result:
group("Workflow", function() {
    postman[Request]({
      name: "dosomething",
      id: "c36db191-2918-4b63-af77-66300146301e",
      method: "POST",
      address: "{{BaseUrl}}/SomeAPI/dosomething",
      post(response) {
        pm.test("Status code is 200", function() {
          pm.response.to.have.status(200);
        });
      },
      auth(config, Var) {
        config.options["Authorization"] = `${pm[Var]("Authorization")}`;
      }
    });
  });


Not all specs are running depending on seed

The problem
The number of specs being run locally varies per run:
 $ bundle exec rspec

Randomized with seed 33336
[...]
Finished in 0.76282 seconds (files took 0.36278 seconds to load)
1155 examples, 0 failures

$ bundle exec rspec

Randomized with seed 24062
[...]
Finished in 0.69801 seconds (files took 0.36089 seconds to load)
1070 examples, 0 failures

$ bundle exec rspec

Randomized with seed 60919
[...]
Finished in 10.19 seconds (files took 0.35574 seconds to load)
132 examples, 0 failures

Using the same seed for RSpec gives the same number of specs:
 $ be rspec --seed 60919

Randomized with seed 60919
[...]
Finished in 10.18 seconds (files took 0.37901 seconds to load)
132 examples, 0 failures

It could be a spec exiting early? I haven't checked.

Indeed specs are exiting early on running spec/gitlab/cli_spec.rb


demo inference speed is very slow

excellent work!, i tried the hipie-main demo, but i found the speed is very slow about 1min for a img, could you give some advices?

the default demo notebook is using cpu. Try use GPU instead by changing device='cpu' to device='cuda'


docs: Update monetizing_your_actor.md

Added T&C for Store + note about price changes (allowed once per month)

good point @B4nan , I have changed it - hopefully correctly :)


add to deny list block nexus-websocket-a.intercom.io

nexus-websocket-a.intercom.io
Used in testbook
Used for tracking non essential purpose as i use this app and manually blocking it does not effect the app.

Closing this now.


Strange download sizes

Browser name and version: Firefox 113
Device (mobile or desktop): Desktop
Page where the issue happens: https://steamdb.info/app/292120/depots/

Describe the bug
Not sure if it's a bug on DB side, but as you can see, the download size for both non-shared depots are in terabytes, which I very doubt is accurate.

This is a bug on Steam's end with wrong size in the appinfo, if you click through to the depot it has correct size.


Leaderboard page: sort order is incorrect after exiting a search

cc: @Harry-Ross
Tested using SSW Rewards app version 2.0 on Samsung Galaxy J5 Pro.
Open the Leaderboard page:

Now search for someone using the Search box:

Then exit the search using its "x" button:

Note that the list of people is no longer sorted in numerically decreasing order.

Note: Will likely be resolved by https://github.com/SSWConsulting/SSW.Rewards.Mobile/issues/558. Revisit after that has been completed.

#558 is done and merged.
Closing this one.


LineChart : extended options : interactiveLayer.tooltip.valueFormatter is not taken into account.

See plunker to: All values in interactive tooltip should be equal : "Anything".
The interactiveLayer.tooltip.valueFormatter function is not passing to chart.
I have this:
chart.config.extended = true;

...

chart.options: {

   ...

   interactiveLayer: {
      tooltip: {
          valueFormatter: function (d,i) {
              return 'Anything';
          }
      }
  },

  ...

}

http://plnkr.co/edit/Zelhs8?p=preview

It's a bug. In the latest nvd3 version (1.8.3) it seems to be fixed.

Confirmed. Fixed in 1.8.3. nvD3.

Ok, I close it.

hmm.. 1.8.3 has even worse tooltip bugs..

Yeah See that:
https://github.com/novus/nvd3/issues/1698
:)


vars_files can never be resolved to paths that work

Concourse 5.5.1
vars_files can never be resolved to paths that work.
... inside resources

  - name: development
    type: cf
    source:
      api: ...
      username: ...
      password: ...
      organization: ...
      space: ...

... inside tasks of the pipeline

      - put: development
        inputs: [put]
        params:
          manifest: put/manifest.yml
          vars_files:
            - put/<path to file>

Always fails with vars file file not found from the cf push command.
Incorrect Usage: The specified path 'put/sreteam.yml' does not exist.
And the file does exist, as checked by prior steps.
I have seen other versions of this with the magic directory /tmp/build/put/. Perhaps that is for older versions of concourse? I assume that is working for whoever wrote it but when I try it /tmp/build/put/ seems to be some kind of magic directory I can't carry over as an output from other tasks. The build working directory seems to be at /tmp/build/. When I copy things into /tmp/build/put the file is still not found. When you have just the filename in the vars_files input it will say /tmp/build/put/ is not found either.
It would seem that the working directory of the cf push command isn't /tmp/build/ in that container but something else. I note that os.Args[1] is concatenated to the manifest file path in main.go. Theres no problem finding the manifest file.
Workaround:
After reading some code I found that if I define path parameter, now vars file will be relative to that folder because it will chdir into it first before running the command.

We're having the same issue. @ShoryuKyzan can you explain your workaround in more detail?

facing issue 'Expected to find variables' error even after defining vars_files with relative to path


Track tool dependencies in modules

Although I won't elaborate here, I've added the installation binaries for GRPC to go modules, and updated the documentation to reflect the current installation pattern (updated from their README)

https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
https://github.com/go-modules-by-example/index/blob/master/010_tools/README.md
https://github.com/grpc-ecosystem/grpc-gateway#installation

Thanks for this pull request @syntaqx but we already track tools dependencies in the repo:
https://github.com/heroiclabs/nakama/blob/master/build/tools.go

Aha! I must've missed that, apologies. I added it to the top of the repository because if you put it in a sub-folder and don't include that module, it's silent ignored on a go install github.com/nakama/nakama (or, that was the impression I got from how I've seen it used).
There is a convention where folks have put it in tools/tools.go or some iteration of that, but I've always seen them target the module directly when sourcing them.
Is having it in the root of the repository something you'd like me to keep this open for, or should I go ahead and close? Apologies on the duplication of efforts, still navigating the codebase!


Pipe: basic support for table model from SQL to IConfigTask

As title.

The newly added statements shall be placed in the coordinators to be directed to the configNodes.

All comments will be solved in next PR. Thanks for reviewing @Caideyipi


Fix ignoring exit code from spawnSync - run-wrangler.js

Fixes #433
Fixes #335
I had some api key issues while publishing a route to a specific zone.
I realized that the npm "run-wrangler" wrapper, was exiting zero when our api key was incorrect,
when I expected it to exit non-zero.
Looks like "spawnSync" returns an explicit status field, which has to be propagated up in order to
have the correct exit status.
This diff fixes that (removes an unused import, and fixes some quotes).
Reproduction:
# add wrangler to package.json (yarn add @cloudflare/wrangler -D)
<EMAIL_ADDRESS>CF_API_KEY=incorrect_api_key_here wrangler publish --release
echo $? # will be zero

After this fix
<EMAIL_ADDRESS>CF_API_KEY=incorrect_api_key_here wrangler publish --release
# error Command failed with exit code 1.

Good work! Sounds like this fixes #335 as well. Thank you for the PR!

Happy to help! We were publishing using serverless framework before, wrangler is so nice 😀

I'm testing that npm install correctly replaces the bin script with the new one and got this error


Yomikiru Doesn't Run on Windows 10

Type of installation
Setup (.exe)
Steps to reproduce
Hello,
The Readme doesn't state operating system requirements, but even so I decided to give this program a shot.
When I first installed Yomikiru, months ago, it was on v2.8.1. On first launch it was okay for the first minute, then closed on it's own. A window popped up stating "Yomikiru has stopped working":

I tried a handful of times, but this window came up without fail, before I could open any settings or manga.
Later I tried again on v2.16.0. I was excited to see a Windows 64-bit setup.exe. After installing it, the same scenario as above stopped Yomikiru in it's tracks. This time, I opened up Windows Compatibility Troubleshooter and trued some things.
The first was to try it in Windows 8 compatibility mode.

But it only lead to the same "Yomikiru has stopped working" window. Next was to try Windows 7 compatibility mode.

Finally, I was able to open a stable Yomikiru! I had plenty of time to browse through the settings, and leaf through a manga. So I closed the Troubleshooter and started using it.

I've since updated to v2.16.2, but I still need compatibility mode to properly run your program.
From here you may be asking, "Well, it works. So what's the problem?".
I'm writing this to ask you to update your software to run on Windows 10, and 11. Right now, it only runs on Windows 7, and crashes on current versions. Since it won't run on 10, I'm assuming it hasn't been updated to 11 either. Windows 10 is slowly on it's way out and the majority of new computers sold today are running Windows 11. This incompatibility severely limits the accessibility of your program and common people don't have the time or know that they can troubleshoot compatibility. Please update your program to current windows operating systems.
My Setup:
Windows 10 Home 64 Bit
HP Envy 17" Laptop
Yomikiru v2.16.2, Windows 7 Compatibility Mode
✔ Expected Behavior
No response
❌ Actual Behavior
No response

It is possible that your antivirus software might be deleting some of app's files, so please check that as well.
On addition to what I said above for logs. You can also send logs from "\userdata\logs".

Thank you for your quick response mienaiyami. Based on your suggestions, here's how it went:

Check for Antivirus interference:
Uninstalled Yomikiru. Turned Wifi Off. Restarted computer. Disabled Anti-Viruses. Do a fresh Yomikiru install. Try to open. Result?

Initial Stopped Working pop up appeared.

Submit Log:
Here's the log file.

main.log
And a breakdown of what I did for each timestamp:
6:27-7:02 used the normal Windows 10 Compatibility with Wifi and Antivirus off. It seems the log didn't catch the crashes, since there are no "quitting" logs.
7:09-7:17 is the return to Windows 7 Compatibility.
7:22-7:27 takes it a step further with antivirus and wifi back on.

main.log

Files in "logs" folder are generated while using app so they dont log all the data for performance.

Can you try this for some more information about the error.

Get the portable version of app.
Go to the folder where app is located.
Open terminal there, by either right click menu or entering "cmd" in top of file explorer where it shows current folder (e.g, "D:\downloads").
.\yomikiru.exe --enable-logging=file --v=1 paste this and click enter.
After window closes, go to "userdata" folder in same folder where Yomikiru.exe was, and upload the electron_debug.log file here for more help.

Please do this instead.

6:27-7:02 used the normal Windows 10 Compatibility with Wifi and Antivirus off. It seems the log didn't catch the crashes, since there are no "quitting" logs.
7:09-7:17 is the return to Windows 7 Compatibility.
7:22-7:27 takes it a step further with antivirus and wifi back on.

What are these related to?

main.log

Files in "logs" folder are generated while using app so they dont log all the data for performance.

Can you try this for some more information about the error.

Get the portable version of app.
Go to the folder where app is located.
Open terminal there, by either right click menu or entering "cmd" in top of file explorer where it shows current folder (e.g, "D:\downloads").
.\yomikiru.exe --enable-logging=file --v=1 paste this and click enter.
After window closes, go to "userdata" folder in same folder where Yomikiru.exe was, and upload the electron_debug.log file here for more help.

Please do this instead.

I'll get on it.

6:27-7:02 used the normal Windows 10 Compatibility with Wifi and Antivirus off. It seems the log didn't catch the crashes, since there are no "quitting" logs.
7:09-7:17 is the return to Windows 7 Compatibility.
7:22-7:27 takes it a step further with antivirus and wifi back on.

What are these related to?

If you open main.log, you'll see those timestamps. I added that description because the log file itself isn't detailed.

Will be closing this issue as stale in a week.

Hello everyone,
Thank you for the resposnes. Sorry for my delay. Work had ramped up.

"Did you try running latest version without any compatibility mode Yes, it takes a while to load the UI, but once it does it stops working within a few seconds.

Get the portable version of the app and check log files.
Same result without compatibility mode. Here's the portable's log file from user data.

electron_debug.log

Im guessing its because of high ram usage. Does the app close without doing anything or after opening a manga?
Can you try opening a folder with few images.

It closes without doing anything. I opened it, started a stopwatch, and left it alone. Stopped working pop up appeared after 55 seconds.
Here's the new log file:
electron_debug.log

I should also note that after your comment, I monitored my PC's RAM memory through task manager. It was sitting at 73% memory usage before opening the app, and 75% usage during. The extra 2% was only 102 MB from the app.
I don't think high memory usage is the culprit.

It's really hard for me to pin point the issue, most of the users are windows 10 and 11, and never had such issue.
You may want to check if your anti-virus is closing it. From my side I had made it so it runs on all major Windows versions.
From the logs you provided, it does not look like it's Yomikiru's fault.
There is a system way to check it

Launch "Event viewer".
Navigate to "Windows logs" and then the "Application" tab.
Check for any errors in it.
Also check other tabs alongside it as well,

Yeah, it really is hard to diagnose something remotely. Thanks for your continued attention to this.
I didn't know about the Event Viewer. It does show some logs, but the material is outside of my knowledge. I've saved it and will share here. Looks like you can open it by importing to your event viewer.
Yomikiru Has Stopped Working Event Logs_1033.zip

It also requires .evtx file that is generated alongside it.
But that might be useless for me if there is no "Error" written where "information" is

And even after that, if it's something windows related, I might not be able to help much.
If you have pro version of windows, then you can even try running this app in windows sandbox.
You can try running these command in cmd as admin.
sfc /scannow
DISM.exe /Online /Cleanup-image /Restorehealth

Again just check for drivers and windows update.

Oh my bad. Here's the updated zip file. Yes, you'll see Error there with a red icon.
Saved Windows Error Logs.zip

Thanks for the logs.
It seems your system is some files in your system are corrupted or missing.
You can try this to get the latest files. Generally, it is recommended that everyone should run this setup on a new PC/laptop.
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022:~:text=Permalink for latest supported x64 version. The X64 Redistributable package contains both ARM64 and X64 binaries. This package makes it easy to install required Visual C%2B%2B ARM64
Restart your PC just in case, after installing these.
It will most likely fix the issue.
If it doesnt, you can follow this guide. https://windll.com/dll/microsoft-corporation/msspellcheckingfacility


[therocktrading] added a CanelOrderParams interface that can be by therock to pass through the required currency parameter

Hey @timmolter thanks again.
I think we need a similar change for withdrawFunds because some types of wallet (XRP for example) are more than just a single string. So would it be agreeable if I added something like
// the existing one
public String withdrawFunds(Currency currency, BigDecimal amount, String address) {...

// the new one
public String withdrawFunds(WithdrawFundsParams ) {...

Again, I think for ease of use, perhaps keep the old method and delegate everywhere.

Yeah, go for it!


Installation error

I can't install tinyobjloader through pip install git+https://github.com/tinyobjloader/tinyobjloader.git@v2.0.0rc8#subdirectory=python,the website<EMAIL_ADDRESS>seems like expired,how should I do?
Here is the detailed error:
pip install<EMAIL_ADDRESS>Collecting<EMAIL_ADDRESS>Cloning https://github.com/tinyobjloader/tinyobjloader.git (to revision v2.0.0rc8) to /tmp/pip-req-build-vj7lcb7h
Running command git clone --filter=blob:none --quiet https://github.com/tinyobjloader/tinyobjloader.git /tmp/pip-req-build-vj7lcb7h
fatal: unable to access 'https://github.com/tinyobjloader/tinyobjloader.git/': Failed to connect to github.com port 443: Connection timed out
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/tinyobjloader/tinyobjloader.git /tmp/pip-req-build-vj7lcb7h did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/tinyobjloader/tinyobjloader.git /tmp/pip-req-build-vj7lcb7h did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

Hi I tried to install it again on my PC and it still works.
From your error message, it seems that it's a network or firewall issue?
Can you try to git clone their github repo and try to build it locally? I guess the version doesn't matter here.


Add "This file was autogenerated" warning

Fixed by https://github.com/riverwaysoft/dto-converter/commit/b9d7d5e94dd7f588f496bef3ed17a7e6a6de2d74