Filter result by class.

Hallo,
Can i run a query like this /gb/q/Lon.js, and filter it by specific class eg:
/gb/q/Lon.js&/r/boundary,place.js?key=xyz
Lukas

Hi,
You can filter query on the main search route now, see the code.
It could look like this:
/?q=Lon&class=boundary,place&country_code=gb
This filter is not implemented for the routes /q/Lon.js now.
Note also that, these URLs are not permitted in MapTiler Cloud Geocoding service now.


Reorganize folder structure and use snake_case

Is your feature request related to a problem? Please describe.
reorganizing folders structure and making the addon easy to navigate
Describe the solution you'd like
Godot from what I've seen has changed conventions from godot 3 to mostly snake_case and I don't see the project utilizing this
https://docs.godotengine.org/en/stable/tutorials/best_practices/project_organization.html
Also I've tried debugging some bugs I had with it that are already open in git, there is a test project outside of the folder and also inside, duno what they're for
Describe alternatives you've considered
For the beta I would suggest to keep just the required files for the addon to function in a simple structure with snake_case folder names and script names that are consistant
And also keep all of the examples assets in the base directory and not inside the addon directory

Hello, thanks for opening an issue about consistency.
The Tests folder is explained on the README.md: https://github.com/dialogic-godot/dialogic?tab=readme-ov-file#testing
While you are correct and we like to stick to the guidelines, the damage is done already. It may cause huge breaking changes with how fragile Godot can be. We would have to analyse how much trouble this will push onto our current users.
We are still in Alpha, about to go Beta, it may still fundamentally break all projects.


Fixed small gap with empty title NumberSelector

This fixes the minor issue of a small gap being created to the left of the NumberSelector even if the title is left empty. The libgdx Eclipse formatter also reformatted some stuff.

Thanks, next time please be careful when using code formatter, it makes PRs harder to review because it also changes irrelevant code.

Well, I am using the libgdx formatter, which is what your contribution file says I should use :3

Eclipse formatter isn't fully the same as the Intellij IDEA formatter which I'm using, thus there are some formatting differences, but it's the closest we have :) Just don't use it on already existing code, IIRC in Eclipse you can format only selected code fragment.

I'll make sure to do that, thanks for letting me know :)


net/http: document that SetCookie can quote the value

The SetCookie function quotes the value if it contains spaces or commas but this behavior is not documented in SetCookie documentation:

SetCookie adds a Set-Cookie header to the provided ResponseWriter's headers. The provided cookie must have a valid Name. Invalid cookies may be silently dropped.

Thank you for the report @gazerro! Kindly cc-ing @vdobler for Cookies.

The quotes are allowed by RFC 6265. We could quote every value on Mondays and be compliant to the spec. The fact that the cookie value might be quoted is implicit in "a Set-Cookie header". The whole idea of providing dedicated cookie handling functions in net/http is to free the user from parsing Cookie and Set-Cookie headers himself. The value might be quoted or not but net/http, all relevant browsers and all cookie handling libraries in other languages transparently handle quoted and unquoted values. I do not see why the user needs to be informed about this particular detail of the generated Set-Cookie header. Other details are also not mentioned as they are regulated by the relevant spec (e.g. time zone of the expires field).
I do not think that this behaviour should be documented: Once documented it cannot be changed anymore.
The quoting was introduced to provide compatibility with other languages and common browsers to allow formally (according to RFC 6265) invalid cookie-values to be used because they are common in the wild.
The documentation states

Invalid cookies may be silently dropped.
but does not specify what exactly is considered "invalid", simply because this is a moving target: If every browser properly handles some character X and most other HTTP libraries allow X then net/http has tried to also allow X.

What values are considered valid/invalid and which one need quoting has changed several times. These changes have allowed users to use Go with existing browsers and existing legacy systems. If we fix what is quoted we loos the ability to accommodate for future changes.
I don't think this should be documented:

documenting it specifies it and makes it unchangable
the more interesting fact which values are invalid is undocumented for exactly this reason
the fact that quotes might or might not be used is part of the relevant RFC 6265 already

Now that the proposal #46370, to add a Cookie.Valid method, has been accepted. I think this issue is not that important anymore, so I close it.


Add raw data and move cldf-like files in a separate folder

Sorry I'll have to merge this branch into the main branch, I can't work on the sources otherwise, because the data and the sources are on two different (non-main) branches, which makes things complicated.


AIX builds leaving files in /tmp

Platform:
AIX
Architecture:
ppc64
Please describe the issue that you are having with our binaries and if possible how to recreate it.
Lots of files are being left in /tmp on (at least) the AIX boxes. This caused major problems on all boxes in https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/929 and I've done a one off clearup and (for now) added a clearup of the sh-np files to the processCheck job.
On looking at the machine, there are also a lot of gradle files in /tmp and various core files. I'll do a one off clean up so that we can see what's going on, but we need to keep an eye on it and attempt to debug where we're leaking files and space.

While something int he build is a cause I'm going to close this as a duplicate of https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/929 as we've been attempting to mitigate on the infrastructure side and I don't want to fragment any discussion on the topic


fix mode toggles when refreshing the page

Closes #
What new changes did you make? Tick all applicable boxes

[ ] Added new abbreviation
[X] Fixed something in the source code
[ ] Added a new feature
[ ] Fixed the docs (README.md, CONTRIBTUING.md, etc)

Describe the new changes you added.
I submitted and fixed the issue #395. Now, when we refresh the page, the dark/light mode will not toggle to another. It's only toggled when we click on the toggle button. The issue might because localStorage.getItem("isDarkMode") will return string type. So, defaultTheme can be boolean false, "false", or "true", which may cause the error.

Share a screenshot of new changes
The default mode is light:

After we refresh the page, it should be light again:

Thank you very much for catching on to this! And for the awesome pull request!


Running on mac gives Failed to locate library: libobjc.dylib error

I'm getting this error while running on OSX
$ clojure -Sdeps "{:deps {paravim {:mvn/version ""RELEASE""}}}" -J-XstartOnFirstThread -m paravim.start
[LWJGL] Failed to load a library. Possible solutions:
a) Install the library or the driver that provides the library.
b) Ensure that the library is accessible from the system library paths.
[LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics.
[LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to locate library: libobjc.dylib

Interesting. What version of OSX are you on?

I'm running Mojave 10.14.5

I just pushed a snapshot, can you let me know if this fixes it for you?
clojure -Sdeps "{:deps {paravim {:mvn/version \""0.3.0-SNAPSHOT\""}}}" -J-XstartOnFirstThread -m paravim.start

I'm still getting the same problem:
$  clojure -Sdeps "{:deps {paravim {:mvn/version \""0.3.0-SNAPSHOT\""}}}" -J-XstartOnFirstThread -m paravim.start

Downloading: paravim/paravim/0.3.0-SNAPSHOT/maven-metadata.xml from https://repo.clojars.org/
Downloading: paravim/paravim/0.3.0-SNAPSHOT/paravim-0.3.0-20190910.170230-1.pom from https://repo.clojars.org/
Downloading: libvim-clj/libvim-clj/0.5.0/libvim-clj-0.5.0.pom from https://repo.clojars.org/
Downloading: libvim-clj/libvim-clj/0.5.0/libvim-clj-0.5.0.jar from https://repo.clojars.org/
Downloading: paravim/paravim/0.3.0-SNAPSHOT/paravim-0.3.0-20190910.170230-1.jar from https://repo.clojars.org/
[LWJGL] Failed to load a library. Possible solutions:
	a) Install the library or the driver that provides the library.
	b) Ensure that the library is accessible from the system library paths.
[LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics.
[LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to locate library: libobjc.dylib
	at org.lwjgl.system.Library.loadNative(Library.java:324)
	at org.lwjgl.system.Library.loadNative(Library.java:222)
	at org.lwjgl.system.Library.loadNative(Library.java:203)
	at org.lwjgl.system.macosx.ObjCRuntime.<clinit>(ObjCRuntime.java:103)
	at org.lwjgl.glfw.EventLoop.isMainThread(EventLoop.java:85)
	at org.lwjgl.glfw.EventLoop.access$000(EventLoop.java:26)
	at org.lwjgl.glfw.EventLoop$OffScreen.<clinit>(EventLoop.java:30)
	at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1892)
	at paravim.start$__GT_window.invokeStatic(start.clj:171)

Alright maybe i rebuilt the binary wrong. I did it again but starting from a clean repo. I pushed a new snapshot with the same name, can you try it again? You'll need to kill the old one unfortunately...
cd ~
rm -r .m2/repository/paravim/paravim/0.3.0-SNAPSHOT/
rm -r .clojure/.cpcache/

If that still doesn't work, i'll probably need to update my mac to mojave and try it myself.

I decided to update to mojave anyway and I can't reproduce this error, either with the snapshot or the current release =\

yeah. it's really weird. libobjc.lib for me is in /usr/lib/. I also tried different java versions as well but it's still giving the same message.

the same thing happens if I clone the repo and run clj -A:dev:macos native:
Downloading: org/clojure/clojure/1.10.1/clojure-1.10.1.jar from https://repo1.maven.org/maven2/
[LWJGL] Failed to load a library. Possible solutions:
	a) Install the library or the driver that provides the library.
	b) Ensure that the library is accessible from the system library paths.
[LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics.
[LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics.
Syntax error (UnsatisfiedLinkError) compiling at (dev.clj:23:1).
Failed to locate library: libobjc.dylib

clojure-15479912811981949528.txt


Ssh crashes in iPad 7th Gen os Ver 13.6

Describe the bug
Ssh terminal crashes immediately after opening terminal screen on iPad.  Works fine on iPhone X
Informations

Device : iPad 7th Gen
OS : iOS 13.6
WebSSH Pro version : 14.0

Screenshots
No screenshot available.  Software crashes and terminal closes immediately after pressing connection.
To Reproduce
Steps to reproduce the behavior:

Goto SSH
Touch on Connection Name
application starts opening terminal window and crashes

Hi,

I opened the app on my iPad.  Pressed VPU1 in the servers window.  It shows "Connecting please wait" message. After 2 seconds, the screen goes black with 89x26 displayed in grey and finally a message "WebSSH Pro" Crashed.

That's all I got.

Hello @sgberman and thanks for your issue!
Please join use WebSSH Beta Release here :
https://testflight.apple.com/join/QSrBK59z
Reproduce the crash and you will able to send it to me.
☀ Have a nice day

I don't find any useful data inside the crash report :
Thread 0 name:
Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x0000000193460d88 __pthread_kill + 8
1   libsystem_pthread.dylib       	0x00000001933791e8 pthread_kill$VARIANT$mp + 136 (pthread.c:1458)
2   libsystem_c.dylib             	0x00000001932cc934 abort + 100 (abort.c:110)
3   libc++abi.dylib               	0x0000000193434cc0 abort_message + 128 (abort_message.cpp:76)
4   libc++abi.dylib               	0x0000000193426e10 demangling_terminate_handler() + 296 (cxa_default_handlers.cpp:65)
5   libobjc.A.dylib               	0x000000019338de80 _objc_terminate() + 124 (objc-exception.mm:701)
6   libc++abi.dylib               	0x000000019343414c std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59)
7   libc++abi.dylib               	0x0000000193436e58 __cxa_rethrow + 144 (cxa_exception.cpp:617)
8   libobjc.A.dylib               	0x000000019338dd80 objc_exception_rethrow + 40 (objc-exception.mm:604)
9   CoreFoundation                	0x00000001935e3c14 CFRunLoopRunSpecific + 532 (CFRunLoop.c:3206)
10  GraphicsServices              	0x000000019d753344 GSEventRunModal + 160 (GSEvent.c:2246)
11  UIKitCore                     	0x000000019771f3e4 UIApplicationMain + 1932 (UIApplication.m:4823)
12  WebSSH                        	0x00000001002be12c main + 88 (main.m:16)
13  libdyld.dylib                 	0x000000019346b8f0 start + 4

I need reproduce steps, please.

Last Exception Backtrace:
0   CoreFoundation                	0x19366b654 __exceptionPreprocess + 224 (NSException.m:199)
1   libobjc.A.dylib               	0x19338dbcc objc_exception_throw + 56 (objc-exception.mm:565)
2   CoreFoundation                	0x19356fdd8 -[NSObject(NSObject) doesNotRecognizeSelector:] + 140 (NSObject.m:144)
3   CoreFoundation                	0x19366f7f8 ___forwarding___ + 1316 (NSForwarding.m:3520)
4   CoreFoundation                	0x19367171c _CF_forwarding_prep_0 + 92
5   UIKitCore                     	0x197217b38 _UIFocusItemCanBecomeFocusedAndChildrenAreNotFocused + 52 (UIFocusItem.m:103)
6   UIKitCore                     	0x197239f2c -[_UIFocusItemRegion initWithFrame:item:] + 164 (_UIFocusItemRegion.m:37)
7   WebCore                       	0x1c95fb210 -[UIKitWebAccessibilityObjectWrapper(UIFocusConformance) _searchForFocusRegionsInContext:] + 1244 (AccessibilityObjectWrapperAccessibility.m:4581)
8   UIKitCore                     	0x1972504c8 -[_UIFocusMapSnapshot addRegionsInContainer:] + 192 (_UIFocusMapSnapshot.m:247)
9   UIKitCore                     	0x197bb53a8 -[UIView _addAccessibilityFocusContainersInRect:inCoordinateSpace:context:] + 516 (UIView.m:9276)
10  UIKitCore                     	0x197bb5084 -[UIView _searchForFocusRegionsInContext:] + 944 (UIView.m:9248)
11  UIKitCore                     	0x1972504c8 -[_UIFocusMapSnapshot addRegionsInContainer:] + 192 (_UIFocusMapSnapshot.m:247)
12  UIKitCore                     	0x197250698 -[_UIFocusMapSnapshot addRegionsInContainers:] + 196 (_UIFocusMapSnapshot.m:262)
13  UIKitCore                     	0x197bb5060 -[UIView _searchForFocusRegionsInContext:] + 908 (UIView.m:9244)
14  UIKitCore                     	0x1972504c8 -[_UIFocusMapSnapshot addRegionsInContainer:] + 192 (_UIFocusMapSnapshot.m:247)
15  UIKitCore                     	0x197250698 -[_UIFocusMapSnapshot addRegionsInContainers:] + 196 (_UIFocusMapSnapshot.m:262)
16  UIKitCore                     	0x197bb5060 -[UIView _searchForFocusRegionsInContext:] + 908 (UIView.m:9244)
17  UIKitCore                     	0x1972504c8 -[_UIFocusMapSnapshot addRegionsInContainer:] + 192 (_UIFocusMapSnapshot.m:247)
18  UIKitCore                     	0x197250698 -[_UIFocusMapSnapshot addRegionsInContainers:] + 196 (_UIFocusMapSnapshot.m:262)
19  UIKitCore                     	0x197bb5060 -[UIView _searchForFocusRegionsInContext:] + 908 (UIView.m:9244)
20  UIKitCore                     	0x1972504c8 -[_UIFocusMapSnapshot addRegionsInContainer:] + 192 (_UIFocusMapSnapshot.m:247)
21  UIKitCore                     	0x19724fd60 -[_UIFocusMapSnapshot _capture] + 280 (_UIFocusMapSnapshot.m:157)
22  UIKitCore                     	0x19724f30c -[_UIFocusMapSnapshot _initWithSnapshotter:mapArea:searchArea:] + 496 (_UIFocusMapSnapshot.m:73)
23  UIKitCore                     	0x197251400 -[_UIFocusMapSnapshotter captureSnapshot] + 220 (_UIFocusMapSnapshotter.m:142)
24  UIKitCore                     	0x197248c28 -[_UIFocusMap _defaultFocusItemInEnvironment:limitScopeUsingFocusPreferences:] + 220 (_UIFocusMap.m:205)
25  UIKitCore                     	0x197223258 -[_UIFocusEnvironmentPreferenceEnumerationContext _inferPreferencesForEnvironment:] + 152 (_UIFocusEnvironmentPreferenceEnumerator.m:187)
26  UIKitCore                     	0x197223014 -[_UIFocusEnvironmentPreferenceEnumerationContext _resolvePreferredFocusEnvironments] + 128 (_UIFocusEnvironmentPreferenceEnumerator.m:149)
27  UIKitCore                     	0x197222f54 -[_UIFocusEnvironmentPreferenceEnumerationContext prefersNothingFocused] + 40 (_UIFocusEnvironmentPreferenceEnumerator.m:123)
28  UIKitCore                     	0x197223a24 _enumeratePreferredFocusEnvironments + 192 (_UIFocusEnvironmentPreferenceEnumerator.m:303)
29  UIKitCore                     	0x197223b44 _enumeratePreferredFocusEnvironments + 480 (_UIFocusEnvironmentPreferenceEnumerator.m:322)
30  UIKitCore                     	0x197223b44 _enumeratePreferredFocusEnvironments + 480 (_UIFocusEnvironmentPreferenceEnumerator.m:322)
31  UIKitCore                     	0x197223b44 _enumeratePreferredFocusEnvironments + 480 (_UIFocusEnvironmentPreferenceEnumerator.m:322)
32  UIKitCore                     	0x197223818 -[_UIFocusEnvironmentPreferenceEnumerator enumeratePreferencesForEnvironment:usingBlock:] + 208 (_UIFocusEnvironmentPreferenceEnumerator.m:350)
33  UIKitCore                     	0x197224198 -[_UIDeepestPreferredEnvironmentSearch deepestPreferredFocusableItemForEnvironment:inFocusSystem:] + 544 (_UIFocusEnvironmentPreferenceEnumerator.m:428)
34  UIKitCore                     	0x19726243c -[UIFocusUpdateContext _updateDestinationItemIfNeeded] + 256 (UIFocusUpdateContext.m:290)
35  UIKitCore                     	0x19726221c -[UIFocusUpdateContext _destinationItemInfo] + 28 (UIFocusUpdateContext.m:257)
36  UIKitCore                     	0x197262104 -[UIFocusUpdateContext nextFocusedItem] + 24 (UIFocusUpdateContext.m:238)
37  UIKitCore                     	0x197252e40 -[UIFocusSystem updateFocusIfNeeded] + 192 (UIFocusSystem.m:473)
38  UIKitCore                     	0x197728b04 _runAfterCACommitDeferredBlocks + 316 (UIApplication.m:3085)
39  UIKitCore                     	0x1977184ac _cleanUpAfterCAFlushAndRunDeferredBlocks + 232 (UIApplication.m:3063)
40  UIKitCore                     	0x197748990 _afterCACommitHandler + 76 (UIApplication.m:3115)
41  CoreFoundation                	0x1935e8f2c __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 (CFRunLoop.c:1758)
42  CoreFoundation                	0x1935e3e20 __CFRunLoopDoObservers + 420 (CFRunLoop.c:1868)
43  CoreFoundation                	0x1935e429c __CFRunLoopRun + 968 (CFRunLoop.c:2910)
44  CoreFoundation                	0x1935e3ba8 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3192)
45  GraphicsServices              	0x19d753344 GSEventRunModal + 160 (GSEvent.c:2246)
46  UIKitCore                     	0x19771f3e4 UIApplicationMain + 1932 (UIApplication.m:4823)
47  WebSSH                        	0x1003e612c main + 88 (main.m:16)
48  libdyld.dylib                 	0x19346b8f0 start + 4

Thread x name:
Thread x:
0   libsystem_kernel.dylib        	0x0000000193461104 __semwait_signal + 8
1   libsystem_c.dylib             	0x00000001932c9748 nanosleep + 220 (nanosleep.c:104)
2   Foundation                    	0x0000000193995980 +[NSThread sleepForTimeInterval:] + 152 (NSThread.m:269)
3   WebSSH                        	0x00000001044fb8f4 -[SSHWrapper checkDataAvailable] + 980 (SSHWrapper.mm:563)
4   libdispatch.dylib             	0x00000001933309a8 _dispatch_call_block_and_release + 24 (init.c:1408)
5   libdispatch.dylib             	0x0000000193331524 _dispatch_client_callout + 16 (object.m:495)
6   libdispatch.dylib             	0x00000001932e656c _dispatch_root_queue_drain + 684 (inline_internal.h:2484)
7   libdispatch.dylib             	0x00000001932e6bf8 _dispatch_worker_thread2 + 124 (queue.c:6628)
8   libsystem_pthread.dylib       	0x0000000193382b38 _pthread_wqthread + 212 (pthread.c:2364)
9   libsystem_pthread.dylib       	0x0000000193385740 start_wqthread + 8

@sgberman I have release 14.1.2, a first fix attempt🤞

@sgberman It is an option (or not) to remove and re-install the app?
I would like to check if database data can be the root cause

@amengus Trying to embedded SQLite

Don't despair, I'm still on it 🤞

No worries. I’m game for testing it out whenever you need.
On Sat, Aug 8, 2020 at 11:44 AM Arnaud MENGUS<EMAIL_ADDRESS>wrote:

Don't despair, I'm still on it 🤞
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/isontheline/pro.webssh.net/issues/32#issuecomment-670960923,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOWWR3FUAQNEHLQOD5EINDR7WMJ7ANCNFSM4PUVHCQA
.
--
—————————-
Scott Berman
Electrical Engineer
Blue River Technology
(M)<PHONE_NUMBER>

@sgberman Could you try to disable (temporary) auto full screen mode?
You can disable it from WebSSH > Settings > SSH > Start terminal in full screen mode

Still crashes when i disabled start terminal in fullscreen
On Sat, Aug 8, 2020 at 10:15 PM Arnaud MENGUS<EMAIL_ADDRESS>wrote:

@sgberman https://github.com/sgberman Could you try to disable
(temporary) auto full screen mode?
You can disable it from WebSSH > Settings > SSH > Start terminal in full
screen mode
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/isontheline/pro.webssh.net/issues/32#issuecomment-671007778,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOWWR7C23C7WU4ULIP5HIDR7YWIXANCNFSM4PUVHCQA
.
--
—————————-
Scott Berman
Electrical Engineer
Blue River Technology
(M)<PHONE_NUMBER>

OK I will push 14.1.10 asap
If 14.1.10 crash again I will upgrade UIWebView to WKWebView, I think that's UIWebView is crashing for an unknown reason :(

Thanks @sgberman to continue submitting crash reports!
I have see that pattern each time :
0   CoreFoundation                	0x196d47654 __exceptionPreprocess + 224 (NSException.m:199)
1   libobjc.A.dylib               	0x196a69bcc objc_exception_throw + 56 (objc-exception.mm:565)
2   CoreFoundation                	0x196c4bdd8 -[NSObject(NSObject) doesNotRecognizeSelector:] + 140 (NSObject.m:144)

doesNotRecognizeSelector is perhaps linked to a previously deallocated object. I'm searching 🔍

@sgberman I'm able to reproduce the crash!!!!! 🥇
Temporary could you try to disable :
Settings->Accessibility->Keyboards->Full Keyboard Access

Found an interesting bug.
The terminal works fine the first time the application is opened.  When you
close the ssh session and then open it again, the terminal defaults to 25
lines instead of 42 (iPad in landscape).  The number of lines can be
corrected by rotating the iPad 90 degrees and then rotating it back again.
On Sat, Aug 15, 2020 at 1:11 PM Arnaud MENGUS<EMAIL_ADDRESS>wrote:

@sgberman https://github.com/sgberman I'm able to reproduce the
crash!!!!! 🥇
Temporary could you try to disable :
Settings->Accessibility->Keyboards->Full Keyboard Access
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/isontheline/pro.webssh.net/issues/32#issuecomment-674442484,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOWWR5MDWOGZVAZX3XTL7TSA3TV7ANCNFSM4PUVHCQA
.

--
Scott Berman
Lead Electrical Engineer
Blue River Technology
mobile +1<PHONE_NUMBER>
www.bluerivert.com

Yes it's related to issues #37, #44 and #45
I will fix them asap
Thanks for your feedback!

I'm closing this issue because it's an Apple bug which is not present in iOS 14 Beta
If the bug appear again, please notify me and I will find a persistent solution.
Yet if anybody encouter the problem please do the following :
Settings->Accessibility->Keyboards->Full Keyboard Access->No


Merge pull request #45 from MicrosoftDocs/master

Update to Bginfo.

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Freshdesk tutorial: add missing field info & command line certutil.exe usage

In Freshdesk Azure AD integration there are two things that ought to be updated:
The Identifier (Entity ID) field is required for this to operate correctly but is not currently documented. It's set the same as Sign on URL.
Also the guide directs the user to obtain an SHA256 thumbprint of the Azure certificate by downloading OpenSSL; this is now supported by the latest version of certutil.exe built in to Windows so replaced these instructions with more straightforward ones.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: ChrisatCC sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@ChrisatCC : Thanks for your contribution! The author, @jeevansd, has been notified to review your proposed change.

@chetansriv Can you please review this change and confirm with me?

@ChrisatCC Thanks for reporting this. Let us verify this one more time and will let you know.

@jeevansd No worries - the Identifier (Entity ID) field is required by Azure and the changes are based on the post by Gzer in the comment 'Thumprint info is incorrect.' - others say that they work.

@chetansriv Please update the doc to update the screenshot where the app Identifier is now mandatory.

@jeevansd I did actually update the screenshot already - included in the diff :)

@ChrisatCC Somehow the image is not getting updated in the view. But I will let my team review this and we will update the doc from our side directly. Thanks for your contribution.
@chetansriv Can you please get this article updated again?

@jeevansd - Should we close this PR? Thanks.

@ktoliver I talked to my PM today and we will update this doc now.
CC: @chetansriv

@ChrisatCC Hi Chris - Azure UI is also changed so we are incorporating those changes along with your proposed changes through another PR. You should see the updated tutorial by end of today.

@chetansriv Hi, still not up? https://docs.microsoft.com/en-us/azure/active-directory/saas-apps/freshdesk-tutorial

@ChrisatCC It's published now, can you please check.
CC - @jeevansd

Looks great. Under 8. a. there are 2 references to 'Freshdesk.cer' which should be 'PublicCertificate.cer' (this the filename that the new UI provides). But otherwise great - thank you :)


fix: fix exclude billing with digital download

:tada: This PR is included in version 4.16.0-rc.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.16.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Swift synthax updated for Swift 2.2

Looks like there is a bug in xctool making that build fail. The bug appears to be fixed in the release 0.2.9 of xctool. Not exactly sure why the xctool version is not printed in the travis console though.
https://github.com/facebook/xctool/issues/684

From the blog, it seems that the running version of xctool is 0.2.8. If anyone have a way around this issue please let me know.

Seems like we have another #704 duplicate ;)

@rivera-ernesto Sorry I didn't see it with no open PR + all those warnings burning my eyes ;)

Hehe, I know.


Support more lax version schemes

[@FroMage] 1.0 or foo-beta for example. anything really
[Migrated from ceylon/ceylon-runtime#7]

Closing this issue, because it seems to be a request for support for version ranges, but not described very well ;-)
And in the end we chose to go down the path of version overrides* instead of solving the NP-complete problem of version range resolution.
* In 1.4.0 we'll have version overrides in the module descriptor.

And in the end we chose to go down the path of version overrides* instead of solving the NP-complete problem of version ~range~ resolution.

:(

Look, I don't actually have a problem with adding support for version ranges, but somebody needs to come up with a proposal that is better than just "more lax".
And by a proposal, I mean something which really addresses the implementation and interop concerns surrounding this.

It would work nicely across at least JBoss Modules, Jigsaw, npm, Maven, and OSGi.
It needs an actual algorithm, which might even need to do the exact same thing that OSGi does.
It would need a reasonable syntax, and I've no clue what that would look like. "1.0."+ or something like that I guess.

So, as I say, I'm not against it, but this particular issue isn't helping solve any of the above.

It would need a reasonable syntax

This is actually pretty tricky, given that we use quoted strings to express versions.

It's version resolution w/o ranges that I want (I actually think ranges are misguided).
I'd simply like this work:
module simple "1.0.0" {
    import ceylon.json "1.3.2";
    import com.vasileff.ceylon.structures "1.1.0";
}

But yeah, I agree it's not easy.

It's version resolution w/o ranges that I want

WDYM?

I'd like the module descriptor above to work :)
In this case, ceylon.collection/1.3.2 would be resolved since it is the greater of conflicting dependencies ceylon.collection/1.3.1 and ceylon.collection/1.3.2.

OIC, so you're saying that com.vasileff.ceylon.structures/1.1.0 imports ceylon.collection/1.3.1?
Actually I guess this is already quite close to working, since @FroMage did some work to resolve conflicts in favor of most recent versions, though I'm not sure if:

this is only for Maven deps?
or only for assemblies?

I'm not sure.
The issue with that is what is the policy for deciding which version is "later"?
If there were a robust-enough policy, I would support adding a commandline switch to enable it.
Open an issue if you like. It has never really been requested.

Hey, at the very least, we could print out a message suggesting the write <set/> element to add to overrides.xml.

Open an issue if you like. It has never really been requested

We discussed version resolution in #4240 and I think others, but I'm not sure I want to jump back into the dependency debate with both feet.

commandline switch to enable it

I will say... I think we already have too many command line switches (EE mode, fat jar, and two versions of auto export dependencies with perhaps a third needed). And defaults are all for the least likely settings to succeed. This is particularly bad for dependencies since settings are needed at run time, not just compile time.
But to end on a positive note, I do think that "version overrides in the module descriptor" will make things much better, at least for pure Ceylon apps.


wanted: [maxmind/libmaxminddb]

Module location
https://github.com/maxmind/libmaxminddb
Link to bzlmod issue in the module's repository
No response
Any other context to provide?
Used by:

https://github.com/envoyproxy/envoy

Fund our work

[ ] Sponsor our community's open source work by donating a feature bounty

Solved in https://github.com/bazelbuild/bazel-central-registry/pull/2448


Terragrunt Plan is not honoring mock_outputs with new Terraform resource azurerm_windows_function_app

Running a plan against the new azurerm_windows_function_app resource results in the error below and will not accept a mock output and continue. The exact same setup with the deprecated azurerm_function_app works as expected and honors the mock values. Based on the error details, it appears the new resource requires actually seeing what tier the service plan is on and it can't get that from a mock value. Both tests were performed using the new azurerm_service_plan resource for the app service plan.
Error: could not read new Service Plan to check tier Service Plan: (Serverfarm Name "mock-asp" / Resource Group "mock-rg"): web.AppServicePlansClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="ResourceGroupNotFound" Message="Resource group 'mock-rg' could not be found."
Function App resource
resource "azurerm_windows_function_app" "function_app" {
app_settings                = var.fa_app_settings
location                    = var.region
name                        = "test-azf"
resource_group_name         = var.resource_group_name
service_plan_id             = var.fa_service_plan_id
}
Dependency and Input in Terrarunt.hcl
include {
path = find_in_parent_folders()
}
dependency "app_service_plan01" {
config_path  = "../../appserviceplan/appserviceplan01"
mock_outputs = {
asp_id  = "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/mockrg/providers/Microsoft.Web/serverfarms/mockasp"
}
mock_outputs_allowed_terraform_commands = ["validate", "plan"]
mock_outputs_merge_strategy_with_state  = "shallow"
}
inputs = {
fa_service_plan_id       = dependency.app_service_plan01.outputs.asp_id
}
Output from the App Service Plan module
output "asp_id" {
description = "ID of ASP"
value       = module.asp.asp_id
}

Hello,
I realize now that the sample code I pasted above was after a last ditch attempt to get this working. It, of course, errored out with * Include merge strategy true is unknown. Valid strategies are: no_merge, shallow, deep, deep_map_only"*
Using any of the newer options below results in  Error: could not read new Service Plan to check tier Service Plan
mock_outputs_merge_strategy_with_state  = "shallow"
mock_outputs_merge_strategy_with_state  = "no_merge"
mock_outputs_merge_strategy_with_state  = "deep_map_only"
Since the legacy field is now deprecated and the documentation is telling is to use mock_outputs_merge_strategy_with_state, it seems there may be a need to fix this with the new merge options.
I've update the issue above with the correct code.

Providing an update here. With further testing through an Issue on the Terraform side, we found that a plan does run successfully when using the resource ID of an existing App Service Plan (actual resource existing in Azure) entered as the mock output in the terragrunt.hcl of the Function app. For reference: https://github.com/hashicorp/terraform-provider-azurerm/issues/17376
Since the whole point of mock outputs is to not have resources already existing, an adjustment to how Terragrunt handles this resource type will probably be needed.

While using a real ASP ID is a sort of workaround, it isn't sustainable since if the referenced App Service Plan is deleted, the code will be broken.  This also doesn't work if the app is being deployed in a new subscription or a subscription that doesn't have any App Service Plans deployed yet.

We are having this issue as well - anyone have an update to this?

Is this still an issue? Any workaround other then specifying the actual service plan?

We haven't found a workaround yet and occasionally have deployments fail as old ASP's referenced are decommissioned. We then have to reference another real service plan, unfortunately, to get things going again.
We opened a more recent issue https://github.com/gruntwork-io/terragrunt/issues/2324 for this with more detail and it has been added to the Terragrunt Roadmap so hopefully it will be resolved in the near future.


Install perl temporarily on RAFT benchmark containers

PR installs perl on RAFT benchmark containers since there are still some legacy scripts that need it.

/merge


Validation crashing on iOS

The following three methods are crashing out when run on iOS. I do not get an error. Calling these functions cause iOS to crash.
validateCardNumber
validateCVC
validateExpiryDate
Here is my ionic info:
cli packages: (/Users/leetcat/.nvm/versions/node/v9.8.0/lib/node_modules)
    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:
    cordova (Cordova CLI) : 7.0.1

local packages:
    @ionic/app-scripts : 1.3.0
    Cordova Platforms  : android 7.0.0 browser 4.1.0 ios 4.4.0
    Ionic Framework    : ionic-angular 3.0.1

System:
    ios-deploy        : 1.9.2
    Node              : v9.8.0
    npm               : 5.6.0
    OS                : macOS High Sierra
    Xcode             : Xcode 9.2 Build version 9C40b

Misc:
    backend : pro

I call the methods like this:
        self.stripe.validateCardNumber(stripeRequest.number).then(resp => {
            console.log("CC Validated")
            self.stripe.validateCVC(stripeRequest.cvc).then(resp => {
                console.log("CVC Validated")
                self.stripe.validateExpiryDate(stripeRequest.expMonth, stripeRequest.expYear).then(resp => {
                    console.log("Date Validated")
                    // Everything is valid now let's submit this to Stripe!
                    self.stripe.createCardToken(stripeRequest)
                        .then(token => {
                            //Do Stuff with token
                        })
                        .catch(error => {
                            self.service.hideLoader();
                            console.error(error);
                        });
                }).catch(resp => {
                    this.service.notify('Invalid Expiration Date', 'warning');
                    self.service.hideLoader();
                    return;
                })
            }).catch(resp => {
                this.service.notify('Invalid CVC', 'warning');
                self.service.hideLoader();
                return;
            })
        }).catch(resp => {
            this.service.notify('Invalid Credit Card number', 'warning');
            self.service.hideLoader();
            return;
        })

I'm getting the same issue. Version 1.5.3
I made sure to to make each validation function a knock on and instead used "Await", so I could log any errors between each method. What happens is that it successfully goes through the card number and expiry validation methods, but fails at the CVV validation method.
The highlighted code in Xcode is STPCardValidationState state = [STPCardValidator validationStateForCVC:[command.arguments objectAtIndex:0] cardBrand:STPCardBrandUnknown];
The error being logged is [NSNull rangeOfCharacterFromSet:]: unrecognized selector sent to instance 0x1dd96d9d0
When you check out the Stripe docs I can see that their method for validating the CVC actually takes in both CVC number "cvc" and the card brand "brand". Apparently the brand has another method for finding it, called brandForNumber.
Problematically, this error is occurring regardless of the validity of card details entered. My theory is the the issue is something to do with the card brand not being passed as a parameter correctly. Perhaps exposing the brandForNumber method and making the user pass in the brand as an argument may help to stop this issue?


Charset support added

Support for charsets added. I added the test column_with_charset_none to cover the error reported in #45. By default, the lib still using the std::from_utf8

Pull Request Test Coverage Report for Build 241873466

-28 of 95 (70.53%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-9.8%) to 40.268%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

rsfbclient-native/src/connection.rs
6
7
85.71%

rsfbclient-native/src/row.rs
5
6
83.33%

src/tests/row.rs
12
13
92.31%

src/connection/mod.rs
3
9
33.33%

rsfbclient-rust/src/client.rs
10
19
52.63%

rsfbclient-core/src/charset.rs
13
23
56.52%

Totals

Change from base Build 240584658:
-9.8%

Covered Lines:
1682

Relevant Lines:
4177

💛  - Coveralls

One more thing, you need to encode the sql strings too with the connection encoding, else it will not work with sqls containing
special characters. This is a good exemple to crate a test, like this:
let mut conn = ConnectionBuilder::linked()
    .charset(ISO_8859_1)
    .connect()
    .expect("Error on connect the test database using the ISO8859_1");
let (pao,) = conn.query_first("SELECT cast('pão de queijo' as Varchar(30)) FROM RDB$DATABASE;", ())?.unwrap();
assert_eq!("pão de queijo", pao);
``'

@jairinhohw, when I run the params charset test, I receive this error:
test tests::charset::pure_rust::params ... test tests::charset::pure_rust::params has been running for over 60 seconds
I traced the code until the read_packet function. The socker.read are 'locked'.
You have any suggestions?

Found the problem causing the pure_rust to hang.

Hmm. I think no. When I run all tests, the wire implementation still locking

It worked only for the Firebird 2.0, so it must have another detail missing

All tests run fine in my machine too

All tests run fine in my machine too

This is stranger. In my machine the pure_rust still failing. But, when I run only the tests::charset::pure_rust::params work correctly

All tests run fine in my machine too

This is stranger. In my machine the pure_rust still failing. But, when I run only the tests::charset::pure_rust::params work correctly

Does it hang or cause an error?

All tests run fine in my machine too

This is stranger. In my machine the pure_rust still failing. But, when I run only the tests::charset::pure_rust::params work correctly

Does it hang or cause an error?

Hang. I use a firebird 3. But if works in our CI its OK. I will wait for the @juarezr review and tests.

@mariuz, you can help us reviewing this PR?


Create Frontend for All the available user requests

I will attach the links that are ready and return values as described. Create frontend views for these links.

[x] SignUp : f'http://{os.getenv("BackendHost")}:{os.getenv("BackendPort")}/signUp'
This POST request should send form data to the backend and expect {"status":200,"message":"User Created"} or {"status":401,"message":("User with username or email alredy exists")} Json file from backend.
Form Data to be sent : "name","username","email" and "password"

[x] Login : f'http://{os.getenv("BackendHost")}:{os.getenv("BackendPort")}/login'
This GET request expects form data with email and password and expect {"status":401,"message":"Incorrect Password. Try Again."} or  {"name":user["name"],"email":user["email"],"JWT": token_JWT,"status": 200, "message":"login successful"} Json file from backend
Form Data to be sent : "email" and "password"

@Krypton654321 Completed this tasl.


Incompatible Protocol Version

Hi,
Today i have upgrade my Server Side to Version SignalR 1.0.0-rc2, and i have upgrade my iOS Client using cocoapods from the terminal it's said this is the latest version
Using SignalR-ObjC (1.0.alpha2)
I Run my ios client it's unable to link to my server and encounter "Incompatible Protocol Version" any news when it's support 1.0.0-rc2?
Thanks

Hi abillingsley,
I am using SignalR version 1.0.1. SignalR connection is starting successfully, But some times i am receiving data and some time i am not receiving data from server (connection.received method is not getting called). Please check the ios code below.
SRHubConnection *connection = [SRHubConnection connectionWithURL:@"http://strandd-dev.azure-mobile.net/signalr"];
connection.delegate = self;
[connection addValue:token forHTTPHeaderField:@"X-ZUMO-AUTH"];
[connection addValue:@"Basic REVWOnZPdGZOVHBnYlNxZ3RtZFZ2VENLVGVYTkxvek9CeDE2" forHTTPHeaderField:@"Authorization"];
myHub = [connection createHubProxy:@"IncidentHub"];
connection.error = ^(NSError *error){
NSLog(@"error ====%@",error);
};
connection.started = ^{
NSLog(@"Connection Started");
[myHub invoke:@"GetMobileCustomerClientIncidentStatusRequest" withArgs:[NSArray arrayWithObjects:incidentGUID, nil]];
[self.delegate signalrConnectionDidStarted];
};
connection.received = ^(NSString * data){
NSLog(@"data ====%@",data);
[self.delegate didReceivedDataFromSignalR:data];
};
[connection start];
Can you please help me to find out this issue.

hello guys i am also getting same type of error i my case .below is some glimpse of my error log-
2016-11-09 21:18:06.998 iOS Example[5914:164218] CONNECTION:	will negotiate
2016-11-09 21:18:07.051 iOS Example[5914:164218] AUTO:	autoTransport will negotiate
2016-11-09 21:18:09.442 iOS Example[5914:164218] TRANSPORT:	will negotiate at url: ## http://<IP_ADDRESS>:8057/signalr/signalr/negotiate?clientProtocol=<IP_ADDRESS>&connectionData=[{"Name"%3A"mychathub"}]
after some time below code appear in output windows in error log and app building stops -
2016-11-09 21:19:30.371 iOS Example[5914:164218] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Incompatible Protocol Version'
signalr library in my asp.net solution is having below versions as per package.config

but you can protocol version in <IP_ADDRESS> in url above provided that came  in output windows while debugging ios app how can i get this error fix . some details will be highly appreciated


Windows Authentication Basemap Issue

When locking down ArcGIS map services using Windows Authentication Cesium fails to authenticate correctly and all the tile requests receive a 401 error.
It turns out the reason is simple, the TrustedServers.contains method fails to correctly compare the provided url with the list of TrustedServers. The getAuthority call in the contains method strips out the scheme, in our case 'https://' and hence the compare fails.
To get around the issue I added the scheme back into the getAuthority return string as shown below. My only issue is I am unclear if that should be the intent of the method. Making the change resolved the bug.
function getAuthority(url) {
var uri = new Uri(url);
uri.normalize();
    // Removes username:password@ so we just have host[:port]
    var authority = uri.getAuthority();
    if (!defined(authority)) {
        return undefined; // Relative URL
    }

    if (authority.indexOf('@') !== -1) {
        var parts = authority.split('@');
        authority = parts[1];
    }

    // If the port is missing add one based on the scheme
    if (authority.indexOf(':') === -1) {
        var scheme = uri.getScheme();
        if (!defined(scheme)) {
            scheme = window.location.protocol;
            scheme = scheme.substring(0, scheme.length-1);
        }
        if (scheme === 'http') {
            **authority = scheme.concat("://", authority, ':80');**
        } else if (scheme === 'https') {
        	**authority = scheme.concat("://", authority, ':443');**
        } else {
            return undefined;
        }
    }

    return authority;
}

I guess the only other way would be to get the authority from the provided url which might be the correct way to do it, but I admit I haven't looked to see how many changes that would involve.
Your thoughts are appreciated
Cheers

Thanks for the report @cfickler!  @tfili can you take a look at this?

What does you add call look like? My guess is that you passing a full url to the add function instead of just the host name and port.
add requires a hostname and a port. If you pass a full URL this will cause contains to fail.
contains requires a URL where we will automatically add a port if the scheme is http or https.
If you look at the following Sandcastle example, you can see how it works
Cesium.TrustedServers.add('test.com', 80);

if (Cesium.TrustedServers.contains('http://test.com/image.jpeg')) {
    console.log('Found'); // Should see this
} else {
    console.log('Not Found');
}

if (Cesium.TrustedServers.contains('https://test.com/image.jpeg')) {
    console.log('Found');
} else {
    console.log('Not Found'); // Should see this
}

// Fails because full URL is passed to add
Cesium.TrustedServers.add('https://test.com', 8080);
if (Cesium.TrustedServers.contains('http://test.com:8080/image.jpeg')) {
    console.log('Found');
} else {
    console.log('Not Found'); // Will see this because of incorrect call to add
}

apologies!!!  I haven't looked at the help example close enough!!!


[Improve] [bin] Remove redundant shell for install-plugin.sh

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

@CalvinKirs


Keyboard Freezes

Issue Type: Bug
I have all of my extensions disabled, running a clean install of VSCode no changes to the config file and whenever I make an error that prompts a squiggly line under code js, css, package.json, files etc the keyboard freezes up and I can go back with the back arrow but thats it. I have to restart then I am good till the next error.
I can duplicate this.
Regards
Jim
VS Code version: Code 1.48.2 (a0479759d6e9ea56afa657e454193f72aef85bd0, 2020-08-25T10:09:08.021Z)
OS version: Darwin x64 19.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz (6 x 3700)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
16.00GB (8.17GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

@dominait Could you please explain in greater detail the exact steps that you are doing? I have every day squiggles in the editor and I can continue typing, so I cannot reproduce.

I disabled all the extensions and was running the latest version of VSCode on MAC OS Catalina. If I made a code error the keyboard would freeze. I could use the back arrow and that was it. I eventually reinstalled my system again as I was also getting permission errors in the terminal that were not related to VSCode.
Once the clean install was complete VSCode and all the extension I had were working fine. Ghost in the machine?
Regards

I think this can be closed


Permanent black rectangle

Godot version:
5f1107a
OS/device including version:
Windows 10
Steps to reproduce:

Run any project

This is likely a leftover from loading popup.
EDIT:
Here's a gif from another (duplicate) issue:

It is from Saving Scene window.


Handle Result as parameter

A Result needs to be treated differently than other types in the templates. This is fixing the templates when Result is used as a parameter to a function.
@TSC21: FYI

Cool! Will try it out ans let you know


[doc] conf.py should not modify the PYTHONPATH

Hello, same probleme reported for pyFAI issue 646
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 30abf54..44f0a3e 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -15,16 +15,12 @@ import sys
 import os
 import glob
 import subprocess
+import silx

 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 # sys.path.insert(0, os.path.abspath('.'))
-dirname = os.path.dirname
-root_dir = dirname(dirname(dirname(os.path.abspath(__file__))))
-import silx
-source_dir = dirname(dirname(silx.__file__))
-os.environ["PYTHONPATH"] = source_dir + os.pathsep + os.environ.get("PYTHONPATH", "")

 # -- General configuration -----------------------------------------------------

I will fix that. It is effectivly not needed will we only use python setup.py build_doc.

please keep the build_doc and build_man targets separate.
It is important for the Debian packaging.


Add ability to specify the size of the output image file when rendering page

Usage: maxHeight and maxWidth values are set in the page.render()
options.  Aspect ratio is preserved.  If only one is specified, the
image is constrained by that dimension.  If both are specified, the
image will fit in the resulting size.
https://github.com/ariya/phantomjs/issues/13771

I like this idea, but I need to ask you for some changes.

Please use the same coding style as we do.  You've almost got it right, but we write our if statements like this
 if (condition) {
     // ...
 else if (condition) {
     // ...
 }

instead of like this
 if( condition ){
     // ...
 else if( condition ){
     // ...
 }

(The management would like to remind you that when you put spaces on the inside of your parentheses you make the baby Jesus cry.)

Please hook this up to work with both render and renderBase64.  To do this you will need to push the meat of your change down into renderImage and then arrange for renderBase64 to take an options dictionary instead of its existing format argument.  Make sure to preserve API compatibility for the case where existing scripts pass a string.

If at all possible, please also make it work when rendering a PDF.  It probably makes more sense for the arguments to be floating-point inches in that case.

Please write automated tests (see test/module/webpage/render.js) and documentation.

Please make sure to document how this interacts with setting the page viewport.


Multiple Gateways in a subnet

The FAQ states that multiple gateways can exist in a single subnet however, there appears to be a caveat indicated by the double splat that is not documented.  I have discovered that the portal restricts mixing V1 gateways with V2 gateways in the same subnet, is this an expected restriction?  I have not tried to configure this through Azure Shell or Powershell.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 88466307-81b8-1e5b-7f2c-191d8e818071
Version Independent ID: 08ad49f3-6a57-b925-794a-37215e985aba
Content: Frequently asked questions for Azure Application Gateway
Content Source: articles/application-gateway/application-gateway-faq.md
Service: application-gateway
GitHub Login: @vhorne
Microsoft Alias: victorh

@shaneholder
Thanks for your feedback! We will investigate and update as appropriate.

@shaneholder This is a limitation with the V2 SKU, and is expected. I will be assigning this issue to the author to potentially update the FAQ.

@shaneholder
This is already documented here: https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-autoscaling-zone-redundant#known-issues-and-limitations

Good to know that it's there but not sure how easy it is to find that
information.  It would be very easy to also document this in the FAQ to
make it easier to find.
Regards,
Shane Holder
On Tue, Dec 4, 2018 at 9:53 AM Vic<EMAIL_ADDRESS>wrote:

@shaneholder https://github.com/shaneholder
This is already documented here:
https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-autoscaling-zone-redundant#known-issues-and-limitations
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/19866#issuecomment-444150026,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHNKzGqiXNlmVTgSq0yM7yJq0EF8hBfks5u1pp0gaJpZM4Y-yT7
.

@shaneholder
OK, this info can now be found in the FAQ.

#please-close


Revert "Fixes #510: Multiple file uploads via POST now work correctly."

Reverts zalando/connexion#1000
This break aiohttp because getlist() is specific to a werkzeug datastructure.

:+1:


materials on web site

handouts on tiles
the cards

Wonder if there could be cards with simple examples, too. Possibilities with tilt, or possibilities with sound …


qm_add_win_rc don't support char ,

When a string uses a comma character, the data after the comma is discarded
In file WinResource.rc.in
BLOCK "040904E4"
       {
          VALUE "FileDescription", STRINGIFY(@RC_DESCRIPTION@)
          VALUE "FileVersion", STRINGIFY(@RC_VERSION_STRING@)
          VALUE "ProductName", STRINGIFY(@RC_APPLICATION_NAME@)
          VALUE "ProductVersion", STRINGIFY(@RC_VERSION_STRING@)
          VALUE "LegalCopyright", STRINGIFY(@RC_COPYRIGHT@)
        }

STRINGIFY changing to double quotes will solve the problem

Copyright needs to use a comma

Please check the latest commit.


current token is_expired() method?

How do I check if a current token is expired?

This repo is specifically for the generation of Firebase JWTs. If you decode the token using another library the expiry is easy to find, and then aside from any clock skew between your machine and our servers you should have a pretty good idea if it's valid

Thanks. using https://github.com/progrium/ruby-jwt.
begin     JWT.decode("JWT_STRING", "secret") rescue JWT::ExpiredSignature     # Signature has expired end


Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.

When targeting SDK>=31, library keeps crashing because of the new changes introduced to the PendingIntent with new Android version requiring that a pending intent has a  FLAG_IMMUTABLE or FLAG_MUTABLE  set.
This needs to be added  for every pending intent creation.

it is very unlikely that someone will update this lib as it is deprecated and without update since 2019.

I'm having the same problem. Is there a work around or fix?

Yes, to migrate to WorkManager.
This lib is no longer maintained...

Migrate to workmanager.  It is not complicated and the WorkManager libraries are fully mature now.

Former maintainer here. I agree, you should migrate to WorkManager. But I also consider this a critical, and easy bug fix.

This library is not maintained anymore and there will be no further releases except for very critical bug fixes.

I'll see what I can do.

I released version 1.4.3.


Unknown node type JSXElement

I kept getting this error when using JSCS after upgrading esprima-fb from 12001.1.0-dev-harmony-fb to 13001.1.0-dev-harmony-fb...
events.js:141
      throw er; // Unhandled 'error' event
            ^
Error: Unknown node type JSXElement.

Unknown node type JSXElement.

Unknown node type JSXElement.

Unknown node type JSXElement.

Unknown node type JSXElement.

Unknown node type JSXElement.

Unknown node type JSXElement.

Unknown node type JSXElement.

Unknown node type JSXElement.

Unknown node type JSXElement.

Unknown node type JSXElement.

Unknown node type JSXElement.

Unknown node type JSXElement.

Unknown node type JSXElement.

My app is a typical react app with the standard ES6 syntax found on the react blog, and stays unchanged before/after the upgrade.

facebook/react#3264 probably?

Seems to be fixed in JSCS now: https://github.com/jscs-dev/node-jscs/issues/1131

This isn't on our plate so going to close out.


stingray, mapped_file: Various fixes

stingray and stingray_unit had issues that prevented me from compiling. Once I got through that, there was an issue with mmap that caused it to not work, then the program misread the error as a success and ran into a crash. Once I fixed that, I enabled submodules so I could make sense of the files I was getting. This caused all of the open calls to error with 24, AKA EMFILE 24 Too many open files, but I had to put the errno in the error message to find that out.
Fixed the warning in stingray that prevented clang from compiling it with a static cast. Also cleaned up an include there that my IDE told me about. stingray_unit needed to include vector so it's there now. Added MAP_PRIVATE to the mmap call, so now it functions as it should. Currently I'm running ulimit -S -n 65535 before I run the program so that it the open calls work -- not sure if there's a better way to fix this in code.
At this point, I can look at the game's music files, but vgmstream can't read it. I think this is out of scope of this project, though, lol. (Help appreciated)

Vgmstream definitely can read the wem audio files. The bnk files are "encrypted" in 2 header bytes with an XOR key. What did you try that didn't work?
Btw, feel free to look at my implementation. I basically rewrote/copied the code of various projects (ww2ogg, bnkextract, vgmstream) and added some of the HD2 specific stuff like the XOR decryption.

Thanks, @xypwn! I was trying to open the files simply by running e.g. vgmstream-cli 193288922.wwise_stream but I would get an error. As for your filediver program, it would try to find the Steam library in a weird directory by default (~/.local/share/Steam/steamapps/libraryfolders.vdf is common, but filediver omits the Steam portion of the directory). I manually specified the game after that, but none of the files would extract (e.g. filediver -g ~/.local/share/Steam/steamapps/common/Helldivers\ 2/ -c "audio:format=source" -i 'content/audio/*.wise_stream' succeeds with INFO Extracted 0/0 matching files).

not sure if there's a better way to fix this in code.

It could be changed to only open files when needed for indexing and extracting. While this would slow down Windows significantly, due to the code using a "hidden" mechanic of FILE_SHARE_READ and FILE_FLAG_RANDOM_ACCESS, on *nix it would make the application run without adjusting ulimit. As far as I know, there's no current reason to keep ulimit low anyway.
I think prlimit does what we want in this case?


Dozer mapping stops working

After a short amount of time (varies between hours up to one day), dozer mapping stop working with
org.dozer.MappingException: java.lang.NoSuchMethodException: Unable to determine write method for Field: 'xxxxx' in Class: class a.b.c.FooBar
at org.dozer.util.MappingUtils.throwMappingException(MappingUtils.java:82)
at org.dozer.propertydescriptor.GetterSetterPropertyDescriptor.invokeWriteMethod(GetterSetterPropertyDescriptor.java:261)
at org.dozer.propertydescriptor.GetterSetterPropertyDescriptor.setPropertyValue(GetterSetterPropertyDescriptor.java:101)
at org.dozer.fieldmap.FieldMap.writeDestValue(FieldMap.java:94)
at org.dozer.MappingProcessor.writeDestinationValue(MappingProcessor.java:870)
at org.dozer.MappingProcessor.mapFromFieldMap(MappingProcessor.java:337)
at org.dozer.MappingProcessor.mapField(MappingProcessor.java:276)
at org.dozer.MappingProcessor.map(MappingProcessor.java:245)
at org.dozer.MappingProcessor.map(MappingProcessor.java:187)
at org.dozer.MappingProcessor.map(MappingProcessor.java:124)
at org.dozer.MappingProcessor.map(MappingProcessor.java:119)
at org.dozer.DozerBeanMapper.map(DozerBeanMapper.java:111)
This is Dozer 5.3.2 on Java 1.7, but happens with 5.4.x also. It's never the same target class or field that fails.
This was already reported here: http://sourceforge.net/p/dozer/bugs/372/

we have this in our production system as well and we turned off this feature for now. so updating the beantutil to its latest version fixes this issue? or do we need to upddate both dozer and bean util?

After we moved to a new BeanUtils Version (1.9.2) and moved getter and setter for the id (for more info, look at my previous post  )into the same interface, this issue is no longer existent in our environment.

Is there a possible way of not having to move getter and setter to same base as we've an usage where we override the getters and setters in children in source pojo but not in destination pojo?

Hi, We have been using dozer version 5.2.2 in our application and we faced this issue recently on production. It is not reproducible on local set up. Can anyone confirm if the issue is fixed in the latest release 5.5.1 ? Or is there any other way of fixing it?

I see this Pull request that it a fix for this issue
https://github.com/DozerMapper/dozer/commit/2cd932235358bee74468867285c98c5eacdcdaca
I see it has come in after the 5.5.1 release.  Is there going to be a new release so this bug fix can come out in an official build?  If not, is the current master branch of this repo considered stable enough for people who use dozer in a production environemnet?

Hi we are using dozer 5.2.2 and getting this exception...
MapId: null
Type: null
Source parent class: org.akc.ngen.domain.impl.EventEntity
Source field name: eventPlanPendingEntities
Source field type: class org.hibernate.collection.PersistentBag
Source field value: Unable to determine source field value
Dest parent class: org.akc.ngen.biz.model.Event
Dest field name: editMessages
Dest field type: java.util.List
Getters and Setters are in abstract super class.
We are facing the issue only in Production not able to reproduce in Local.
Is it fixed ? Or any alternative way to fix it?

Hi, same problem for me, dozer mappings are instable in preproduction. When will you release the version 5.5.2 ? Or at least in beta ? Otherwise I will have to compile myself the trunk and push it in our nexus instance...

Hi ,
Same Problem for me ,Any temporary solution??

Hi there, any update on this issue? Is this issue fixed on 5.5.1?

My problem has been solved by replacing the common beanutils jar version to 1.8.3 (working fine from last two days after changing the mention beanutils version) and I am using dozer 5.3.2 version.Basically beanutils version mentioned in dozer pom.
and second thing getter setter of a variable should not be in two diff  interfaces in its respective hierarchy.

Hi ,
Facing problem with JAXB maping without setter for collection.
Here is the stack trace :
2017-02-14 18:11:58,241 ERROR [IBSOutboundProcess:124]: IBSOutboundProcessor  DataAccessException occured  for batch : 6ab7f78e-d75f-4866-b2ad-981597aa2d8f
java.lang.NullPointerException
at org.dozer.util.ReflectionUtils.invoke(ReflectionUtils.java:329)
at org.dozer.propertydescriptor.GetterSetterPropertyDescriptor.writeDeepDestinationValue(GetterSetterPropertyDescriptor.java:232)
at org.dozer.propertydescriptor.GetterSetterPropertyDescriptor.setPropertyValue(GetterSetterPropertyDescriptor.java:96)
at org.dozer.fieldmap.FieldMap.writeDestValue(FieldMap.java:96)
at org.dozer.MappingProcessor.writeDestinationValue(MappingProcessor.java:939)
at org.dozer.MappingProcessor.mapFromFieldMap(MappingProcessor.java:368)
at org.dozer.MappingProcessor.mapField(MappingProcessor.java:307)
at org.dozer.MappingProcessor.map(MappingProcessor.java:267)
at org.dozer.MappingProcessor.mapToDestObject(MappingProcessor.java:216)
at org.dozer.MappingProcessor.createByCreationDirectiveAndMap(MappingProcessor.java:196)
at org.dozer.MappingProcessor.mapGeneral(MappingProcessor.java:170)
at org.dozer.MappingProcessor.map(MappingProcessor.java:104)
at org.dozer.MappingProcessor.map(MappingProcessor.java:99)
at org.dozer.DozerBeanMapper.map(DozerBeanMapper.java:120)
at com.dhl.gcdb.intg.outbd.ibs.IBSOutboundProcess.generaetCMFTaskFeed(IBSOutboundProcess.java:162)
at com.dhl.gcdb.intg.outbd.ibs.IBSOutboundProcess.processIBSOutbound(IBSOutboundProcess.java:91)
at com.dhl.gcdb.intg.outbd.ibs.IBSOutboundProcess$$FastClassByCGLIB$$45b1bb4c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:701)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:634)
at com.dhl.gcdb.intg.outbd.ibs.IBSOutboundProcess$$EnhancerByCGLIB$$1cad4035.processIBSOutbound()
Some sample mapping  :
    <field>       collectionSource[0].fieldAbc       collectionDestination[0].fieldXyz       xxx.abc.pckg.ClassExample     </field>

I am also facing the same issue even after commonbeanutils-1.8.3 and dozer 5.3.2 and abstract setter is also in only one interface in interface hierarchy . Have anyone found any other solution for this.
org.dozer.MappingException: java.lang.NoSuchMethodException: Unable to determine write method for Field: 'id' in Class: class

@gauravtyagi77 ; can you build from latest source and retest please?

Please re-test with 6.0.0

try adding default constructor in your class.


As a logged-in user, in the game lobby page I want to be able to choose Singleplayer or multiplayer mode

Acceptance Criteria

[x]  Inside the game lobby page, a user can choose from two modes: Singleplayer and multiplayer with a toggle switch.
[x]  By choosing Single player, a user can't invite players to his game

Development Tasks

[x] sopra-fs23-group-32/SoPra23_Server#83
[x] sopra-fs23-group-32/SoPra23_Server#84

https://github.com/sopra-fs23-group-32/SoPra23_Client/commit/a7222efa848deaef99c7b1319d98ccf6623d100d
https://github.com/sopra-fs23-group-32/SoPra23_Client/commit/1a411b99f1a38d2735e2de96fa0683bb51fa92b4


log can produce confusing messages when multiple packages share the same name

Also it doesn't handle "bundled wrapper" component packages like
"auth0/com" ... should report as "auth0"
On Fri, Jan 27, 2017 at 4:08 PM, Matt Aitchison<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gliderlabs/comlab/issues/8, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAACh3uUXIUUKh_o7VOVDvJYJchFL5XTks5rWmr2gaJpZM4LwRIl
.

--
Jeff Lindsay
http://progrium.com


UF-11404: Move transactional and do delete only if successful

Types of changes

[x] Bug fix
[ ] New feature
[ ] Removed feature
[ ] Code style update (formatting etc.)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes

Does this PR introduce a breaking change?

[ ] Yes (I have stepped the version number accordingly)
[x] No

Checklist:

[x] My code follows the code style of this project.
[x] I have updated the documentation accordingly (if applicable).
[x] I have added/updated tests to cover my changes (if applicable).

For the record. This is deployed and confirmed working. As this was kinda urgent and I'm the only one holding down the fort today.


How to iterated using isArray and get objects based on key vals with useEffect in react

This is a question but I am not sure how to tag it as such.
Note: I am using react hooks for this.
I am trying to iterate through a collection using toArray. Each object in  the array looks like this:
{name: "hello", client_id: 2, content: "lorum ipsum", id: 1}
{name: "123", client_id: 3, content: "lorum ipsum", id: 2}

I want to only get the above objects that have a client_id that matches a previously stored variable.
Here is the code with comments. Thank you.
const [client_id_state, update_client_id_state] = useState(); // this could be any number
const [workflowsState, update_workflow_collection_state] = useState([])

useEffect(() => {
 let error = "error";

 db.workflows.toArray((workflows_list)=>{    // iterate through workflows array

    return workflows_list

 }).then((data)=>{

     data.forEach((val)=>{        // get each object with a client_id that matches client_id_state
         console.log(val)
         if(val.client_id === client_id_state){
             update_workflow_collection_state([...workflowsState, val])   // store it..but this doesn't work
         }
     })

 })

}, []);

Nevermind, this is not a problem with your library at all.


Occupation Details Page Needed

SubTask of User Story 09

Challenges:  Education has two different types of keys after .description
React seems to be detecting the .description but not the .apprenticeships or .education_usually_needed
Tried ternary check for .apprenticeships but did not detect them when they were there (verified via console.log)
The same behavior happens with .education_usually_needed


Reponsiveness is buggy

Page break's in between 920 - 1200 px screen width

Reason for break: grid-container width is large than the parent div in 920-1200, which result in the page break.


tes3mp.SetPos() doesn't work when called from the Lua scripts

I have tried calling tes3mp.SetPos() from the lua scripts without any noticeable effects, there is no debug information in either the openmw or the openmw-mp server console output.
Example of a call:
tes3mp.SetPos(0, 4092, 4092, 1000), should put player pid0 at Z1000 above the spawn point but nothing happens.

Fixed by https://github.com/TES3MP/TES3MP/commit/6f07d590d47d3f4abd004688a9249e6efb0feefe


key modifier for easy Z movement on plotXYZ

hold ctrl or shift to move the Z slider maybe?

but in which axis? any axis? but then what's positive and what's negative? too many questions... you can just drag the Z slider


terragrunt plan -out into current working dir?

I am using Terragrunt 0.21.6 and I am trying to get it working with https://github.com/runatlantis/atlantis
I would like to be able to output my plan file into the current working directory and not into a cache directory like so:
.terragrunt-cache/U7G6F5F4V_9Kh2H/$planfilename.tfplan
I would like to be able to specify a place to put the plan, and if I cannot, just any where that isn't in the .terragrunt-cache directory is fine.  I tried it with the -out and it doesn't seem to do what I want it to.
Any help would be appreciated.

I would like to be able to specify a place to put the plan, and if I cannot, just any where that isn't in the .terragrunt-cache directory is fine. I tried it with the -out and it doesn't seem to do what I want it to.

What did you try and what did it do?

What I tried to do is:
terragrunt plan $(pwd)/test.tfplan
And I get an output like:

To perform exactly these actions, run the following command to apply:
    terraform apply "/my/desired/directory/test.tfplan"

It works and in my current directory I see a file named test.tfplan.
What happens is that the apply doesn't work:
terragrunt apply $(pwd)/test.tfplan  nor terragrunt apply ./test.tfplan nor terragrunt apply /my/desired/directory/test.tfplan.  Any of these three don't work.  I get an error which says:
[terragrunt] 2021/03/23 17:02:03 Hit multiple errors:
exit status 1```

Could you post the full terragrunt apply <PLAN> command you're running and the full log output? Also, please turn the log level up.

Sure:
The first way didn't quite work:
terragrunt apply test.tfplan --terragrunt-log-level=trace
Created log entry.
[terragrunt] 2021/03/24 18:04:39 Reading Terragrunt config file at /my/desired/directory/iam/terragrunt.hcl
[terragrunt] [/my/desired/directory/iam] 2021/03/24 18:04:39 Running command: terraform --version
[terragrunt] 2021/03/24 18:04:39 WARNING: no double-slash (//) found in source URL /root/deployment/infra/resources/modules/iam. Relative paths in downloaded Terraform code may not work.
[terragrunt] 2021/03/24 18:04:39 Downloading Terraform configurations from file:///root/deployment/infra/resources/modules/iam into /my/desired/directory/iam/.terragrunt-cache/NeFkClsN2EdepIe6dPn_fphls_E/ZglRs72-h59bhO0NDWvIEqgWwVg
[terragrunt] 2021/03/24 18:04:39 Copying files from /my/desired/directory/iam into /my/desired/directory/iam/.terragrunt-cache/NeFkClsN2EdepIe6dPn_fphls_E/ZglRs72-h59bhO0NDWvIEqgWwVg
[terragrunt] 2021/03/24 18:04:39 Setting working directory to /my/desired/directory/iam/.terragrunt-cache/NeFkClsN2EdepIe6dPn_fphls_E/ZglRs72-h59bhO0NDWvIEqgWwVg
[terragrunt] 2021/03/24 18:04:42 Running command: terraform apply -var credentials=/my/desired/directory/iam/../../../credentials.json -var state_bucket_prefix=devtest -var-file /my/desired/directory/iam/../../common.tfvars -var-file /my/desired/directory/iam/../environment.tfvars test.tfplan --terragrunt-log-level=trace
Too many command line arguments. Configuration path expected.
[terragrunt] 2021/03/24 18:04:42 Hit multiple errors:
exit status 1

I re-ran it with this:
TERRAGRUNT_DEBUG=true TG_LOG=debug terragrunt apply test.tfplan
And got a trace:
Created log entry.
[terragrunt] 2021/03/24 18:05:21 Reading Terragrunt config file at /my/desired/directory/iam/terragrunt.hcl
[terragrunt] [/my/desired/directory/iam] 2021/03/24 18:05:21 Running command: terraform --version
[terragrunt] 2021/03/24 18:05:21 WARNING: no double-slash (//) found in source URL /root/deployment/infra/resources/modules/iam. Relative paths in downloaded Terraform code may not work.
[terragrunt] 2021/03/24 18:05:21 Downloading Terraform configurations from file:///root/deployment/infra/resources/modules/iam into /my/desired/directory/iam/.terragrunt-cache/NeFkClsN2EdepIe6dPn_fphls_E/ZglRs72-h59bhO0NDWvIEqgWwVg
[terragrunt] 2021/03/24 18:05:21 Copying files from /my/desired/directory/iam into /my/desired/directory/iam/.terragrunt-cache/NeFkClsN2EdepIe6dPn_fphls_E/ZglRs72-h59bhO0NDWvIEqgWwVg
[terragrunt] 2021/03/24 18:05:21 Setting working directory to /my/desired/directory/iam/.terragrunt-cache/NeFkClsN2EdepIe6dPn_fphls_E/ZglRs72-h59bhO0NDWvIEqgWwVg
[terragrunt] 2021/03/24 18:05:24 Running command: terraform apply credentials=/my/desired/directory/iam/../../../credentials.json state_bucket_prefix=devtest /my/desired/directory/iam/../../common.tfvars /my/desired/directory/iam/../environment.tfvars test.tfplan
Too many command line arguments. Configuration path expected.
[terragrunt] 2021/03/24 18:05:25 errors.MultiError Hit multiple errors:
exit status 1
/go/src/github.com/gruntwork-io/terragrunt/errors/multierror.go:24 (0x6c70b2)
/go/src/github.com/gruntwork-io/terragrunt/cli/cli_app.go:458 (0xd0053c)
/go/src/github.com/gruntwork-io/terragrunt/cli/cli_app.go:439 (0xd001f7)
/go/src/github.com/gruntwork-io/terragrunt/cli/cli_app.go:327 (0xcfeeeb)
/go/src/github.com/gruntwork-io/terragrunt/cli/cli_app.go:229 (0xcfe9a1)
/go/src/github.com/gruntwork-io/terragrunt/cli/cli_app.go:210 (0xcfe6ce)
/go/src/github.com/gruntwork-io/terragrunt/vendor/github.com/urfave/cli/app.go:490 (0xc9ba88)
/go/src/github.com/gruntwork-io/terragrunt/vendor/github.com/urfave/cli/app.go:264 (0xc99cfd)
/go/src/github.com/gruntwork-io/terragrunt/main.go:27 (0xd071b1)
/usr/local/go/src/runtime/proc.go:201 (0x42c1b7)
/usr/local/go/src/runtime/asm_amd64.s:1333 (0x457fe1)

I hope this helps

Oh, looks like you're using extra_arguments. This may be a duplicate of #454 in that case. If you remove those, does the error go away? I understand those args are important, so you'd still need a fix for #454, but it would be helpful to understand if that's the issue here.

Ah, OK, thanks for confirming. Then this is a duplicate of https://github.com/gruntwork-io/terragrunt/issues/454. I'll close in favor of that issue.

@brikis98
No worries, thanks for looking in.  Has a fix been released for this?  Or perhaps in a newer version of Terragrunt?


Multi-GPU support

Hi,
is there a branch where you already started working on this?

Hi,
As far as I know, there is no branch dedicated to this issue yet.

I was looking at the possible solutions to this problem and this seemed like a good solution:
https://www.tensorflow.org/tutorials/deep_cnn#training_a_model_using_multiple_gpu_cards
Basically, we add an additional option to the [tf_manager] (or maybe [main]) specifying, which gpu devices are available (it would be even better if we could detect them from CUDA_VISIBLE_DEVICE) and create separate graph operations for each gpu device (possibly just by modifying decorators).
The variables would be stored either on CPU or on of the GPU (this should be also specified by a config option). This can be probably done by specifying the PS device on the whole graph. The device for graph operations would be the overriden in the specific sections of code (again, hopefully just by modifying decorators). Also, some changes to the way we update variables will be needed.
This is only a multi-GPU solution, the support for fully distributed computing would probably require some more work. But the multi-GPU solution should be a good starting point.

Have a look, e.g. at this tutorial or TF documentation. I think it looks a little bit better because the graphs can run in separate processes, so they can run even on separate machines. They probably communicate using protocol buffers, so there might be some communication overhead.

@varisd are you willing to look into this? It would be great if we'd finally have this.

I have already assigned the issue to myself and I plan to work on it this week (and if necessary the following weeks).

I am currently swamped by other issues (mainly debugging the ensembles branch) so I am putting this on hold. I created a branch 'multigpu' for this issue and commited my initial changes.
Mostafa H wants to help out with this, so he will keep us updated (hopefully via this thread).

Hi, so the main issue seems to be that 'tf.train.Supervisor' freezes the graph, leading any modifications, such as those in 'runtime_loss' in the decoder to cause this: RuntimeError: Graph is finalized and cannot be modified.

Yes, that's the problem I ran into. The reason why this happens is either:

lazy building of the compuation graph - we are training to build the graph way after the tf_manager has been initialized (and tf.train.Supervisor have already frozen the graph)
"incorrect" order of model/config building - the tf_manager is again initialized before the computation graph

I guess we need to move the tf_manager.init_supervisors() call out of the tf_manager.init(). Probably to the runner/training_loop?
However, the problem might be somewhere else.

Yeah, I think the exact part which freezes the graph is this:
When tf_manager.initialize_model_parts is called in learning_utils, it calls tf_manager.get_sessions(), which calls sv.prepare_or_wait_for_session(self.server.target, and this is what freezes it, I think.
So then, I think any call to tf.get_sessions() freezes the graph, including this even: tb_writer = tf.summary.FileWriter(
#    log_directory, tf_manager.get_sessions()[0].graph)


Structure generation crashes on clean db

This is  a bug.

Prerequisites

[x] Are you running the latest version?
[x] Are you reporting to the correct repository?
[x] Did you check the documentation?
[x] Did you perform a cursory search?

Description

While pinning down the route source of/solution for #14 I rolled back my migrations causing the menus table to not exist.
This causes a fatal

Steps to Reproduce

create structure via the structuremanager without a menus table present (fresh db, no migrations ran//all rolled back)

Expected behavior

I believe it should instead either continue with a warning (as it couldn't verify the parent exists; but it also doesn't need it as it's the migration itself that handles that) or alternatively recover from the error so you don't have to input everything all over again
Actual behavior

Fatal error losing configuration

Looks like it doesn't even do anything with it, I made a typo where I used the plural form in the creation; yet everything still went through

I believe it should instead either continue with a warning (as it couldn't verify the parent exists; but it also doesn't need it as it's the migration itself that handles that)

What would be the point of the validation then?

recover from the error so you don't have to input everything all over again

so in situations when you "forget" to migrate, it would allow you to open a new tab, migrate and after retry right?
What about just migrate, then use the structure ?

so in situations when you "forget" to migrate, it would allow you to open a new tab, migrate and after retry right?

Exactly 😁

What about just migrate, then use the structure ?

The thing is, in development (where you often do a :refresh or :fresh migration it can happen that you rollback actually rolls back everything instead of only the just added migration.
Alternatively maybe check if menus is there when starting the tool? (which would add a slight startup penalty 😅 )

You can ref this when you'll open the PR


Development environment updates, io, and docs

[x] Closes #5, #6, #11
[ ] Tests added
[x] Tests passing
[ ] Full type hint coverage
[ ] Changes are documented in docs/releases.rst
[ ] New functions/methods are listed in api.rst
[x] New functionality has documentation

In theory a preview link should be generated in this PR

seems arrow doesn't have support for python 3.13 yet (ERROR: Failed building wheel for pyarrow), so will not add that as an upper version yet.


Time weighted average/mean

Proposal:
Provide an aggregate function that provides a time weighted mean. Similar to the interpolation function in OpenTSB http://opentsdb.net/docs/build/html/user_guide/query/aggregators.html
I am new to influxdb and possibly I have not understood how this can be done, but from spending an hour researching this it looks like it is not natively possible in Influxdb and without the possibility of doing user defined functions this type of calculation has to be done in the host application, negating some of the benefits and performance of influxdb.
Use Case:
For IoT there are a lot of sensor scenarios where data isn't sent on a regular time basis, mostly where the sensors are reacting to changes (which saves battery and network bandwidth compared to sending the same unchanging data value in regular intervals). For example, temperature measurements won't change while a freezer door is closed (which is most of the time) sending no data, but will send many data points when the door is opened for a short while (getting warmer) then closed (getting colder again). A conventional mean will not represent the average temperature in the freezer as most of the sensor data ingested is from the short time the door was open so needs to be weighted by the time interval between sensor readings.
Apologies if there is already a feature request for this but I couldn't find anything similar in the GH issues log. I like the philosophy behind influxdb and the active development - so hoping this is a feature that could be added. Also surprised that this isn't a more requested feature as it should be a common use case. I don't want to use Kapacitor as my servers are Windows not Linux.
Thanks for listening.

I think you might be able to do something similar to this using FILL(). You, unfortunately, can't use fill unless you use an aggregate, but you might be able to use moving_average along with mean and an aggregate interval to get something similar to what you want. We still haven't added a weighted moving average yet though which seems like it would be better for your purposes.

Hi,
Fill doesn't really help as it interpolates to produce a linear time series (values at regular time intervals based on interpolated values) from a delta time series which would give incorrect readings if the changes are step changes. See the examples below.
Sensors sends the following in response to an environment changes at 10:23 and 4 am:
10:20am value = 3
10:23am value = 10
10:24am value = 8
If we were to get a time weighted average between 10:20am and 10:25am the calculation is:
(3 x 3min + 10 x 1min + 8 * 1min)  /  5min =  5.4
If we were to use FILL then a mean we would get:
10:20am value = 3
10:21am value = 5.33 (interpolated)
10:22am value = 7.66 (interpolated)
10:23am value = 10
10:24am value = 8
MEAN would give you the value of (3 + 5.33 + 7.66 + 10 + 8) / 5 = 6.8. Quite different.
Why is this a common use case for IoT? Because having sensors send data at regular intervals wastes network bandwidth, battery life, CPU time and storage when most of the time we are only interested to capture the changes that the sensor is monitoring. Interpolation is useful when there is linear change and a sensor resolution is poor (ie. it can't capture smaller changes) or intermittent but where there is step change involved (eg. common when calculating safety exposure in an industrial situation) only a time weighted average will give the correct answer.
Is this something that you would consider for a future release? The math isn't too hard but would require a new aggregate function to be added (I could help with a pull but I'm no Go expert.....)

@deandob Why did you close this issue? I've got a couple questions about how time-weighted average should work. Namely in the following case

tag
time
value

A
1
2

B
2
3

A
2
4

A
3
5

What should the time-weighted average be?

Hello Everyone,
Not sure if the issue creator is still interested in this feature, but we find it quite important.
@desa  As for how it should work, I think @deandob explained it quite detailed: mean should be calculated according to how long the value was kept. Another question is, should it be grouped by the tags or not. In my schema I would have a separate value for each sensor and no tags actually, so there the calculation is clear, but I would assume that if there are different values for different tags existing, then probably result should be grouped by the values of the tags. Therefore in forementioned case result for grouping in the interval from time 1 to time 3 will be:

tag
timeWeightedMean(value)

A
(2*(2-1) + 4*(3-2))/(3-1) = 3

B
3

But the result depends on the grouping time interval, so for the interval of time from 1 to 4 result for A will already be: (2*(2-1) + 4*(3-2) + 5*(4-3))/(4-1) = 11/3

There are two aspects that add more complexity to this:

Limiting the duration of a value to the aggregation interval
Having a maximum valid time for values (values older that that are considered as unreliable; maybe there was a loss in communication to the device).

An example to make this clear:
10:18am 5
10:21am 3
10:23am 10
10:24am 8
10:29am 12
10:30am 14
The maximum valid time is 4 minutes and we want to get the weighted mean value for interval 10:20am to 10:30am.
The result would be:
10:20am-10:21am 5 => 5 * 1min  !!! This is where the interval boundary limitation kicks in !!!
10:21am-10:23am 3 => 3 * 2min
10:23am-10:24am 10 => 10 * 1min
10:24am-10:28am 8 => 8 * 4min  !!! This is where the maximum validation kicks in !!!!
10:29am-10:30am 12 => 12 * 1min  !!! This is where the interval boundary limitation kicks in !!!
=> (51 + 32 + 101 + 84 + 12*1) / (1 + 2 + 1 + 4 + 1) = 65 / 9 = 7.222...

Hi,
the time average aggregation is also very important for us. Does someone know if the feature has been implemented since this issue was opened? Or is it possible to achieve it somehow with the already provided API? We have a simple implementation for the time average algorithm according to the above mentioned calculation and could contribute it if necessary.

Apologies for closing this issue prematurely, it was accidental.
I'm still looking for this feature in influxdb, and about to launch a new product that could potentially use the enterprise version of influxdb if this feature was available. At this point we are looking at either implementing time weighting outside influxdb (which reduces the benefits of influxdb to us) or alternate products. As mentioned earlier this would be a common use case for using influxdb in IoT scenarios.

@ruediger-stevens comment about duration of grouping interval is valid.
There are 2 main issues:

how to pass interval start/end time to the reducer (10:20 - 10:30)
how to determine a value of a point at 10:18 given that the iterator will not contain this point given the grouping interval

Hello,
I obviously need this too but I "disagree" with @ruediger-stevens.

Limiting the duration of a value to the aggregation interval
Having a maximum valid time for values (values older than that are considered as unreliable; maybe there was a loss in communication to the device).

I also need this done in a few cases so I clearly understand the need, but this add a lot of business logic into a simple function we cannot spare today for www.iot.
I suggest a first implementation with time_weighted_average() and later on we'll think about a time_weighted_average([, <max_valid_time> ]) with no breaking changes. The default could just be 0 as infinite like limit() implementation.
max_valid_time is raising a lot of unanswered questions and I just suggest to postpone. (In same PR or the next).
I match max_valid_time with "Having a maximum valid time", as for limiting the duration to the aggregation interval I does not understand completely, could you give a sample in @gpomykala proposal for a test case ? Is this a parameter for the function or a std behavior ?
I'll do my best to follow implem and speed this up, I don't want to be between you and a feature, just make sure something gets out ;)
We could discuss works around to handle sensor quality (also part of OPC-UA implementation). I'm not yet perfectly sure it should be build in influx. I would lovely exchange on a iot scenario cloud implem standard to handle such things !

Hi @ruediger-stevens max_valid_time could be an optional parameter for an average in no grouping scenario - similar as moving_average. This could be added at some in future at some point as long as it is an optional parameter. Nevertheless it goes well beyond definition of time weighted average and seems more like an application specific requirement than a general purpose function.

For @ruediger-stevens' example I would also suggest to go for the algorithm without max_valid_time first. I also agree with @gpomykala that this is an application specific feature. If you are not storing deterministic values but value changes, it is normal that you sometimes have larger gaps.
An example to make this clear:
10:18am 5
10:21am 3
10:23am 10
10:24am 8
10:29am 12
10:32am 14
The maximum valid time is 4 minutes and we want to get the weighted mean value for interval 10:20am to 10:30am.
The result would be:
10:20am-10:21am 5 => 5 * 1min !!! This is where the interval boundary limitation kicks in !!!
10:21am-10:23am 3 => 3 * 2min
10:23am-10:24am 10 => 10 * 1min
10:24am-10:28am 8 => 8 * 5min
10:29am-10:30am 12 => 12 * 1min !!! This is where the interval boundary limitation kicks in !!!
=> (51 + 32 + 101 + 85 + 12*1) / (1 + 2 + 1 + 5 + 1) = 73 / 10 = 7.3
This would be the correct value I would focus on first.

There is a pending PR for this issue, why it's been closed?

This is an important feature.

Yeah, I agree it would be great to add more value to older/newer values on a timeseries

This is a critical and fundamental capability of a time-series database. If anybody in the process industries is going to use InfluxDB this feature must be supported.

We are also looking for this feature making sure we have consistent result across systems of our IoT solution. Current functionality is to dependent on continuous sampling. When would the feature be available?

I agree with previous commenters that this is a crucial issue for IoT solutions.    I've seen that Azure TimeSeries Insights does support a time weighted average.
In TSI, when using the twavg function, you need to specify an interpolation strategy as well.  This interpolation strategy defines how "irregular" intervals will be handled.  The interpolation interval can be either step or linear and this defines what values should be used for the points in time for which we have no data.   After the interpolation has been applied, the TWAVG is calculated on the interpolated set of data.


Exception when ordering of gems wrong

While upgrading to v1 (thanks for all the work, BTW!) I ran into the following error:
❯ rails s
=> Booting Puma
=> Rails <IP_ADDRESS> application starting in development
=> Run `bin/rails server --help` for more startup options
Exiting
/Users/urbanhafner/.rvm/gems/ruby-3.2.2/gems/devise-4.9.3/lib/devise.rb:364:in `block in add_mapping': undefined method `define_helpers' for Devise::Controllers::Helpers:Module (NoMethodError)

In the end I was able to track it down to the ordering of the gems and the monkeypatching of the devise controller helpers.
The error occurs when the I order the gems in the Gemfile like that:
gem "devise-passwordless"
gem "devise"

And goes away, when devise is being loaded first.
Alternatively, I can make the error go away when I comment out the part of monkeypatch.rb that adds a method to Devise::Controllers::Helpers.

Well that's not good. We may be able to do something to delay loading that monkeypatch until after the Devise Rails engine loads:
https://github.com/heartcombo/devise/blob/main/lib/devise/rails.rb
I won't have time to work on this for probably close to a week so if you want to take a crack at it feel free! Thanks for reporting

It's not a big deal, as the fix is easy and now documented.
I spent a few minutes looking into it, and it's possible to reproduce the error in CI when you switch the order of the gems there, too. I then ran out of time and couldn't fix the actual issue.
Here's the work in progress: https://github.com/ujh/devise-passwordless/pull/1
Not sure when I'll get around to looking at it again.

In the end the fix was a simple require "devise".


Invertion of collisionMask.

Instead of collisionMasks deciding which meshes should collide, they'll now decide which meshes shouldn't.
This change allows us to easier achieve the main goal of the original "collisionFilter' PR, having a large group of meshes not collide with each other but still collide with other meshes.
Masks will now work as following;
-1; // Ignore collisions with all masks, except 0.
0; // Always collide - Overrides -1 (default)
1; // Ignore collisions with other meshes or camera with mask 1
2; // Ignore collisions with mask 2
4; // Etc
8;
2 + 8 ; // Ignore collisions with masks 2 & 8, same as writing " 2 | 8 ".
http://www.babylonjs-playground.com/#20PQBI#35

something like scene.inverCollisionMasks = boolean; ?

I would see it more at mesh/camera level so you can decide precisely

this is really biting me in the butt at every turn :p
It might be better to just add collisionGroup's back in, while i'm personally not a fan because of how easily they can cause problems, they do allow both behaviors more natively.

I agree mask+group is the best option to me:)

alright, i'll close this and create a new PR in a minute or two, i have them in another patch, just gonna check it's all good and ready.