retry mechanism / better error handling

Not sure if yahoo is just being flakey tonight, but I was running into an issue where some calls were randomly failing with a 500 error (no response body).  Successive calls would succeed, however.
When yahoo returns a 500 and there is no response body, then nothing gets parsed as data and this line fails actually
Locally, I solved my issue by dropping in requestretry, which by default will retry on 500 errors up to 5 times, with a delay in between.
Any thoughts on adopting that approach as well?  Or at least inspecting the response statusCode and invoking the api callback with an (appropriate) error when data is undefined (and then users could simply implement their own retry logic.)

I'm willing to bet this is as a result of the change to OAuth2 and something I've done has buggered up the error handling. I'll fix it as soon as I can...

Hmm.  Not sure if this is what you were hinting at, but these definitely were not auth-related failures that I was seeing. I got more debug logging from the request module via NODE_DEBUG=request to see what was going on and yahoo was literally returning 500s and an empty body.  I did not check to see if all the failures were coming from the same server, but I'm guessing either they have an unhealthy machine somewhere responding to requests or a scaling issue.
I also would have expected for request itself to see a 500 response status and pass an appropriate error to the callback, but I'm used to using superagent which considers 4xx/5xx to be errors by default.

I'll play around a bit with superagent to see if I can duplicate what you're seeing... for what it's worth I am able to easily refresh my token with request right now.
Based on issue #26 I am removing the actual "token expired" bit out of the API, as it's causing issues with other errors and it's pretty easy to handle within apps... I doubt this will really help out here, but I figured I should let you know in case you're looking for that "token_expired" error reason...

It is definitely not a token expired or other oath issue (continuing to use the same token after failed requests from 500 errors works fine) - the reality is that any API call can fail (for a non auth related reason - servers down etc - statuses in the 5xx range not 4xxx) and it is not handled correctly,  so there's no way to even retry.

Any progress on the issue? I am making over 800 requests against this API, specifically collecting all the players in the players/leagues. I ran into this issue somewhat while testing it manually but it was very minimal.
I decided to automate the API requests using async.mapLimit to avoid duplicate callbacks but I get an error every time before completion. I am wondering if it has something to do with hitting the API too quickly/often? Similar to @kmudrick but in a different file, I am getting an error on this line. From my perspective what is happening is Yahoo is responding with no error and no data. Will look to implement requestretry

Per this issue. You might need to restart your Heroku app. I accidentally went over my rate limit for Yahoo and was trying to figure out how Yahoo blocks someone (IP, APP_KEY, Yahoo credentials, etc.). I went to go use your app and since it seems Yahoo blocks your Yahoo credentials at the very least, it crashed after I logged in and made a request that returned a 503.

Can you let me know what the call is that is causing this for you? I can investigate it, apologies for it falling off my radar, it's been busy times at the 9 to 5...

Sweet shit... reviewing the Yahoo! API, almost none of the subresource calls for the "players" collection "leagues" call are only applied in the league context... I guess I missed that when I built this with the old docs... I'll try to make this change tonight as I am now curious about some stuff I'd been trying to figure out a few weeks ago.

@whatadewitt I deleted a previous comment but I was hammering away at the Players.leagues call. What I found was that Yahoo sometimes returns no error and an HTML response body telling you about an internal 500 error or a 999 (rate limit exceeded) error.

I've had 999 when I first started building this thing...
I will play around and see if I can get the 500, but I'm going to try to fix the players.leagues call now, then I'll probably push a v3.0.0 that will change that to players.league, as all of the subresource calls only (really) matter within the league context..
After that maybe we can try to figure out if we can hookup the 500 error, but I am confident that simply having this thing work better according to the docs, that it could help resolve the problem (but maybe that's just because I'm a wishful thinker)

Do you have the code that I could use to debug this? I cannot replicate the issue...

Hey @whatadewitt - thanks for all your work on this. I used your documentation to write some custom libraries focused on fantasy football.
I've been seeing 999 errors which seem to be rate limits. You mentioned seeing them during development as well. Did you ever find any documentation or guidance about Yahoo sports API rate limits specifically? Any mention of "rate limit" in their docs specifically say 100,000 requests/hour, but I'm seeing 999s waaaaaay sooner than that.
Any tips or tricks you know of? Thanks in advance if you get around to reading this.

Hey @coolsoftwaretyler ,
I scoured the web a while ago looking for more info on the rate limit boundaries but there is practically no info, some figures I found did not match my experience at all and I think may have applied to older versions of Yahoo's API.
I did a bit of research  back then and was able to determine a rough figure for the number of batched calls I could make at once, you can check out that info and the resulting convo here https://github.com/whatadewitt/yahoo-fantasy-sports-api/issues/81#issuecomment-913756634
Hope this helps a bit!

Thanks, everyone!
@whatadewitt - that would be a huge help to me. I want to play by the rules, but they just haven't published them...
@Liam-OShea - your comment there is really helpful. I'm going to respond in that thread.

@coolsoftwaretyler -- this was the response I got asking about rate limits:

Likely not. That error more generally applies to abuse detection, and we don't document abuse prevention details (because the abusers would love that). That being said, it does seem fair and reasonable to document what rate you're allowed to hit a public API, and if our docs were updated, I'd expect that to be included. But they aren't :-(


fix navigation pop error by canceling PopScope action if pop is already confirmed

This Pull Request should fix the error described in #976

Thanks  @RaphiTobi !
Could you assign this PR to @sarbagyastha please

@BriceFab sadly i dont have the permissions to assign anyone to this PR


feat: Enhance tryCatch in TaskEither to support optional error mapping or introduce taskifyPromise function

🚀 Feature request
Current Behavior
Currently, when using TaskEither with Promises, the tryCatch function is available. However, at the stage of creating the first TaskEither, I often do not need to handle the Error explicitly, resulting in a frequently occurring idiom like this: tryCatch(() => f(...args), identity as (e: unknown) => E).
I would like to be able to execute the tryCatch function for TaskEither without the second argument, similar to how it is done in TaskOption's tryCatch.
Desired Behavior
import { tryCatch } from 'fp-ts/TaskEither'

tryCatch<ErrorType>(() => f(args)) // will return TaskEither<ErrorType, (ReturnType of f)>

Of course, if ErrorType is not specified, the default unknown type will be obtained.
tryCatch(() => f(args)) // will return TaskEither<unknown, (ReturnType of f)>

Suggested Solution
Solution 1
Set the default for the second argument of tryCatch to (e: unknown) => e as E.
Solution 2
Create a new function with a single argument. I think it looks like taskify for Promises, so I will call it taskifyPromise as a tentative name.
const taskifyPromise =
  <E, A, Args extends any[]>(f: (...args: Args) => Promise<A>) =>
  (...args: Args): TaskEither<E, A> => {
    return tryCatchTE(() => f(...args), identity as (e: unknown) => E)
  }

Who does this impact? Who is this for?
This feature would be useful for those who are implementing error handling using TaskEither.
Describe alternatives you've considered
An alternative implementation would be to use tryCatch with a curried version from the second argument:
tryCatchCurried(identity as (e: unknown) => E)(() => f(args))

While this implementation is elegant and does not compromise the flexibility of tryCatch, it feels unnatural from a consistency standpoint since many TaskEither functions are not curried. Additionally, this alternative is considered inferior to the first two solutions because if there were functions that could curry from the second argument onward (not available in fp-ts), tryCatchCurried could be created.
Additional context
The pain point is that tryCatch always requires a second argument.
Also, it would be beneficial if the type of the second argument function's input could be specified instead of being unknown.

I agree with the official policy of explicitly specifying the second argument rather than the benefit of being able to ignore it. This issue is invalid with respect to the concept of fp-ts.

Oh, I see.
tryCatchK is just one!


feat: update spa library to 1.1.3

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Limited support for nogil

Support for nogil when we're doing queries with json output

After your investigation I think this looks good -- gonna merge.


Stopping the controller crashes the app

Platform: iOS
Version: ^0.0.3

Crash log when `MobileScanerController.stop()` is called.
Runner was compiled with optimization - stepping may behave oddly; variables may not be available.
thread # 1, queue = 'com.apple.main-thread', stop reason = Swift runtime failure: Unexpectedly found nil while implicitly unwrapping an Optional value
frame # 1: 0x00000001056cea70 Runner specialized SwiftMobileScannerPlugin.stop(self=0x000000028252de00) at SwiftMobileScannerPlugin.swift:239:9 [opt]
236 	    }
237
238 	    func stop(_ result: FlutterResult) {
-> 239 	        captureSession.stopRunning()
^
240 	        for input in captureSession.inputs {
241 	            captureSession.removeInput(input)
242 	        }
Target 0: (Runner) stopped.

I have tried to add a null check on the captureSession and other variables that are causing the crash and it fixes the crash, but then it won't stop scanning.

Flutter Doctor
  Doctor summary (to see all details, run flutter doctor -v):

[✓] Flutter (Channel stable, 2.10.1, on macOS 12.1 21C52 darwin-x64, locale en-ET)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] IntelliJ IDEA Community Edition (version 2021.3.1)
[✓] VS Code (version 1.64.2)
[✓] Connected device (4 available)
[✓] HTTP Host Availability

Also, I my case the app crashes when just hot reloading with the camera open.

Fixed with #6 and released in v0.1.0. Thanks for reporting!

@juliansteenbakker, #6 doesn't solve this issue, and it persists in the new release. It seems to happen due to trying to access a nil value inside the stop method. And while adding a null check fixes the crash, calling mobileScannerController.stop() after that won't actually stop the scanning.

Oh my bad, i didn't test it yet but i will later today.

Same issue here when using stop function in the controller in real Android device
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): Failed to handle method call
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): java.lang.NullPointerException
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): 	at dev.steenbakker.mobile_scanner.MobileScanner.stop(MobileScanner.kt:202)
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): 	at dev.steenbakker.mobile_scanner.MobileScanner.onMethodCall(MobileScanner.kt:52)
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:296)
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:320)
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): 	at android.os.Handler.handleCallback(Handler.java:873)
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): 	at android.os.Looper.loop(Looper.java:214)
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): 	at android.app.ActivityThread.main(ActivityThread.java:7050)
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
E/MethodChannel#dev.steenbakker.mobile_scanner/scanner/method(13457): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
E/flutter (13457): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException(error, null, null, java.lang.NullPointerException
E/flutter (13457): 	at dev.steenbakker.mobile_scanner.MobileScanner.stop(MobileScanner.kt:202)
E/flutter (13457): 	at dev.steenbakker.mobile_scanner.MobileScanner.onMethodCall(MobileScanner.kt:52)
E/flutter (13457): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
E/flutter (13457): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:296)
E/flutter (13457): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:320)
E/flutter (13457): 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/flutter (13457): 	at android.os.Handler.handleCallback(Handler.java:873)
E/flutter (13457): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/flutter (13457): 	at android.os.Looper.loop(Looper.java:214)
E/flutter (13457): 	at android.app.ActivityThread.main(ActivityThread.java:7050)
E/flutter (13457): 	at java.lang.reflect.Method.invoke(Native Method)
E/flutter (13457): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
E/flutter (13457): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
E/flutter (13457): )
E/flutter (13457): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
E/flutter (13457): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:177:18)
E/flutter (13457): <asynchronous suspension>
E/flutter (13457): #2      MobileScannerController.stop (package:mobile_scanner/src/mobile_scanner_controller.dart:149:32)
E/flutter (13457): <asynchronous suspension>
E/flutter (13457):
E/BufferQueueProducer(13457): [SurfaceTexture-0-13457-1] queueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(13457): [SurfaceTexture-0-13457-1] queueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(13457): [SurfaceTexture-0-13457-1] queueBuffer: BufferQueue has been abandoned
E/BufferQueueProducer(13457): [SurfaceTexture-0-13457-1] queueBuffer: BufferQueue has been abandoned
D/UseCaseAttachState(13457): Active and attached use case: [] for camera: 0
D/DeferrableSurface(13457): use count-1,  useCount=0 closed=true androidx.camera.core.SurfaceRequest$2@5132faf
D/DeferrableSurface(13457): Surface no longer in use[total_surfaces=2, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@5132faf}
D/DeferrableSurface(13457): Surface terminated[total_surfaces=1, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@5132faf}
D/DeferrableSurface(13457): use count-1,  useCount=0 closed=true androidx.camera.core.impl.ImmediateSurface@d0c629a
D/DeferrableSurface(13457): Surface no longer in use[total_surfaces=1, used_surfaces=0](androidx.camera.core.impl.ImmediateSurface@d0c629a}
D/DeferrableSurface(13457): Surface terminated[total_surfaces=0, used_surfaces=0](androidx.camera.core.impl.ImmediateSurface@d0c629a}
D/Camera2CameraImpl(13457): {Camera@fb023e9[id=0]} CameraDevice.onClosed()
D/Camera2CameraImpl(13457): {Camera@fb023e9[id=0]} Transitioning camera internal state: CLOSING --> INITIALIZED
D/CameraStateRegistry(13457): Recalculating open cameras:
D/CameraStateRegistry(13457): Camera                                       State
D/CameraStateRegistry(13457): -------------------------------------------------------------------
D/CameraStateRegistry(13457): Camera@fb023e9[id=0]                         CLOSED
D/CameraStateRegistry(13457): Camera@7e2392b[id=1]                         UNKNOWN
D/CameraStateRegistry(13457): -------------------------------------------------------------------
D/CameraStateRegistry(13457): Open count: 0 (Max allowed: 1)
D/CameraStateMachine(13457): New public camera state CameraState{type=CLOSED, error=null} from CLOSED and null
D/CameraStateMachine(13457): Publishing new public camera state CameraState{type=CLOSED, error=null}

When running in the emulator, some kind of nightmare happens, the emulator seems to report control information and immediately reset it, stack overflow detection effect, multiple method call and reset in the emulator

I did some testing using a Pixel 4a 5G and i can sucessfully stop and start the camera multiple times. There are however errors thrown if u call stop while the camera is already stopped. Also, starting the camera 2 times crashes the app. I am working on some fixes for this and will update this when ready.

I did some testing using a Pixel 4a 5G and i can sucessfully stop and start the camera multiple times. There are however errors thrown if u call stop while the camera is already stopped. Also, starting the camera 2 times crashes the app. I am working on some fixes for this and will update this when ready.

Bug example: I open the scanning page which open the camera, and then try to close the page by Navigator.pop(context);  the camera and flash still be open, and when I open scanning page the app crashes. I added  controller.stop(); before Navigator.pop(context);  But in some devices and platforms you can go back by swiping without clicking on any button in the app.
Solution: Is it possible to add an option to stop the camera after a duration which we can change the duration manually in the code?

@juliansteenbakker  Thank you very much for your contribution. In 0.1.2, cameracontroller.stop will not stop scanning


Name field validation in contact us form

We can add form validation in the name field of the contact us form so that  valid name is entered by the user as now it allows entering numbers and special characters also.
#GsSOC'21

I would like to work on this under GSSoc'21

I can add Name validation in Contact Us form, as now it allowed to enter numbers in the Name section. Could you please assign this issue to me?
@himanshu007-creator

not needeed as of now, but will do after templates are ready.

@himanshu007-creator  We can do this now ! If anyone is not I active will get it done till Sunday !

Hey! I'm interested in solving this issue . I would be very grateful if you assign this issue to me under GSSOC'21
Thank You!

Is this issue solved? I would to love to solve this issue


[FIX] ODataModel getProperty with expand

ODataModel _restoreReferences oCurrentEntry["__list"] being undefined during JQuery.each

Hi Doug,
thanks, I have pointed the responsible developers to this pull request.
I don't know this code, but I have to say that I'm not sure why oCurrentEntry["__list"] would be undefined... does it happen within recursion or so?
And IF it is undefined, shouldn't the reference within the assert also be fixed?
Maybe I'm too short-sighted, but maybe one or two explaining lines would help.
Thanks and regards
Andreas

Hi Andreas,
This loop is inside another one, so it seems that oCurrentEntry["__list"] points to the last one in the first loop, not to the position that the second loop is iterating on.
Regarding the assert, you're right, I forgot this.
Thanks,
Douglas Maitelli

So do you plan to also fix the assert?

Umm... and regarding the two loops... this function does not have an outer loop. Do you mean _restoreReferences(...) is called within another loop?  (sorry, I don't know this code area)
But even then, the outer loop does not execute code as long as the inner is running. It might be that the recursive call of _restoreReferences() affects something in the outer loop, but it seems to perate only on the children...
Or the
delete oCurrentEntry["__list"];
looks a bit suspicious... maybe this one is executed before the final run of the loop?

The _restoreReferences is recursive and also have two nested loops in this part of the code.
And yes, the outer loop will execute the code while the inner one is running, because JQuery.each is asynchronous.
Regarding the delete oCurrentEntry["__list"]; yes, it can be the problem also, actually it's probably the problem, but using the each variable sEntry instead, like I did solves the issue.
Some colleagues here as SAP were facing issues with ODataModel getProperty with expand and the problem was solved when they did this change.
Regarding the assert, I will fix it and update this pull request.
Best Regards,

Internally tracked as<PHONE_NUMBER>

Hi Doug,
the implementation seems correct for me. The '__list' property holds the keys of the associated enities.
If they are loaded via expand we loop this list and try to resolve the data. oChildEntry is the associated entity of this list. If it does not exists it is ok to have an assertion.
If oCurrentEntry["__list"] is undefined the associated entities are not loaded yet. This is also ok.
BR,
Jan

using expand com bindAggregation
......
order_id:"30000002660",
order_item:,
__list: Array(2)
0: "order_item(order_id='300000002660',order_item_id='OR300000002660')"
1: "order_item(order_id='300000002660',order_item_id='QM000010249308')"
.....
but the url return results with data of expand
do how list results?


eimigui fails to build

Hello. When building any of the examples on Windows native, emigui-miniquad fails to build.
error[E0432]: unresolved import `emigui::Mesh`
 --> C:\Users\Moxinilian\.cargo\git\checkouts\emigui-miniquad-166b794becee653c\6457ba3\src\painter.rs:1:14
  |
1 | use emigui::{Mesh, Texture};
  |              ^^^^ no `Mesh` in the root

error: aborting due to previous error

Is this because of an outdated commit? If not, should I open an issue at emigui-miniquad?

Fixed compilation errors with fixed emgui version.
However some work needed - painter should receive clipping rect and clip data, should be an easy fix, will do later!
And PRs welcome ;)


FX preset names do not load when you close and re open project in daw

FX Param initial states may not be getting set either


what policy about other common crypto functions?

security-framework crate and OpenSSL (via the openssl crate) have also such common functions:

sha1
symmetric encryption
secure random

is this ok to add common API for them into native-tls (may be behind feature flags),
or it should be separate crate ?

I do think something like this should exist, but my preference would be to keep this crate focused on TLS specifically, and introduce a "native-crypto" crate for other bits like that.

Thanks for answer.


Feature/testcase suite update

Description
This PR add the text files for 4 LIS testcases and 8 LDT testcases.   The binary data has been saved to the data portal.
I will do a final check before this is ready to merge and notify the PR review team.
NOTE:  Tests should be run with the latest intel compiler.  The intel 19 compiler and older do not have new enough netcdf libraries to support running the testsuite on the MAIN branch. Specifically, old netcdf libraries do not suuport NF90_UNLIMITED as a dimension in nf90_def_dim.  NF90_UNLIMITED was introduced in #1179 and is now the recommended dimension length when using netcdf fortran libraries.

Testcase
These new tests can be run with my latest version of config_master.yml in /discover/nobackup/projects/lis/PR_TESTCASES/testsuite. This will ensure the LIS testcases have been added properly.  Future development is needed in the automation of the LDT testcases.

@jvgeiger,
This PR is ready to merge.
I have run a final test using the test suite with the intel compiler. The only tests with differences are:

gswp2
ruc37
smos_nrt_nn_12sm
wus_ucla
esacci_passive

Note that the 4 new LIS testcases do not have output generated with the gnu compiler.  I can produce and add that output if it is desired.

Output produced with the gnu compiler has been added to the css dataportal for the 4 LIS testcases

Sorry for the delay, Colin.
Thank you.  This was very helpful.


zip error: Nothing to do! (/system/priv-app/Settings.apk)

Hi, thank you for a great tool!
I installed:
cm-11-20150103-NIGHTLY-grouper.zip
freecyngn-flashable.zip (v0.4.1)
the resulting /system/freecyngn/log contains an error:
Creating directory structure...
Extracting classes.dex from noAnalytics...
Archive:  /system/freecyngn/noAnalytics-dvk.jar
inflating: classes.dex
Extracting classes.dex from Settings...
Archive:  /system/priv-app/Settings.apk
inflating: classes.dex
Disassemble classes.dex from Settings...
Disassemble classes.dex from noAnalytics...
Remove old Google Analytics...
Insert noAnalytics...
Reassembling classes.dex...
Adding new classes.dex to Settings.apk...
zip error: Nothing to do! (/system/priv-app/Settings.apk)
Cleaning up apps...
Installing self-reflasher...
done

I get the same error, even with version 0.5. I installed:
cm-11-20150105-NIGHTLY-v500-bumped-signed.zip
Any help would be appreciated. Thanks.

Did you enable libart.so in developer settings?

I did't enable anything in developer settings. I ran freecyngn on the freshly installed nightly, following your instructions.
What does the error mean? Has most of your script worked and just a small part wasn't carried out, or did the whole process not work at all?
Maybe I should use a different CM rom. Can you recommend a Rom file for CM11?
Thanks for your help.


Potential UI/UX Improvements for Your Website

Hi, There I didn't get any idea from what the site is for but I found some bugs and some UI error so to just inform you:
Specific Observations:
Text Focus:The wording on the website appears to be out of focus or lacking clarity.
Alignment: The title and body text are not centered or aligned consistently.
Navigation Flow: The current navigation system requires users to utilize the "back" button to navigate forward, which may be counterintuitive.
Hover Effect: The hover effect on the "back" icon could be enhanced with padding to improve visual appeal.
I am interested in contributing to the improvement of your website. If these observations are documented as new issues or sub-issues within your existing system, I would be happy to assist in making the site more user-friendly and visually appealing.

Ok but I didn't saw any input for adding the html or is it work in progress ?

Ok but I didn't saw any input for adding the html or is it work in progress ?

No, To create an input you create html files in the public/pages folder, which generates the ebook


libtensorflow-gpu-windows-x86_64-2.3.1 does not support GPUs with compute capability 5.0

TensorFlow 2.3.1 crashes on my GPU with compute capability (CC) 5.0 with the error "no kernel image is available for execution on the device". I used cuobjdump to inspect tensorflow.dll to see what binary and PTX code was included. I found binary code for CC 3.5, 3.7, 5.2, 6.0, 6.1, and 7.0 as well as PTX code for CC 7.0.
PTX code is forward-compatible, but 7.0 PTX cannot run on a 5.0 GPU. Binary code is forward-compatible but only for minor version updates. This means that neither the 3.7 nor the 5.2 binary can run on a 5.0 GPU. In fact, the current configuration means that TensorFlow 2.3.1 can run on any GPU with CC 3.5 and up except for CC 5.0.
I suggest building for CC 5.0 instead of CC 5.2 so that TensorFlow 2.3.X can run on any GPU with CC 3.5 and up.

What version of TF are you using? TF 2.4 supports cc 5.0
https://github.com/tensorflow/tensorflow/issues/45904#issuecomment-750485891

What version of TF are you using? TF 2.4 supports cc 5.0
https://github.com/tensorflow/tensorflow/issues/45904#issuecomment-750485891

This is with 2.3.1 and I updated the description above to make that clear. I also confirmed that 2.4.0 does support CC 5.0.
Will there be any more 2.3.X releases? If so, this is worth fixing.

This is with 2.3.1 and I updated the description above to make that clear. I also confirmed that 2.4.0 does support CC 5.0.
Will there be any more 2.3.X releases? If so, this is worth fixing.

Was this a regression from 2.3.0?
We don't have a plan for more 2.3.x releases at the moment but if there are security vulnerabilities in a year since the release we will have to do a patch.

@mihaimaruseac  I just checked and this is not a regression from 2.3.0. Both 2.3.0 and 2.3.1 support the same set of of GPU compute capabilities. (They both exclude 5.0.)

@mihaimaruseac  I just checked and this is not a regression from 2.3.0. Both 2.3.0 and 2.3.1 support the same set of of GPU compute capabilities. (They both exclude 5.0.)

In this case, we won't be able to release a patch release changing the compute capabilities. We try to limit the delta between normal release and patches.

In this case, we won't be able to release a patch release changing the compute capabilities. We try to limit the delta between normal release and patches.


Design for loading messages on buy screen (and wherever they're used in the future)

Change font, font weight, alignment, and spacing

This is an important one because it's early on in the user's experience, and they spend a long time looking at this screen


ReferenceError: 'localStorage' is not defined

Feature type
DOM API
The spec link.
https://developer.mozilla.org/zh-CN/docs/Web/API/Window/localStorage
How much important for you
Will webf support the localStorage API?

You can use the AsyncStorage instead, it have the same API with LocalStorage but return a Promise than sync return.

https://openkraken.com/api/enhancement/storage

https://openkraken.com/api/enhancement/storage

I have run some packages that need localStorage to exist. These libs need the standard localStorage APIs.

OK，we will add it in the future.


Add "Application.ReadWrite.All" to scope check

The consent request adds the Application.ReadWrite.All scope yet the script "Build-AzureADAppConsentGrantReport.ps1" errors on anything other than Application.Read.All. This leaves the original Read and adds ReadWrite to the array so it no longer errors.

@hoodat Thanks a lot for the PR!


Compiling to WebAssembly

Is WASM-support within the longer term scope of this project?
It would make piccolo usable by WASM-scriptable game platforms such as Ambient and Gamercade.
https://github.com/WebAssembly/gc/blob/main/proposals/gc/MVP.md
https://github.com/dart-lang/sdk/blob/main/pkg/dart2wasm/README.md

Oh.... also I'm very very stupid, this is already used by Ruffle which specifically targets wasm32. It definitely already works in wasm.

Yeah, I've definitely used this in a wasm project before, but that was an older version (the crates.io published version). I think the only change that might be good is adding wasm as a CI target to make sure it never breaks wasm support. But I'm sure Ruffle would (eventually) complain if they upgrade the dep and it stops working.

Closing, since this has been supported since forever.


Win: Work around potential clipboard crash

Reported as part of https://github.com/Microsoft/workbooks/issues/459.
See also https://stackoverflow.com/questions/12769264/openclipboard-failed-when-copy-pasting-data-from-wpf-datagrid.

Backport to 1.4-release and 1.5-release


fix a bug that mdbm.first(iter) always return NULL in Java implementation

In java implementation,
mdbm.first(iter) and mdbm.next(iter) do not work. They always return NULL.

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:


Error: 'InlineHtml' is not defined. Fresh install of present, unable to get it working with sample.md

Describe the bug
After installation, I receive the following error when attempting to perform present sample.md.
Traceback (most recent call last):
  File "/opt/homebrew/bin/present", line 8, in <module>
    sys.exit(cli())
  File "/opt/homebrew/lib/python3.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/opt/homebrew/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/opt/homebrew/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/homebrew/lib/python3.9/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/opt/homebrew/lib/python3.9/site-packages/present/cli.py", line 18, in cli
    show.play()
  File "/opt/homebrew/lib/python3.9/site-packages/present/slideshow.py", line 145, in play
    self.slides = [
  File "/opt/homebrew/lib/python3.9/site-packages/present/slideshow.py", line 146, in <listcomp>
    Slide(self, self.get_effects(slide), slide.fg_color, slide.bg_color)
  File "/opt/homebrew/lib/python3.9/site-packages/present/slideshow.py", line 124, in get_effects
    effects.extend(_base(self.screen, e, row, fg_color, bg_color))
  File "/opt/homebrew/lib/python3.9/site-packages/present/effects.py", line 130, in _base
    Text(element.render()),
  File "/opt/homebrew/lib/python3.9/site-packages/present/slide.py", line 367, in render
    Element = eval(element_name)
  File "<string>", line 1, in <module>
NameError: name 'InlineHtml' is not defined

I am unable to use the present command on any markdown file, as I get the same error every time.
Steps to reproduce the bug
Steps used to install present:

pip install present seemed to work with no issues

Steps to reproduce the behavior:

On a MacOS, simply use pip install present, then git clone <repo> and cd /examples, then run present sample.md.
It does not work, and results in the error listed above

Expected behavior
Well, hopefully the default slideshow should run. I'm thinking there is some dependency that is not installed? But I cannot figure out what it is--I am new to python, I apologize.
Slides
I am using the included sample.md file.
Environment

OS: MacOS
Terminal: iTerm2
Python version: 3.9.9
present version: the latest (installed today). I cannot find specific version number as present --version is not an option. Sorry!

I'm seeing this too. Looks like it's caused by an update in one of the dependencies, specifically mistune.
I resoved the issue by downgrading it, using:  pip install --force-reinstall -v "mistune==2.0.0a4"
Hope that helps :)


External Linking

Could please give me an example of external linking?
I tried to remove the "link" class thinking that would allow me to link to an outside page.  But,  this did not work.

care to elaborate?

@iamsudharshan If you're using cordova, you need to whitelist the external site in order to allow navigation, access or intent.


Update resource-manager-request-limits.md

@fleckert : Thanks for your contribution! The author(s) have been notified to review your proposed change.


presented this error

Good just installed, and this happens to me;
| Starting WGDashboard with Gunicorn in the background.    |
Failed to read config file: /root/wgdashboard/src/gunicorn.conf.py
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gunicorn/app/base.py", line 111, in get_config_from_filename
spec.loader.exec_module(mod)
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/wgdashboard/src/gunicorn.conf.py", line 2, in
import dashboard
File "/root/wgdashboard/src/dashboard.py", line 7, in
from flask import g
ModuleNotFoundError: No module named 'flask'
| Log files is under log/
how can I solve it?

There are missing some requirements. Same problem as #152

Good just installed, and this happens to me;
| Starting WGDashboard with Gunicorn in the background.    |
Failed to read config file: /root/wgdashboard/src/gunicorn.conf.py
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gunicorn/app/base.py", line 111, in get_config_from_filename
spec.loader.exec_module(mod)

File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/wgdashboard/src/gunicorn.conf.py", line 2, in
import dashboard

File "/root/wgdashboard/src/dashboard.py", line 7, in
from flask import g

ModuleNotFoundError: No module named 'flask'
| Log files is under log/
how can I solve it?

Hi! I'm wondering did you run ./wgd.sh install?

my solution was to install the missing pip dependency, then delete the folder and run the install again.
Thank you all.


Consumer group expiration logic flawed

There's a bug in the logic to expire consumer groups that is causing 404s to be returned for valid groups when doing a status check. This is likely because the logic is overly aggressive in removing information.

I believe I resolved this with commit 8b96035bce5e9891490c3889fa638be6bb03872a. This changes the group expiration logic to track the youngest offset seen when evaluating a group. If the youngest offset is further back than our expiration window, the group is wiped out and a 404 is returned to the caller. This is different that the previous logic that tried to do it while iterating over the group, one partition at a time. This had the side effect of removing incomplete groups that were still committing offsets in.


Added DepthCloud default plugin

Added DepthCloud default plugin

Linux
Linux-aarch64
Windows

Windows

Linux
Linux-aarch64
Windows

Linux
Linux-aarch64
Windows

Linux
Linux-aarch64
Windows

friendly ping @clalancette

Linux
Linux-aarch64
Windows

https://github.com/Mergifyio backport humble iron

@ahcorde awesome work - thank you for implementing this!

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/ros-news-for-the-week-of-august-21st-2023/33105/1


Rule SA1622 error doesn't fail msbuild

Ive setup analysers to run on building my application.
SA1622 doesn't work properly since it allows me to build while it has related errors. I have tried enabling other documentation rules and they work properly.
i'm on stylecop version 1.2.0-beta.507

Hi!
I find it a bit difficult to understand exactly what you mean:

Have you configured SA1622 to report an error instead of a warning (which is the default behavior)?
The title says "msbuild". Do you mean that SA1622 is reported as an error inside Visual Studio, but not when running msbuild directly?
By "it allows me to build", do you mean that SA1622 is not reported at all, or is it reported as a warning instead and therefore does not fail the build?

Can you provide a link to a project where it doesn't work as expected?

SA1622 is configured to report as an error,
sa1622 is reported as an error but it does not inhibit building like the other rules set as error,
It is reported but as an error but I can still build my application.
Unfortunately I cannot share a link to the project since it is a private company project

@RenseSTA StyleCop Analyzers is not responsible for marking a build as failed.
If SA1622 is still being reported as a warning even though you set it as error, it should be reported here:
https://github.com/dotnet/roslyn
If SA1622 is showing up as an error, but the build is not failing, it should probably be reported here:
https://github.com/dotnet/msbuild


How to use autocomplete component?

Hi!
Thank you for the awesome gem!
I'm trying to use this instead of React Polaris and I'm a little bit stuck.
I've rendered polaris_autocomplete component and I'm trying to simply assign a value to the text field when user selects an item (a vendor) from the autocomplete popover (from a list of vendors):
<%= polaris_autocomplete do |autocomplete| %>
  <% autocomplete.text_field(label: "Vendor", placeholder: "Start typing to search for artisan...") do |c| %>
    <% c.prefix do %>
      <%= polaris_icon(name: "IllustrationMajor") %>
    <% end %>
  <% end %>
  <% autocomplete.section do |section| %>
    <% @vendors.each do |vendor| %>
      <% section.option(label: vendor, value: vendor) %>
    <% end %>
  <% end %>
<% end %>

The default behavior doesn't populate the text field with the value selected. I also tried to override Autocomplete controller in JS and also tried to pass polaris_autocomplete(data: { controller: 'vendors' }), but that option gets ignored.
I'm not well versed with Stimulus and/or ViewComponents so it's a bit difficult for me to figure these things out. The lookbook documentation helps a lot! Thank you! I'm missing the JS part of the documentation. How to use gem's Stimulus controllers etc.
I also tried listening for "polaris-autocomplete:change", but I don't know how?
Typing this in browser dev console (in app iframe container) doesn't get triggered:
document.addEventListener('polaris-autocomplete:change', e => {
  console.log(e)
  debugger
})

I don't know what else to try except maybe this.application.getControllerForElementAndIdentifier, but that looks kinda ugly...
Is there any better way?

Ok, I finally got it. :)
import { Controller } from "@hotwired/stimulus";

export default class extends Controller {
  static targets = ["autocomplete", "value"];

  connect() {
    const valueTarget = this.valueTarget;
    this.autocompleteTarget.addEventListener("polaris-autocomplete:change", ({ detail: { value } }) => {
      const textFieldController = this.application.getControllerForElementAndIdentifier(
        valueTarget,
        "polaris-text-field"
      );
      textFieldController.value = value;
    });
  }

  get autocompleteController() {
    return this.application.getControllerForElementAndIdentifier(this.autocompleteTarget, "polaris-autocomplete");
  }
}

<% form_layout.item(data: { controller: 'vendors' }) do %>
  <%= polaris_autocomplete(id: 'vendor_title_autocomplete', data: { 'vendors-target': 'autocomplete' }) do |autocomplete| %>
    <% autocomplete.text_field(
      name: :vendor_title,
      label: "Artisan",
      placeholder: "Start typing to search for artisan...",
      data: { 'vendors-target': 'value' }
    ) do |c| %>
      <% c.prefix do %>
        <%= polaris_icon(name: "IllustrationMajor") %>
      <% end %>
    <% end %>
    <% @vendors.each do |vendor| %>
      <% autocomplete.option(label: vendor, value: vendor) %>
    <% end %>
  <% end %>
<% end %>

Do you recommend a different approach?
Thanks!

I refactored my Stimulus controller further so now it looks like this:
import { Controller } from "@hotwired/stimulus";

export default class extends Controller {
  static targets = ["autocomplete", "value"];

  connect() {
    this.autocompleteTarget.addEventListener("polaris-autocomplete:change", this.vendorSelected);
  }

  get popoverController() {
    return this.application.getControllerForElementAndIdentifier(
      this.element.querySelector('[data-polaris-autocomplete-target="popover"'),
      "polaris-popover"
    );
  }

  get textFieldController() {
    return this.application.getControllerForElementAndIdentifier(this.valueTarget, "polaris-text-field");
  }

  vendorSelected = ({ detail: { value } }) => {
    this.popoverController.forceHide();
    this.textFieldController.value = value;
  };
}

Shouldn't this be the default Autocomplete component functionality?
This is exactly how the original React Polaris Autocomplete component works:
https://polaris.shopify.com/components/forms/autocomplete

@vfonic great solution! You're right, this probably should be the default behavior of Autocomplete. At least for Basic autocomplete without multi-select. Feel free to open a PR for it 🙂


TLS and Ingress options are cluttered and confusing

Just did my first install with the new ingress and TLS options and I'm finding it a bit cluttered and confusing. I'd like to consider the following changes, and plan on preparing a PR with them:

Splitting the hostname out from the other options. I'd argue it's need no matter how folks are getting access and it's a common pattern to see the hostname called out as a general configuration option independent of the technical details.
To support the idea of a general application configuration area, move the admin users into the same area alongside the hostname.
Streamline the service type selection, since it gets kind of confusing with selecting a service type for both NGINX and Slackernews.
Allow for selecting an Ingress in addition to the options that are shown today
Switch to file upload for TLS vs. textareas, and use a checkbox to toggle between generating and uploading
Split TLS off from ingress in terms of how items are grouped

I think for (3) and (4) there's some inference we can do to make the selection of a type for the Slackernews service go away, for example:

if the user selects to use ingress, do not deploy NGINX and deploy Slackernews as cluster IP
if the user selects a LoadBalancer service, deploy NGINX as a load balancer service and slackernews as cluster IP
if the user selects NodePort I'm kind of mixed on whether to deploy NGINX or not

I'm actually a bit torn on offering NGINX as optional at all because of the confusion it creates in the KOTS UI. I'd say we just deploy it unless they specify to use their own ingress and avoid asking for the service type for the load balancer altogether. This feels like a good example of "you should curate which Helm values you explore to the KOTS customer".

I would be open to "you must always run Nginx", when I made the changes, I was not really clear on which of the cross-product of cases needed to be supported, so I made it possible to do anything. But I think you're right that it's worth having a bit more of an opinion here, especially for the KOTS config workflow where we're expected to be handholding the user a bit more compared to the helm values approach.
I think I'm about to say a bunch of things you already said, maybe organized a little differently, and this doesn't address all 6 of the things, but here's some ideas:
Option 1: remove nginx from the stack
Without further context, I can only guess that nginx was added because that was a reliable way to configure TLS, I don't see any other options being used. I would guess that NextJS could just as easily mount the same certs, and obviate the need for an additional component.
Option 2: Always run Nginx
Similarly, we could just always require running nginx. It's small, it's reliable, and it's stateless.

As far as

if the user selects to use ingress, do not deploy NGINX and deploy Slackernews as cluster IP
if the user selects a LoadBalancer service, deploy NGINX as a load balancer service and slackernews as cluster IP
if the user selects NodePort I'm kind of mixed on whether to deploy NGINX or not

I don't necessarily have any objections


Fix the description of this repo

The description of this repo wrongfully states that it generates .ensime config files for SBT. I couldn't fix it myself.
Here is a screenshot of it:

done, also updated the website


Fix issue where feature out_indices out of order after wrapping with FeatureGetterNet

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Reproducing segmentation_free_allen_smfish notebook

Hi,
To run on the data, https://github.com/kharchenkolab/BaysorAnalysis/tree/master/data, do you have instructions on how to run baysor on these samples? I am unable to reproduce the figures from https://github.com/kharchenkolab/BaysorAnalysis/blob/master/notebooks/segmentation_free/segmentation_free_allen_smfish.ipynb
Thanks!

This pull request https://github.com/kharchenkolab/BaysorAnalysis/pull/3 should create a small tutorial for this.

Hi @VPetukhov ,
Is it possible to obtain the source or instruction to obtain the dapi_merged.tiff used here /home/vpetukhov/data/spatal/SpaceJam2Full/allen_sm_fish/dapi_merged.tiff


fix: solve 'cannot find name' warning at test files

Checklist

[x] I have read and followed the contribution guidelines.
[x] I have read through the Code of Conduct and agree to abide by the rules.
[x] This PR is for one of the available issues and is not a PR for an issue already assigned to someone else.
[x] My PR title has a short descriptive name so the maintainers can get an idea of what the PR is about.
[x] I have provided a summary of my changes.

closes #1033

I approved the other PR.
So I am going to close this one


While debugging, focus keeps automatically switching to newest request on call stack

Hello,
I am using vscode 1.38 for windows 10. I am using the xdebug extension for php debugging and I keep encountering a very frustrating behaviour. I will start my debugger and to start debugging a request. This will be Request 1 on the call stack. The issue is that the application which I am debugging sends cronjob requests every minute, and whenever it does, the debugger automatically steals focus away from whatever file I was looking at for Request 1, and focuses on whatever file Request 2 has stopped on.
This is very frustrating because I will be trying to step through code and follow something closely, only to have my debugger pull me away every minute. I can click back on Request 1 in the Call Stack sidebar and it will take me back to where I was, but this is very annoying to do every minute, and I often have to scroll to the top of a long list as the cron requests keep piling on the call stack.
Is there a setting to toggle this call stack auto-focus on newest request behaviour?

@jordanyoungs did you try:
"debug.focusWindowOnBreak": false

?

/needsMoreInfo

I tried "debug.focusWindowOnBreak": false like you suggested but it is still happening.

System Info:

CPUs
Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz (8 x 2691)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.91GB (8.04GB free)

Process Argv

Screen Reader
no

VM
0%

Extension
Author (truncated)
Version

php-debug
fel
1.13.0

php-intellisense
fel
2.3.10

smarty
imp
0.3.0

remote-containers
ms-
0.74.0

remote-ssh
ms-
0.46.1

remote-ssh-edit
ms-
0.46.1

remote-ssh-explorer
ms-
0.46.1

remote-wsl
ms-
0.39.5

vscode-remote-extensionpack
ms-
0.17.0

sublime-keybindings
ms-
4.0.3

Steps to Recreate Bug:

Start debugger by clicking green play button 'Listen for Xdebug' in debugging tab.
Make some action on the appllication/website you are debugging.
After hitting the first breakpoint, VS Code will automatically open the file it is paused on, show the call stack for that request in the sidebar, and show all the variables for that request in the sidebar.
If some other request comes in from the app/website, either from some sort of sleep() function or cron job, VSCode will focus now on whatever file Request 2 is paused on, will show all the variables for Request 2 in the sidebar, and will show Request 1 and Request 2 in the call stack in the sidebar but the focus will be on Request 2.

What I expect: I want the file focus and variables shown in the sidebar to stay on Request 1, even if new requests are coming in.
What I see: Focus and variables change with every new request, which in my app happens every minute and makes it impossible to debug sanely.


No UI to add items?

Hey there, I feel like I'm going crazy, is there no interface in the web UI to add new items to MediaTracker? I can't find functionality to do this on the online demo, and after setting up the docker image and running it, there is no such functionality there either. I've tried both on Firefox and Chromium. There is also zero documentation about the usage of MediaTracker in the readme, which makes it even harder to know what to do, if I have to manage the database manually/by API calls then that should be mentioned somewhere in the readme.
Am I doing something wrong or isn't there supposed to be a big ol' plus button somewhere to add items to the database through the UI? When running locally in docker I am also missing the "Lists" option that shows on the demo instance.
I'm running MediaTracker in docker-ce with the :latest image on KDE neon user edition. All blocking through uBlock etc is disabled on localhost.
Any help would be greatly appreciated! This is what the UI looks like for me:

You can search for items in any category (for games you have to add your own IGDB api key), after that you will be able to add those items to watchlist or seen history.
For lists you can use mediatracker:unstable docker image

Thanks!


Type guard not working on v-else

Vue version
3.3.4
Link to minimal reproduction
https://play.vuejs.org/#eNp9U12O2jAQvsrUfWCRIHnYvjQK1a62B6gqpD4QHgwMwSWxLduhi2ju0Bv0DH3puXqEjh0nm6UqD4jMzzfzzTfjC3vUOjk1yDKW260R2oFF12iouCwXBXO2YB8KCSBqrYyDCxjcQwt7o2qYEHAyCj6pWsdIknrDV6YEn+LOGuGjKmFBNSSvMQPrjJDlLIQymOxUOZnBgdslF1UGG6Uq5BLaAf3E3f/RW+4IXYkT2gxkU2/QjKCPUtS8IrRn8N1X8iH/2zdy64SSICx573hIzCJgmkHnoGhof/EQIA1cYyTEbOAhOE1Cd3izWEAjd7gXEnc+P9Dwv62S1sWKxLLrsVoTrVVXt5+tYJ/xuWD9cAUjbbw5iONMg9DOrlFfDsIe0dDOXqAkjDejMu87NutC5mm3b9ouGQ5rXXGHYdd5WGQWidIVxK94CpTQp8PbLjTkDClE6xJHTTw9aEPjgLaa9nqaiz3BxrJPCf3n549fI2gnadsSWwINtfsSWFn0kN8jSBTpGpSnr2cMB0qfIz+bsf5qb70HKFGiEVsyl3HebtufjNL2Lt7Iy5qN4Wd/Iz68pK3ky9U6oNrpjTUULm+qnnslaNi9MtQyajUDQTf2PKW/vhUxy4549qL60GgVua2UC1cyWhRV3FDi2JMOWlUiqhQ4vNaoe+3zmuvkq1WSpAojU9sQIB5Z/1AKRlp6u2AH57TN0rSR+lgmW1WnDxRLTSOdqHG+U/XDfXKfvEt3wrqxO0FbzzdGfbNoqCEd86h2Ss4TmrlBGtmgudnrKnfc7yr0T8/4jlvW/gWc3r0o
Steps to reproduce

create a type with union types (A and B)
create a type guard to check if the union type is of type A
in a scoped slot use the type guard in a v-if
add a v-else

What is expected?
in both v-if and v-else I expect Typescript to detect types A and B respectively
What is actually happening?
type A is correctly detected on v-if, but type B isn't on v-else and I get the union type instead
System Info
No response
Any additional comments?
I created a reproducible code, however I didn't know how to show the problem by hovering the "animal" in the v-else as the Vue Playground doesn't show Typescript errors, but I get it in VSCode

nevermind, it was my bad


Fix missing endpoint_suffix in batch copy command

Address issue #4971

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

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

View a preview at https://prompt.ws/r/Azure/azure-cli/5669
This is an experimental preview for @microsoft users.

Updated with new history entry and version.


Add error code to Swift SDK errors

Describe the feature
When decoding an error, every AWS serde protocol extracts a string errorCode from the error response.  This code indicates the general nature & cause of the error, i.e. invalidParameters, resourceNotAvailable, etc.
When an error converted to a Swift type by the SDK, the specific Swift type to be created is determined by matching the error's errorCode to a set of Swift error types that are predefined for that operation.  It is possible, though, that an error may be returned that is not defined on the service; in that case, an UnknownAWSHttpServiceError is created & returned to hold the error's parameters.
Typically, when a Smithy waiter matches an error by errorType, the string errorType specified in the Smithy waiter will match the errorCode in the received error.  This method may be used whether or not the error is defined for the operation since any error should have an errorCode.
In general, Swift SDK errors currently do not preserve or make their errorCode available once they are created.  This functionality will have to be added so that waiter error matching can be performed.
Use Case
Errors received by the AWS Swift SDK must be able to provide their error code so that they may be matched by Smithy waiters.
Proposed Solution

Implement a CodedError protocol in smithy-swift as follows:

public protocol CodedError {
    var errorCode: String?
}

that can be used to extract the error code from any conforming error type.

Make SdkError conform to CodedError.  This will require all generated operation output errors and UnknownAWSHttpServiceError to conform as well.

Update the waiter error matcher to match when the expected error type defined in the waiter matches the error code of the returned error.  (The error matcher will fail to match when the returned error does not conform to CodedError.)

Other Information
This work will enable completion of PR #483.
Acknowledgements

[ ] I may be able to implement this feature request
[ ] This feature might incur a breaking change

No longer necessary. We can handle error "code" (type) as we see fit when tackling #692


sst5 support instead of sst2

For sentiment, sst5 predicts 5 sentiment categories - "very positive", "positive", "neutral", "negative", and "very negative".
sst2 predicts 2 sentiment categories - "positive" and "negative".
rust-bert only supports sst2, not sst5, but we want to use sst5
This is a somewhat ugly, though not that bad imo hot-fix - the proper solution might be to work on getting rust-bert to support both, or rather to support reading a config file with a label -> sentiment mapping (although that would remove the ability to have the sentiment values be in an enum) - I don't see how to do that without making a breaking API change?
This also is added on top of a particular commit - I was not able to easily update our rust-bert to 0.19.

Sorry - could you give more details here? :sweat_smile: What's "sst2"? What's "sst5"?

Sorry - could you give more details here? sweat_smile What's "sst2"? What's "sst5"?

I added some such info in the description.

Seems reasonable to me so far! Other implementations can be figured out if/when we contribute this upstream or if/when we change our production model.

Thanks for double checking this - one question will remain, should this actually get merged? The PR is useful to get a review, but I imagine it's easier to keep this in a branch which we point to. Is there a canonical preference?

should this actually get merged? The PR is useful to get a review, but I imagine it's easier to keep this in a branch which we point to. Is there a canonical preference?

Yeah that is a good question. I feel like normally the process is:

fork repo
make branch with fixes you need
make PR from your fork to upstream repo
reference your branch in your fork while you
update to use upstream when PR is merged

but here we're like 100% sure that the thing we PR to rust-bert will not be the same as this branch :thinking:
Might be best to dismiss my approval and add commits to this branch to approach the thing we think we'd submit to rust-bert. Then, one day, we can squash all the commits and make a PR to them without disrupting our use of it?
I think we could also merge this and other PRs into our master and then one day make a PR from our master to their master that, in sum, has "the right change".


Fix issue #436,

because worker didn't run with the last updated node (https://github.com/integritee-network/integritee-node/blob/078230aaa1604ffc503be81cc647f6a3a7360d64/runtime/src/lib.rs#L527-L528)

pardon, I landed on the commit. It does fix that issue, but not only. please chose a good title ;-)


fix(site): esl-animate example page wrong animation

Closes: #2346

:tada: This PR is included in version 5.0.0-beta.14 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.17.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


FB Messenger on Android 3 replies on domain name text

Bot Info

SDK Platform: .NET
SDK Version: 3.16.0
Active Channels: Facebook
Deployment Environment: Azure Bot Service, Azure App Service

Issue Description
When I enter text on Andriod that matches any domain name [anydomain.com] all bots across the globe reply with 3 same message. That's happening only on Facebook Android, Desktop is fine. Can you provide me any info on that ?

Hi @Zhashkha
Please share the relevant code for the bot.
What do you mean by "all bots across the globe reply with 3 same message"?

Fascinating.  Thanks for bringing this to our attention.  My guess is that this bug is somehow on the Android Facebook Messenger side.  Have you filed an issue with Facebook?

I'll report bug to Facebook and comment their answer here. Thanks for advice.

No response. May I ask you to try with Facebook ? (Sorry, for 7 days delay)


i think HScript is bugged or something

Describe your problem here.
source/psychlua/FunkinLua.hx:58: characters 21-28 : Type not found : HScript
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No :'

package psychlua.HScript

keep your source updated

import HScript :ox:

package psychlua.HScript where do I put it? @TheLeerName


Remove the currentScaleValue getter from PDFViewerApplication (issue 6158)

The next step towards fixing issue #6158.
We can just as well access pdfViewer.currentScaleValue directly in PDFViewerApplication, instead of having a helper function which just acts as a wrapper for it.

/botio-linux preview

Good, thanks!


HTTPS Rest API

Hi,
I'm trying to use https rest api with different servers: with a lot of server doesn't works infact
rest.getResponse returns 0
For example connecting using https with github.com it doesn't work...some ideas or help?
Thank you
Sergio

Hi Sergio.
There is known limitations in the SSL handling routines.
As far as I know it only works with certificates up to 1024 bits in
strength.
Kind Regards
Neil Franken
On 25 Nov 2015 9:39 PM, "Sergio Sagliocco"<EMAIL_ADDRESS>wrote:

Hi,
I'm trying to use https rest api with different servers: with a lot of
server doesn't works infact
rest.getResponse returns 0
For example connecting using https with github.com it doesn't work...some
ideas or help?
Thank you
Sergio
—
Reply to this email directly or view it on GitHub
https://github.com/tuanpmt/espduino/issues/42.

Hi Neil,
yes but...sometimes it works on servers with certificate that have 2048 key length! e.g https://yourapihere-com-r2pgihowjx7x.runscope.net/
Regards
Sergio

Hi Sergio.
My bad mqtt only supports 1024 bit. Will check on this some more over next
few days.
Kind Regards
Neil Franken
On 26 Nov 2015 7:29 PM, "Sergio Sagliocco"<EMAIL_ADDRESS>wrote:

Hi Neil,
yes but...sometimes it works on servers with certificate that have 2048
key length! e.g https://yourapihere-com-r2pgihowjx7x.runscope.net/
Regards
Sergio
—
Reply to this email directly or view it on GitHub
https://github.com/tuanpmt/espduino/issues/42#issuecomment-159846146.

Any news on this? :S

Hi People.
Just a reminder that saying that it does not work does not help nobody.
What errors are you seeing? Did you try and debug it? All of these problems
could be resolved by giving developers at least the error message for
example. In summary if you can't give an error then we can't fix the error.
On 25 Nov. 2015 9:39 pm, "Sergio Sagliocco"<EMAIL_ADDRESS>wrote:

Hi,
I'm trying to use https rest api with different servers: with a lot of
server doesn't works infact
rest.getResponse returns 0
For example connecting using https with github.com it doesn't work...some
ideas or help?
Thank you
Sergio
—
Reply to this email directly or view it on GitHub
https://github.com/tuanpmt/espduino/issues/42.

Well, I fixed it after a lot of trial and error.
Couple of things if anybody else has the same problem:
Use rest.begin("HOST",80, false) instead of rest.begin("host");
When GET'ing something, put the response value to exactly the value you're expecting, or more (up to 500 i tried). If you put less, you'll get an invalid CRC error, as well as if you go over 500.
I finally got my sketch to connect to io.adafruit.com and get my feeds!


plocal: Connections with read-only access [moved]

This is Issue 737 moved from a Google Code project.
Added by 2012-03-04T17:12:23.000Z by<EMAIL_ADDRESS>Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Enhancement, Priority-Low, v2.0
Original description
Provide the option to create read-only access for security and potential performance improvement in read-only mode. This may also provide the capability of concurrent access (one rw, others read-only) to local embedded databases.

Is there some news on that?
"This may also provide the capability of concurrent access (one rw, others read-only) to local embedded databases."
This feature would be great, I'd love to do something like this. I this could solve a lot of problems in my architecture.

+1

Not relevant anymore, closing.


Group nodes by application

work in progress
This implements the grouping of nodes by applications. It allows the user to create applications and assign nodes to these applications. Note that there are some breaking changes in the API.

[x] update api
[x] update ui
[x] make it possible to rename applications and nodes (API)
[x] make it possible to rename applications and nodes (UI)
[x] update MQTT topics so that application-name and node-name are being used

Screenshots

Unfortunately, the Swagger UI breaks when nodeName is used as a property in the Swagger definition. See: https://github.com/swagger-api/swagger-ui/issues/1736


Bandit needs a logo

In trying to break from Bandit's unfortunate name origins, I'd prefer for the intent of 'bandit' to be more like 'mischievous
cute animal' rather than any cowboy / 'wild west' origins. Maybe a cute raccoon with a mask or something?
https://huntsvillebusinessjournal.com/news/2018/10/28/trash-pandas-launch-logo-to-worldwide-acclaim-and-demand/
Feel free to brainstorm / contribute!

Here are a few Midjourney generations - went with more of a purple color palette because of Elixir traditionally using a lot of purple.
Feel free to use or disregard - they were made with the Midjourney subscription tier associated with General Commercial Terms (so they are good to use as you see fit) 🙂

Those are wild! I'm going to play around with a couple of prompts myself and see what comes up - I may chime back here with some feedback / further requests for help. Thanks so much!

The only push back I may provide is I think the legality around protecting the IP of the logo is in question: https://www.garrigues.com/pt/en_GB/garrigues-digital/us-copyright-office-publishes-new-guidelines-registration-ai-generated-works
the US copyright office requires "human authorship", if this project doesn't mind others using the logo then by all means go for it. But if use of the logo is a concern I don't think you have any enforcement options at the moment

@bcardarella that's a great point; thanks for raising it (this whole contemporary landscape has so many legal subtleties like this that I haven't even thought of. Wild times.)
I think this is a case where I'm not going to let perfect be the enemy of good; being able to source a (frankly amazing looking) logo for ~zero effort is just too compelling. Once Bandit is a worldwide concern then I think we can worry about legal protections on the logo :)
Thanks for the note!

@houllette do you have any variations on those two above that may spur some ideas? I've tried spinning up a few in both Midjourney and DALL-E and it's..... a lot harder to write a good prompt than I appreciated. Frankly both of the options you dropped above are great, but I'm curious to see if variations are even better.
Personally, I think I like the glossy, vaguely comic book style of the first one!

If you do use, it may be a good idea to keep a record of what phrase was given to midjourney to produce the image

Here are a few variations I liked using the first one as a starting point (I like the third one the most personally); the prompt I used to start the whole thing off wasn't all too complex - mischievous cute raccoon with bandit mask, cartoon style, flat design, purple

I'm this close to picking #3 above; the character, shape, everything is just about perfect.
One crazy idea; what would he look like if he was holding a plug (like an extension cord) and/or a (web)sock?

Here are a couple variations that turned out ok, but it's difficult getting it specific with a small object to hold - so things like "extension cord" and "light socket plug" just end up being a mess of wires or a light bulb

mischievous cute raccoon with domino mask, holding an extension cord, cartoon style, flat design, purple, comic book style:

mischievous cute raccoon with domino mask, holding a chemisty beaker full of dark purple liquid, cartoon style, flat design:

Option 1:

Option 2:

Option 3:

Option 4:

The votes are in (and I'm, frankly in a bit of a hurry because I want to get stickers made for ElixirConf EU :). Option 3 is the (super cute) winner, and our new mascot!
README and ex_docs have been updated, logo source is in the assets folder of the project.
Thanks all for voting, and special thanks to @houllette for being the Midjourney inspiration for all this!


Reservoir updates

Closes #5

added quiet mode without logging (although it does create an empty file)
changed lice population generation in Reservoir
refactored Reservoir update

See #27 and #28 for info on more work required on Reservoir.

No tests for update function yet since it doesn't really update anything yet - see #28.


Docker v1.8.0-rc1cannot be build on ARM 32bit

Trying to build Docker 1.8.0-rc1 on a Scaleway server (ARM 32bit, armv7l) failed:
# Try this instead: make all
#
---> Making bundle: dynbinary (in bundles/1.8.0-rc1/dynbinary)
# github.com/opencontainers/runc/libcontainer/seccomp
vendor/src/github.com/opencontainers/runc/libcontainer/seccomp/filter.go:93: undefined: jumpEqualTo
vendor/src/github.com/opencontainers/runc/libcontainer/seccomp/filter.go:95: undefined: jumpNotEqualTo
vendor/src/github.com/opencontainers/runc/libcontainer/seccomp/filter.go:97: undefined: jumpGreaterThan
vendor/src/github.com/opencontainers/runc/libcontainer/seccomp/filter.go:99: undefined: jumpLessThan
vendor/src/github.com/opencontainers/runc/libcontainer/seccomp/filter.go:101: undefined: jumpMaskEqualTo

The seccomp package has currently a jump_amd64.go file for linux/amd64 only!

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Looks like this problem is in vendored files, and needs changes in the runc repository, could you report there as well?

arm64 alse compile error , ARMv8 cortex-a57

There's a simple patch for this. See the buildroot recepie I wrote found in https://github.com/paralin/buildroot

@paralin are those patches suitable for inclusion in Docker by default? IIRC, plans are to eventually make Docker build on ARMv7/v8 without the need to apply patches, if there's a clean way to integrate those, we welcome PR's (but it may make sense to discuss in the #docker-dev IRC channel before that).

It's a very simple set of patches, I'll submit PRs.

Upstream has a different source: https://github.com/opencontainers/runc/tree/master/libcontainer/seccomp

I've fixed it in NixOS with https://github.com/NixOS/nixpkgs/commit/e65fce3af64ea0b2058a69d72bc74a0baa756bf9

@domenkozar thanks for your commit, really helped me to fix similar issue on armv7hl port.

I'll close this issues as it is already fixed in Docker 1.9.0, for 1.8.x it's still present.


The Environment Variables introduced in #55 no longer seem to work

As the title says. Setting both MAX_UPLOAD_SIZE and POST_MAX_SIZE does no longer work.

Will be fixed in the latest updated image of version 2.0.12. (should be available in a few minutes on docker hub)


beta.5-preview locked to firebase 3.3.0

The beta.5-preview appears to be locked to a specific version of firebase (3.3.0). And there is already a more recent version available (3.4.0).
Is there a reason for this? Also, is there a reason why firebase is an angularfire2 dependency and not a peer dependency?

@cartant There was an issue with loading Firebase 3.4.0 and SystemJS in our test suite. We are resolving that right now.  And yes, we should move Firebase to be a peer dependency.

I am currently not using angular-cli and I was running into an unexpected token issue. Downgrading the firebase version to 3.3.0 is what essentially allowed my application to continue working. I wasn't able to really find any details on this until I decided to search through the open issues of the repository.
So if anyone else is running into the same issue of using firebase 3.4.0 and beta.5 , I would recommend switching over to firebase 3.3.0 to fix it.


Avoid constant rehashing

Profiling shows that the most heavy entry in typical execution of factory with wasm-only is constant rehashing of the :code storage value:
https://github.com/paritytech/substrate/blob/e63598b6e0c5de21eb54ee584c91222355c767eb/core/executor/src/native_executor.rs#L56

We could probably introduce a well_know_keys::CODE_HASH to speed this up?

Yes! Although it feels a bit clunky and maybe we can come up with something less invasive public API wise?
Here is my uneducated brain dump of ideas:
First, just track the changes happened to well_known_keys::CODE and/or provide fast access to the hash of this value. The possibility of reorgs complicate things a bit, so we would need to figure out how to quickly do this.
Second is not an idea, but observation: trie already does hashing for storing leaves. Can we actually fetch the hash of the leaf by its key? I am not sure how the state caching works, but maybe the actual trie access would be elided?
There is also a crazy idea that I dismissed almost immediately but then I thought maybe it still has a chance: Maybe instead of hash we could compare the byte blobs directly.

In order to hash, we load the entire blob into the memory anyway.
Hashing consists of at least linear pass over the data. Apparently, the constant term is rather large.
Equality check, however, is just equality check and should be more efficient compared to hashing.
However, an important difference is we need to check the equality against all other cached runtimes. Thus we might want to employ some data structure, like a patricia tree (don't confuse it with tries), which keys are the binary blobs and values are the cached runtimes. Such a tree would have only a few branches on average, if any, so checking the equality should also be cache efficient. We don't expect a lot of runtime changes either.
The implementation should carefully ensure that it doesn't do more than one query to such a data structure.

Sounds like a poor man caching, but if we had a ready made tools for that (i.e. patricia tree), this might be the low hanging fruit.
Also, I think there might be other approaches that employ some sort of heuristics, this should be OK as long as the runtime changes are somewhat trusted (https://github.com/paritytech/substrate/issues/2082).

Looking at the code, it seems that CachingState should already take care of it, but for some reason doesn't.

@pepyakin The CachingState only lasts for the execution of a single block. It is created here.
Equality checking on the runtime binary itself is about 0.1-0.12 ms faster by my measurements. The easiest thing to do would be to make the runtime blob (a Vec<u8>) the key to the hash map, which is a very easy change. This would increase memory usage, but maybe is OK. Also, is there a reason to cache more than one version of the runtime module? Would it be OK to only cache the current one so that a map is not needed?

@pepyakin The CachingState only lasts for the execution of a single block. It is created here.

CachingState does indeed, but the cache itself lasts longer than that. It keeps states for the last few blocks in memory.
There should be no code re-hashing if the code did not change in a recent blocks. The database supports retrieving value hashes and the executor checks if the hash has changed before querying the full code from the database.

@pepyakin This implementation should not do any code hashing:
https://github.com/paritytech/substrate/blob/aa8c06a056f22074fd582ba8d2929e17cdce9c56/core/state-machine/src/ext.rs#L194
What exactly did you profile?

I was profiling factory at f923ae2a, here are my command line arguments:
factory --dev --mode MasterTo1 --num 500
I can see that the execution spends 4.21s in CachingState::storage_hash out of total 11.85s in one of the runs.

Just checked the import-block workload with a profiler and storage_hash doesn't seem to show up in hotspots anymore.
So I guess this has something to do with transaction_factory which doesn't seem that important. I think we can close this issue now


[Doc] reimplemented-starmap does not mention performance

https://github.com/dosisod/refurb/blob/master/docs/checks.md#furb140-use-starmap mentions performance.
https://docs.astral.sh/ruff/rules/reimplemented-starmap/ does not
My local tests seem to agree:
from itertools import starmap
from timeit import timeit

def foo(a: int, b: str): pass

big_list = ["*"] * 99

def test_generator_comprehension():
    return (
        foo(index, value) for index, value
        in enumerate(big_list)
    )

def test_list_comprehension():
    return [
        foo(index, value) for index, value
        in enumerate(big_list)
    ]

def test_generator_starmap():
    return starmap(
        foo,
        enumerate(big_list),
    )

def test_list_starmap():
    return list(
        starmap(
            foo,
            enumerate(big_list),
        ),
    )

print("test_generator_comprehension", timeit(test_generator_comprehension))
print("test_list_comprehension", timeit(test_list_comprehension))
print("test_generator_starmap", timeit(test_generator_starmap))
print("test_list_starmap", timeit(test_list_starmap))

Python 3.9.13:
test_generator_comprehension 0.3537939
test_list_comprehension 9.4948082
test_generator_starmap 0.22116740000000057
test_list_starmap 6.5608599000000005

Python 3.11.2 (surprisingly the generator comprehension is even slower in Python 3.11, despite the proclaimed comprehension speed improvements, list comprehension checks out):
test_generator_comprehension 0.46688559994800016
test_list_comprehension 8.789011800021399
test_generator_starmap 0.24132720002671704
test_list_starmap 7.120547099970281

Scales similarly with a list of ~100 or ~1million items (the list examples takes forever though)
I think it would be important to mention as well. It is not insignificant (a little bit for list, ~2x for generators) and the doc makes it sounds like a simple stylistic change.

On Python 3.12 the listcomp is faster (likely thanks to PEP 709). Running @Avasam's benchmark:
test_generator_comprehension 0.19647120800800622
test_list_comprehension 3.4521896250080317
test_generator_starmap 0.15749416704056785
test_list_starmap 3.6789443339803256

(The numbers for generators don't feel very meaningful as it's just for creating the generator, not iterating over it.)

I ran the code passing the generators to all to make them actually do things.
On Python 3.11:
test_generator_comprehension 3.996156457997131
test_list_comprehension 3.8548724579995906

On Python 3.12:
test_generator_comprehension 4.032705583002098
test_list_comprehension 3.4063554999993357

So it looks like itertools.starmap is faster for generators, just not comprehensions.

I ran the code passing the generators to all to make them actually do things.
On Python 3.11:
test_generator_comprehension 3.9400883330017678
test_generator_starmap 2.439227167000354

On Python 3.12:
test_generator_comprehension 4.032705583002098
test_generator_starmap 3.4624144999979762

So it looks like itertools.starmap is faster for generators, just not comprehensions.


do not proceed with drawing grids if mActivity is not initialised

This fixes 'lateinit property mActivity has not been initialized' render error in android studio layout editor; this causes views to not render in the layout editor, thus making editing layout harder. On a real device mActivity should always be initialised.

not required anymore, since layout editor in Android Studio Electric Eel and later versions works fine without this


Request: Add drive space percentage free

Hi,
Thanks for the work on this script. Just deployed and it works a treat.
Is there any chance you could add metrics on drive space used by the cache or overall used/free ?
Also there is a typo bandwidth is showing as bandwith
Shane

hi @shanemdoyle ,
Please note this is ugly, as i do NOT know python at all. This worked for me however:
sudo nano cacher.py
control + w to search. Search for iPodNumberLog = []
I added the following after that line:
    df_output_lines = [s.split() for s in os.popen("df -PH /PATH/TO/YOUR/VOLUME/").read().splitlines()]
    HDspace = df_output_lines[1:]

Control + W to search again. search for # End of the final output.
Add the following lines:
    #HD Space Test
    finalOutput.append('')
    finalOutput.append('  Caching Disk     -Total  -Used   -Free  -Percent   -Volume')
    finalOutput.append(' %s' % HDspace)

Control + X to save and quit.
At the very bottom of your Cacher report, you'll now see the following.

Remember, change the /PATH/TO/YOUR/VOLUME/ appropriately to your needs. It definitely is NOT pretty, and someone could definitely do it better, but it'll get you by.


Separate build system and platform specific generator code from HFSM language generation

How possible is this? Ideally we would have a few plugins:

one to handle generation of HFSM into language specific source code
another to handle generation of build system / platform specific code and build files

These plugins would interact through a well-defined interface to produce the combination of language + build system source code when desired by the user.

completed; platform specific code is no longer within the scope of this repository.


Components in Angular Material 1

With due time, do you intend to implement all theme components already implemented in Angular Material 1?

I think it would be more interesting right now to get to an alpha state where you can acces generic simple elements. Still checking this repo everyday.

soon.tm

can any body provide some link where can we can getting started with angular material 2

Our "beta" is going to be when there's (nearly) feature parity with the Angular 1 version.
@smkamranqadri We haven't released anything to get started with yet :). We'll be announcing our alpha.0 on Twitter once it's ready, so stay tuned!


derive copy on DeclareResult

Which component is your feature related to?
Forge
Feature Request
#[derive(Drop, Serde, Clone)]
enum DeclareResult {
    Success: ContractClass,
    AlreadyDeclared: ContractClass,
}

->
#[derive(Drop, Serde, Copy)]
enum DeclareResult {
    Success: ContractClass,
    AlreadyDeclared: ContractClass,
}

There's no reason to be deriving Clone, when ContractClass derives Copy.

Hello @enitrat Please can you assign this task to me so I can start working on it immediately.

Hi @enitrat can i please be assigned to this issue?


Support newer version of keycloak

In new version /auth/ was removed from path, therefore we should add proxy routes
Newer version of Keycloak should be supported parallel to elder ones. This Feature MUST be implemented by adding new routes with URLs without auth handling by the same Handlers.

done


Log4j cleanup and make async appender usage configurable

Allow async appenders to be turned on (or left off) when CAS loads log4j2.xml from classpath. Also cleanup the log4j2.xml to utilize appender inheritance.
Also not setting log level for org.apache to "off", setting it to "error". If logging is going to be turned "off" it should probably be more targeted.

If we want audit to not go to the console, we can add the file appender to the audit logger and turn off additivity. I don't think it matters much b/c this log4j config is mainly used early in startup before there is anything being audited. The external log4j config controls config long-term once CAS loads it.

This is fine, but I just realize that this class is only used in LoggingConfigurationEndpoint. Could we perhaps remove this class, and LoggingConfigurationEndpoint altogether, remove the extra property config and all other related things and simply take advantage of the "loggers and "logfile" endpoints that are natively provided by Spring Boot? I believe that should be a much better option with the new model of actuator endpoints.

Forgot to mention that if you are not too familiar with actuator endpoints, etc, I'd be happy to experiment a bit and report back results.

Yeah, I submitted this a bit early and hadn't written test yet. I also had forgotten that spring boot was the one reading logging.config initially. When I tried writing a test it didn't look like setting the system property was causing the loggers to be re-created after reconfigure as AsyncLoggers (although it works if set from command-line via -D) I will probably revert the second of these two commits and then look into your actuator suggestion.


New entity modal, focus for keys to entity dropdown

@Ptrhnk could you provide more information to this? Or is it just a small bug?

@adammertel There was a requirement for modals to control it with cursor keys which works in most cases. In this case it should be possible to select entity class by key down first.


re-org

Pull Request Test Coverage Report for Build 817108869

55 of 58 (94.83%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 92.897%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Tindo.UgitCore/DefaultDataProvider.cs
1
2
50.0%

src/Tindo.UgitCore/Extensions.cs
52
54
96.3%

Totals

Change from base Build 568170503:
0.02%

Covered Lines:
799

Relevant Lines:
855

💛  - Coveralls

Pull Request Test Coverage Report for Build 817108869
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

55 of 58 (94.83%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 92.897%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Tindo.UgitCore/DefaultDataProvider.cs
1
2
50.0%

src/Tindo.UgitCore/Extensions.cs
52
54
96.3%

Totals

Change from base Build 568170503:
0.02%

Covered Lines:
799

Relevant Lines:
855

💛  - Coveralls


Update envs file for cloudsql-proxy

Description
Changes proposed in this pull request:

Update envs file for cloudsql-proxy for test env files support on ADO

Related issue(s)

https://github.com/kyma-project/test-infra/issues/10413

/t

/test all

/override post-main-tpi-cloudsql-proxy

/retest


Complement BlockLoad primitives with WarpLoad primitives

Sometimes loading at a per-warp level is necessary, having similar primitives to BlockLoad/Store would greatly enhance cub.

These were added in #357.


[SPARK-11658] simplify documentation for PySpark combineByKey

Can one of the admins verify this patch?

Thanks merging into master.


types: add interaction types

Rename the sub-module to commands to follow convention (see handlers and helpers)

Rename the sub-module to commands to follow convention (see handlers and helpers). Also, I would much prefer if there is no nested folder inside of the commands sub-module (now interactions).

commands are not interactions.
Discord will add different interaction types later so a separate commands folder would make sense.

Rename the sub-module to commands to follow convention (see handlers and helpers). Also, I would much prefer if there is no nested folder inside of the commands sub-module (now interactions).

commands are not interactions.
Discord will add different interaction types later so a separate commands folder would make sense.

Hmm, you are somewhat right, but can you un-nest the files and move them under interactions/* to just interactions/?

I will update helpers and handlers module accordingly.


[cucumber-expressions] Explain that double backslashes escape

Thnks for the improvement! However, this is not correct. Instead of suggesting double backslashes, could you add a paragraph below saying “You may have to escape the \ character itself with another \, depending on your programming language.”
For example, with ruby and single-quoted strings, a single backslash is what you should use.

Thank you @aslakhellesoy. I'll make changes according to that.

Next time you get feedback on a pull request, just push additional commits to the same branch to address feedback rather than creating a new PR.


oss_fuzz_checkout: support local ccache builds

This works but once we support the replayable scripts we need further adjustments.

We could potentially reduce more logic in the current cache rewriting logic, however, I'll leave it there until we have the replayable scripts integrated.


Add a label to the ceph-qa-chef run in task.internal

Tests failed for this pull request.
Refer to this link for build results: http://jenkins.ceph.com/job/teuthology-pull-requests/821/

Tests failed for this pull request.
Refer to this link for build results: http://jenkins.ceph.com/job/teuthology-pull-requests/822/


Existential Instantiation Rules

I could be mistaken but the code currently flags the following existential instantiation as incorrect:
   [1] (1) (∃x)(∀y)(Fx ≡ Fy)     P
[1][2] (2) (∀y)(Fc ≡ Fy)     (1)cEII

In the error window it says that (2) should read "(∃y)(Fc ≡ Fy)" which I don't think is correct.

I think you're right. I'll take a look at it in the next few weeks.
If you figure out the problem, feel free to submit a pull request!


update README, add building instructions for Linux

Running the emscripten compile results in this error; https://github.com/google/monster-mash/pull/3
I have updated the docker file PR to reflect this compile information.
The Linux compile instructions seem to work though.

Was not able to build using instructions here.
Build started, but
[  4%] Building CXX object CMakeFiles/monstermash.dir/defengarapl.cpp.o
/home/user/emsdk/upstream/emscripten/em++ -DAPP_VERSION=210301 -DEIGEN_MPL2_ONLY -DEIGEN_SPARSESOLVERBASE_H -DIGL_PARALLEL_FOR_FORCE_SERIAL -DIMAGE_MINIZ_EXTERNAL -DIMAGE_READ_WRITE -DIMAGE_SCALE -DNO_TIMER -DTRILIBRARY -DUSE_OPENGL_FOR_DRAWING_INSTEAD_OF_SDL -DUSE_SDL_GLES2 -D_SDL2_gfxPrimitives_h -I/home/user/monster-mash/src/../third_party -I/home/user/monster-mash/src/../third_party/eigen3-mod -I/home/user/monster-mash/src/../third_party/eigen3 -I/home/user/monster-mash/src/../third_party/libigl/include -I/home/user/monster-mash/src/../third_party/stb -I/home/user/monster-mash/src/../third_party/triangle -I/home/user/monster-mash/src/../third_party/zip-mod -I/home/user/monster-mash/src/../third_party/SDL2_gfx -I/home/user/monster-mash/src/../third_party/SDL2_gfx-mod -sWASM=1 -sUSE_SDL=2 -sUSE_SDL_TTF=2 -sALLOW_MEMORY_GROWTH=1 -sMINIFY_HTML=0 -sENVIRONMENT=web -Wno-sign-compare -Werror=return-type -Wno-narrowing -sFULL_ES2=1 -std=gnu++17 -o CMakeFiles/monstermash.dir/defengarapl.cpp.o -c /home/user/monster-mash/src/defengarapl.cpp
In file included from /home/user/monster-mash/src/defengarapl.cpp:19:
In file included from /home/user/monster-mash/src/../third_party/libigl/include/igl/fit_rotations.h:57:
In file included from /home/user/monster-mash/src/../third_party/libigl/include/igl/fit_rotations.cpp:12:
In file included from /home/user/monster-mash/src/../third_party/libigl/include/igl/polar_dec.h:50:
/home/user/monster-mash/src/../third_party/libigl/include/igl/polar_dec.cpp:42:17: error: use of undeclared identifier 'FE_UNDERFLOW'
  feclearexcept(FE_UNDERFLOW);
                ^
/home/user/monster-mash/src/../third_party/libigl/include/igl/polar_dec.cpp:44:19: error: use of undeclared identifier 'FE_UNDERFLOW'
  if(fetestexcept(FE_UNDERFLOW) || eig.eigenvalues()(0)/eig.eigenvalues()(2)<th)
                  ^
2 errors generated.
em++: error: '/home/user/emsdk/upstream/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -I/home/user/emsdk/upstream/emscripten/cache/sysroot/include/freetype2/freetype -Xclang -isystem/home/user/emsdk/upstream/emscripten/cache/sysroot/include/SDL2 -I/home/user/emsdk/upstream/emscripten/cache/ports-builds/harfbuzz/include/harfbuzz -DTTF_USE_HARFBUZZ=1 -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=14 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/home/user/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -DAPP_VERSION=210301 -DEIGEN_MPL2_ONLY -DEIGEN_SPARSESOLVERBASE_H -DIGL_PARALLEL_FOR_FORCE_SERIAL -DIMAGE_MINIZ_EXTERNAL -DIMAGE_READ_WRITE -DIMAGE_SCALE -DNO_TIMER -DTRILIBRARY -DUSE_OPENGL_FOR_DRAWING_INSTEAD_OF_SDL -DUSE_SDL_GLES2 -D_SDL2_gfxPrimitives_h -I/home/user/monster-mash/src/../third_party -I/home/user/monster-mash/src/../third_party/eigen3-mod -I/home/user/monster-mash/src/../third_party/eigen3 -I/home/user/monster-mash/src/../third_party/libigl/include -I/home/user/monster-mash/src/../third_party/stb -I/home/user/monster-mash/src/../third_party/triangle -I/home/user/monster-mash/src/../third_party/zip-mod -I/home/user/monster-mash/src/../third_party/SDL2_gfx -I/home/user/monster-mash/src/../third_party/SDL2_gfx-mod -Wno-sign-compare -Werror=return-type -Wno-narrowing -std=gnu++17 -c /home/user/monster-mash/src/defengarapl.cpp -o CMakeFiles/monstermash.dir/defengarapl.cpp.o' failed (1)
make[2]: *** [CMakeFiles/monstermash.dir/build.make:98: CMakeFiles/monstermash.dir/defengarapl.cpp.o] Error 1
make[2]: Leaving directory '/home/user/monster-mash/build/Release'
make[1]: *** [CMakeFiles/Makefile2:98: CMakeFiles/monstermash.dir/all] Error 2
make[1]: Leaving directory '/home/user/monster-mash/build/Release'
make: *** [Makefile:106: all] Error 2```

@gumlooter have a look at #3 for further information about this.

@tokejepsen sorry for missing your previous note, commit is definitely fix the error.

@googlebot I signed it!


Update issue 559

the favicon links did not got added to the git hub. so I placed the favicon in the images map instead

#559

Conflicts are resolved


feedback: feature request: Right click to mention line range in chat

Version
v1.10
Areas for Improvement

[X] UI/UX
[ ] Onboarding
[ ] Docs
[ ] Chat
[ ] Commands
[ ] Context
[ ] Response Quality
[ ] Other

What needs to be improved? Please describe how this affects the user experience and include a screenshot.
I find mentioning with line range in chat very useful and I use it a lot to manually gather best context to feed to the model. However, imo it is not quite smooth due to having to type manually which lines and which files, which sometimes are many in my case.
Describe the solution you'd like to see
I think I would be more productive if I could select pieces of code and then right click to select action like "Mention in chat" under Cody action menu. Doing this way would be fast in selecting many pieces of code from different files. Is something like this possible? Hope there will be similar feature like this soon.
Describe any alternatives that could be considered
No response
Additional context
No response

Closed by https://github.com/sourcegraph/cody/pull/3619