Github Pages

@jaagr @NBonaparte @patrick96 @skystrife, hi everyone.
You all most likely already know what Github Pages is, if not, the link explains it well enough.
I think it would be really awesome if polybar had an actual home page and since hosting is not something we would need to worry about thanks to gh-pages, the only thing needed  to realize that would be the site itself.
Which we also now have. Well, I made something resembling one, at least.
You can take a look at it right now at toncherami.github.io/polybar. It's not much more than a glorified version of the current README, but I like to think that it looks fairly decent, hopefully you do like it.
Technologies used: it is basically plain HTML/CSS + Bootstrap (CSS only) with only like four lines of JS (the scroll-down button callback). I also used Google Fonts and Font Awesome. The source currently resides here.
Now, if you do decide that it's good enough to be the official home page of polybar, there are two ways we can go about setting it up:

The first and the more preferable one, in my opinion, would be to create a repository called polybar.github.io under the polybar organization and have it merged there, which would result in it having the polybar.github.io domain.
The other way is to simply open a PR here and merge it into the gh-pages branch. That would result in it having the domain of jaagr.github.io/polybar which, I believe, is hardly as neat as the first option.

It's ultimately up to you though. For details see here.
I welcome suggestions (as long as they're not too drastic) and criticism, especially regarding the wording as I'm not too confident in it. I'd also appreciate it if you could point out any issues you find.
Can't wait to hear your thoughts!

Wow, the page design looks amazing, thank you very much!
I was planing to create a homepage for polybar as well to maybe also host blog posts about most recent changes, announcements and so on. But I wanted to wait until we agreed that we are going to migrate all polybar repositories to the organization. I actually scheduled to do a migration testrun with dummy repositories in a few weeks.
I particularly like the feature spotlight in the grid.
I think we can use most of the webpage as is with a few minor modifications:

Incorporating the polybar logo into the site
For the rices at the bottom, we probably have to ask the creators for permission and we should also link to the /r/unixporn post as well as use the clean screenshot (without open windows) if available.
While the three bars at the top look great, it would be better, if they were actually generated with polybar, to not give the wrong impression to people, but I think, we should be able to do most of the things on there with polybar.

Guys what do you think? If you're down with adding a webpage, I will create the polybar.github.io repo in @polybar.

In regards to my screenshots being used on this homepage, @patrick96 said that he thought clean screenshots with no windows open would be more suitable for this. I agree and I am willing to provide screenshots of the 3 polybar configs used on the webpage with no other windows open if they would be used on the homepage instead of the ones which were included in my reddit posts.

I think it looks awesome! Great job @TonCherAmi! A website is a living thing so I will not comment on specifics right now since it can be changed later. I vote for making it public as the official Polybar website.

Great idea, this would be an excellent addition to the repo.
Since a blog has been suggested, it might be useful to create a Jekyll theme that matches the current design, so we can easily just create posts in markdown and simply our workflow.
Some quibbles on the design (just my thoughts based on my tastes, don't feel offended or obliged to change):

Megrim (used for the logo in the top left) is horrendous and Josefin Sans isn't well suited to body text.
Too white/plain, feels like I'm going blind. We should have at least one other color.

This is probably a dumb and useless idea, but since you have a "simulation" of the bar, what if we had some form of GUI to show/hide different modules and generate a config?

@NBonaparte having a markdown powered blog sounds pretty neat, though I do have no experience with Jekyll whatsoever. I might look into it if I have free time.
Regarding them quibbles:

I am not one hundred percent sold on that myself, so I would be down to change it for something it different. What do you think of Flamenco for example?
Huh, I believe Josefin Sans is only used for headings and subheadings, if that's what you mean then I guess it's just that our tastes differ. I am totally open to suggestions though, so feel free to suggest something you think would fit better, I'd be glad to check it out.
Well, minimalism is what I was going for, so I guess that's that. I could probably try making the background a little grayer to not cause as much 'eye burn', though I personally have never had any issues with that. (am I the only one who keeps the lights on at night or what?)

That actually sounds like a really awesome idea, though I feel that implementing it without any frameworks would require some sort of a JS ninja, which I am certainly not, heh.

Flamenco is a little bit better, still not too sold on it though.

Sorry, I meant Comfortaa, although I guess my criticism applies to the smaller subheadings (< 20pt) as well. Both fonts are meant to be used at larger sizes, according to the designers. From the popular pairings suggested by Google Fonts, I think Montserrat looks the best (Lato looks nice as well).

Grey tones might help, a single accent color might be nice as well.

Also just noticed that the center mockup bar's shadow is different from the others, is this intentional?

I'm on vacation for the next week, I'll have a look at it afterwards.
On Mon, Sep 3, 2018, 21:22 Vasili Karaev<EMAIL_ADDRESS>wrote:

@patrick96 https://github.com/patrick96 hey, I've tried incorporating
the logo into navbar, what do you think?
I also wanted to ask whether it would make sense for me to maintain the
site repo. Myself I'm certainly interested in doing it, though it would be
my first time. So if you guys are willing to allow it I'd be glad to.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jaagr/polybar/issues/1410#issuecomment-418180642, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACVqRiMlJFzVgSgV9uFSmEF7wTP8HRt8ks5uXYFkgaJpZM4WWpJp
.

Cool! :+1:

I think the black-white logo in the navbar looks really good. Would it also work as a favicon?
About the images, @rmw5601 if you can still recreate the exact same bars for all three rices this would be perfect, otherwise don't worry about it and we'll use the busy rices.
@TonCherAmi I have just a few minor changes, after that please open a PR in https://github.com/polybar/polybar.github.io, we will discuss having you as a maintainer for the webpage once we move everything to the organization but I don't think there is anything speaking against it.

In the feature spotlight the description should also link to the wiki not just the icon.
Replace  ALSA and PulseAudio Volume Controls with just Volume Controls that directly links to the pulse module
Since the tray has some issues right now, I don't want to directly promote it, please change the tray feature to something like cpu, ram, or battery

Yeah, I suspected there was too much detail in the other one, the current one will do.
I have recreated the repo to now be empty. You should be good to go.

I have not foreseen this :confused:

Here are the clean versions of the screenshots.
screenshot 1
screenshot 2
screenshot 3

The site is now live at https://polybar.github.io/

@patrick96 could you invite all of us to join the organization?


umash_long.inc: new optional file for long (>= 1KB) hash inputs

The new function umash_multiple_blocks is unrolled and optimised for
long inputs.  In production traces, string hashes > 512 bytes were
virtually inexistent.  It seems safe to trigger this new code path
when hashing at least 4 blocks of 256 bytes: the distribution of
input sizes probably has a very fat tail once we pass that threshold
(certainly true for Verneuil, which hashes and fingerprints a lot of
64 KB buffers).
Maybe not everyone will want the extra code size, so the new file is
optional: by default, umash.c will include umash_long.inc when
it's available, and otherwise disable the new code path.
This does mean more code paths, which is unfortunate.  The full tests
(t/run-tests.sh) will now build umash_long.inc, but not use it,
except for tests that explicitly call umash_multiple_blocks.  The
public interface tests (t/run-tests-public.sh) instead always test
umash with the new code path enabled.
First step of #21.
TESTED=new and existing tests.

Impact on 64KB-long umash hash calls (bench_64k.md)

Good ~3K cycle speedup (-25%), on average and at the p99. We saw better results in a preliminary experiment, but we now use the same umash_multiple_blocks function for incremental hashing, and sharing the wealth seems more important.
hashes <= 16 byte aren't directly affected: they never hit any code we modified. I$ probably has an impact, but microbenchmarks aren't going to surface that, and, if we compile the long input code in, that's presumably because we think the I$ footprint is worth it.
Sampling from production traces with hash size >= 16 bytes (bench_large_inputs.md) shows a small slowdown on inputs > 256 bytes, and marginal speedups on inputs < 256 bytes. Overall, it seems like, at larger sizes, the new code has a little more variance than the old one, but otherwise the same support; this looks like a different branch misprediction rate, but otherwise same conditional branch sites.
The worst case (relative) slowdown is 11 cycles for 512 bytes, for which the baseline's modal latency is 220 cycles. That's a 5% slowdown, on input sizes that happen extremely rarely in practice. That's unfortunate, and maybe worth a future investigation, but seems worth the speed-up for very large inputs (now that we know they happen in practice).


Expose roles to the userinfo endpoint

Similar to the roles option for the identity_token, I propose the userinfo endpoint should give info on the roles of the user. This would eliminate the need to generate & decrypt an additional token just for user attributes.

Actually, it's already supported: https://github.com/openiddict/core/blob/dev/src/OpenIddict.Core/OpenIddictProvider.cs#L86-L92 :smile:


Compilation error: pp_infer: Cannot locate rosdep definition for [pcl]

Hi!
I'm trying to use this package, but when I try to resolve the missing dependencies with rosdep using:
rosdep install -i --from-path src --rosdistro humble -y
I get the following error:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
pp_infer: Cannot locate rosdep definition for [pcl]

Does someone have a suggestion of what the problem could be?
I'm using:

Ubuntu 22.04
Ros Humble
Cuda 12.0.1
CudNN 8.8.0
TensorRT <IP_ADDRESS>
and I have successfully installed TensorRT OSS

[UPDATE]
I edited the package.xml file and instead of using pcl I used pcl_ros which seems to work. However I still can't build the package successfully. Now I've got the following error. Any help, please?
`corluc@corluc:~/pointpillars_ws$ colcon build --packages-select pp_infer
. install/setup.bash
Starting >>> pp_infer
--- stderr: pp_infer
** WARNING ** io features related to pcap will be disabled
In file included from /home/corluc/pointpillars_ws/src/src/pointpillar.cpp:30:
/home/corluc/pointpillars_ws/src/src/../include/pp_infer/pointpillar.h:31:10: fatal error: message_filters/subscriber.h: No such file or directory
31 | #include "message_filters/subscriber.h"
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/pp_infer.dir/build.make:90: CMakeFiles/pp_infer.dir/src/pointpillar.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from /home/corluc/pointpillars_ws/src/src/pp_inference_node.cpp:39:
/home/corluc/pointpillars_ws/src/src/../include/pp_infer/pointpillar.h:31:10: fatal error: message_filters/subscriber.h: No such file or directory
31 | #include "message_filters/subscriber.h"
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/pp_infer.dir/build.make:76: CMakeFiles/pp_infer.dir/src/pp_inference_node.cpp.o] Error 1
/home/corluc/pointpillars_ws/src/src/postprocess.cpp: In function ‘int nms_cpu(std::vector, float, std::vector&, int)’:
/home/corluc/pointpillars_ws/src/src/postprocess.cpp:196:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
196 |     for (size_t i = 0; i < std::min(int(bndboxes.size()), pre_nms_top_n); i++) {
|                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/corluc/pointpillars_ws/src/src/postprocess.cpp:201:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
201 |         for (size_t j = i + 1; j < std::min(int(bndboxes.size()), pre_nms_top_n); j++) {
|                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/pp_infer.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
Failed   <<< pp_infer [2.02s, exited with code 2]
Summary: 0 packages finished [2.10s]
1 package failed: pp_infer
1 package had stderr output: pp_infer
not found: "/home/corluc/pointpillars_ws/install/pp_infer/share/pp_infer/local_setup.bash"
`

Can I know whether this package is compatible with ROS2 Humble on Ubuntu 22.04? If so, what is the TensorRT version that we have to install?


[UX] installation - new Summary screen for Docker Hub (optional) registration

Additional context: https://trello.com/c/O0hxnGCq
A new screen between "Installing" (Image A) and "Summary" (Image B) screens

The screen headline is: "Sign-up for a free Docker Hub account"
The subhead is:  "Save and share container images, automate workflows, and more."
Then this form: https://hub.docker.com/account/signup/
...but with updated per https://github.com/docker/docker-io/issues/713 (we want to keep GH option as well)
The form has three buttons:
** Go back (as do all installer forms)
** Sign-up: which submits form just like https://hub.docker.com/account/signup/
** Skip: which skips Hub registration and moves user to Summary screen

Image A

Image B

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).


🐛 [firebase_auth] Task is not yet complete

Bug report
Describe the bug
After update 4.7.0 my app is still crashing with errors:
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): Failed to handle message
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): java.lang.IllegalStateException: Task is not yet complete
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at com.google.android.gms.common.internal.Preconditions.checkState(com.google.android.gms:play-services-basement@@18.2.0:2)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at com.google.android.gms.tasks.zzw.zzf(com.google.android.gms:play-services-tasks@@18.0.2:1)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at com.google.android.gms.tasks.zzw.getResult(com.google.android.gms:play-services-tasks@@18.0.2:1)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at io.flutter.plugins.firebase.auth.FlutterFirebaseAuthUser.getIdToken(FlutterFirebaseAuthUser.java:95)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at io.flutter.plugins.firebase.auth.GeneratedAndroidFirebaseAuth$FirebaseAuthUserHostApi.lambda$setup$1(GeneratedAndroidFirebaseAuth.java:3256)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at io.flutter.plugins.firebase.auth.GeneratedAndroidFirebaseAuth$FirebaseAuthUserHostApi$$ExternalSyntheticLambda9.onMessage(Unknown Source:2)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at io.flutter.plugin.common.BasicMessageChannel$IncomingMessageHandler.onMessage(BasicMessageChannel.java:217)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at android.os.Handler.handleCallback(Handler.java:942)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at android.os.Looper.loopOnce(Looper.java:240)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at android.os.Looper.loop(Looper.java:351)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at android.app.ActivityThread.main(ActivityThread.java:8416)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at java.lang.reflect.Method.invoke(Native Method)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
E/BasicMessageChannel#dev.flutter.pigeon.FirebaseAuthUserHostApi.getIdToken(28161): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)

E/AndroidRuntime(28161): java.lang.IllegalStateException: Reply already submitted
E/AndroidRuntime(28161): 	at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:435)
E/AndroidRuntime(28161): 	at io.flutter.plugin.common.BasicMessageChannel$IncomingMessageHandler$1.reply(BasicMessageChannel.java:222)
E/AndroidRuntime(28161): 	at io.flutter.plugins.firebase.auth.GeneratedAndroidFirebaseAuth$FirebaseAuthUserHostApi$2.success(GeneratedAndroidFirebaseAuth.java:3247)
E/AndroidRuntime(28161): 	at io.flutter.plugins.firebase.auth.GeneratedAndroidFirebaseAuth$FirebaseAuthUserHostApi$2.success(GeneratedAndroidFirebaseAuth.java:3244)
E/AndroidRuntime(28161): 	at io.flutter.plugins.firebase.auth.FlutterFirebaseAuthUser.lambda$getIdToken$1(FlutterFirebaseAuthUser.java:88)
E/AndroidRuntime(28161): 	at io.flutter.plugins.firebase.auth.FlutterFirebaseAuthUser$$ExternalSyntheticLambda2.onComplete(Unknown Source:2)
E/AndroidRuntime(28161): 	at com.google.android.gms.tasks.zzi.run(com.google.android.gms:play-services-tasks@@18.0.2:1)

Steps to reproduce
Steps to reproduce the behavior:
try {
      final FirebaseAuth auth = FirebaseAuth.instance;
      auth.tenantId = AppConfigValues.firebaseTenantId;
      final IdTokenResult? token = await auth.currentUser?.getIdTokenResult(true);
} on FirebaseAuthException catch (e) {
      // here is error:
      e = {FirebaseAuthException} [firebase_auth/channel-error] Unable to establish connection on channel.
       plugin = "firebase_auth"
       message = "Unable to establish connection on channel."
       code = "channel-error"
       stackTrace = null
       email = null
       credential = null
       phoneNumber = null
       tenantId = null
}

Expected behavior
Working without errors

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.10.6, on macOS 13.4.1 22F770820d darwin-arm64, locale pl-PL)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Community Edition (version 2023.1.4)
[✓] VS Code (version 1.79.2)
Unknown architecture undefined_arch, defaulting to arm64
[✓] Connected device (3 available)
[✓] Network resources

We are also experiencing the same issue after updating to 4.7.0

This issue is related to getIdTokenResult and getIdToken functions, please fix asap

Temporary solution: I downgraded all plugins that require Dart 3 or a higher version.
In this Dart setting, From sdk: '>=3.0.0 <4.0.0' to sdk: ">=2.11.0 <3.0.0"

Temporary solution: I downgraded all plugins that require Dart 3 or a higher version and downgraded Flutter SDK. Now it's working fine.
In pubscpec.yaml, ">=2.11.0 <3.0.0"
in flutter SDK: 3.7.12
Downgrade all firebase plugins:
firebase_auth: 4.6.2
firebase_auth: 4.6.2
firebase_analytics: 10.4.2
firebase_core: 2.13.1
firebase_crashlytics: 3.3.2
firebase_database: 10.2.2
firebase_dynamic_links: 5.3.2
firebase_messaging: 14.6.2
firebase_storage: 11.2.2

@bhanuka96  do you really need to downgrade all Firebase packages, or just firebase_auth? And why 4.6.2 and now 4.6.3? Thanks :)

@dgilperez I tried downgrading the auth plugin, but it didn't work. Then, I downgraded all the Firebase plugins. I didn't try other versions because I needed to know if other firebase plugin versions too. Ex: 6.2.3, supports different versions of Firebase core. It's boring to change version by version

downgrading these two dependencies seems to be functioning as a workaround
firebase_auth: 4.6.2
firebase_core: 2.13.1

As a temporary solution I pinned these versions:
firebase_auth: 4.6.3
firebase_auth_platform_interface: 6.15.3

As a temporary solution I pinned these versions:
firebase_auth: 4.6.3
firebase_auth_platform_interface: 6.15.3

Can confirmed this works for me. No need to pin firebase_core

I've put together an example project that can be used to reproduce the issue consistently:
https://github.com/bizz84/firebase_id_token_bug
All is needed to reproduce the issue is to call user.getIdToken(true) after sign in.
How to run the example project

Create a new project in the Firebase console and note the project ID.
Enable Email & Password as a sign in method

Then run these commands on the terminal:
flutterfire configure --project firebase-project-id
flutter run # use Android emulator as a target device

Once the app is running, register a new account using email and password.
At this point the app will crash with this error:
IllegalStateException: Task is not yet complete

Taking a look. Thanks for your patience 🙏

I have a fix, will get a release out once it is reviewed/merged.

I have a fix, will get a release out once it is reviewed/merged.

For those who want to track the PR-
https://github.com/firebase/flutterfire/pull/11362

@cmenkemeller there was a question for you in PR. PR is blocked :(

@bhanuka96 I am using this package but still not issue resolved
firebase_auth: 4.6.2
firebase_analytics: 10.4.2
firebase_core: 2.13.1

+1

@bhanuka96 I am using this package but still not issue resolved firebase_auth: 4.6.2 firebase_analytics: 10.4.2 firebase_core: 2.13.1

Try to flutter clean and delete pubspec.lock file and try again.

@bhanuka96 When Firebase auth token expired, the refresh time  (FirebaseAuth.instance.currentUser?.getIdToken()) gets the app crashed and tries to flutter clean and pubspec.lock deleted.
I am using this package
firebase_auth: 4.6.2
firebase_analytics: 10.4.2
firebase_core: 2.13.1

await FirebaseAuth.instance.currentUser
          ?.getIdToken()
          .then(
            (token) => {

              print("TOKEN-----$token"),

            },
          )
          .catchError(
            (error) => {
              print("TOKEN ERROR-----" + error.message),
            },
          );

I was getting the same error for the above method.
If I dont pass parameter to  ?.getIdToken()
It is working for me  and able to print the token as well.
Im using these firebase version
  firebase_core: ^2.14.0
  firebase_auth: ^4.6.3

@bhanuka96 I am using this package but still not issue resolved firebase_auth: 4.6.2 firebase_analytics: 10.4.2 firebase_core: 2.13.1

4.6.3 works - tried it, after like 100 different things, literally changing the version by 1 worked

@sunstar21 Just update to the latest version, they fixed the issue in it

I have this issue with  firebase_auth ^4.7.2(last version).
It is helped for me
firebase_auth: 4.6.3 firebase_auth_platform_interface: 6.15.3

@FetFrumos please delete pubspace.lock file and then again pub get then test it


Make code blocks and inline code monospace

Before:

After:

These values were taken from the official Svelte site. (Technically the font size was changed to 1rem because 1.3rem would've been way too big).

We might want to change this in prism.css as well / instead ? see #44

I like this change, the way there is not so important to me, I'll leave the decision up to you peeps! :)


Derivation index update from the chain

Currently, we wouldn't update our "next derivation index" to derive receive/change addresses if we noticed an address from a higher derivation index was used onchain. See #81. This fixes it.
Note that it can be tempting to set it with some leeway (for instance if we notice index n was used, we set our next derivation index to n + 10) since other wallets probably have generated addresses for more addresses than were actually used onchain.
However, i think it could have cascading effects in a multisig situation: A would use n, B would set its to n + 10 and use n + 11, C would set its to n + 21 and use n + 22. This is clear that we could end up very far indeed down the derivation tree without having used most indexes.
A functional test is included, demonstrating the behaviour after a rescan where we lost the database (and therefore knowledge of the previous "next derivation index"). It is in a separate commit to help reviewers attest it would fail on master and pass on this branch.

self-ACK 94d8ea6d600479d00e08992aaf153e136e5198fa


Document switch to only support experimental React release channel

As was explained in #32, hydration of <Suspense> in React is supposed to only work with blocking or concurrent roots, not with the "legacy" ReactDOM.render. That this has worked up until now has been unintentional and the v16.11.0 release broke this for good.
The plan moving forward is mainly to write docs to explain this better. Lightyear will move to "only" be compatible with the experimental React release-channel, which matches well with the experimental nature of Lightyear. I am not sure yet how this will affect versioning of Lightyear, or how peerDependencies will work with React, since the experimental release channel does not follow semver, feedback on this is very welcome!
A known workaround to get Lightyear to work with the "legacy" rendering mode is to have a <CustomSuspense>-component that renders a <Suspense> boundary on the server, a <Fragment> on the client which gets switched back to <Suspense> in an effect. This probably has a bunch of bad implications though. There might be other workarounds as well, I am not sure yet if I will document any of these or not.

[ ] Figure out and decide on good strategy for versioning
[ ] Update Readme for experimental release channel, that is, blocking/concurrent mode
[ ] Update examples to concurrent mode and experimental release channel

I wanted to post an update on this. While this is a pretty small task, a lot has been going on at work and on the personal plane I'm in the middle of a move, so I probably won't have time to get into this before the holidays.
Lightyear should be working perfectly fine with the experimental React release channel so this issue is mainly about updating docs and examples, feel free to help out if that looks interesting! 😄

I'm leaning towards mirroring the React experimental release channel for versioning. That is:

No more releases to latest
New experimental release-channel where future releases will happen (aka react-lightyear@experimental)
Versions will be the same as the experimental React versions, for example 0.0.0-experimental-8d7535e54, thus abandoning semver entirely
If react-lightyear needs to release an extra version, a nr will be appended at the end, for example 0.0.0-experimental-8d7535e54-2, but considering how often releases happen to the experimental React-channel this might not ever be needed

I'm aiming to implement this with the new release which syncs to the latest React experimental release.
#35 tracks that merge, a follow up will do the additional work of updating docs, examples and the release-script. This will happen soon.


setjmp support

There is a lot code require setjmp to build into wasm,  emcc support it by build into javascript backend. (and all mainstream browser support setjmp and exception).  https://webassembly.org/roadmap/
I can see FastVM use  goto every where,  maybe microwasm can add setjmp/longjmp support base on goto ?
a lot library don't use exception but require setjmp,  add setjmp will allow a lot wasm only run in browser/nodejs  work for web49.

Thank you for the issue!
I do plan on supporting longjmp through emcc's ABI and also wasm's standard exceptions.
And pull requests are more than welcome 😉.
This is enabled by miniwasm using an explicit stack as opposed to the "native" stack.
It should be as trivial as keeping an array of jump back locations and stack depths.
Things are kinda broken right now, and need to be fixed first.
I'll keep this issue open so that i can reference it in any commit helping exceptions.


Single quotes within comment break snowflake_role resources

Terraform CLI and Provider Versions
terraform CLI -> 1.5.6
Snowflake provider -> 0.83.1
Terraform Configuration
terraform {
  backend "local" {
    path = "./terraform.tfstate"
  }
  required_providers {
    snowflake = {
      source = "Snowflake-Labs/snowflake"
      version = "~>0.83.0"
    }
  }
  required_version = "~>1.5.6"
}

provider "snowflake" {
  ...
}

resource "snowflake_role" "mkt_prod" {
  name = "MKT_PROD"
  comment = "Role that grants access on the 'MKT' schema in environment 'PROD'"
}

Expected Behavior
The role is created with the comment specified above.
This functionality was working flawlessly in version 0.37.1 before we upgraded the provider, so there seems to be a regression.
Actual Behavior
The resource creation fails because the single quotes are not escaped:
│ Error: 001003 (42000): SQL compilation error:
│ syntax error line 1 at position 125 unexpected '' schema in environment ''.

Running it with debug traces yields:
2024-01-24T10:59:15.207+0100 [DEBUG] provider.terraform-provider-snowflake_v0.83.1: 2024/01/24 10:59:15 [DEBUG] sql-conn-exec: [query CREATE ROLE "MKT_PROD" COMMENT = 'Role that grants access on the 'MKT' schema in environment 'PROD'' err 001003 (42000): SQL compilation error:

2024-01-24T10:59:15.207+0100 [DEBUG] provider.terraform-provider-snowflake_v0.83.1: syntax error line 1 at position 125 unexpected '' schema in environment ''.

Steps to Reproduce

Create a snowflake_role resource with a comment containing single-quotes, as in the example above
terraform init
terraform apply

How much impact is this issue causing?
Medium
Logs
No response
Additional Information
Might be related to #1049

Hey @monti-python 👋
It's throwing an error because the text that is passed to the comment is later on used in the SQL that creates the role. It should work when you escape them like this comment = "Role that grants access on the \'MKT\' schema in environment \'PROD\'". Otherwise, Snowflake thinks your comment ends before MKT, because it's interpreted as the closing quote. Please let me know if that's the case.

But this is an error originating in the old implementation. It should be fine in the SDK, and we are moving there in #2405. So... it should be working correctly after we merge and release it.

@monti-python could you confirm it's working in the latest version of the provider?

@sfc-gh-jcieslak I confirm single quotes in role comments no longer cause issues
Thanks for the update!

Great to hear that @monti-python. I am closing the issue then.


AST Deserialization Issue GTMSessionFetcher.h:797

Xcode 12.5.1
SwiftPM
Also firebase-is-sdk 8.3.1 with SwiftPM
Got an error, when compiling to device:
'GTMSessionFetcher' has different definitions in different modules; first difference is definition in module 'GTMSessionFetcher.GTMSessionFetcher' found property name 'sessionUserInfo'

Fixed after Clean Project


Debug unittest terminates instantly

Type: Bug
2023-11-21 17:21:27.225 [info] Using launch configuration in launch.json file.
2023-11-21 17:21:27.356 [info] DAP Server launched with command: /Users/username/workspace/utils/.venv/bin/python /Users/username/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/lib/python/debugpy/adapter
2023-11-21 17:21:28.550 [info] Test server connected to a client.
2023-11-21 17:21:28.550 [info] ResultResolver EOT received for execution.
 I have just returned from vacation and will take a look at this shortly, thank you for your patience!

Hi
I can't reproduce it now.
On Tue, Dec 5, 2023 at 9:25 PM Eleanor Boyd @.***>
wrote:

Hello could you include your full logs from the python output? Is the line ResultResolver
EOT received for execution. the last thing you receive? I would also
expect to see some output between test server connecting and the EOT
message as we will print out all output coming from the python process as
it attempts to run.
Also do you have a minimal repro of what you are seeing? Such as the repo
or a test file which reproduces this error.
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-python/issues/22509#issuecomment-1841481037,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A25TXP2G65BGNREJ5AQOHGTYH5YL7AVCNFSM6AAAAAA7UYX5BWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBRGQ4DCMBTG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Omer


Cleanup parser directory

Now that we use python binding for parsing, we could cleanup the parser directory to remove unnecessary installation files, ocaml files, etc...

Actually the whole libdash (cloning it from github, installing it) is not needed. We should remove this.

Parsing shell scripts to Pash AST does rely on the C portion of libdash - the Python script calls the C functions to get the initial parse, before processing it into the Pash AST
(the reverse direction - Pash AST to shell script - does not require libdash; it is pure Python)

oh I see :) thanks for catching that

@mgree is working on this!


[Docs] Replace relative links in how_to.md

Motivation
Fix the problem shown in the picture.

Modification
Replace relative links in how_to.md

Wait for the release of the 3.x version, and then unified replace the relative links.


update design and technology pages

https://trello.com/c/QFetWgXD
update design and technology page with components

@joegibb Can we take the opportunity to standardise the curriculum link - ie change it to go to the curriculum directly rather than the collection page?
https://www.gov.uk/government/publications/national-curriculum-in-england-design-and-technology-programmes-of-study/national-curriculum-in-england-design-and-technology-programmes-of-study


Help adding new fields

Your project ran right, very good to start the studies. Could you help me add new fields in the registration form? It already includes 3 fields in the database (type VARCHAR) and I also include tbm in the flutter code, but I believe I didn't do it right. "No Internet Connection" Appears
Where do I really need to change?

@gugoan are you able to add new fields or you are still stuck.
If yes we can connect remotely over anydesk

@gugoan If issue is not resolved reopen it.


progress bar max value is unlimited

https://slice.rovergulf.net/docs/layout/progress
click at least 5 times when progess bar is at its maximum, then one or two decrease clicks do nothing

was fixed here https://github.com/rovergulf/ngx-slice-kit/pull/392


Monitor tempdb - query change

The tempdb monitor query does not appear to return appropriate results for the following reasons:

The sql_requests view returns historical values from sys.dm_pdw_sql_requests.  These inevitably join to the node level results which are real-time only.  This can be confusing to the user as unintentional joins on historical, reused spids are surfaced in the results.
The sql_requests view only takes sys.dm_pdw_sql_requests into account; however, tempdb usage from the sister view, sys.dm_pdw_dms_workers could be reported on as well.
@@SPID does not return a DW session id; use the SESSION_ID() function to filter out the monitoring query.  However, I don't believe this filter is necessary at all as the joins to the node level DMVs will eliminate the current query.

The suggested change implements the following:

Removes the view and uses a CTE instead; this is to prevent creation of a permanent object in a user database_id
Adds sys.dm_pdw_dms_workers rows to the reported data set
Filters for only currently running queries
Removes unnecessary filters for current session and 'sa' login
Orders by request_id and pdw_node_id
Provides an inline example for filtering against a particular session_id
Removed verbiage relating to the view creation
Added verbiage indicating that this query can only be used for real-time monitoring only

I expect this change to be reviewed pretty closely since there's a suggested code change.  Please note that there is an assumption built into the CTE that all final statuses in sys.dm_pdw_sql_requests begin with "StepC" or "StepE" - this assumption may not be accurate, but documentation on the DMV doesn't provide enough context to determine all possible final statuses.

@scott-epperly : Thanks for your contribution to the Azure documentation! The author, @sqlmojo, has been notified to review your proposed change.

@jrowlandjones @barbkess James have you reviewed this yet?

Hi Scott. Looking at this now. I notice that you include the RowCount from the node sessions which I can't see giving the customer actionable information since the session information will disappear immediately after the table creation step. We should likely remove that column.
Also, I believe out of this we need to document this as a bug as the inability to track overall usage historically for tempdb appears broken.

@hirokib - The RowCount column was merely carryover from the original version of the query; I'm indifferent about its presence from a usability perspective but don't see any harm in providing it.  However, it should be understood that all of the information presented in this query will disappear upon step completion of a currently active query (as compute node sessions complete) since the pertinent data is coming from pass-thru DMVs (e.g. sys.dm_pdw_nodes_db_session_space_usage).  In other words, this is a real-time query only; historical impact of PDW request_ids on tempdb is not recorded and therefore cannot be retrieved.  Perhaps this should be expanded on in the description of the query?
As an aside, I wouldn't classify the inability to track tempdb usage historically as a bug; rather, it is by design.  tempdb is a compute node resource for which no historical information is tracked (as opposed to PDW engine DMVs like sys.dm_pdw_exec_requests, sys.dm_pdw_request_steps, etc.).  This would, indeed, be a difficult task as session ids are reused in SQL Server SMP.  To explain, session_id 94 on compute node 1 that is executed for step 2 of request_id QID12345 cannot be tied to request_id QID12346 which also used session_id 94 on compute node 1.
I'll be interested in your feedback given the above explanation.

@jrowlandjones @barbkess @hirokib : Will this be reviewed further in light of the previous explanation?  Are there additional edits that should be implemented (I'm not clear on what those should be)?

@scott-epperly Would you mind following up with Ellis and JRJ on this, and reopen your pr once you decide ?

#please-close


Matter-Switch: Fixes for color temp and level limit reads

This commit addresses minor issues discovered after PR 1220 was merged into main.

Once a decision is made regarding more sensible color temperature limit values, I will update COLOR_TEMPERATURE_KELVIN_MAX and COLOR_TEMPERATURE_KELVIN_MIN accordingly.

These changes look good! We'll add in the new ranges once we have some agreement on the appropriate range. We'll also want to add whatever default range we agree on to the default light-color-level profile as an embedded config.

Duplicate profile check: Warning - duplicate profiles detected. light-color-level.yml == light-color-level-2200K-6500K.yml light-level-colorTemperature.yml == light-level-colorTemperature-2200K-6500K.yml

Since we want to set this default for all devices currently using the generic light-color-level and light-level-colorTemperature profiles, this unfortunately means there will be duplicate profiles in this case.


Oui24bit pin

Little contribution from spain and other place using the data base of WPS PIN (bash script created in 2012). The data base has been updated over the years and it is freely available here: https://www.wifi-libre.com/topic-626-base-de-datos-wpspin-original-open-source-actualizada.html
Notice that the algorithm was found in 2012 by  ZaoChunsheng and published in the script ComputePIN-C83A35 (for more information check )
It is known as "Zao algorithm", at least in some part of the globe :smiley_cat:
Al this data are 100% safe/complete and I checked them personally. They've been collected over five year with contribution from users from several forums,. mainly Spanish and French.
Some more will come.
Cheers!

Hello!
Thanks for the patch, I'll review its contents to make sure of compatibility with WPS PIN generator.

HI!
It has been a very long and hard day for me so I won't be able to do the corrections today and to add the others bSSID.
Let's do it differently, instead of correcting this request i will propose you a clean one applying your recommendations and adding all bssid at once as you suggested .
See you soon.

Well, it could be done by rebasing and force pushing to your branch.
But if you want to create another pull request, alright then.

HI!
It has been a very long and hard day for me so I won't be able to do the corrections today and to add the others bSSID.
Let's do it differently, instead of correcting this request i will propose you a clean one applying your recommendations and adding all bssid at once as you suggested .
See you soon

Well, it could be done by rebasing and force pushing to your branch.

I'll do it like this, thanks for the suggestion.
I have very crazy and buzzy days until Thursday and there is a very huge amount of OUI from HG566a devices that need to be organized alphanumerically.  I won't probably be able to present the request before Thursday, sorry about that. See you soon!

No problem!
Maybe this tool would be useful in your case:
http://textmechanic.com/text-tools/basic-text-tools/sort-text-lines/

i presented a new request with all bssids included so i close this one.


[Feature] Reusable Functions

Summary
Add the ability to create reusable functions bound to a page or app.
Motivation
Currently, we can create and reuse API calls between various widgets.  The ability to create generic functions bound to a page or app would be very useful.  Even early in my prototyping I'm finding myself reusing a lot of the same logic for multiple components, this makes code maintenance difficult and generally ugly.  Things like data manipulation and processing would benefit from this, as would more complex logic in widgets.

Hello @ageofabenius 👋 Thank you for the feature request! We'll be solving this along with #1751 and it's already underway :)


osbuild-mpp: Report the path of the json file when parsing fails

This makes it a lot easier to understand failures when files are
including other files.

Rebased and fixed nit


Lots of errors

I tried to add the pod by pod install. But when I open my porject I get the following errors:

Hi @kiwo12345,
Take a look a this commit. It'll help you these swift versioning errors.
Happy coding!

I getting the same. When will this update be available?

Most probably, this or the next week.
On Wed, Oct 4, 2017 at 8:04 PM, Haroldo Gondim<EMAIL_ADDRESS>wrote:

I getting the same. When will this update be available?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/handsomecode/InteractiveSideMenu/issues/57#issuecomment-334166133,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB_CJo6f0qOqoIXcCqw77ST4Je7d3e1Eks5so5CAgaJpZM4PnltB
.

--
SOFTWARE ENGINEER, mobile
OLGA KONOREVA
PHONE
+7<PHONE_NUMBER> <+7+965-878-0017>
DRIBBBLE
dribbble.com/handsomemade
TWITTER
@handsomemade http://twitter.com/handsomemade
http://handsome.is/
Olga Konoreva +7 965-878-001

Thank you. I will be waiting!
If some need to use before the POD be available:
pod 'InteractiveSideMenu', :git => 'https://github.com/handsomecode/InteractiveSideMenu', :commit => 'f83788cbde2ca62eb33b5eb123cc49a0fb69760b'

Hi all,
Thank you for your patience. The 2.1 version is planned to be released tomorrow (on October, 17). It will contain these Swift 4 fixes.
Also, huge thanks to @haroldogtf for pod spec.

Hi guys,
InteractiveSideMenu 2.1 has been released and published to cocoapods. Please, check.

Worked perfectly for me.

Great, thank you!


Fix ValheimPlus Github URL

Hey folks,
ValheimPlus moved from the URL "https://github.com/nxPublic/ValheimPlus" to "https://github.com/valheimPlus/ValheimPlus".
This PR fixes the URL in valheim-plus-updater.
P.S.
I managed to get rate limited by Github while running the server, not sure if this was due to the failed requests or the Cron interval.

Thank you!


Update out of date jsonify documentation

https://github.com/pallets/flask/pull/2193 changed the conditions for when jsonify pretty prints, but this comment wasn't updated.

Thanks!


Create and publish symbol package

Create and publish symbol packages on www.symbolsource.org (for production NuGet packages) and on MyGet for pre-release all NuGet packages.
The symbol package will greatly enhance the debugging experience for anyone using the .NET CAS Client.

MSDN Docs about symbol packages: https://msdn.microsoft.com/en-us/library/ms241613.aspx
How to use symbol packages in VS: http://www.symbolsource.org/Public/Home/VisualStudio

To simply things, I'm going to just publish the symbols to only MyGet's symbol server.  All the versions of the package are already stored on MyGet to begin with.  Production ones are pushed to NuGet.org.
Going forward users would need to add the MyGet symbol server feed(s) to their Visual Studio (Ref: https://docs.myget.org/docs/reference/symbols)

Good work, Jason. Perhaps leave this issue open until instructions can be added to the readme/wiki on how to consume the symbols package(s) while debugging?

Documented!
We should probably restructure the Wiki at a point in the near future as we add more stuff to it, like a troubleshooting section.

Included in release 1.2.0


Multiple Ajax Calls

Hello, I'm trying to use boomerang to also track timing for the ajax calls after page has loaded.  I have put the start_timer(t_done) call in jquery's beforeSend function and done() when the request is complete.
Is there a way for BOOMR to keep track of all the separate timers?  I noticed it won't send beacons for the ajax calls because the original onload timer has fired?

Auto XHR instrumentation is now part of boomerang.


[vcpkg_install_meson] Don't touch mingw static lib .a suffix

What does your PR fix?
This PR fixes post-build check errors "Could not find proper second linker member" when building for *-mingw-static. Mingw uses .a suffix for static libraries, so no renaming to .lib is needed.
Previously hidden by the linker problem fixed in #18927.

Which triplets are supported/not supported?


Fix checking for existing builtin overflow functions

Fix checking for existing builtin overflow functions
This patch fixes commit 1ca5486573e414aa611ec5fd55a57590b85bf7f0, which added
support of using builtin overflow functions: __builtin_add_overflow,
__builtin_sub_overflow, __builtin_mul_overflow. The configure script tries to
compile a small program with one of these functions. Compilation was without any
errors, because to correctly check gcc requires flag
-Werror=implicit-function-declaration. This flag is added later.
This patch moves this check after flag -Werror=implicit-function-declaration is
added to CFLAGS.

Failed job Build for ppc64le: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1448913

Failed job Build for x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1448912

Failed job Build for x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1449011

Failed job Build for ppc64le: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1449013

Failed job Build for ppc64le: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1451507

Failed job Build for x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1451506

Failed job Build for x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1451993

Failed job Build for ppc64le: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1451994

Failed job Build for x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1455592

Failed job Build for ppc64le: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1455593


Sample code of saving an image from an ImageStream

Community, this should goes in stackoverflow but I have searched some similliar question just got no useful solutions.  Here is my demands:
Saving an image from ImageProvider
I have knowing that we have resolve methods to achieve this. But I just don't get how to using ImageStream an got the bytes write into a file.
 widget.imageProvider.resolve(new ImageConfiguration()).addListener((imgageInfo, _) {
                                      // how to get imagestream and save it as  file
                                    }
                                  );

Any updates?
I found a workaround, but I am not sure this is a proper way...
extension ImageProviderExtension on ImageProvider {
  Future<String> getPath() async {
    final imageProvider = this;
    if (imageProvider is FileImage) {
      return imageProvider.file.path;
    } else {
      final completer = Completer<String>();

      final imageStream = imageProvider.resolve(ImageConfiguration.empty);

      ImageStreamListener listener;

      listener = ImageStreamListener(
        (imageInfo, synchronousCall) async {
          final byteData = await imageInfo.image.toByteData(
            format: ImageByteFormat.png,
          );
          final bytes = byteData.buffer.asUint8List(
            byteData.offsetInBytes,
            byteData.lengthInBytes,
          );

          final tempDirectory= await getTemporaryDirectory();
          final path =  join(tempDirectory.path, 'image.png');

          await File(path).writeAsBytes(bytes);
          if (!completer.isCompleted) {
            imageStream.removeListener(listener);
            completer.complete(path);
          }
        },
      );

      imageStream.addListener(listener);

      Timer(const Duration(seconds: 3), () {
        if (!completer.isCompleted) {
          imageStream.removeListener(listener);
          completer.complete(null);
        }
      });

      return await completer.future;
    }
  }

  Future<File> getFile() async {
    final path = await getPath();
    return File(path);
  }
}


Native Rust Crypto Provider

This PR adds a new cryptography backend using native Rust crypto implementations.
The new backend is the default.
To use evercrypt, default features have to be disabled and the evercrypt-backend feature has to be enabled.
The basic approach here is that there is one feature for the Rust crypto backend and one for the evercrypt backend. However, features are additive. So the other feature has to be explicitly disabled.
The ciphersuite module has a new crypto sub-module that branches off into the evercrypt_provider and the rust_crypto_provider, each implementing the piping to call the respective crypto backends. No other part of OpenMLS must call either backend.
This PR also adds new cross compilation targets with ios, arm64 Android, wasm, and 32-bit Linux.
The way randomness that is generated in OpenMLS itself (and not in the crypto libraries or hpke) has changed. The cipher suite holds a ChaCha20 RNG object now. We want to make the general handling of randomness better later. But the changes in this PR abstract away the PRNG and implements the infrastructure for the global state.
Note that this PR also contains some changes to the KATs that had bug in encoding some secrets, which failed with the new backend.

The fuzzer fails right now because of https://github.com/rust-fuzz/cargo-fuzz/issues/276

I saw that hmac was substituted with hash in some places but didn't check why that it is. Could you quickly explain why?

HMAC is defined by the hash algorithm it is using. In some places this is called an hmac type, in others the hash algorithm is used to set up the hmac. I decided to take the hash type here because it's more general.


serverpod_auth lacks an method for letting a user change its full name

UserInfo has the fullName instance property, but there is no method of change it in the current version of serverpod_auth.
Describe the solution you'd like
I would like to have an endpoint method named changeFullName in auth.user that can be used, like the existing changeUserName.
Describe alternatives you've considered
I haven't really considered any other options.
Additional context
UserSettingsConfig has flags UserName and FullName, but I cannot see that these are looked at in serverpod_auth. Shouldn't they actually be in use?

Related PR: #2724.

@SandPod, any take on the question I had under Additional context regarding the use of UserSettingsConfig?

@daniel-webstep, Just some minor fixes for the tests and we are ready for merge 👍

I think I wasn't clear regarding the intention with the last message. I saw that there is a class called UserSettingsConfig that defines whether the user should be allowed to change its userName or fullName. But from what I could see, the methods that alter userName doesn't take this into account. So I didn't implement it for fullName either.
So the question is: Should this class affect the endpoint for updating fullName and userName (and perhaps other fields, cannot recall which options there were)?

I believe this is actually a bug and filed an issue for it here: https://github.com/serverpod/serverpod/issues/2746
@dannejosefsson / @daniel-webstep - Would you be up for fixing this issue as well?

I can definitely scope it at least.


Socket timed out

I can't connect to my accounts, it stucks in a loop, what is wrong? i logged debug events;
[DEBUG]connected
[DEBUG]encrypt request
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27018
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27018
[DEBUG]connected
[DEBUG]encrypt request
[DEBUG]socket ended
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27017
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27019
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27017
[DEBUG]socket ended
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27017
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27017
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27017
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27017
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27017
[DEBUG]connected
[DEBUG]encrypt request
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27017
[DEBUG]connected
[DEBUG]encrypt request
[DEBUG]socket ended
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27017
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27019
[DEBUG]socket ended
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27017
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27018
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27018
[DEBUG]connected
[DEBUG]encrypt request
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27018
[DEBUG]connected
[DEBUG]encrypt request
[DEBUG]socket ended
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27018
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27019
[DEBUG]socket ended
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27019
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27017
[DEBUG]socket timed out
[DEBUG]socket closed
[DEBUG]connecting to <IP_ADDRESS>:27017
[DEBUG]connected
[DEBUG]encrypt request

i tried to disable firewall and iptables but it isn't related with it i guess, what can be the problem?

Still having the same issue after updating... Please help.


operator ibm-metrics-operator (2.15.0)

New operator bundle
Name: ibm-metrics-operator
Version: 2.15.0
Certification project: 6419c8987cadbe946d0e0594
Test result URL: https://catalog.redhat.com/api/containers/v1/projects/certification/test-results/id/
Test logs URL: https://catalog.redhat.com/api/containers/v1/projects/certification/artifacts/id/66560f2d7819fcf21c75c47b

/pipeline restart operator-hosted-pipeline

/pipeline restart operator-hosted-pipeline

/pipeline restart operator-hosted-pipeline

/pipeline restart operator-release-pipeline


Marker legend not updated in inverted color mode (Listing view)

When in inverted colors mode, the legend for the markers in listing view still shows the old colors
To Reproduce
Steps to reproduce the behavior:

Activate inverted color mode
Use metal theme

Expected behavior
The legend colors should correspond to the listing markers
Screenshots
In these screenshot, we see the info annotations are red, but the legend says they should be blue

With the info (blue) annotation disabled (hard to see, but they're the only  box not checked), only the red markers disappears :

Environment:

OS: Ubuntu 18.04
JDK: openjdk 11.0.1 2018-10-16

Inverted colors have been removed.   You can now change most application colors, icons and fonts by editing the current Theme.
Fixed by e657a701416877f7a77b635662d30cfc25f1b5f0


fix(ci): updating to actions/upload-artifact@v3

Signed-off-by: Felipe Zipitria<EMAIL_ADDRESS>Should solve this:
"regression (modsec2-apache)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/."

Looks good. Thank you. Merging now.


Update comparison-chart.md

The changed items are all possible in Bookings.

@kwekuako Please merge this PR. Thanks

@kwekuako Gentle remnder


While semantic

How can I implement the semantics  for a "while" construct in my DSL? I mean, I have no problem for the syntax/parsing definition ... but, what about the semantics?
Thanks

I am not sure I understand the question.
I think it depends on the semantics of the parser you are building.
Are you creating an interpreter? in that case you need to evaluate it.
Are you creating an AST of a language, so you would need to represent that "while statement" in your AST Model.
This sounds like a question on how to build a compiler which is a bit beyond the scope of this project...

Maybe this will help.

https://github.com/estree/estree/blob/master/es5.md#whilestatement

This is the definition of a popular AST structure to represent ECMAScript (JavaScript) language.

re-open this if you have farther questions


[Feature Request]Uncraft enchanted items.

as the title said.

Yeah maybe.  Could be an option in the config file to allow this i suppose.

I remember addressing this before, it cant work like this. some recipes involve enchantments on one side or the other.  So it exactly matches the output with or without enchants.
Instead, ive added  an item that lets you remove enchantments and put them on a book.  So you can do that first before uncrafting  https://minecraft.curseforge.com/projects/cyclic/files/2411176


Feature Request: Conditional Execution

I want to do a feature request for you.
Are you considering add conditional execution of a worker?
Regards,

+1

Maybe add a guard in jobs that check if it should end early?
Slightly wasteful but easy
return if variable < 3


[ATIP] Add new step to fix incompatibility issue

in clicking app from task manager between Xiaomi Pad2 and other devices
Impacted tests(approved): new 0, update 1, delete 0
Unit test platform: [Xiaomi Pad2][Memo8]
Unit test result summary: pass 1, fail 0, block 0
BUG=https://crosswalk-project.org/jira/browse/CTS-150

@haoxli , PTAL.

LGTM


retrieve ca client bundle from extension api server config map

This change updates the script with appropriate command so that
ca cert bundle is retrieved properly so that mutating admission
webhook can be configured correctly.
The current one throws below error.
# kubectl get configmap -n kube-system extension-apiserver-authentication -o=jsonpath='{.data.client-ca-file}' | base64 -w=0
base64: invalid wrap size: ‘=0’

Signed-off-by: Periyasamy Palanisamy<EMAIL_ADDRESS>

I rebased this and pushed to master. Thanks for this patch.


Incorrect file name being imported for constants-example.js file

Hey, this is my first issue.
I found that in the file client/src/components/Login/index.js, the line to import 'githubClientID' from 'constants.js' file is: import { githubClientID } from "./../../utils/constants";.
However there is no 'constants.js' file in the utils folder. It should be replaced with 'constants-example.js' instead.
This is the case for other files in the 'components' folder as well.
This is causing problems in running the docker image file as well on my local computer.

@rohan-malik This file is an example file, which you need to copy and rename as constants.js. It is there for new devs to know the list of constants to be set.

Thanks @djcruz93. I made a copy of the file with the name 'constants.js' locally. Would it be useful to make a copy of the file in the GitHub repo as well? I can add the file and make a pull request if needed. Otherwise, should I close the issue?

@rohan-malik creating a constants.js is not needed in the repo. Doing so would expose your ids and secrets to the web. The constants-example.js file already exists to give devs the structure of what constants they'll need to fill in to make the app work.


docs.rs fails to build for r3bl_tui

Crate name
r3bl_tui
Build failure link
https://docs.rs/crate/r3bl_tui/0.3.7/builds
Additional details
No response

One of your (transitive) dependencies xcb attempts to modify its source directory. That is not allowed as Cargo assumes it is immutable. I would suggest you try to get that updated to the latest version as I think they've fixed that issue.

@Nemo157 Thank you so much for your quick response. I will take a look a closer look at the xcb dep 👍🏽

it looks like the issue was fixed in newer versions of your package ( presumably with https://github.com/r3bl-org/r3bl-open-core/pull/179 ), so I'm closing this issue here.
Feel free to reopen if my interepretation was wrong


tensorflow.python.framework.errors_impl.NotFoundError: Key RL_global_step not found in checkpoint

tensorflow version: 1.3 (CPU)
When I run : python main.py gtp policy --read-file=saved_models/20170718
It causes an error:
tensorflow.python.framework.errors_impl.NotFoundError: Key RL_global_step not fo
und in checkpoint
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_INT32], _device="/job:loc
alhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names
, save/RestoreV2/shape_and_slices)]]
How to fix it.

I've updated README with instructions. See the section that says "If you just want to get MuGo working, you can download a pretrained network..."

thanks.


Hardware Requirements are Ambiguous and Confusing

The documentation for Creating a Stake Pool is very confusing.
Particularly in terms of if the hardware requirement.

In terms of hardware, you should ensure you have the following:

8 GB of RAM
24 GB of hard disk space
a good network connection and about 1 GB of bandwidth per hour
a public IP4 address

Is this just talking about the core node, or the relay?
I find it questionable since the relay and core have very different workloads.
Would you please confirm if the relay and core nodes have the exact same requirements or if perhaps the relay or core has a different set of requirements?

experiment


[Dialog] Scrollable overlay closes Dialog when trying to scroll with the scrollbar

Bug report
Current Behavior
The problem occurs following the scrollable overlay example for the dialog here - https://www.radix-ui.com/primitives/docs/components/dialog#scrollable-overlay.
The styling is applied correctly and scrolling with scroll wheel, trackpad or slide gesture works as expected. However when scrolling by clicking the scrollbar on the right, it triggers the click outside listener and closes the dialog.
Expected behavior
Clicks over the scrollbar that appears should not close the Dialog.

Reproducible example
https://codesandbox.io/p/sandbox/elegant-ritchie-vhp3xp
You should click the "Open" and then reduce the height until the dialog overflows on the Y-axis, then try scrolling by clicking the scrollbar.
Suggested solution
What comes to mind to me is just doing custom logic for detection of clicks on the scrollbar in the click outside listener.
Note: I have not looked at code at all and have no idea of the internals and whether or not that is possible.

Your environment

Software
Name(s)
Version

Radix Package(s)
@radix-ui/react-dialog
1.0.3

React
n/a
16.13.1

Browser
Google Chrome
latest

Node
n/a
18.0.0

pnpm
n/a
8.14.3

Operating System
Mac OS
Sonoma 14.5

I can confirm this issue as well when nesting the Dialog.Content within the Dialog.Overlay.


idb2pat has issues with functions < 32 in length

Looks like the zrange implementation doesn't consider the case when (func.endEA - func.startEA) < 32. For REALLY small functions, this seems to return a really long iterator.
Try it zrange(32, 8). Script gets stuck at line 265.

closed in #32


Group Cumulocity logic in a c8y_api crate

This refactoring task is part of https://github.com/thin-edge/thin-edge.io/issues/1401.
Motivation
The current code base contains 3 crates (c8y_api, c8y_smartrest and c8y_translator)
containing Cumulocity related code, topic names, message payloads, translation functions ...
The rationale for this structure is not clear. For instance, where is defined the Cumulocity Json format?
Furthermore, many of these Cumulocity related entities are redefined by
the mapper (under the tedge_mapper::c8y module)
and the operation plugins (c8y_log_plugin and c8y_configuration_plugin).
This makes the code difficult to maintain
and things can only be worse over time without a share understanding of
where to add and search Cumulocity related features.
Proposal
The proposal is to have a single crate, named c8y_api to gather all the definitions of Cumulocity specific entities.

This crate will contain both the MQTT api (topic names, message payloads)
and the REST api (uri, content)
as well as the logic (message translations).

The crate c8y_api will not define thin-edge related paths or MQTT topics.
For instance, the directory for operation configurations will be defined into a tedge_api crate.
Same for all the topics used to send operations to the agent.

The code will be refactored progressively.

To start with, we will not define thin-edge related paths in c8y_api.

Candidate crates and modules

tedge_mapper::c8y::converter - remove redefinition of c8y related topics and message payloads
tedge_mapper::c8y::fragments - consider moving this entire module in the c8y_api crate
tedge_mapper::c8y::topic- consider moving this entire module in the c8y_api crate

Duplicate of https://github.com/thin-edge/thin-edge.io/issues/1405


need help with the ID of new threads

Hi there @vincentdistoer!
We would be able to assist you further if you came into the discord server.

This might be closed


Adding the sourcemaps for development

Hey Guys,
Thanks for a truly awesome template! I've been playing with it since Yesterday.. 🚀
Just a minor suggestion - adding the  sourcemap: true to the vite.config.build when developing is a must so worth a mention in the readme IMO.

@LironHazan
Thanks for letting me know what I missed!

https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/10

@all-contributors please add @LironHazan for enhance

@all-contributors please add @LironHazan for ideas


Preserve filenames and file extensions in raw data

Currently raw data is upload with a special filename we generate, and we drop the file extension.
Instead, we should allow providers to choose the filename.
https://github.com/ministryofjustice/data-platform/pull/1549#issuecomment-1727944755

Agreement to retain the file extension, needs clarification on whether this is inferred from the file or user defined.

[ ] Catch up with Murdo regarding this ticket.
[ ] Filename is not currently passed in through the api as a query parameter so api endpoint terraform on mod platform needs to be updated to reflect this.


Linter app

POC implementation for linter application:
Summary of changes:

cmd/app-server: contains the server code and a Dockerfile to deploy this application.
cmd/app-server/linterapp: contains the Handler which processes the requests, computes lint and push back into registry.
the functionality from compute_lint.go is exported and reused in linterapp.

Currently this setup is verified for CloudRun deployments and openapi linters.

@googlebot I fixed it.

Will create a new PR for the worker architecture.


Uploading statements

Having a little trouble uploading statements
TypeError: statement is null form.self.js:58:16
TypeError: this.ui.balanceGraph.bind is not a function balance_graph.self.js:77:0
I understand you are not actively developing this project but it would be awesome if you could fix this. Also what file formats are supported?

Hey Bardoe,
What format were you trying?
At the moment the only statement format that's supported is OFX, and the OFX files that I've been using are from ASB Bank.
I'm currently looking into the this.ui.balanceGraph.bind is not a function issue, and may end up replacing the flot javascript library with something a bit lighter.
Also, I have a branch to add support for QIF, ASB Bank CSV, ASB Bank TDV, MYOB Cashbook CSV and Westpac Bank CSV formats but it's not quite ready for release.
I am still actively developing Dot Ledger, I just haven't pushed any big features in a while.

Hi Kale,
Fantastic to hear your are still actively developing Dot Ledger. It really is very nice, I hope to be able to contribute in the future. I have it running on Elementary OS. Firefox 41 (Developer Edition) and have tried both QIF and CSV.
Westpac Bank does not supply OFX format files.
Highcharts looks good as an alternative to flot but is only free for non-commercial use.

The import is really glitchy.  I was able to import QFX file from two sources successfully, but CSV/QIF/IIF files from two other sources fail to import.  I also tried to use various tools to convert statements of various formats to OFX and importing that, but no luck so far.

Hey,
what's the status on that? The branch @kaleworsley mentions doesn't exist anymore.


Ask a question goes to StandardJS

Your 'Ask a question' link on Github issues goes to StandardJS: https://github.com/teafuljs/teaful/issues/new/choose
It links here: https://discord.gg/ZegqCBr
Oops!

Good catch! We need to change the URL here https://github.com/teafuljs/.github/blob/7402795b3307f1477f002d2bb21c91a360d3f1ab/.github/ISSUE_TEMPLATE/config.yml#L4

Done! Thanks!


fileReplacements does not work on angular v10

🐞 Bug report
Command (mark with an x)
ng build --configuration=development

[ ] new
[X] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
No
Description
 A clear and concise description of the problem...
🔬 Minimal Reproduction

Create a brand new project using ng new sample2
Build the project with configuration=production: ng build --configuration=production
Check the src\environments\environment.ts , open environment.ts and the file content has no changes at all.

🔥 Exception or Error
None
🌍 Your Environment

Angular CLI: 10.0.8
Node: 14.7.0
OS: win32 x64

Angular: 10.0.14
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.1000.8
@angular-devkit/build-angular     0.1000.8
@angular-devkit/build-optimizer   0.1000.8
@angular-devkit/build-webpack     0.1000.8
@angular-devkit/core              10.0.8
@angular-devkit/schematics        10.0.8
@angular/cli                      10.0.8
@ngtools/webpack                  10.0.8
@schematics/angular               10.0.8
@schematics/update                0.1000.8
rxjs                              6.5.5
typescript                        3.9.7
webpack                           4.43.0

OS: win 10

Check the src\environments\environment.ts , open environment.ts and the file content has no changes at all.

This is expected, fileReplacement work on the emitted code and not on source code.


Key chat manage channels modal by ID

cc @keybase/y2ksquad

Nice catch, that's a flow I forgot. Fixed, want to take a look?


how to

how do you send messages to the console?

There is no way to send a message to just console currently. I'll add it later.

There is no way to send a message to just console currently. I'll add it later.

ok

ok


one user with two different accounts on Azure DevOps Server 2019 needs two License?

For on-premise Azure DevOps Server 2019 as a user I have different accounts on different machines (e.g. my laptop, my pager, etc.) for monitoring and administering tfs server services.
I have two questions
1- Can I use only one user license for all of my accounts?
2- Actually I am serving tfs server. Do I need any license for administering on-premise Azure DevOps Server?

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

ID: 52303279-70fd-a0f6-cc6f-96bf73ed8c32
Version Independent ID: cb30fbe3-b069-2665-d8da-9f714a23290a
Content: Frequent questions about billing management - Azure DevOps
Content Source: docs/organizations/billing/billing-faq.md
Product: devops
Technology: devops-billing
GitHub Login: @chcomley
Microsoft Alias: chcomley

@Shahyads -- Shahyad, thank you for your questions. Please look at https://azure.microsoft.com/en-us/pricing/details/devops/azure-devops-services and https://azure.microsoft.com/en-us/pricing/details/devops/server for the most recent information.
Also, here are a couple of options where you might consider asking your questions:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow

cc @chcomley for awareness

@WilliamAntonRohm Your answer didn't help me. Could you please clearly answer my questions or document it in relevant pages. I'v already read the links which you sent then I submitted the issue to resolve ambiguity. specially for on-premise Azure DevOps Server


DiscoveryRestServiceClient :  Find server list fail

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
Configuring the collection server failed

Bug

Which version of SkyWalking, OS and JRE?
6.0.0

Which company or project?

What happen?

I completed the SkyWalking deployment on a server, which can be verified from the three ports that were launched.
I started the application on another server and expect to send the data to the server through the proxy. But unfortunately the following error has occurred:

ERROR 2018-12-18 19:40:50:358 DiscoveryRestServiceClient :  Find server list fail.
org.apache.skywalking.apm.agent.core.remote.RESTResponseStatusError: Unexpected service response code: 404
	at org.apache.skywalking.apm.agent.core.remote.DiscoveryRestServiceClient.findServerList(DiscoveryRestServiceClient.java:92)
	at org.apache.skywalking.apm.agent.core.remote.DiscoveryRestServiceClient.run(DiscoveryRestServiceClient.java:77)
	at org.apache.skywalking.apm.util.RunnableWithExceptionProtection.run(RunnableWithExceptionProtection.java:36)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

I started to detect if I could connect to the other end on this server. The answer is yes. I can verify this problem with TELNET.

[root@dev /www/test-service]# telnet <IP_ADDRESS> 11800
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS>.
Escape character is '^]'.

Since the target port is connectable, why doesn't SkyWalking think so?

collector.servers=<IP_ADDRESS>:11800

No service discovery in 6.x. Are you using 5.x agent to connect 6's backend?

Yes, the version of the agent I use is 5.x. Is it normal after upgrading to 6.x?

For considering cloud native, the load balance is not skywalking agent responsibility. Please removed in 6.x. If you want to use 6.x backend, please upgrade the agents. No big change in agent core.

Can work normally, thank you.


Issues with parent selection

Hi,
It's me again :)
I updated the codesandbox with 6.1.10 https://codesandbox.io/s/material-table-starter-template-v5-forked-0d1c6w
If you type "test" in the search bar and then you try to select all :

What is expected
The parent checkbox should be selected too

Hi, yes while looking into it I was wondering the same.
What is here the expected behavior, since 1 was not searched, should it get selected, or just the searched ones?

You're right but I think 1 should be selected because it's visible


--profile is prohibitively slow, and panics

I set --rlimit 1 (1 second equivalent) and --profile when verifying a single function. When the query times out, the profiler kicks in and the progress shows that there are 1.1M lines to process:
[00:06:23] ...  752/1131K lines

It took about 6 minutes to process 700K lines, but progress seems to get slower as more lines have been processed. The process has 1.3G of RSS and 36G of allocated virtual memory.
The offending function is PageTable::map_frame_aux in https://github.com/utaal/verified-nrkernel/blob/ca41617163c0ea08d07e364566e304035f30989d/page-table/pt_impl/l2_impl.rs
The trace file is 40MB.
After 19 minutes, it printed "analysis complete", but then Verus panicked:
thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', ~/.cargo/git/checkouts/smt2utils-762882d0710469db/ff60e58/z3tracer/src/model.rs:413:51

/cc @parno

The slowness may just be because I compiled in debug mode :/


[Question] about nasnet-a used as subnetwork in adanet

@cweill
hi,Weill,
I saw an article on the Google ai blog：https://ai.googleblog.com/2018/10/introducing-adanet-fast-and-flexible.html
The article mentions using nasnet-a as subnetwork after 8 adanet iteration and get the error-rate of 2.3% on cifar-10
and with fewer parameters at the same time. I would like to ask two questions.
1.do you use the entire nasnet-a architecture network（for exapmle, N=6 and F=32） as subnetwork, or use the normal cell as subnetwork or something else.
2. how do the subnetworks combine to each other.
Thanks !

@cweill
hi,Weill,
I got some errors, like this: ValueError: generator yielded an element of shape (150, 150) where an element of shape
Note that the input data that I used is CIFAR-10 dataset, which was preprocessed and defined using input_fn like that in adanet/adanet/examples/tutorials/customizing_adanet.ipynb. For example:
dataset = tf.data.Dataset.from_generator(generator(x_train, y_train), (tf.float32, tf.int32), ((32, 32, 3), ()))

@SmallyolkLiu: Have a look at our research code that uses NASNet in AdaNet. It shows you how you can get it working on Google Cloud MLE.

Hi @cweill . Thanks for your great work. Did you apply any data augmentation? In your research code, I see that you apply basic augmentation (flip + crop)  to input images. Did you do the same to the performance reported in the blog? Thanks!

@tl-yang: Please see the details in our recent paper: https://arxiv.org/abs/1903.06236


iphone Safari transparency

Hi
I have a problem here, if you can help me. Entity transparency in Apple system can not be displayed, how to solve?
Setting transparency for entities on Android is normal, but setting transparency on iPhone has no effect。
Thanks,
xiang

Hi @619823056. Would you be able to include a Sandcastle example that replicates the issue? That would help us give us more context to determine the issue. Thanks!

HI ggetz,
Thank you very much for your reply，
I have a problem here, Entity transparency in Apple system can not be displayed, how to solve?
Android

iphone

Android is normal, Apple is not normal
Apple does not support
.withAlpha(0.55)
how to solve?

Thanks for the image @619823056!
It would really help to have a code example which we could run. This would help us understand the issue. Sandcastle is a tool you can use to easily create and share a CesiumJS code sample.

I'm closing this issue due to inactivity. If you believe this is still an issue, please feel free to re-open. Thanks!


Shelley testnet scripts seem to only work with bash as system shell

I'm only able to run ./scripts/shelley-testnet-live.sh after changing my system shell to bash.
With fish:
fish: Unsupported use of '='. In fish, please use 'set __COMMON_SRCROOT /Users/anviking/IOHK/cardano-node'.

With zsh:
Don't have the error at hand now, but got some error with "actually_run" and "invalid substitution"
Entering bash as a subshell is not enough, I have to change the system shell.
didn't try through nix-shell yet, guessing it would work

The script starts with:
#!/usr/bin/env bash

which means the script should be run under bash,
Try editing that script and adding "echo $SHELL" directly under the above line. If it says anything other than bash your system is broken.

Can we close this?

So ./scripts/shelley-testnet-live.sh seemed to cause tmux to start sessions with the shell from $SHELL, even if I configured tmux to normally default otherwise bash.
I never figured out why, but fine from my side to be closed.

Try editing that script and adding "echo $SHELL" directly under the above line. If it says anything other than bash your system is broken.

$SHELL is still fish. But I wonder if that's how it is supposed to be (the user shell, and not the "current" one). I get this both on my mac and my raspberry pi.

I'm closing this as shelley-testnet-live.sh is a benchmarking script. We have created simpler scripts under scripts/lite/ .


Analysis server consumes large amounts of RAM and causes machine to become unresponsive

Original report in analyzer-discuss.
I was converting a Python repo from GitHub to Dart as an exercise in testing Dart Code and my machine became really unresponsive. I opened Task Manager (it took several minutes!) and noticed the "memory (working set)" value for the Dart VM running the analysis server was over 6GB in size (I have 8 GB physical RAM). I terminated it and continued and after 10-15 mins, the same happened again.
There's an error in the analysis server output when this happens:
{
  "error": {
    "code": "SERVER_ERROR",
    "message": "The null object does not have a method '-'.

NoSuchMethodError: method not found: '-'
Receiver: null
Arguments: [2748]",
    "stackTrace": "#0      Object._noSuchMethod (dart:core-patch\/object_patch.dart:44)
#1      Object.noSuchMethod (dart:core-patch\/object_patch.dart:47)
#2      _UpdateElementOffsetsVisitor.visitElement (package:analyzer\/src\/task\/incremental_element_builder.dart:754)
#3      GeneralizingElementVisitor.visitVariableElement (package:analyzer\/dart\/element\/visitor.dart:178)
#4      GeneralizingElementVisitor.visitPropertyInducingElement (package:analyzer\/dart\/element\/visitor.dart:168)
#5      GeneralizingElementVisitor.visitFieldElement (package:analyzer\/dart\/element\/visitor.dart:111)
#6      FieldElementImpl.accept (package:analyzer\/src\/dart\/element\/element.dart:4241)
#7      IncrementalCompilationUnitElementBuilder._replaceNode (package:analyzer\/src\/task\/incremental_element_builder.dart:516)
#8      IncrementalCompilationUnitElementBuilder._processClassMembers (package:analyzer\/src\/task\/incremental_element_builder.dart:324)
#9      IncrementalCompilationUnitElementBuilder._processUnitMembers (package:analyzer\/src\/task\/incremental_element_builder.dart:463)
#10     IncrementalCompilationUnitElementBuilder.build (package:analyzer\/src\/task\/incremental_element_builder.dart:140)
#11     AnalysisContextImpl._sourceChanged (package:analyzer\/src\/context\/context.dart:1845)
#12     AnalysisContextImpl.handleContentsChanged (package:analyzer\/src\/context\/context.dart:1064)
#13     AnalysisServer.updateContent.<anonymous closure>.<anonymous closure> (package:analysis_server\/src\/analysis_server.dart:1360)
#14     List.forEach (dart:core-patch\/growable_array.dart:258)
#15     AnalysisServer.updateContent.<anonymous closure> (package:analysis_server\/src\/analysis_server.dart:1353)
#16     _HashVMBase&MapMixin&&_LinkedHashMapMixin.forEach (dart:collection-patch\/compact_hash.dart:351)
#17     AnalysisServer..."
  }
}

I can reliably reproduce this by opening the attached start_state project and performing the following:

Open file team.dart
Find the code def play_round(self):
Delete the colon
Type opening { in its place
Add closing } after the self.ladder() call
Find the code def ladder(self) and put cursor before the d in def
Press del 4 times to remove the def

Note: In step 4 where I type {, the editor inserts {}, I don't know if that matters.
Attached is the starting state of the project, the end state (to make it clearer the changes I made) and the analysis server log.

analyzer log.zip
start_state.zip
end_state.zip

Here are some earlier screenshots I took while trying to figure out what was happening; they might not be useful.

@scheglov It would be interesting to see how this case works under the analysis driver.

At the moment it fails with the following exception.
Caused by Bad state: Invalid attempt to set a compile-time constant result |dynamic keylambda|
#0      VariableElementImpl.evaluationResult= (package:analyzer/src/dart/element/element.dart:8387:5)
#1      ConstantVerifier._validateDefaultValues (package:analyzer/src/generated/resolver.dart:1693:17)
#2      ConstantVerifier.visitConstructorDeclaration (package:analyzer/src/generated/resolver.dart:1303:5)

The reason is that we create ParameterElementImpl insetad of DefaultParameterElementImpl.
I'm looking why this happens.

Hm... The AST is inconsistent.
This sorted is parsed as ConstructorDeclarationImpl.
We create DefaultFormalParameterImpl with a default value, but with kind == REQUIRED.
sorted(self.teams , [key = lambda, t : -t.wins]) : print = ('{}: {} wins'.format(team, team.wins));

    def ladder(self):
        for team in sorted(self.teams, key=lambda t: -t.wins):
            print('{}: {} wins'.format(team, team.wins))

Then, later, when we resynthesize in factory ParameterElementImpl.forSerializedFactory, we create ParameterElementImpl instead of DefaultParameterElementImpl.
      if (unlinkedParameter.kind == UnlinkedParamKind.required) {
        element = new ParameterElementImpl.forSerialized(
            unlinkedParameter, enclosingElement);
      } else {
        element = new DefaultParameterElementImpl.forSerialized(
            unlinkedParameter, enclosingElement);
      }

I guess we should use kind == ParameterKind.POSITIONAL instead.

OK, I patched parameters parsing. And worked around another bug with from helpers import select_from_menu which in Dart we parse as an import directive without a URI, and later have problem to resolve it, so in SummaryResynthesized.getLibraryElement() the librarySource is null.
After this with the new driver everything works smoothly, using 97 MB of heap.

CL for parameters parsing.

@scheglov It's not clear what the status of this is - is there still work to do? If not, should this show up in the dev builds yet? I tested with Dart-1.21.0-dev.7.0 but there's still an error as soon as I replace the : with {} (details below). Apologies if this is expected/unfinished, I was just testing something related so it was convenient to re-test.
NoSuchMethodError: The method '_subFromInteger' was called on null.
 I recently added some analytics for crashes and in 262 sessions in the last 2 days there were 575 instances of The null object does not have a method '-'.. Analytics doesn't seem to let me group by any session info, so unfortunately I can't tell whether that's 1 user with 575 occurrences or 262 users with a few occurrences (nor can I tell if it's consuming their machine in the way it did mine; I don't know for sure whether the unstable system was specifically caused by that error).

Let me know if you'd like me to do any testing against a dev SDK if/when you think this should be fixed.

We decided to turn off the functionality that causes the first and the second exceptions.

Ok, I'll try and give a test in 1.21.0-dev.9.0 this week and confirm it's all working with my samples. Thanks!

Indeed, I am unable to repro any of these issues with 1.21.0-dev.9.0 👍

Excellent! I'll assume this was fixed, but let us know if you see it again.


Page breaks before headers

First off, thank you for this amazing plugin and the backend. I was able to set everything up and it works like a charm.
I have a question about the headers - there's a page break before every header in my file. As a result, I have dozens of page in situations where the whole content could be just a few pages. Is this intentional? If yes, how can I customize it?

Hithere,
thanks for using the Plugin.
When I wrote the Plugin, it was intentional.
I thought it would be a great Idea. :-)
In the server-side index.php is a function:
`// if text contains <h
$pages = explode('<h', $text);
foreach ($pages as $page) {
if ($page != '') {
// replace  and
$pagewoi = preg_replace_callback('/(.*?)</i>/', function($matches5) {
return $matches5[1];
}, $page);
$headline = strpos($pagewoi, '>');
$headline = substr($pagewoi, $headline + 1);
$headline = substr($headline, 0, strpos($headline, '<'));
$epub->AddPage('<h' . $page, false, $headline);
}
}`
which splits the pages by headlines, so I thought, this would be mor readable.
Following index.php would only break by  tags.
index.php
Just swap them.
I hope this helps.
Greetings,
Simeon


configure: use the pkg.m4 macro library to handle pkg-config search

PKG_CHECK_MODULES is battle tested and provides some convenient functionality such as standardizing on $PKG_CONFIG instead of $PKGCONFIG, marking various additional variables as precious, and upating the ./configure --help text to notify you which variables can be used to control the configure checks.
It's also shorter and simpler from the perspective of configure.ac (and the added complexity in pkg.m4 is someone else's maintenance burden).
Note: pkg.m4 is GPL-2-or-later licensed. The GPL 2 is incompatible with pdfio's Apache license. There are two reasons why this is still okay:

The "or-later" clause means we can include pkg.m4 under the terms of the GPL-3, if we wish. This is the same license that autoconf itself uses, and is compatible with the Apache license.

Like autoconf itself, pkg.m4 has a special clause permitting its distribution, when included "as part of a program that contains a configuration script generated by Autoconf", under whatever terms the rest of the program uses. Since that is what we are doing here, this means that pkg.m4 is licensed under the Apache license as long as it is used as part of the pdfio ./configure build system.

@michaelrsweet I've kept it in tree and checked that running autoconf -f without any other autotools programs works, and as far as I can tell the license issue

Sorry, I don’t want to embed this in pdfio.


Test types MIN/MAX instead of i64::MIN/i64::MAX

The MIN/MAX for SignedAmount recently changed from i64::MIN and i64::MAX to MAX_MONEY/MIN_MONEY.  Update the tests to reflect this new MIN/MAX since it is no longer valid to create a value above or bellow MAX_MONEY/MIN_MONEY.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.004%) to 82.921%

Files with Coverage Reduction
New Missed Lines
%

units/src/amount/signed.rs
1
70.93%

Totals

Change from base Build<PHONE_NUMBER>6:
-0.004%

Covered Lines:
20294

Relevant Lines:
24474

💛  - Coveralls

rebase from master


Add Since annotation to Operation implementations

We need to document what version Operations were added in. We should annotate all Operation implementations with
@Since(version=<Gaffer Version>).

If the version dates back prior to version 1.0, then we should just annotate it with version 1.0.
Once this has been completed we need to update the Gaffer Doc to include this information.

Merged into develop.


MRTK Eye Gaze Provider broken after tracking lost

We are using a couple of applications taking advantage of the HoloLens 2 eye gazing. We noticed that the eye gaze provider would sometimes stop correctly recording where the eyes were looking.
We found two issues:
The first is around the World Locking Context Auto Load feature. It seemed that on subsequent runs of the app, the eye gazing wouldn't function correctly.
The second was that after losing tracking and relocating, the eye tracking would never recover and would be misaligned.
We tracked the problem down to the way MRTK gets the position and direction of the latest eye gaze in it's GazeProvider. We have created our own GazeProvider that takes these values and converts them from Spongy to Frozen space. So far this appears to have fixed this issue.

Hi @JYBA1 , great find. Have you submitted an issue to MRTK? If you have, could you add a link here? I'd like to follow through and see that a fix gets in.
Issues occasionally pop up in the MRTK code where the Playspace transform isn't properly factored in. This sounds like such an issue. Do you have a fix you could share, if not for merging in then at least to cut down the time to find and resolve the issue?
Thanks!

We've also ran into the same issue, and would appreciate a fix.


RT-5.9: Disable IPv6 ND Router Advertisment

Added delay between pushconfig and startprotocols to wait for ports to come up, added  waitForARP to wait till the address resolution is completed
Refactored comments to comply with Go Style.

Pull Request Functional Test Report for #2842 / 97957db49cbd548dce3bdb366d0429ba27810721
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

RT-5.9: Disable IPv6 ND Router Arvetisment

Cisco 8000E

RT-5.9: Disable IPv6 ND Router Arvetisment

Cisco XRd

RT-5.9: Disable IPv6 ND Router Arvetisment

Juniper ncPTX

RT-5.9: Disable IPv6 ND Router Arvetisment

Nokia SR Linux

RT-5.9: Disable IPv6 ND Router Arvetisment

Openconfig Lemming

RT-5.9: Disable IPv6 ND Router Arvetisment

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

RT-5.9: Disable IPv6 ND Router Arvetisment

Cisco 8808

RT-5.9: Disable IPv6 ND Router Arvetisment

Juniper PTX10008

RT-5.9: Disable IPv6 ND Router Arvetisment

Nokia 7250 IXR-10e

RT-5.9: Disable IPv6 ND Router Arvetisment

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 54.484%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1847

Relevant Lines:
3390

💛  - Coveralls


Copy "Contribution Licensing" section from README to CONTRIBUTING

Copy the https://github.com/bloomberg/memray#contribution-licensing section of the README.md into the CONTRIBUTING.md to make it more discoverable for future contributors.
It should be added to the https://github.com/bloomberg/memray/blob/main/CONTRIBUTING.md#pull-requests section.

I'll take this one.


bug: inject all $data into html may cause errors

In https://github.com/alex-oleshkevich/vue-tabler-icons/blob/master/build.js#L24
const allAttrs = {
    ...this.$data,
    width: attrs.width || size,
    height: attrs.height || size,
}

...this.$data will inject all the available data inside the element and it will cause errors when using libraries/plugins that adds data to Vue components like @vue/apollo-option.
Vue Apollo will allow all components in the application to have an $apolloData object inside this.$data and the Icon will try to put $apolloData inside the <svg {...allAttrs} ... tag.
It will cause:
 Failed to execute 'setAttribute' on 'Element': '$apolloData' is not a valid attribute name.

This made intentionally to let you pass any arguments to the icon component like:
<bold-icon stroke-width="2" data-attr="value">

Please make sure that this still works.

merged, thanks!