tabby-agent: 0.21.2 -> 0.22.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for tabby-agent is: Language server used to communicate with Tabby server
meta.homepage for tabby-agent is: https://github.com/TabbyML/tabby
meta.changelog for tabby-agent is: https://github.com/TabbyML/tabby/releases/tag/v0.22.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.22.0 in filename of file in /nix/store/qh37h35i9gv2wdb31cs1nm5vn1yk4hnd-tabby-agent-0.22.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

tabby-agent

Instructions to test this update (click to expand)

Either download from the cache:
nix-store -r /nix/store/qh37h35i9gv2wdb31cs1nm5vn1yk4hnd-tabby-agent-0.22.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
  --option trusted-public-keys '
  nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A tabby-agent https://github.com/r-ryantm/nixpkgs/archive/1bebe1562275c1127a768f0c7f3f9b5d7dbf1692.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/1bebe1562275c1127a768f0c7f3f9b5d7dbf1692#tabby-agent

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/qh37h35i9gv2wdb31cs1nm5vn1yk4hnd-tabby-agent-0.22.0
ls -la /nix/store/qh37h35i9gv2wdb31cs1nm5vn1yk4hnd-tabby-agent-0.22.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

tabby-agent

Maintainer pings
cc @khaneliman for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

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

x86_64-darwin

:white_check_mark: 1 package built:

tabby-agent

aarch64-darwin

:white_check_mark: 1 package built:

tabby-agent


Microsoft.Extensions.Hosting.WindowsServices net core

Net Core version can use Microsoft.Extensions.Hosting.WindowsServices to convert to a Windows service, right?
thank u feeback

I tried adding host.UserWindowsService() to code, did not work for me.


RDS parameter

Hello Team,
I hope you're doing well. I'm encountering an issue with the RDS when trying to use the serverless parameter. I've attached a screenshot for your reference.
The database works fine in serverless mode, but when I try to set it up in another configuration, it doesn't seem to work. Could you please check the attachment and help me resolve this issue?
Thank you for your assistance.

Hi, thanks for your time pointing this issue out! Please allow us a moment to try and replicate the error. If you have more details, it would also be appreciated. Thanks!


Add null check in case thread is null;

In some instances, if a user steps over on the last line of main, it can throw a NullReferenceException in the Step method. The only place I can see this happening was either thread or the _debuggedthread being null.
Added checks that will return E_FAIL if it is null.
@jacdavis @chuckries @gregg-miskelly

Tested by returning E_FAIL from Step and VSCode will return "Error: Unable to step next" if either object is null

Chuck made an OpenDebugAD7 change last week that may have made this unnecessary. But it certainly doesn't hurt anything.

👍

:+1:


fix incomplete help string

This PR fixes the incomplete help string for trickster_requests_total
closes https://github.com/Comcast/trickster/issues/40

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Hannes Rosenögger seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[#26][#31] [Android] [UI] As a user, I can see many question types: star + heart rating

Close #26
Close #31

What happened 👀
Implement the RatingBar composable to produce the display type: star and heart.
Insight 📝

Using emojis ⭐ and ❤ is a good idea to build the star & heart rating quickly instead of using drawable resources.
We need to return the answer.text value instead of the selected index value from RatingBar.

Proof Of Work 📹

star ⭐

https://user-images.githubusercontent.com/16315358/216915865-4e3161be-ed8c-435e-9d05-894e2bfbf3dc.mp4
2023-02-06 14:51:41.536 6826-6826/vn.luongvo.kmm.survey.android.staging D/SurveyQuestionKt$AnswerForm: STAR -> onInputChange: 1
2023-02-06 14:51:42.967 6826-6826/vn.luongvo.kmm.survey.android.staging D/SurveyQuestionKt$AnswerForm: STAR -> onInputChange: 2
2023-02-06 14:51:43.776 6826-6826/vn.luongvo.kmm.survey.android.staging D/SurveyQuestionKt$AnswerForm: STAR -> onInputChange: 3
2023-02-06 14:51:44.929 6826-6826/vn.luongvo.kmm.survey.android.staging D/SurveyQuestionKt$AnswerForm: STAR -> onInputChange: 4
2023-02-06 14:51:45.705 6826-6826/vn.luongvo.kmm.survey.android.staging D/SurveyQuestionKt$AnswerForm: STAR -> onInputChange: 5

heart ❤

Codecov Report

Merging #76 (cc279f4) into develop (9788e42) will increase coverage by 0.11%.
The diff coverage is 65.78%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##           develop      #76      +/-   ##
===========================================
+ Coverage    68.89%   69.00%   +0.11%
===========================================
  Files           70       72       +2
  Lines         1315     1381      +66
  Branches       214      227      +13
===========================================
+ Hits           906      953      +47
- Misses         303      313      +10
- Partials       106      115       +9

Flag
Coverage Δ

unittests
69.00% <65.78%> (+0.11%)
:arrow_up:

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

Impacted Files
Coverage Δ

...survey/android/ui/screens/home/views/HomeFooter.kt
41.53% <0.00%> (-0.65%)
:arrow_down:

...m/survey/android/ui/screens/survey/SurveyScreen.kt
68.75% <0.00%> (-1.10%)
:arrow_down:

...vey/android/ui/screens/survey/views/SurveyIntro.kt
85.00% <0.00%> (+2.07%)
:arrow_up:

.../luongvo/kmm/survey/android/ui/common/RatingBar.kt
51.72% <51.72%> (ø)

.../android/ui/screens/survey/views/SurveyQuestion.kt
84.37% <68.75%> (-1.63%)
:arrow_down:

...urvey/android/ui/screens/survey/QuestionUiModel.kt
84.61% <88.88%> (+4.61%)
:arrow_up:

.../survey/android/ui/screens/survey/AnswerUiModel.kt
100.00% <100.00%> (ø)

...urvey/android/ui/screens/survey/SurveyViewModel.kt
92.30% <100.00%> (+3.84%)
:arrow_up:

...otlin/vn/luongvo/kmm/survey/domain/model/Answer.kt
100.00% <100.00%> (ø)

... and 3 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Adding maven wrapper support

Impact

[ ] Bug fix (non-breaking change which fixes expected existing functionality)
[X] Enhancement/New feature (adds functionality without impacting existing logic)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Adding maven wrapper support.
DOCS notes: fix https://contribute.liquibase.com/code/get-started/env-setup/ to get rid of step 2 and update step 3
Partially fixes https://github.com/liquibase/liquibase/issues/5334 .

And replaced by https://github.com/liquibase/liquibase/pull/5487 🤦


how to make a  addEventListener like mouseover

how to make a  addEventListener like mouseover

hi @nancy-grow could you elaborate on that? and what would be your use case for that?
Here's an example having a mouseover on a heatmap if you haven't seen it yet:
https://www.patrick-wied.at/static/heatmapjs/example-legend-tooltip.html


Vulkan backend

Given that a (good) PR is raised, will a Vulkan backend be merged?

live long and prosper

live long and prosper

related: link

close as no planned

Is it possible to register back-end outside of repo? Or we should support the fork for a such backend?
It's https://github.com/tinygrad/tinygrad/pull/3898#issuecomment-2053930009 a valid point but what about community which want to run Tinygrad on the different devices?
Easy to add support a new hardware was a main pros for this project.

fork is encouraged. easy to add support != every device in tinygrad repo

sure, but will be good if it possible to use new render outside Tinygrad without full fork or monkey patch.


Feature Proposal: simplify scan/hscan/zscan iteration

Hi there,
I would like to propose a change to scan/hscan/zscan which would hide the complexity of managing cursors, and batching required to use scan.
My proposal is to add a new scan/hscan/zscan method which takes only a ScanParams object, and returns an Iterator. It would internally maintain a cursor and continue to yield results.
Is this something that you think would make sense, and would fit with the philosophy of the project? I would be happy to put a PR together if it is interesting.
Cheers,
Cory

@corydolphin thanks for your suggestion. This issue compliments with https://github.com/xetorthio/jedis/issues/968. Please take a look at that thread and leave your thoughts there so we can all share the best approach to do this.


Add "x min read" prompt

Example implementation: https://w3collective.com/calculate-reading-time-javascript/
This should be possible to disable it but enabled by default.

Should calculate read time based on original markdown source? or compile it to html, then use a virtual dom library to get actual text from compiled html?

Original markdown source makes more sense to be and wouldn't require any client side code.

I meant a virtual dom library on deno. also using the original markdown source means it's not gonna be 100% accurate (which is fine) since it will be unaware of stuff like repeated links (inside []) and other stuff.

That's fine enough, it will always be just an approximation.

okay.

This attempt doesn't work on something like Chinese or Japanese.

This attempt doesn't work for languages like Chinese or Japanese.

or author can override it？

#74 got merged a while ago, has this not been resolved?


ponyc treats "/*" in a string, inside a comment, as being a C comment:

Minimal Example:
actor Main
  new create(env: Env) =>
    None
/*
    let s: String = "/*"
*/

Playground link: https://playground.ponylang.io/?gist=dc7ece178b615fabb2091a135a1a8fbd
(Note - I can work around it by just adding an additional */ to the end of the file as pony appears to allow nested C comments in this case)

So this is  bit of an interesting take you have. It's a comment, so it isn't really in a string at that point.
That can be any text in there. That it happens to be Pony code for you true, but there's no good way to determine that. We could try parsing it as valid pony and see if it does but, well, that's a bit of a thing.
Which then comes to, should there be nested support... Let's take this:
actor Main
  new create(env: Env) =>
/*
    Comments can start with /* and end with */
*/
  None

Where does the comment start and end there?
Should it end at the first */ ?  It could if we dropped support for nested comments which perhaps is the right thing to do and then your initial one has no issue.
It's really a question of "when is a */ the end of the comment"
I wouldn't call this a bug. It is working as expected. A conversation could be had about changing expected behavior and the trade-offs therein, but I'm feel like this really should be a "won't fix". I am open to hearing other arguments for why we should have a different strategy.

I think that nested comments is more valuable than this edge-case.
I think you're right. "won't fix" is the right answer.


How does our linear solver compare to cuBLAS or cuSOLVER and should we maybe replace it?

Actually I would like to know how it compares performance wise. The question would be how far away (or ahead) we are of other implementations.
See also: http://stackoverflow.com/questions/6977677/blas-lapack-routine-for-doing-gaussian-elimination
and http://docs.nvidia.com/cuda/cuda-samples/index.html#advanced
In a potential replacement we would need to take into account that cuBLAS uses dynamic parallelism (capability 3.5)??

The solver is now using cuBLAS (LUP decomposition) on 64-bit systems.

I still would like to see a performance comparison. Will do this at a later time.


Update converter to 1.1.0

This change is

Thanks Ping. Waiting on https://github.com/tensorflow/tfjs-converter/pull/352 then I will kick this again.


x/tools/cmd/guru: better help for implements

I'm trying to find all interfaces in the standard library that implement io.Reader or are called NewDecoder. I thought guru would be able to help with this but I was unable to figure out how to use it correctly.

guru help implements displays the generic help text.

guru implements -h or guru implements help print:
$ guru implements -h
guru: bad position syntax "-h"

guru implements -scope github.com/golang/go/src/... io.Reader prints simply:
$ guru implements -scope github.com/golang/go/src/... io.Reader
Run 'guru -help' for more information.

Reading the help text more carefully now, I see that I'm supposed to pass a filename and a line number as the position argument. This is a little confusing, I think, since other "implements" tools (dominikh/implements, "go oracle") said that this was a drop in replacement, and neither of them required filenames or line numbers, I don't think.
Maybe I am an idiot and maybe I should read more carefully but I wasn't able to find examples of successful usage when searching Google, and I wasn't able to get it to work, and it's possible that other users are having the same problems.

Although guru is a command-line tool, it is intended to be executed by your editor.  The output of most guru queries is a list of diagnostics, each prefixed by a source file name, line number, and column number, similar to the diagnostic output of a typical compiler. Most editors can display compiler output in a buffer so that clicking on a diagnostic opens the relevant source file at the right position.

User manual: http://golang.org/s/using-guru
Was listed in the guru -help page.

I saw that link and it's also unhelpful for the purpose described in the ticket, since the only described usage for "implements" is a GIF of highlighting text in a text editor

Seems like you didn't even read my quote, guess I found where the issue is...

Although guru is a command-line tool, it is intended to be executed by your editor.

The output of most guru queries is a list of diagnostics, each prefixed by a source file name, line number, and column number, similar to the diagnostic output of a typical compiler. Most editors can display compiler output in a buffer so that clicking on a diagnostic opens the relevant source file at the right position.

User manual: http://golang.org/s/using-guru

Was listed in the guru -help page.

I read your quote. The problem is that other tools not designed to be
used from text editors now say "this is deprecated, use guru" but guru is a
poor fit for their use cases.
On Tue, Apr 18, 2017 at 15:19 stemar94<EMAIL_ADDRESS>wrote:

Seems like you didn't even read my quote, guess I found where the issue
is...
Although guru is a command-line tool, it is intended to be executed by
your editor.
The output of most guru queries is a list of diagnostics, each prefixed by
a source file name, line number, and column number, similar to the
diagnostic output of a typical compiler. Most editors can display compiler
output in a buffer so that clicking on a diagnostic opens the relevant
source file at the right position.
User manual: http://golang.org/s/using-guru
Was listed in the guru -help page.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/20024#issuecomment-295000721, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAOSI0zeGqu19Q6Zmn6BtOwOHV1vLzjlks5rxTcGgaJpZM4NAd3w
.

--
--
Kevin Burke
925.271.7005 | kev.inburke.com

So that's then the fault of those tool maintainers or isn't it?

I think it's a good idea to improve the help here, or make the tool able to support passing in type names, or line and column numbers rather than file byte offsets. The command help doesn't describe the supported formats either.
Regardless of who's fault it is, it's confusing to people who are trying to use Go if various documents are pointing them at guru and guru doesn't solve their problem, so I think it would be appropriate to improve the documentation to reduce that confusion.
Regardless, this StackOverflow answer helped me: https://stackoverflow.com/a/31759333/1037465
It turns out that the local godoc -http=":8080" -analysis="type" command also enables searching for implementations (the online documentation doesn't) and you can do it from the Web browser.

I'd rather be able to type guru implements io.ReadSeeker though.

Correction: guru requires an offset instead of a line number.

guru was deleted in https://github.com/golang/go/issues/65880; closing as obsolete. Incidentally, gopls has the same issue.


Client credentials grant - forwarding proxy #35

…-signing mode

Title

Summary

Type
[] Bug fix
[] Feature request
[] Enhancement
[] Docs
Why?

Requirements

How to try it?

Documentation

Additional Information

Checklist:

[ ] My change requires a change to the documentation or CHANGELOG.
[ ] I have updated the documentation/CHANGELOG accordingly.

@adevnoob


UofT-DSI |  Python - Assignment 2

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
I am currently adding new functionality to my Assignment 2. Specifically, I am implementing additional features to improve the program's performance and enhance its user interaction. This includes optimizing existing code, utilizing libraries such as NumPy for efficient data handling. I am also ensuring that the code is well-structured, with proper documentation and testing in place to ensure smooth execution and maintainability.
What did you learn from the changes you have made?
I learned how to use NumPy to efficiently calculate summary statistics such as mean, median, and standard deviation, which has improved my understanding of data manipulation. Additionally, I learned how to open and process .csv files in Python using libraries like csv and Pandas, which made handling large datasets much easier. These changes deepened my understanding of how to work with real-world data and apply various Python libraries to streamline the workflow. I also gained more confidence in debugging and refining my code to make it more efficient and readable.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Yes, I considered using tables and charts to better visualize the data. I was thinking about how to create them using Python, possibly by leveraging libraries like Pandas for tables and Matplotlib or Seaborn for charts. These tools would allow me to generate clear, informative visual representations of the data for easier analysis.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
I used a for loop in part 2, but after researching and thinking about it, I found another approach that didn't require a for loop. The new method is easier to understand.
How were these changes tested?
I tested the changes by running the code multiple times and identifying any errors that occurred. I then debugged the issues by carefully reviewing the error messages, adjusting the code, and re-running it to ensure that all problems were resolved. I also used sample data to verify that the code produced the expected results, ensuring the changes worked correctly under different conditions.
A reference to a related issue in your repository (if applicable)
I utilized resources such as Google and ChatGPT to research potential solutions and clarify concepts. While there wasn't a specific issue directly related to the repository, these tools helped me understand best practices and alternative approaches, which were applied during the development process.
Checklist

[ ] I can confirm that my changes are working as intended

Assignment marked.


[FIREBASE_ADMOB] Two simultaneous listeners not working

Describe the bug
With a listener attached to both an interstitial and a banner, only one listener is 'listened' to.
To Reproduce
Steps to reproduce the behaviour:

Add both an interstitial and a banner with listeners on each.
Printed events are only for one ad type

Expected behaviour
I would expect different outputs for each listener so as to act accordingly on the responses.
  InterstitialAd interstitialAd;
  BannerAd bannerAd;

  BannerAd myBanner() {
    return BannerAd(
      adUnitId: 'ca-app-pub-...',
      size: AdSize.smartBanner,
      targetingInfo: targetingInfo,
      listener: (MobileAdEvent event) {
        print("BannerAd event is $event");
        if (event == MobileAdEvent.failedToLoad) {
          bannerAd..load();
        } else if (event == MobileAdEvent.loaded) {
          bannerAd
            ..show(
              anchorOffset: 0.0,
              anchorType: AnchorType.bottom,
            );
        }
      },
    );
  }

  InterstitialAd myInterstitial() {
    return InterstitialAd(
      adUnitId: 'ca-app-pub-...',
      targetingInfo: targetingInfo,
      listener: (MobileAdEvent event) {
        print("InterstitialAd event is $event");
        if (event == MobileAdEvent.failedToLoad) {
          interstitialAd..load();
        } else if (event == MobileAdEvent.closed) {
          interstitialAd = myInterstitial()..load();
        }
      },
    );
  }

    @override
  void initState() {
    super.initState();
    bannerAd = myBanner()..load();
    interstitialAd = myInterstitial()..load();
  }

All I get is reports from the banner ad since it is initialised first in initState, BUT it is clear that the events are for both the banner AND the interstitial, even though they are from one listener. I want the interstitial to reload when it is closed and the banner ad to show when it is loaded.
Maybe I've done something incorrectly?

Duplicate of #63
@hasen6 Thank you for your code example. I'm closing the issue as duplicate, reference on it will be in the older issue.

That issue seems different, is not that the InterstitialAd listener is not working, but rather that they can't function at the same time. Both ad listeners work perfectly fine, banner and interstitial, as long as one is disabled.

Can confirm but only for iOS. Android is working with multiple listeners for me

Also to add to this(not sure if these two issues are connected?), it seems like if you have an interstitial and a banner and you dispose one of them with .dispose() it also disposes the other - even though they have different IDs. I think there might be an issue with how IDs are being handled in the iOS code.
https://github.com/FirebaseExtended/flutterfire/blob/master/packages/firebase_admob/ios/Classes/FirebaseAdMobPlugin.m#L235
https://github.com/FirebaseExtended/flutterfire/blob/master/packages/firebase_admob/ios/Classes/FLTMobileAd.m#L89

Same here, only for iOS.
My scenario:
I have one fixed banner on the bottom of the app, shown 100% of the time (except when the user subscribes to a in app purchase, in this case, I .dispose() the banner.
Additionally, I have interstitial and rewarded videos that are displayed when the users haven't enough virtual coins.
There is a Firebase Remote Config that chooses between those two, so 66% shows interstitial, 33% rewarded videos.
Then, I expect two events in the interstitial/rewarded videos:

For interstitial, I give users some coins when the event is impression (this only works on iOS) or opened (this only works on Android) and leftApplication gives them extra coins (because they clicked the ad)
For rewarded videos, rewarded and leftApplication

Only for iOS, no interstitial events are dispatched, so, basically, it never works (if I force them to show, it appears, once (because my reload is in the closed event, which never happens). If I try to redisplay it, it says something like "this already been displayed, so, won't display it again" (there is an actual error message in console, from "google").

Maybe this issue is related somehow to https://github.com/FirebaseExtended/flutterfire/issues/1328 ?

This issue is still unresolved as of the date of this comment

Yeah it still hasn't been resolved. It's really just a matter of somebody fixing the class variable issues described in #1328. Myself and a couple of others made some small changes after forking and it seemed to function as intended. I would have a crack at it but like I said in #1328 I'm not that confident with Objective-C and I think the reason this issue exists in the first place is because somebody without extensive knowledge of Objective-C created the plugin. When I first noticed the issue I looked at the source code and couldn't understand what was wrong until I read @ouxiaoyong wrote weeks later in #1328.

I have similar issue that on iOS the smart banner ad is not shown if medium rectangle was shown before.

every time i wanted to call the interstitial ad i call like this:
interstitialAd = createInterstitialAd()..load();
interstitialAd..load()..show();
and this fixed the error of showing ad only once in the widget's lifetime.
Hope it helps someone.

That's what worked for me (in Flutter):
`
import 'package:firebase_admob/firebase_admob.dart';
InterstitialAd _interstitialAd;
bool _isInterstitialAdReady;

void prepAd(){
  initState();
  _loadInterstitialAd();
}

void runAd() {
  _interstitialAd.show();
}

void initState() {
  _isInterstitialAdReady = false;
  _interstitialAd = InterstitialAd(
    adUnitId: InterstitialAd.testAdUnitId,
    listener: _onInterstitialAdEvent,
  );
}

void _loadInterstitialAd() {
  _interstitialAd.load();
}
// TODO: Implement _onInterstitialAdEvent()
void _onInterstitialAdEvent(MobileAdEvent event) {
  switch (event) {
    case MobileAdEvent.loaded:
      _isInterstitialAdReady = true;
      break;
    case MobileAdEvent.failedToLoad:
      _isInterstitialAdReady = false;
      print('Failed to load an interstitial ad');
      break;
    case MobileAdEvent.closed:
      dispose();
      prepAd();
      break;
    default:
    // do nothing
  }
}

void dispose() {// TODO: Dispose InterstitialAd object
  _interstitialAd?.dispose();
}`

I ran prepAd() once in the beginning and then just runAd() when I need it. You can check _isInterstitialAdReady == true inside runAd() if you want

The firebase_admob plugin will be deprecated in April 2021 in favor of Google Mobile Ads SDK for Flutter.
Google Mobile Ads SDK for Flutter is a new Flutter plugin that supports more Ads formats than firebase_admob does. Google Mobile Ads SDK for Flutter currently supports loading and displaying banner, interstitial (full-screen), native ads, and rewarded video ads across AdMob and AdManager. It also supports displaying banner and native ads as Widgets as opposed to being overlayed over all app content.
We're now recommending projects currently using firebase_admob migrate to Google Mobile Ads SDK for Flutter following the instructions outlined here.
Issues with migrating or with using the new package should now be raised over on the Google Mobile Ads SDK for Flutter repository.

The firebase_admob plugin will be deprecated in April 2021 in favor of Google Mobile Ads SDK for Flutter.
Google Mobile Ads SDK for Flutter is a new Flutter plugin that supports more Ads formats than firebase_admob does. Google Mobile Ads SDK for Flutter currently supports loading and displaying banner, interstitial (full-screen), native ads, and rewarded video ads across AdMob and AdManager. It also supports displaying banner and native ads as Widgets as opposed to being overlayed over all app content.
We're now recommending projects currently using firebase_admob migrate to Google Mobile Ads SDK for Flutter following the instructions outlined here.
Issues with migrating or with using the new package should now be raised over on the Google Mobile Ads SDK for Flutter repository.

That plugin is a joke. Most events won't even work (such as AdClosed).
Guess we'll have to earn money through mopub then...


Allow selecting multiple tags

Can be done with /logbook?tag=tag1&tag=tag2.  Does and and rather than an or, which seems to make more sense?


No news from this?

Hey, was deeply interested in this, but I assumed the project is currently dead?

Hi, i was working on something like this on my previous work. Didn't have much time to actually made it as a library.
Anyway i christmas vacation is almost there, i may have some spare time to dedicate on this.

Ah! Awesome then, I might start working on this too, I'll try to push some stuff here if I find the time during the week

I think removing JQuery is too much right now, what do you think about it?

I think it's unnecessary too, we should just wrap it like angular slick is doing!
What do you think?

Well ideally i would like to remove jquery from it ( still a huge dep especially on angularjs projects ) but i realise that at the moment it would require more time to do that.
Basic wrapper is done, just want to finalise it and add options to it. Later today gonna push it on the repo

Basic wrapper is published, i also published on npm and bower. I added a couple of todos that will be nice to have, maybe later on i can tackle them.

This is awesome news! I'm surprised that no one has ever developed a jquery-free version of this awesome plugin, especially since it's from medium. Do you think we should create a new repo for this purpose, and then move this plugin peer dependency from the jquery-based to ours?
Anyway, thanks a lot for your work!
—
Sent from Mailbox
On Wed, Dec 23, 2015 at 6:00 PM, Fabrizio Fortunato
<EMAIL_ADDRESS>wrote:

Closed #1.
Reply to this email directly or view it on GitHub:
https://github.com/izifortune/angular-fluidbox/issues/1#event-499596155


Roads don't seem to be generating

In version 0.1.3, roads don't seem to be appearing anywhere I go. I went to the center of New York City (lat: 40.634799, long: -73.969231) and didn't see anything there. I also checked the same location used in your Yavapai Point screenshot, as there appears to be a small road on the left, but didn't see anything there on my world. This is also after I checked to make sure Generate Structures was on and the Planet Earth's Spawn Roads option was on too. Am I missing anything or is there a bug preventing the world from generating them?

Please enable the log from your launcher, most likely it is regarding the certificates that Overpass utilizes.
We have instructions to fix that in our troubleshoot documentation

Thanks for the quick reply. It was a certification issue with the roads. I followed the instructions in your troubleshooting document for finding and then switching JVM through the Minecraft launcher and that worked like a charm.


HTTP POST request for user creation

Description
Implemented an HTTP POST request for a forum user creation using the DB schema from config/db_schemas.

Related Issue

Solves https://github.com/SE701-T5/Backend/issues/18

Type of change

[x] New feature (enhancement)
[ ] Bug fix

How Has This Been Tested?

[ ] Manual testing

Checklist:

[x] Does a similar (open or closed) pull request not already exist?
[x] Is the pull request head repository a fork repository?
[x] Is the pull request compare branch a development branch?
[x] Is the code documented, particularly in hard-to-understand areas?
[x] Does the code build without new warnings?
[ ] Has testing been performed that proves changes are effective and work?
[x] Has a self- and/or peer-review of the code been performed?
[x] Have dependent changes been merged and published in downstream modules?
[ ] Does all new and existing automated testing pass?
[x] Is the person responsible for the repository assigned to the pull request?
[x] Is the pull request linked to a project?
[x] Is the pull request linked to a milestone?

For more information, refer to the Contributing Guidelines document.

Currently, my unit test for this HTTP post request is failing because it's hanging (taking longer than 2000ms) I'm not sure why that this. If someone sees the problem please let me know.

I don't think this involves a fix for any existing bug


fix: Navigation Issues in FluentHorizontalScroll

🐛 Bug Report
On Edge and Chrome , FluentHorizontalScroll not moving elements in the correct direction and stops working altogether after the first event. This happens also when I enable external navigation. Same code on Firefox works properly.
Videos of the issue can be seen here (includes behaviour on edge and firefox):
Edge
https://github.com/microsoft/fluentui-blazor/assets/13330897/7c61ec26-0284-487b-a8ba-cb2ba4b0d08b
FireFox
https://github.com/microsoft/fluentui-blazor/assets/13330897/9609d56c-de4c-4162-a7fb-f52f3e3da264
💻 Repro or Code Sample

     <FluentLabel Typo="Typography.H4">Change To</FluentLabel>
     <FluentHorizontalScroll Speed="500" View="HorizontalScrollView.Mobile" Easing="ScrollEasing.EaseInOut" Style="max-width:475px; padding-left:12px; padding-right:12px;" @ref="_horizontalScroll">
         @if ((OtherParts != null) && (OtherParts.Any()))
         {
             @foreach (var part in OtherParts)
             {
                 <RobotPartComponent RobotPartModel="part" />

                 @* <button @onclick="@(() => ReplaceRobotPart(part.UniqueCode, part.TypeCode))">Append @ComponentTypeDisplayName</button> *@
             }
         }
     </FluentHorizontalScroll>
     <FluentFlipper Direction="FlipperDirection.Previous" @onclick="() => _horizontalScroll.ScrollToPrevious()" />
     <FluentFlipper Direction="FlipperDirection.Next" @onclick="() => _horizontalScroll.ScrollToNext()" />

🤔 Expected Behavior
Works the same across browsers :)
🔦 Context
I am trying to create a scrollable list of items
🌍 Your Environment

OS & Device: WIndows 11 22H2, PC
Browser: Edge  118.0.2088.61, Firefox 118.0.2 (64-bit)
.NET and FAST Version : Net 7, Microsoft.Fast.Components.FluentUI  Version="3.2.0"

Note that this behaviour is also present using mobile navigation

Have you tried using a FluentButton to replace the FluentFlipper?
Reviewing the webcomponent wrapper of the flipper, I noticed that unlike the FluentButton, it doesn't have the onclick action referenced.
The association that you are doing in your code, is provided by default by Blazor in all the components that are developed, but it does not guarantee that the call will be effective.
While in the FluentButton component it does have an EventCallback where it is notified when the button is clicked.

As suggested by @ggomarighetti (thanks!) you indeed need to use buttons for this. See https://www.fluentui-blazor.net/HorizontalScroll#externalnavigation

Hi sorry was a bit away and could not respond.  So i tried with buttons as suggested (see code below) but the same thing is happening
`
Change To
<FluentHorizontalScroll Speed="500" View="HorizontalScrollView.Mobile" Easing="ScrollEasing.EaseInOut" Style="max-width:475px; padding-left:12px; padding-right:12px;" @ref="_horizontalScroll">
@if ((OtherParts != null) && (OtherParts.Any()))
{
@foreach (var part in OtherParts)
{

@* <button @onclick="@(() => ReplaceRobotPart(part.UniqueCode, part.TypeCode))">Append @ComponentTypeDisplayName *@
}
}

<FluentButton Appearance="Appearance.Accent"  @onclick="() => _horizontalScroll.ScrollToPrevious()" Style="align-content:center">
Prev

<FluentButton Appearance="Appearance.Accent" @onclick="() => _horizontalScroll.ScrollToNext()" Style="align-content:center">
Next

`
https://github.com/microsoft/fluentui-blazor/assets/13330897/6f11ed56-f6f3-4640-a1e5-e71b8bc1bc92

Your problem might be caused by the fact thet you are using a for loop inside the horizontal scroll. I suggest to look at (for example):

https://blazor-university.com/components/render-trees/optimising-using-key/
https://shauncurtis.github.io/Building-Blazor-Applications/For-ForEach-in-Blazor.html
https://learn.microsoft.com/en-us/aspnet/core/blazor/components/element-component-model-relationships?view=aspnetcore-7.0


Jepsen setup for Chardonnay

I have refactored the docker file to use a separate base layer for jepsen which is still built off of Debian bookworm but has jepsen specific dependencies and configuration installed. I am using a BUILD_TYPE arg to isolate the jepsen specific changes.
Also fixed a start up bug in epoch publisher that was preventing this job from coming up if epoch service wasn't already running.

@tamer-eldeeb @yanniszark Got it working. All the servers come up and epoch gets published. I'll work on polishing this up. If you have ideas around how to structure the Dockerfile so that we can still share the common parts, let me know - we probably should not load all of the jepsen deps in the main image but I guess it is not harmful to leave it in there either.

@tamer-eldeeb  I have found a decent solution to isolate the jepsen related changes in the Dockerfile. PTAL when your tests are done. I can demo it to the group next meeting.

Hey @purujit thanks a lot and sorry for the wait on the review. One thing I don't understand 100% is the reason for refactoring the images to use systemd, as well as the purpose of the systemd chardonnay service in every image. Generally, systemd does similar things to k8s/docker (e.g., health / readiness checks), so imo we should only introduce the extra complexity of dealing with systemd (which in this case seems to be maintaining an extra image for compatibility + logging I would guess) only if necessary (e.g., we might need to start a lot of different binaries / services in the same container).

More details in the other comments but I mostly tried to make minimal changes to the Docker setup in the jepsen repo and systemd is not strictly necessary - it was just one of the options I saw people use in other repos. Open to other ideas - we can always iterate.

without interrupting the boot-debian-base script that seems to be core to the base image for jepsen
Very nice, makes sense! I wasn't sure if boot-debian-base was something Jepsen needed. I'll read up on it a bit later, but maybe it's worth leaving a small comment about it and why Jepsen needs it / what's the general deployment arch for it.

I'll take a closer look and test later today since I'll be flying soon.

Took a final pass, looks good to me! AFAIK, boot-debian-base isn't really a Jepsen thing, it just sets up systemd. The core issue here as far as i understand is that Jepsen requires ssh access. To satisfy that we need to also run sshd in our containers, which means that now we're running 2 processes instead of 1. Thus, we introduce systemd to take care of the process management. Kinda unfortunate that Jepsen can't use kubectl :/
Nice idea for the Dockerfile structuring. The format is quite limiting, so this is a neat solution.


Discussions are not saved

Expected Behavior
I expect the discissions (Chats) to be saved.
Current Behavior
Discussions are not saved. When generation ends this is not detected bij the UI. It keeps saying  "Stop Generating". Since the end of generation is not detected the message is never saved.
Steps to Reproduce

Install WebUI:
I am not running it on localhost but on <IP_ADDRESS>. In order to do that I edit /config/local_default.yaml host entry.
I change the first line in /web/.env: change localhost to <IP_ADDRESS> and then run "npm install" and "npm run build" in the /web folder. If I don't do that last part with npm I get Cross site scripting errors when trying to send questions to the server.
Start two chats: in one chat ask a question and wait for generation to end.
When done switch to the other chat and back again: the answer that was just generated is gone.

Possible Solution
I think the string something like: '## Done ##' that was added previousely in the output of the model is no longer produced so the system does not know when generation is done.
Context
Not running on /localhost but on LAN adress.
Screenshots
If applicable, add screenshots to help explain the issue.

It may not be relevant to this topic, but just in case
I get this error even in old UI
When I change config to Old UI and start
Failed to query the discussion
After that, if you enter HELLO, the following error message will appear
Please open your browser and go to http://localhost:9600 to view the ui
debug mode:true
******************* Building Backend from generation Process *************************
Loading backend llama_cpp_official install ON
Backend loaded successfully
Loading model : models\llama_cpp_official\ggml-mpt-7b-chat.bin
llama.cpp: loading model from ./models/llama_cpp_official/ggml-mpt-7b-chat.bin
error loading model: unknown (magic, version) combination: 67676d6d, 0000c500; is this really a GGML file?
llama_init_from_file: failed to load model
Traceback (most recent call last):
File "C:\z\GPT4All\gpt4all_api\api.py", line 194, in rebuild_model
self.model = self.backend(self.config)
File "C:\z\GPT4All\backends\llama_cpp_official_init.py", line 43, in init
self.model = Llama(model_path=f"./models/llama_cpp_official/{self.config['model']}", n_ctx=self.config["ctx_size"], n_gpu_layers=self.config["n_gpu_layers"], seed=seed)
File "C:\z\GPT4All\env\lib\site-packages\llama_cpp\llama.py", line 162, in init
assert self.ctx is not None
AssertionError
Couldn't build model
******************* Building Personality gpt4all from generation Process *************************
************ Personality gpt4all is ready (generation process) ***************************
No model loaded. Waiting for new configuration instructions
Listening on :http://localhost:9600
Client connected

Loading discussion
Recovered json data
ERROR:GPT4All-WebUI:Exception on /load_discussion [POST]
Traceback (most recent call last):
File "C:\z\GPT4All\env\lib\site-packages\flask\app.py", line 2190, in wsgi_app
response = self.full_dispatch_request()
File "C:\z\GPT4All\env\lib\site-packages\flask\app.py", line 1486, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\z\GPT4All\env\lib\site-packages\flask\app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "C:\z\GPT4All\env\lib\site-packages\flask\app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "C:\z\GPT4All\app.py", line 611, in load_discussion
print(f"    Discussion id :{discussion_id}")
UnboundLocalError: local variable 'discussion_id' referenced before assignment

and the following tab will appear
"It seems that no model has been loaded. Please download and install a model first, then try again."
This error does not appear in the NEW UI

Think you're supposed to put MPT models in the models/c_transformers folder?
I say this because I notice you're running ggml-mpt-7b-chat.bin which is an MPT model and you've put it in llama_cpp_official
Anyways unless llamacpp natively supports MPT models now too? Lot of the latest TheBloke repo's on hugging face specifically mention it doesn't work on llama.cpp.
Anyways hope that's helpful

Did some more research. It depends on the model. The ones that give problems for me in py_llama_cpp backend are ggml-vic13b-uncensored-q4_0.bin and medalpaca-13B.ggmlv2.q4_0.bin

Wonderful, you saw through that I was an amateur.
I didn't think too much about which MODEL is related to which folder.
The reason is that it worked even if I put all the various MODELs into llama_cpp_official.
I thought it was structured so that it could be read regardless of which folder it was placed in.
I tried putting it in c_transformers, but the behavior doesn't change.
In my case, TheBloke only works with GGML V2 type.

Hi guys. The problem with this is that. Ackends change and they change fast and break compatibility. That's why i end up having the models zoo broken.
Need someone to help me maintain the zoo.

Hi guys. The problem with this is that. backends change and they change fast and break compatibility. That's why i end up having the models zoo broken. Need someone to help me maintain the zoo.

This is the models I've tested so far: https://github.com/ParisNeo/gpt4all-ui/pull/222

It would help if it saved discussions on cancel generation, or even after each word. I can't figure out in the code how this database works or where or when it even saves stuff.

Hi. I have seen this problem last night. I'll fix it. And yes, good idea about saving when you press ca'cel

It would help if it saved discussions on cancel generation, or even after each word. I can't figure out in the code how this database works or where or when it even saves stuff.

not sure what you are describing, but discussion is saved once you get a response or once discussion is created.
Maybe something else broke down while you were typing your message, good to open up web browser > inspect > console  and also check the webui.bat/sh conoler for any errors.
Would be even better if you could record your errors on video or something.. pictures..

If a discussion is generating. Open a different browser and go to that discussion. It will remain empty until generation is done. Only then is the discussion saved and available in the other browser. The generating discussion is only viewable from the browser it has been started in until it is completely done generating. Only then is it saved. Sometimes a model does not signal is stopped generating. Alhough CPU usage drops and the answer is clearly done, the model does not signal it stopped, so the discussion is never saved. I must say that the last couple of days I do not have this problem anymore and the models all seem te signal that they stopped generating.


createSite build target needs to recursivley copy folder contents

Creating an 'icons' dir inside the 'images' dir and running a build does not include the 'icons' dir.
The createSite target should be adjusted such that the includes attribute for images looks like this:
<fileset dir="${proj.dir}" includes="images/**"/>

Fixed in commit #218c681.


Update README.md

Path of thingy changed.  I was interested and wanted to read.

This is a duplicate of #8 (which hasn't been merged either).

So this makes it unnecessary or invalid in some way?  I would think proper documentation is at the heart of any project.  It's not my project, just my two cents.  If it doesn't get merged, so be it.  Let the next people have to go through the procedure I had to rather than have a properly working link.


Issue#186

Implemented test() method in demos/link-prediction_hinsage/movielens-example.py
#185 and #186

Coverage remained the same at 84.253% when pulling 7e80e8d19363a56ab6382643785e1449742af642 on issue#186 into cd093ec74f9018195670ac493d2631dbeaf26454 on develop.

This was closed accidentally, see: https://github.com/stellargraph/stellargraph/issues/786.

New PR: https://github.com/stellargraph/stellargraph/pull/796


Create a new page for yaml editor

close #5172

Coverage remained the same at 33.933% when pulling cd501acb87281ef16888abfdaaf5a65b5f654cf4 on SwordFaith:swordfaith/yaml_edit_page into 6f09b51e88a9dbed246df7bba358c7d40a02ee0e on microsoft:master.

LGTM :shipit:


[5.4] allow to set assoc option

Allowing to set the flag of json_decode function.

No plans to make this customizable.


Items of Digital order not filled for amazon.fr

it seems to be a small issue with strategy1 where Commandé is capitalized
    const itemElems: Node[] = util.findMultipleNodeValues(
        '//*[contains(text(), "Ordered") or contains(text(), "Commandé")]/parent::*/parent::*/parent::*',


Using with Nuxt3

I am trying to test this with Nuxt 3 and I am getting document is not defined when the page loads.
I have tried using the transpile settings in the nuxt config and  wrapped around the plugin but no luck.
Any ides how I could get this working?

I think it's not related to json-editor-vue, check https://stackoverflow.com/questions/46058544/document-is-not-defined-in-nuxt-js .

Hello.
Yes this thread is about the topic at hand but it is referring to Nuxt 2 not Nuxt 3.
Essentially Nuxt loads from the server side since its server side rendering so the document is not available at time of compiling.
The thread posted highlights solutions to make a plugin run in the client only however this is a little different in Nuxt3
The bottom line is that none of the solutions to make json-editor-vue work in Nuxt 3 on the client side do not work which is strange as I have done this with many other plugins that also require the document and usually the solutions like transpile or client-only work.
So as it stands this plugin seems incompatible with Nuxt3 unless I am missing something.

I can reproduce this with svelte-jsoneditor in nuxt 3 with the codes below:
<template>
  <client-only>
    <div id="JSONEditor" />
  </client-only>
</template>

<script setup>
import { JSONEditor } from 'svelte-jsoneditor/dist/jsoneditor.js'
import { onMounted } from 'vue'

onMounted(() => {
  new JSONEditor({
    target: document.querySelector('#JSONEditor'),
  })
})
</script>

And another lib has the same problem: https://stackoverflow.com/questions/71484930/using-aos-with-nuxt3.
So it's not necessarily an issue of svelte-jsoneditor.
My suggestion is opening an issue to svelte-jsoneditor or nuxt 3 with minimal reproducible example.

Usage with nuxt 2 / 3 is now been documented.


fix padding height on all conversations css

Before:

After:

The two rows not being aligned has bothered me for a while.

The two rows not being aligned has bothered me for a while.

yeah it's slightly annoying that it's not aligned (especially since it gets so close), but the conversation header is sized dynamically in order to keep the text vertically centered, so if both name and email are present it will look like this (slightly "taller" rather than shorter):

or on smaller screens, like this:

i imagine in the near future we'll be adding more information/functionality to these components anyway, so i don't think getting the alignment perfect is worth the headache... here are Intercom's headers for reference (notice none of them are aligned):

closing this for now, but feel free to reopen if you have any other ideas for how to improve the design here!

yeah it's slightly annoying that it's not aligned (especially since it gets so close), but the conversation header is sized dynamically in order to keep the text vertically centered, so if both name and email are present it will look like this (slightly "taller" rather than shorter):

or on smaller screens, like this:

i imagine in the near future we'll be adding more information/functionality to these components anyway, so i don't think getting the alignment perfect is worth the headache... here are Intercom's headers for reference (notice none of them are aligned):

closing this for now, but feel free to reopen if you have any other ideas for how to improve the design here!


grafana 3.0-pre1 dropped... will this dashboard work?

subject says it all

I just tried with 3.0 and got the following error:
Script Error
Please make sure it exists and returns a valid dashboard

Hi lawe,
I didn't had a chance to test the dash with 3.0 yet. I plan to reserve couple of hours and fix it on Tue. Sorry for the inconvenience.

+1
Especially looking forward to retention policy seletion support. From grafana CHANGELOG.md:

InfluxDB: Support for policy selection in query editor, closes #2018

Will you address this too?

Hi nordewal,
All getdash doese is generates json for the dashboard based on the influxdb data and getdash plugin configs, so grafana editor features are not affected and should work as advertised.

Hi lawre,
Where can I get 3.0-pre deb package for ubuntu? I'm not too excited about building grafana from sources and can't locate the deb to download.

Grafana 3.0 beta was shipped. Added beta support :).


UNABLE TO BUILD THE APP READY FOR DEPLOYMENT

Describe the bug
UNABLE TO BUILD THE APP READY FOR DEPLOYMENT

Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-x74kxp
Steps to reproduce
I ran a prompt but cant preview the output because it cannot build the app after multiple attempts
Expected behavior
I ran a prompt but cant preview the output because it cannot build the app after multiple attempts
Screen Recording / Screenshot

Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 83101248,
  "usedJSHeapSize": 73136808,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = samora254
Chat ID = f185339153fa

Additional context
Error:
Failed building the project. Make sure the build command is correct and try again.

Hey @samora254! Looks like vite is missing from your dependency list. You can edit your package.json to add it and then run npm install to install it.

i've just opened a pr to add auto-fixes for build errors encountered inside deployment build commands


Test request not showing the variable for baseURL

What happens?
We have configured the variable workspace for the baseURL of server:
openapi: 3.0.0
servers:
  - description: NeetoCal APIs
    url: https://{workspace}.neetocal.com/api/external/v1
    variables:
      workspace:
        default: spinkart   # This is the default value
        description: Your workspace's subdomain
Here is my OpenAPI spec file
What did you expect to happen?
Editing the workspace is not getting reflected in Test request:
https://deepanshu-bigbinary.neetorecord.com/watch/f363e4e1-385f-4d4f-9967-29b5af699323
OpenAPI Document
No response

hey @deepanshu-rajput-git thank you for reporting this! a PR has been open regarding this.

@antlio, please keep me updated on the release.

hey @deepanshu-rajput-git, the fix has been deployed yesterday, can you let me know how everything is running now for you?

@antlio : No, its not working for me.

Here is the link to my API docs

@deepanshu-rajput-git sorry i mixed things up with another of your issue (early morning!). the PR is under review, i'll keep you updated when it's deployed!

@antlio: Are the updates deployed?

hey @deepanshu-rajput-git, yes it should be, do you still have the issue?

Hey, @antlio any updates on this?

@antlio: Thanks I will take a look to that. And what about hiding Download OpenAPI Document button from the webpage and about the baseURL was not getting reflected in the Test request modal.

can you try adding "hideDownloadButton": true to your config panel?

Yes, that's working fine in the editor but I have my GiHub project and it's not working fine there. Please take a look:

@deepanshu-rajput-git you can find here an example of our api reference with a commented configuration.
i don't have issue on my end, do you see a difference:
    <script>
      var configuration = {
        hideDownloadButton: true,
      }

      document.getElementById('api-reference').dataset.configuration =
        JSON.stringify(configuration)
    </script>

@antlio : Please confirm, this is supposed to be added in the scalar.config.json of the GitHub Project for my Scalar API docs.
{         hideDownloadButton: true,       }

hey @deepanshu-rajput-git - sorry i'm not sure what you are implying by GitHub Project here, can you tell me more about what do you use here to generate the reference?

@antlio: Here is the record: https://deepanshu-bigbinary.neetorecord.com/watch/603c6b55-7f61-4f6c-84f2-5c6f018a77c9

@antlio: Please take this up as a priority; we have been waiting for a long.

@deepanshu-rajput-git i request some more infos internally, for the time being you should be able to do add the following style:
.download-button {
  display: none !important
}

as a quick fix in order to not being blocked by that, will follow up with more infos regarding the config as soon as i can

@deepanshu-rajput-git for the time being you should be able to do add the following style - as we did for the dark mode toggle - :
.download-button {
  display: none !important
}

as of right now we do not support reference config that way, however will get back to you as soon as this changes

Could be added same as we did here for the dark mode toggle, let me know how this goes

But we don't have any option to customize the GitHub projects using the Webpage.
Ref:
https://deepanshu-bigbinary.neetorecord.com/watch/6bedb9af-7f95-40a9-8184-ea857f937adc

hey @deepanshu-rajput-git, not yet on the docs.scalar.com, will make sure it's done today and hit you up here!

@antlio : Hey, is this fix deployed, I am still not able to edit the workspace variable in Test request modal.

hey @deepanshu-rajput-git, sorry about that, i believe it should be, do you have the variable input showing up in your client modal:

No, @antlio it's not there.

@antlio : Thanks for the fix but the header is not passed in the API.
Ref: https://deepanshu-bigbinary.neetorecord.com/watch/c7e68eb0-b2c9-4199-8536-8b362873ccae

@deepanshu-rajput-git sorry about that, do you mind opening another issue regarding that specific issue? will give it a look as soon as the new year start!

@antlio : I filed a separate issue for the same: https://github.com/scalar/scalar/issues/4354


Right app version?

Dear Johan,
Thank you so much for developing such a flexible and helpful app.
On my Homey there is installed the version 0.1.45. In the changelog I can read that there must be issued a version 0.2.4.
I enabled the automatic Update but nothing happens to get the 0.2.4-version. What do I have to do to fix that?
Thank you in advance
Greetings, Albert

Hi. You add /test behind the url to see the test version of an app, if there is one.
https://homey.app/en-us/app/com.tuya.zigbee/Tuya-Zigbee/test/

Dear Johan,
maybe I wrote it wrong. But it was not my problem to find the test-version. I did not find the latest NORMAL version, because under
https://homey.app/de-de/app/com.tuya.zigbee/Tuya-Zigbee/
there is displayed the 0.1.45-Version. I think it is not so meant by you...
Best Regards,
Albert


Generate markup for Grid

Define a method that can be called from a View template of a Rails Application named grid_for with following set of parameters

Data to be filled in the grid
Id to be given to the grid
Block of code that allows to add rows and cells to the grid
The output of this method is expected to generate a simple markup as an initial step. Markup should take care of the following.
a.	Grid element has role=”grid”. E.g.

b.	Rows within grid have role=”row”. E.g.

  <div role =”row”

c.	Cells added to row have role=”gridcell”. E.g.

  <div role =”row”

For this particular issue, generating appropriate markup is important. As a initial step, following can be assumed.

The element being used to generate grid, row and gridcell is “div” element.
The HTML DOM tree can be assumed only at 3 levels as shown below
Grid(top level)
Row(direct children of grid)
Cell(direct children of row)
Data accepted as parameter for this method is collection of objects.
These objects are made available while adding cells to row.
An example implementation:

grid_for :my_grid, data
  g.add_row do |r, r_index|
    r.add_cell do |c, c_index,|
     "HTML/Text to render within the cell"
    end
  end
end

Closing as focus is now switched towards basic content accessibility instead of building rich widgets.


formula: show stderr by default when generating completions

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

NOTE: Open to other suggestions as not familiar with popen code path and if there is any odd behavior of outputting stderr.
Added this as currently trying to debug failing generate_completions_from_executable on CI is difficult since popen defaults to sending stderr to /dev/null which is where most failing commands end up outputting failures
https://github.com/Homebrew/brew/blob/0e56c86c89b572f2daf26270fab26782f3cf2b51/Library/Homebrew/utils/popen.rb#L53
This leads to hard to figure out failures without locally retesting, e.g.:

https://github.com/Homebrew/homebrew-core/pull/116583#issuecomment-1356761947
https://github.com/Homebrew/homebrew-core/pull/118475#issuecomment-1357753530

Review period ended.

Thanks @cho-m!


#211 add IRIS3 web server

IRIS3 (integrated cell-type-specific regulon inference server from single-cell RNA-Seq
) is an easy-to-use server empowered by over 20 functionalities to support comprehensive interpretations and graphical visualizations of identified cell-type-specific regulons.

Thanks, @Wang-Cankun. Sorry I took so long to get to this. Welcome as a new contributor!


Possible to host all required files locally?

The toolbar is loading jquery from googleapi. Any easy way for me to host all required files locally?

See https://django-debug-toolbar.readthedocs.org/en/1.4/tips.html#using-the-toolbar-offline.


Add a page to About section in the navbar

But we have about section, so what will be benefits of adding it?

All the sections in the navbar must be working. So, I added a page in the About section so that people can learn about the purpose of the website.

please resolve conflicts


Allow empty translations

For some reasons (maybe weird reasons ... ) I have some entities with empty translations (all translatable fields are empty).
https://github.com/KnpLabs/DoctrineBehaviors/blob/302ed95ec17417828ccac1fdcb19e95dac9c72dd/src/Model/Translatable/TranslatableMethodsTrait.php#L139
This bundle do not return an empty translation even if it exists. As a result I get UniqueConstraintViolation from Doctrine :(.
Can i make a PR do remove this check or if it's here for a good reason, I can add an option to bypass this behavior.
What do you think ?
Thx !

Hi, thanks for reporting.
Could you provide failing test case, so we can see the failure message and have it covered for regressions?

Hi, thanks for reporting.
Could you provide failing test case, so we can see the failure message and have it covered for regressions?

You can implement your own Trait. This is an example of my implementation.
<?php

declare(strict_types=1);

namespace App\Entity\Trait;

use Knp\DoctrineBehaviors\Model\Translatable\TranslatableTrait as KnpTranslatableTrait;
use Symfony\Component\PropertyAccess\PropertyAccess;

trait NullableTranslatableTrait
{
    use KnpTranslatableTrait;

     public function mergeNewTranslations(?bool $nullable = true): void
     {
        foreach ($this->getNewTranslations() as $newTranslation) {
            if (! $this->getTranslations()->contains($newTranslation) && ($nullable || ! $newTranslation->isEmpty())) {
                $this->addTranslation($newTranslation);
                $this->getNewTranslations()
                    ->removeElement($newTranslation);
            }
        }

        foreach ($this->getTranslations() as $translation) {
            if ($nullable || ! $translation->isEmpty()) {
                continue;
            }

            $this->removeTranslation($translation);
        }
    }
}

In my case it was necessary because I use doctrine JoinTable inheritance. And the subclasses are by default empty when they don't contain any additional translated fields apart from the ones declared inside the parent class.

Thanks @MichaelBrauner for the answer :+1:


usb/ip code?

Hi,
I found your post here: https://esp32.com/viewtopic.php?p=94610#p94610
I am very interested in this.  Currently, I'm trying to figure out a way to fully automate testing of new firmware. I have looked for a USB muxer or a SD muxer and they're either hard-to-impossible to find, or are prohibitively expensive.
However, an ESP32-S2 could be a really brilliant solution, combined with some software to do usb/ip.
I could have my automation server serve up a new firmware image, serve it over gadgetfs, and then use usb/ip to get over to the esp32-s2 connected to the Raspberry Pi USB otg port.
This is assuming that OTG + gadgetfs play nice, but it sounds like you were having some successes with it anyway.
I'd love any details, any code, thought about my described use case. Thanks!

Hi,
its hard to say if it will works with RPi as gadgetfs, also this code is not open source yet, sorry.
Im not fully understand your needs, but maybe second RPi with https://virtualhere.com/ may be helpful.
It is also USBIP implemented on many platforms with own client/server.

Thanks for the tip, I am currently using Raspberry Pi Zeros for this, but it's a bit pricey.
CherryUSB claims to have USB/IP working, though I can't really understand it all due to me only knowing English.


session.py issue line 125

I had to change line 125 from:
self._request(self.capabilities['Action'])
to
self._request('Action')
The old line was passing in the entire URL.  I believe the function only needs the word 'Action'.  Am I thinking about this wrong?

Good catch!

I'm writing a test for it and don't currently have access to a board that has an Action requirement. Do you mind providing a sample response to the Action request?

I think this calls the Action endpoint correctly, but I don't have a feed to test against. So please reopen if it is not addressed. Here is what the RETS standard says about Action

A URL on which the client MUST perform a GET
immediately after login. This might include a bulletin or the
notification of email. The client application SHOULD
provide a means for the user to view the retrieved document.

Right now the library just makes a GET request to the action endpoint. Nothing is provided in terms of arguments like the email. Any other guidance or examples would be helpful. The current example in the test suite is a placeholder for now.


Release 7.14.0

This PR:

Adds support for the Meetings API. See this PR for more info: https://github.com/Vonage/vonage-ruby-sdk/pull/258

Codecov Report

Merging #281 (9d7ffe2) into main (06b54c2) will increase coverage by 0.14%.
The diff coverage is n/a.

:exclamation: Current head 9d7ffe2 differs from pull request most recent head ed6f371. Consider uploading reports for the commit ed6f371 to get more accurate results

@@            Coverage Diff             @@
##             main     #281      +/-   ##
==========================================
+ Coverage   97.82%   97.97%   +0.14%
==========================================
  Files          94       94
  Lines        1796     1774      -22
==========================================
- Hits         1757     1738      -19
+ Misses         39       36       -3

see 14 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


First Release

Here is the first release of RefExpo.
Please look into the readme file under the dev branch for a full description of the usage and features.
We assume that RefExpo should be able to export all (Approximately) references between files, classes, methods, etc.
If you see any shortcomings in this regard pin point to the identified problem to be addressed.
Currently, many of the identified references are resolved to a null target which is a bit concerning however in the original document it has been mentioned that it is a normal behaviour.

OK, it's so huge I don't even know where to start. What am I looking at and are there any entrypoints?

The idea Is that the main project logic exists under the Plugin folder since the plugin is placed there.
The PerformanceAnalysis folder contains Python code that reads all other tools' outputs and provides some evaluations.
The central reference resolution logic is placed in RefExpoEvaluation.kt

Many thanks
The main logic should not be that huge. It exists under the Plugin folder
since the plugin is placed there.
The PerformanceAnalysis folder contains Python code that reads all other
tools' outputs and provides some evaluations.
The central reference resolution logic is placed in RefExpoEvaluation.kt
On Thu, Feb 1, 2024 at 4:15 PM Pasha Finkelshteyn @.***>
wrote:

OK, it's so huge I don't even know where to start. What am I looking at
and are there any entrypoints?
—
Reply to this email directly, view it on GitHub
https://github.com/vharatian/RefExpo/pull/10#issuecomment-1921301709,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB34HXSQK5DBUSJH2HJ6S43YROIP5AVCNFSM6AAAAABCUYFSRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRRGMYDCNZQHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Create and Delete Bucket in aws cloud from SODA

This PR is to support bucket creation in AWS cloud from soda. Previously a soda user had to create bucket in various cloud manually. But  now they can create bucket from soda clients.
Create Bucket:

Upload Object:

Create Folder:

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind new feature
/kind bug fix
/kind cleanup
/kind revert change
/kind design
/kind documentation
/kind enhancement

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Test Report Added?:

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind TESTED
/kind NOT-TESTED

Test Report:

Special notes for your reviewer:

@PravinRanjan10 why the Bucket created is with Public access?

closing as #1204 is opened by updating the branch


hof.i(14): Billing unavailable for this package and user.

Steps to Reproduce

Execute flutter run on the code sample
...
...

Expected results:
Actual results:

Code sample

Logs

hof.i(14): Billing unavailable for this package and user.

@865240856
Without any details as requested in new issue template, it is not clear what this issue is, so please fill out new issue template so that we can help you.
Closing for now.


Changing of $BuildRoot does not change CLR's current directory

Hi Roman,
Imaging this file structure:

\
\buildScripts\build.ps1
\src\config.xml
.....

Imaging this code in build.ps1:
$BuildRoot = "\"

task UpdateXml {
  $xml = New-Object xml
  $xml.Load("src\config.xml")
}

I get an error:
Exception calling "Load" with "1" argument(s): "Could not find a part of the path '\buildScripts\src\config.xml'."
This is not the issue of Invoke-Build, but PowerShell itself, because it does not change [System.IO.Directory]::GetCurrentDirectory() even when you cd to other directories.
And I can use some workarounds, like [xml]$xml = Get-Content ... or [System.IO.Directory]::SetCurrentDirectory() manually.
The question is - what do you think, should setting $BuildRoot also run [System.IO.Directory]::SetCurrentDirectory()?

Hi @GreatTeacherBasshead
I hope you are not disappointed to know that this is by design. It's in fact
the PowerShell feature, Set-Location does not change the process current
directory. It's a notorious issue and the source of mistakes (for not careful
programmers :)), yes.
But it has advantages, too, and protects from other problems. E.g. scripts
(including build scripts) may run in parallel in the same process. Thus, if
they relay on the process current directory and change it then other running
scripts have issues.
We have to remember and deal with this fact. It's not an issue for properly
designed PowerShell commands. It's not an issue for running applications
(PowerShell sets their proper start directory).
It's only the issue on calling .NET API which relays on the process current
directory. Do not let them! Pass full paths always. In your case,
$xml.Load("$BuildRoot\src\config.xml")

Many thanks for the clarification!


build: Remove Android dependency on Vulkan-Tools

CI Vulkan-ExtensionLayer build queued with queue ID 40148.

CI Vulkan-ExtensionLayer build # 230 running.

CI Vulkan-ExtensionLayer build # 230 passed.

CI Vulkan-ExtensionLayer build queued with queue ID 40167.

CI Vulkan-ExtensionLayer build # 231 running.

CI Vulkan-ExtensionLayer build # 231 passed.


Add pre-commit

Same as in bitcartcc/bitcart-admin#122, but for bitcartcc store. If possible, all js repos should follow the same pre-commit config

I can check this one out as well. In addition to yarn lint-staged I can add so prettier runs on sass files too. Anything else you want in the precommits?

Check out the updated bitcart-admin description.
The main issue is to somehow make pre-commit work with our eslint, prettier plugins without pinning them to some exact versions in pre-commit config file, but instead in package.json only. Maybe it would be made a local hook (which requires user to have node_modules existing and will probably assume yarn)
https://github.com/bitcartcc/bitcart/blob/master/.pre-commit-config.yaml
You can use this as base, remove python ones and fix js ones to work with linter plugins
So that prettier will run by it's own hook on all files, and regular eslint linting by yarn lint
Also actually we've got lint staged and husky already. lint-staged should be removed and maybe husky if you figure out how to run linting from pre-commit
I suggest checking out https://pre-commit.com/hooks.html and seeing if there is something useful we could apply too

I'm unfamiliar with the pre-commit library. I will read a bit more about it and get back to you! Thanks for the clarification.

Hi @MaximeKoitsalu! Do you need some help in setting it up? Any questions so far?


Improve fc-rpc

Split net api and web3 api into their own modules, like fc-rpc-core does
Use sp_core::hashing::keccak_256 instead of sha3::Keccak256
Remove some useless trait bounds
Reorder some imports

@sorpaas PTAL


[EventRequest] SalesPost.Codeunit.al (codeunit 80 "Sales-Post")

Hi MS,
Please help us in migrating our verticalized solution by adding below Event in SalesPost.Codeunit.al Codeunit.
Standard Code(Screenshot from PostSalesLine function)

Modified Code

Event Signature

Thanks
SUD

If you use AL code copied from VSCode instead of screenshots it will speed up the process of implementation.


Adding infinity embedding integration.

This adds integation to https://github.com/michaelfeil/infinity. Users requested it in https://github.com/michaelfeil/infinity/issues/36 @saatvikshah
Follows my implementation of gradient.ai.
Feedback 1: Well done -  I love your CI / repo / poetry setup - I adapted a lot in https://github.com/michaelfeil/infinity.
Feedback 2: Not so good: The openai integration contains to much reverse engineering - in general projects such as michaelfeil/infinity and huggingface/text-embeddings-inference are compatible to the pip install openai package.
Reverse engineering like this one is really hindering the use for me:
https://github.com/langchain-ai/langchain/blob/8e88ba16a88affc272da4bb99bd515b714781179/libs/langchain/langchain/embeddings/openai.py#L347
https://github.com/langchain-ai/langchain/blob/8e88ba16a88affc272da4bb99bd515b714781179/libs/langchain/langchain/embeddings/openai.py#L351 - it is about preventing 3rd party providers to use the same url + uses interfaces of openai, that are not publically documented.

could we add a docs notebook to docs/integrations/text_embedding?

thanks @michaelfeil!


slugbuilder: Bump buildpacks

https://github.com/cloudfoundry/staticfile-buildpack/compare/5d6a67be...cb6b0e62
https://github.com/heroku/heroku-buildpack-clojure/compare/e2ee58b4...065456de
https://github.com/heroku/heroku-buildpack-python/compare/998f996a...0ed4089c
https://github.com/heroku/heroku-buildpack-java/compare/4296d60e...d212bc78
https://github.com/heroku/heroku-buildpack-gradle/compare/a06f2c86...9632360e
https://github.com/heroku/heroku-buildpack-scala/compare/a7790893...37a9ba9f
https://github.com/heroku/heroku-buildpack-play/compare/d94c86ad...dd06c15e
https://github.com/heroku/heroku-buildpack-go/compare/91c7eeae...35483e74

LGTM


chore: Optimise code editor renders

Description
Modifying one code editor instance in API pane would re-render all the other code editor components in the page as well, since it subscribes to dataTree. This code change stops unfocused code editors from re-rendering. Also, removed unused code.
Type of change

Perf fix

How Has This Been Tested?

Manual

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/ok-to-test sha=0c34e69

/ok-to-test sha=a8b299b

/ok-to-test sha=6cd2b01

/ok-to-test sha=4729b35

/ok-to-test sha=026fc08

No of re-renders for keypress event in property pane with 10 code mirror instances has come down from 15 to 5. @SatishGandham

/ok-to-test sha=23d6708

/ok-to-test sha=ad58abd

/ok-to-test sha=822fbb0

Since we were getting stale values of evaluated values for the code editor instances, I have reverted the code and it now uses components lifecycle methods to avoid re-renders.
We need to recompute the new dataTree on every render cycle, since linting & validation (which gets called on every render) relies on having the latest dataTree. Having the dataTree be passed as a prop here is the right way to go here.
@SatishGandham

/ok-to-test sha=6e75773

/ok-to-test sha=7555795

/ok-to-test sha=d7c6265


bit in mysql returns buffer instead of number

apparently the number can be accessed with [0], but idk if this was designed to return a buffer instead of a number.

Thanks for the feedback! I imagine you found a real bug or at least an error in the documentation. But I'm not sure where to look yet. What function from the library did you call that returned a buffer?

it's a "real" bug or at least unexpected behaviour, i ran a select onto a mysql table which had bit as it's datatype, but returned a buffer instead of a numeric value for that table column.

I tried it and I see what you're talking about. But I'm not sure how to best handle this. It seems the correct way to convert the buffer to a number is to call one of the Buffer methods that start with "read". When the column has the type "BIT(1)" then the readInt8 method seems to work fine. If the column has the type "BIT(64)" then I would have to call a different read method.
Perhaps it is best to continue returning it as a Buffer and let the developer decide which read method is best based on their knowledge of what kind value they put in the column.

well i got the value by just getting x[0] where x is the buffer, but idk if this will work for every bit length.

I suspect that won't work because it is a Node.js Buffer object and not an Array. But I'm not sure about that. In any case, you should be able to call any of the Buffer methods on it to extract data.


Fix test errors

Currently, periodic osde2e job for test harness is throwing the following error
/osde2e-example-test-harness.test flag redefined: ginkgo.seed
panic: /osde2e-example-test-harness.test flag redefined: ginkgo.seed

goroutine 1 [running]:
flag.(*FlagSet).Var(0xc00007a180, 0x16683f8, 0x1f6e620, 0xc000040c80, 0xb, 0x14f5175, 0x2a)
	/usr/local/go/src/flag/flag.go:871 +0x485
flag.(*FlagSet).Int64Var(...)
	/usr/local/go/src/flag/flag.go:682

This is due to multiple versions of ginkgo (v1, v2) being imported and ginkgo.seed thus being redefined by both.
This change removes the v1 usage of ginkgo and uses v2 instead.

/lgtm


Problem with hdf5 1.10 and _add_trace_write_collective_information during process()

I've found that there's a hdf5 1.10 specific problem that calling group.create_dataset() in MPI mode will 100% freeze (line 1470). This is not related to the size of the file and occurs in two different clusters both using IBM processors. A strange thing is that the problem will no longer occur if replacing create_dataset with require_dataset, which makes no sense to me because the two functions seems to be more or less equivalent during the execution of process(). I was wondering if this is purely an issue on the hdf5 side, or is there any chance that somewhere in pyasdf caused the problem?

I don't see how this  could be caused by pyasdf - but HDF5 sometimes tries to be too smart and all kind of things might happen so I'm not surprised to see this.
Can you do the changes that make it work on your machine and create a pull request? Then I'll test it on the machines I have access to and would happily merge it if it works everywhere.
Thanks for all your effort to look into these issues!


Reflecting the channel subfolder...

Applying #530 to master branch
test with:

https://github.com/matzew/knative-eventing-samples/tree/master/04_kafka_source_channel
exposed strimzi

log messages were consumed via:

kafkacat (connected to the actual topic)
the ksvc's log (user-container)

/lgtm
/approve
And a follow up issue to fix this: https://github.com/knative/eventing-contrib/issues/533


Improve contextually expected type detection for error constructor

Description:
We should be able to infer the contextually expected type of below error constructor to be AppCodeError as it's illegal to pass extra fields to other 2 errors.
public function main() {
   AppError|CodeError|AppCodeError u = error("msg", code = 100, no = 100); // incompatible types: expected '(AppError|CodeError|AppCodeError)', found 'error'
}

type AppError distinct error<record { int code; }>;
type CodeError distinct error<record { int no; }>;
type AppCodeError AppError & CodeError;

Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Enable test case after fixing this https://github.com/ballerina-platform/ballerina-lang/pull/29059/files#diff-dbeb6d71707608251d43d773dcd7658f7db52f9256cd2c56150cfa4028734e42R161


Unable to install any app/watchface to aplite emulator

Every time I get the error: Installation rejected. Try rebooting the emulator and trying again. rebooting the Emulator does not help. Does not matter what SDK I'm using. Installation on a real Pebble (not Time) is working.

Is this still a problem for you?  If not, please close the issue.

Yes, it is, but the problem is different now, the emulator starts, but the installation hangs on "authenticating". After some seconds the emulator close itself, the message with "authenticating" stay forever...

I am actually getting the same issue with the "Authenticating..." hanging after the emulator is booted and functional (minus the watchface). This was working several days ago just fine. If I click around a bit on the screen, I can get the message to go away and it is replaced with "Waiting for phone. Make sure the developer connection is enabled." So it seems like the button to install it on the emulator boots the emulator properly but then runs the code for installing to the phone.

When this happens to me, I just click on the wheel at the right under the Pebble emulator window. Then tap the big red "Shut down" button. Finally tap the green play arrow at the upper right corner of the browser window and compile your project again.
Hope this helps!

In recent time everything works fine, so I close the issue... Thanks a lot!


Parse and Total and Documentation language improvement

I've created helper functions for parsing JSON Score strings and to compute the total score. There are tests for these functions as well as other stuff. And they don't break any API methods from Score.

There are a few more commits now. Should I close this pull request, and issue a new one?

If you expect many more changes, its best to close the pull request, yes.

I'm not expecting more changes to autograde/kit/score at this point in time. However, I wasn't sure if the commits that I made after creating the PR would become part of the PR. But it looks like my last commit just now is listed as part of the PR. Is this correct?

Yes, every change added after submitting the pull request will become a part of the pull request.


[pigeon] type arguments don't trigger the generation of classes

class Book {
  String? title;
  String? author;
}

@HostApi()
abstract class BookApi {
  List<Book?> search(String keyword);
}

Doesn't generate the Book classes because Book only shows up as a type argument.

https://github.com/flutter/flutter/issues/88987 seems to be a duplicate

Also does not generate Author classes from example:
class Author {
  String? company;
  String? name;
}

class Book {
  String? title;
  List<Author?>? authors;
}

@HostApi()
abstract class BookApi {
  List<Book?> search(String keyword);
}

@nogipx that's as intended.  Only used classes are generated.  It's a decision that was made when pigeon ran on reflection so there had to be a way to distinguish classes to process versus other classes.  It's not technically necessary now, but leaves us open to potentially having different imports in the future.  I can add a warning about unused classes maybe to thelp.

Only used classes are generated.

But it is used in the Book, isn't it?

Oh, you're right, I missed the nested datatype.  Let me look into it.


Add Writable and DeepWriteable to lib.d.ts

Search Terms
Writable / Writeable
DeepWritable / DeepWriteable
Removing readonly modifier
Recursively removing readonly
Suggestion
I would like to add types that remove the readonly attribute from another type directly or recursively.
Use Cases
When using Immer, I find myself removing making the types writeable frequently. This does not really makes the types immutable because Immer changes are reflected in a Proxy object, not the real object.
Immer itself removes the readonly property from the proxy object recursively using its Recipe type, which is pretty similar to what is listed in Examples section. But for doing complex operations, some time you still need to mark an object as writeable.
Examples
export type Writable<T> = { -readonly [P in keyof T]: T[P] };

export type DeepWritable<T> = { -readonly [P in keyof T]: DeepWritable<T[P]> };

Checklist
My suggestion meets these guidelines:

[ X ] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[ X ] This wouldn't change the runtime behavior of existing JavaScript code
[ X ] This could be implemented without emitting different JS based on the types of the expressions
[ X ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[ X ] This feature would agree with the rest of TypeScript's Design Goals.

A simple DeepWritable like this will fail in many edge cases. For example, Map, Set.


bump core versions.  It logs a couple messages like this every millisecond.

Is this during catchup or when the node is in sync?

Also, can you confirm this is only for 13.0.0 and not 12.5.0 @bartekn  : if you're seeing this all the time, it could be that the system you're running on cannot keep up with pubnet

It's 13.0.0 pubnet in Travis, I linked to logs above. The reason that job fails is because the number of log lines exceeded the limit.


Circles don't look circle-ey ?

Describe the bug

The circles aren't properly graphed. Take a look for yourself :

I got my friends to see that if they see what I see i.e. a circle is being graphed as an oval shape
Steps To Reproduce

Expected behavior

A nice little circle of radius 1 unit to be graphed with center at origin
Screenshots

Device and Application Information

OS Build: Windows 10 build 19041.450
Architecture: X64
Application Version: 10.2007.1.0
Region: en-IN
Dev Version Installed: False

Additional context

Requested Assignment
I'm just reporting this problem.  I don't want to fix it as I don't know anything about fixing this stuff.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

@Justaphysicsnerd Yes, that's really an issue with the Graphing mode. And that's because it sets different scales for the X-Axis and Y-axis. Due to this, the cells appear to be rectangular instead of a square. We need to manually adjust the scale from the Graph Properties, so that our figures appear as expected.

@Rahul-Dixit @Justaphysicsnerd I think we could potentially address this by auto-scaling on a single axis to maintain aspect ratio, but then how might we account for times where the user wants to specifically set certain scales on one or both axes.
Reset could clear:

@grochocki I meant to say that the scales should be adjusted in such a manner that the cells should appear as a square to the user. If you try to plot y = x, you will see rectangles on your screen.
This would prevent any distortion of the figures that we draw on the screen.
Even the graph sheets that we purchase from the market have square shaped cells instead of rectangles.
However, if the user wants to have custom scales, then he should be able to adjust it from the Graph Options flyout.
The Reset View button should revert to the default scale (having square shaped cells).

I meant to say that the scales should be adjusted in such a manner that the cells appear square-shaped to the user.

I agree. The cells are distorted because the scales for x/y are held constant as you resize the window. In order to maintain square cells, as the user resizes the window, we need to auto-scale x or y to maintain the aspect ratio of those cells, otherwise we start stretching.

Has this issue be fixed yet?

Sadly, no

The Reset View button should revert to the default scale (having square shaped cells)

Yes, I don't know what the reset view button does. Clicking it do not set it to 1:1

It needs to have a settings to set xaxis : yaxis and if we should lock the ratio


added support for holdframes. videos now also maintain focus with fullscreen

@jwerle
Closes #17

+1
On Thu, May 7, 2015, 6:29 PM Wells Johnston<EMAIL_ADDRESS>wrote:

@jwerle https://github.com/jwerle
Closes #17 https://github.com/littlstar/slant-frame/issues/17
You can view, comment on, or merge this pull request online at:
https://github.com/littlstar/slant-frame/pull/32
Commit Summary

added support for holdframes. videos now also maintain focus with
fullscreen

File Changes

M dist/slant-frame.css
https://github.com/littlstar/slant-frame/pull/32/files#diff-0 (17)
M dist/slant-frame.js
https://github.com/littlstar/slant-frame/pull/32/files#diff-1 (30)
A holdframe.png
https://github.com/littlstar/slant-frame/pull/32/files#diff-2 (0)
M index.html
https://github.com/littlstar/slant-frame/pull/32/files#diff-3 (4)
M src/index.css
https://github.com/littlstar/slant-frame/pull/32/files#diff-4 (17)
M src/index.js
https://github.com/littlstar/slant-frame/pull/32/files#diff-5 (26)
M src/template.html
https://github.com/littlstar/slant-frame/pull/32/files#diff-6 (1)

Patch Links:

https://github.com/littlstar/slant-frame/pull/32.patch
https://github.com/littlstar/slant-frame/pull/32.diff

—
Reply to this email directly or view it on GitHub
https://github.com/littlstar/slant-frame/pull/32.