WASM FFI

Tracking bug for work on supporting WASM libraries in Dart.

Does wasmer have support for interface types, like wasmtime?
https://hacks.mozilla.org/2019/08/webassembly-interface-types/

I don't think so, but it sounds like this is an early stage proposal, so we probably shouldn't rely on it yet.
I investigated both wasmtime and wasmer (as well as some other stuff), and the reason I chose wasmer is that it's way easier to integrate with C++. I'm still just prototyping though.

Super excited to see this going! Let us know if we can be of any help :)

how about these?
https://www.youtube.com/watch?v=Qn_4F3foB3Q
Standardizing WASI: A system interface to run WebAssembly outside the web: https://hacks.mozilla.org/2019/03/standardizing-wasi-a-webassembly-system-interface/
WebAssembly Interface Types: Interoperate with All the Things!: https://hacks.mozilla.org/2019/08/webassembly-interface-types/

For everybody tracking this issue. We are currently evaluating how to move multiplatform Dart<->WASM interop forward. Similarly to our FFI work we would like to collect some examples of code that people would like to use in their Dart applications via WASM. So if you have one that is open source please leave a comment here or on #37355 with a link and which platforms you would like to use it on (Flutter on iOS/Android/Desktop/Web, Dart Web). Thank you.

@mraleph Thats great news!
One of my initial use cases would be to use the existing emscripten port for libgit compiled to WASM to avoid the need of having to build  separate native libs for every platform the Flutter app using the lib needs to run on (eg. Android, iOS, MacOS, Linux, etc)

@maks Great to know! I have a quick question: does your Flutter app run on Web? If the app is only on non-Web platforms (Android, iOS, ...), it seems Dart FFI can support your use cases.

@kaikai4989  well yes I could use FFI, but that's the reason I want to use WASM is as I said to avoid having to build the native lib to use with FFI for android (NDK), iOS, Linux, MacOS, etc
That was why I posted, that I think one of the use cases for people will be using WASM instead of FFI to avoid the need to build native shared libs for every platform they want to support with their Flutter app. Being able to also run on web is for me just an added bonus of using WASM.

In addition to the portability aspect, WASM brings sandboxing/security guarantees as well as a fully managed memory model that you don't get with FFI.  WASM is simply the better, more secure, and more future-proof option for client-side shared libraries.

We are currently using CanvasKit, which is Skia compiled to WebAssembly using emscripten, in Flutter for Web.
We use CanvasKit by loading the JavaScript wrapper script and calling into it with dart:js (since we're developing a Dart SDK library dart:ui we can't use package:js). dart:js has significant performance downsides caused by encoding and decoding all of the arguments and return values and copying buffer contents.
If we had direct access to the WASM, we could avoid having to use the wrapper script and JS interop.

@maks WASM support for libgit2 is maintained here:
https://github.com/petersalomonsen/wasm-git

Would it be possible to try this package out now with some sort of dart runtime flag like we had before null-safety was released or is the only way to compile the Dart SDK locally?
Also are there any public plans on when this package will be available for general use?

No runtime flags are required. We moved package:wasm to its own repo: https://github.com/dart-lang/wasm. We're publishing soon, but if you're really keen I suppose you could clone that repo.

This package has been published, see:
https://pub.dev/packages/wasm
https://medium.com/dartlang/experimenting-with-dart-and-wasm-ef7f1c065577


Changes Documentation in Contributing.md

In Contributing.md
replace 'Please checkout the issues and project board' with "Please check out the issues for any current concerns or topics related to the project. Additionally, we now use Discord for project management and communication. Feel free to join our Discord server here for the latest updates and discussions."

Hi! looking forward to work on this.

Hey, I would love to work on this issue.


obstruct spawns more fairly

Obstruct spawns on the side closer to a wall; less gamable than it was.

This works well! Thank you :)


converted the example folder into a fully working flutter project

This allows for building the plugin code (including the native C++ code) when running the example.
This fixes https://github.com/bitsdojo/bitsdojo_window/issues/5

You might wonder, where all those new files come from. Here is what I did:
I created a new blank flutter plugin, choosing the same name as your package:
<flutter create -t plugin --platforms windows bitsdojo_window>
This creates a blank plugin project including an example code folder.
I then copied the files main.dart and switch.dart from your original project into the new example folder below lib.
Then I moved this new, flutter-standard example folder to your original project, replacing the old example folder.
The advantage now: You can load the whole project into Visual Studio Code und run the example there. This then also compiles the C++ code of the corresponding plugin code.
Then I added the lines to the example runner's main.cpp:
#include <bitsdojo_window/bitsdojo_window_plugin.h>
auto bdw = bitsdojo_window_configure(BDW_CUSTOM_FRAME | BDW_HIDE_ON_STARTUP);

This way the example can be run without the need to modify anything, showing the awesome new window header.
I would appreciate this to be merged, because this also helps to contribute to your project.

There are two different examples there: main.dart and switch.dart
If we want to make it easy for people to run the example apps then maybe we should find a way that works for both examples.
Do you have anything in mind that would work for both?
The current examples folder structure mimics the one in the win32 package.

The win32 package is a library (not a flutter plugin). The example folder there obviously only serves as documentation.
Here you can see the difference when creating a package versus a plugin:
Flutter Package:
PS C:\Users\tv\Development> flutter create -t package testpackage
Creating project testpackage...
  testpackage\.gitignore (created)
  testpackage\.idea\libraries\Dart_SDK.xml (created)
  testpackage\.idea\modules.xml (created)
  testpackage\.idea\workspace.xml (created)
  testpackage\.metadata (created)
  testpackage\CHANGELOG.md (created)
  testpackage\lib\testpackage.dart (created)
  testpackage\LICENSE (created)
  testpackage\testpackage.iml (created)
  testpackage\pubspec.yaml (created)
  testpackage\README.md (created)
  testpackage\test\testpackage_test.dart (created)
Running "flutter pub get" in testpackage...                      1,400ms
Wrote 12 files.

All done!

All done!

Your plugin code is in testplugin\lib\testplugin.dart.

You example app code is in testplugin\example\lib\main.dart.

Host platform code is in the windows directories under testplugin.
To edit platform code in an IDE see https://flutter.dev/developing-packages/#edit-plugin-package.

PS C:\Users\tv\Development>

There are two different examples there: main.dart and switch.dart
If we want to make it easy for people to run the example apps then maybe we should find a way that works for both examples.
Do you have anything in mind that would work for both? I believe the current structure in this PR only works for main.dart
The current examples folder structure mimics the one in the win32 package.
Just to be clear, I like your proposal, just looking for a way to make it work for multiple examples.

I'll check out, whether we can offer both examples via launch configurations...

I added the file launch.json to the example folder. It is now possible to choose which example to run:

Thank you!

Thank you for contributing!


[SPARK-15590] [WEBUI] Paginate Job Table in Jobs tab

What changes were proposed in this pull request?
This patch adds pagination support for the Job Tables in the Jobs tab. Pagination is provided for all of the three Job Tables (active, completed, and failed). Interactions (jumping, sorting, and setting page size) for paged tables are also included.
The diff didn't keep track of some lines based on the original ones. The function makeRowof the original AllJobsPage.scala is reused. They are separated at the beginning of the function jobRow (L427-439) and the function row(L594-618) in the new AllJobsPage.scala.
How was this patch tested?
Tested manually by using checking the Web UI after completing and failing hundreds of jobs.
Generate completed jobs by:
val d = sc.parallelize(Array(1,2,3,4,5))
for(i <- 1 to 255){ var b = d.collect() }

Generate failed jobs by calling the following code multiple times:
var b = d.map(_/0).collect()

Interactions like jumping, sorting, and setting page size are all tested.
This shows the pagination for completed jobs:

This shows the sorting works in job tables:

This shows the pagination for failed jobs and the effect of jumping and setting page size:

Can one of the admins verify this patch?

add to whitelist

Test build #60444 has started for PR 13620 at commit 4db0e09.

@nblintao this looks pretty good. There were a few methods that don't seem to be used anywhere. Am I missing something?

Test build #60444 has finished for PR 13620 at commit 4db0e09.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60444/
Test FAILed.

Test build #60469 has started for PR 13620 at commit 6682e86.

Test build #60469 has finished for PR 13620 at commit 6682e86.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60469/
Test PASSed.

Test build #60543 has started for PR 13620 at commit 41bb189.

Test build #60543 has finished for PR 13620 at commit 41bb189.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60543/
Test PASSed.

This looks great, I checked out the code and it looks good locally on my machine as well. I've read through the code and it looks good with the fixes @andrewor14 suggested so LGTM

also cc @zsxwing

Just opened this in the history server to double check the bug I found on your stages pr and discovered that this is completely non-functional on the history server, so I'm striking my earlier LGTM

@ajbozarth Thanks for your checking and reporting. I didn't notice that the UI for history servers are different and just changed the AllJobsPage.
I will try to check the page for history servers. But do you think it would be better if we use another PR to solve this (adding the pagination support for the jobs page in history servers)?

They actually share the core majority of their code so your pagination is already there, it just can't change pages or change the number of shown jobs. I think its has to do with how your calling and parsing the http requests since I didn't see any parameters in the url when I would try to change pages

@ajbozarth Got it, that's a fatal bug. I will fix it in this PR. Thanks again!

This PR has known bugs about linking. I have fixed the related bugs in #13708. In order to avoid conflicts, I will not update this PR until #13708 is merged.
So, please do NOT review or test this PR for now. It would be nice if you could help review or test #13708. Thanks!

Test build #61910 has started for PR 13620 at commit 649bb19.

Test build #61910 has finished for PR 13620 at commit 649bb19.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61910/
Test PASSed.

I believe this commit has resolved the bugs reported by @ajbozarth. It looks well on history server pages now, and it could keep the status of other tables while changing one.
Could you please help test or review it if you are available? Thanks! @andrewor14 @zsxwing @ajbozarth

@nblintao I just finished testing your changes and it looks good. I did find a odd behavior though, but I think it's intentional in the original pagination code. If you make the table large enough to fit all the jobs the pagination toolbar disappears. Given you can just click the back button to fix it I don't think it's an issue to be fixed, but it is a bit annoying. Another fyi is that only ~1000 jobs are shown still, but I'm assuming the pagination doesn't fix the reasoning behind only showing the most recent 1000 jobs.
tl;dr LGTM

@nblintao Can you comment on your PR to explain which parts are new code and which parts are based on existing code?

@yhuai Updated:

The diff didn't keep track of some lines based on the original ones. The function makeRowof the original AllJobsPage.scala is reused. They are separated at the beginning of the function jobRow (L427-439) and the function row(L594-618) in the new AllJobsPage.scala.

Thanks for your review!

retest this please

LGTM. Let's run the test again since this is a pretty old PR. Thanks!

Test build #62846 has started for PR 13620 at commit 649bb19.

Test build #62846 has finished for PR 13620 at commit 649bb19.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62846/
Test PASSed.

Merging to master.

Great! Thanks, @andrewor14 @ajbozarth @yhuai @zsxwing.


email verification functionality

Atm it is impossible to send  an email to user to verify  an email address.

Thanks for reporting.
Ok, as far as this moment API does not contains this functionality.
It will be add in next release! 1.8.1 (very soon)

The new version (1.8.1) is available. Example with email verification is here: https://github.com/mk-5/gdx-fireapp/wiki/Examples#user-menage


Display QRCode for deposit address

Didn't know how else to contact you.. Do you have a logo for Unstoppable swap? I'd like to put it on our website https://xmrswap.me with a link to this GUI. This is a much better implementation than our Python Web version and should be the standard going forward. Ours, swapfe, needs a lot of work and I just don't have the time nor do I think there will be much interest once this GUI goes live on mainnet. I'll probably end up linking to this project on our GitHub anyhow. Thanks!

Sure, you can down the icon here. It might change in the future though, more of a placeholder right now.


Generator change: keep Objective-C type when parameter is a pointer to a pointer

In Objective-C a method's parameter can be used to return information. This information could be anything from error  info to an array of objects. Because of the complexity of the translation system, using a Go type to return this information will probably not work. I suggest a new rule be implemented in the generator that prevents the translation of an Objective-C type to a Go type when the parameter is a pointer to a pointer.
Examples of methods that would be effected by this new rule:
- NSNib's instantiateWithOwner:(id)owner topLevelObjects:(NSArray * _Nullable *)topLevelObjects
- NSFileManager's createDirectoryAtPath:(NSString *)path withIntermediateDirectories:(BOOL)createIntermediates attributes:(NSDictionary<NSFileAttributeKey, id> *)attributes error:(NSError * _Nullable *)error
- NSURLConnection's sendSynchronousRequest:(NSURLRequest *)request returningResponse:(NSURLResponse * _Nullable *)response error:(NSError * _Nullable *)error;
- IOUSBHostPipe's sendControlRequest:(IOUSBDeviceRequest)request error:(NSError * _Nullable *)error;

Implemented this pull request for resolving this issue: https://github.com/progrium/macdriver/pull/244


Amend rule 9004110 to use newer format for var

I believe this resolves issue #2199

Well spotted, thank you!


Move role="banner" to header

What is the context of this PR?
DAC issue: Incorrect use of role=banner on header__top (pg.33) >> Move role to parent
How to review
Tests pass

 HIGH: Incorrect use of role=banner on header__top (pg.33) >> Move role to parent


New version

Hello. The miner is very good. But it would be 10 times better if it had a remote configuration from pastebin.com. So that the miner settings were taken from the raw pastebin link first of all, and the settings from the constructor will be a backup, in case the link does not work.
Do you plan to add such a feature and if so when will it be?

Hi @VK-VZ .
We are working on this, and this feature will be in version 2.0.0 with other improvements.
As v2.0.0 has so many updates, it takes some time to work on, we plan to release it in mid January.


Alerts Polishing

Receivers:

[x]   List: Configured Receivers ⇒ Configured Providers

Edit:

email:

[x]  Switch to use the "array list groups" component
[x]  Sender: add an example text

custom:

[x]   Yaml: validate the input and has a warning popup if it's not valid on save

View: Might just go away if there is nothing different from edit

Routes:

Edit

Matching:

[x] Add button ⇒ drop the read from file

View: Might just go away if there is nothing different from edit
list:

[x] link to the receiver

Verified fixed - Ok the things listed in this issue has been resolved.  But the create pages for all of Monitoring application including Alert pages are in need fixing.  The spacing, field usage, tooltip, suggestion text... and at lease 1 of control is not the correct size.  Polish review needs to be redone and all pages & blocks need to be looked at.


konsoleprofile colors=' ' not working when called from Y&Y

I'm trying to include the console colors in the theme switches, to no avail. The Console plugin has no effect here.
konsoleprofile colors='<theme> works when called from console or yakuake, or in a script that is run there.
It does not work when called from Y&Y's Custom plugin, nor in a script called from there, no matter whether the Console plugin is active or not.
How can konsoleprofile colors='<theme> be used from within Y&Y, if necessary via external script?
Operating System: Manjaro Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 5.15.89-1-MANJARO (64-bit)
Graphics Platform: X11

Oh wow, I didn't know this even existed! I currently change the profile settings file, which requires a restart of the application.
I tried this with opening two Konsole windows at the same time. Executing the command in one didn't affect the other window at all. Maybe this only affects the current session / window?

Ok, found the source file here. It particularly sais:

NOTE: This script MUST run within a konsole tab to take effect. The change is applied only to current tab. Other tabs using the same profile will not be influenced.  Any changes won't be saved to to disk.

Maybe there is a workaround involving
[UiSettings]
ColorScheme=

in /home/tw/.config/konsolerc ?
No idea, just speculating..

Bad workaround: duplicate active profile with changed color scheme, and activate it then --?

Maybe there is a workaround involving
[UiSettings]
ColorScheme=

in /home/tw/.config/konsolerc ? No idea, just speculating..

Might work, but this might also relate to the qt theme.
The best solution would be upstream support for this, by reloading the profile config if changes are detected.

Thanks for looking into it!

I've wasted some more time on it...
Going through DBus should work for all open console windows.
(Here with a custom dark profile, because of its custom color scheme.)
#! /usr/bin/sh

# ===============================================================
# Set Konsole profile for all sessions
# set profile
PROF='Breath Dark (new)'

# loop: console processes
for PROCID in $(pgrep konsole -u $USER) ; do
    SESSIONS=$(qdbus org.kde.konsole-$PROCID | grep 'Sessions/')
    # loop: process sessions
    for SESS in ${SESSIONS}; do
        # set profile
        qdbus org.kde.konsole-$PROCID $SESS \
        org.kde.konsole.Session.setProfile "$PROF"
    done
done
# ===============================================================

Possibly related to https://github.com/oskarsh/Yin-Yang/issues/154.


[SMALLFIX] replace anonymous type with lambda

alluxio-bot, check this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/19338/
Test PASSed.


Cache cleanup and invalidation

Cleanup old caches on install of new worker.

What is the reason behind this? Does this mean that on install the manifest file won't be taken from manifest.active?

@mgechev:
Caches refers to the CacheStorage API. When a manifest is fetched and its content cached, it's mapped to named caches keyed by version and group name (groups of resources are a concept in the manifest's comment-based language). Once the SW is active, named caches for old versions of the content (from the previous manifest) can be cleaned up, as they're no longer needed.


BLEU scores all zero on evaluations

During training, my BLEU scores keep coming up as zero, even after training the model sufficiently (>100,000 steps on 85,000 lines of parallel text). If I run predictions on the dev set using the model, I am able to get BLEU scores by calling the perl script directly (and they are of course non-zero).
I have also tried using the toy data from the tutorial, and I also get zeros, both the terminal output and tensorboard. I have also tried training the model on different systems, to no avail (MacOS 10.12, Scientific Linux 7.2, Python 3.6, Tensorflow 1.0.1). All other metrics seem to be reporting as expected, except for the rouge 2 scores, which also come up as zeros. I'm also not sure if the following warning is a clue (during the evaluation summary):
WARNING:tensorflow:Skipping summary for global_step, must be a float or np.float32.

Not sure if this has to do with my comments on #103, which involves the evaluation stage failing when using a gpu if I set the eval_every_n_steps too low.
I will also occasionally get errors like below, though I'm not sure if this is just a problem with the system I'm using:
WARNING:tensorflow:multi-bleu.perl script returned non-zero exit code
WARNING:tensorflow:b'\ngzip: /tmp/33212.1.gpgpu/tmpotebs9gz: not in gzip format\nERROR: could not find reference file /tmp/33212.1.gpgpu/tmpotebs9gz at /mnt/mscteach_home/s1525891/mt_hw3_seq2seq/bin/tools/multi-bleu.perl line 32.\n'

Any ideas? If I find a solution, I will update.

Turns out this was a miss on my part. I was running a baseline model where words were tokenised without any special formatting (e.g. "the cat sat on the mat"). Since I wasn't using BPE, I used the text_metrics_sp.yml file when training and did not realise that it was designed for the sentence-piece format, calling a post-processing function that ended up joining all of my tokens into one single string ("thecatsatonthemat"). Obviously, BLEU scores would be zero.
The solution was to remove the post-processing parameter from the default parameters in text_metrics_sp.yml.
Interestingly, solving this problem introduced the exact same errors as reported by others in #103 (shape mismatches).


Add new option origin.server

This option allows the user to explicitly specify the origin of the server.  It is useful in case a same-origin request contains an unnecessary Origin header and is blocked because it gets interpreted
as a cross-origin request.
Fixes #22.
Edit: Fix typo.

Released as 0.9.0. Thanks for super clean PR!

I'm a bit confused...
None of the resources I've found on the net mentions this option, except for the readme in this repo:

In this case you can use the optional origin.server parameter...

If I don't set this option the following warning is always raised:

Warning: assert(): assert(empty($host) === false) failed in ...vendor\neomerx\cors-psr7\src\Strategies\Settings.php on line 267

and the Access-Control headers are never set.
It does work when I do set the origin.server option, which make it seem it's a mandatory setting.
When and how do I apply this setting?
Another question:
This setting requires a scheme.
I might serve from both http and https, how would this fit in origin.server?

@DigiLive Which server and PSR7 implementation you get the error with?

@DigiLive Also which version of of neomerx/cors-psr7 gets installed?

Versions:
Apache: 2.4.54
PHP: 7.4.30
tuupola/cors-middleware: 1.4.1
slim/slim: 4.10.0
slim/psr7: 1.5
neomerx/cors-psr7: v2.0.2 (dependency of tuupola/cors-middleware)

Released 1.4.2 which should fix the problem. In short there was an assert in neomerx/cors-psr7 which triggered an error if you had zend.assertions = 1 in your php.ini.


[ZEPPELIN-2129] [HOTFIX] Flaky test - PySparkInterpreterTest

What is this PR for?
testing/install_external_dependencies.sh installs latest version of miniconda for python/pyspark testing.
It looks like miniconda just released new version and latest version of miniconda3 looks like using python 3.6.
And pyspark has problem with python 3.6 https://issues.apache.org/jira/browse/SPARK-19019.
This PR fix the miniconda version to previous one.
What type of PR is it?
Hot Fix
Todos

[x] - force fix miniconda version

What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2129
How should this be tested?
CI gree
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

CI became green.
While CI test on all PRs are failing because of this problem, I'm merging it to master as a hot fix.


[feat] QA autotests

After every answer provided by ChatGPT add a validation question to Ollama like "Is it true that: ". Mark potentially wrongful answers with a yellow flag

Related to #200


Update ciris, ciris-refined to 2.2.1

Updates

is.cir:ciris
is.cir:ciris-refined

from 2.2.0 to 2.2.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "is.cir" } ]

labels: library-update, early-semver-patch, semver-spec-patch

Codecov Report

Merging #217 (c5f65b3) into develop (30cbedd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #217   +/-   ##
========================================
  Coverage    50.58%   50.58%
========================================
  Files            5        5
  Lines           85       85
========================================
  Hits            43       43
  Misses          42       42

Continue to review full report at Codecov.

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


fontconfig: 2.13.93 -> 2.13.94

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@SuperSandro2000 addressed

Result of nixpkgs-review pr 129675 at 824c83d7 run on x86_64-linux 1

107 packages marked as broken and skipped:

adobe-reader
adoptopenjdk-hotspot-bin-13
adoptopenjdk-hotspot-bin-14
adoptopenjdk-jre-hotspot-bin-13
adoptopenjdk-jre-hotspot-bin-14
adoptopenjdk-jre-openj9-bin-13
adoptopenjdk-jre-openj9-bin-14
adoptopenjdk-openj9-bin-13
adoptopenjdk-openj9-bin-14
airtame
autotrace
blastem
cassandra_2_1
cassandra_2_2
clickshare-csc1
curaByDagoma
cura_stable
displaycal
dvd-slideshow
eagle7
electron_3
electron_4
electron_5
epsxe
erlang_basho_R16B02
eterm
evilvte
ffmpeg_2
ffmpeg_2_8
ffmpeg_3
ffmpeg_3_4
globalplatform
gnash
gnuradio3_7
gnuradio3_7Packages.ais
gnuradio3_7Packages.gnuradio
gnuradio3_7Packages.gsm
gnuradio3_7Packages.limesdr
gnuradio3_7Packages.nacl
gnuradio3_7Packages.osmosdr
gnuradio3_7Packages.rds
googleearth-pro
gppcscconnectionplugin
gpshell
grass
green-pdfviewer
gtmess
hadoop
hadoop_2_7
hadoop_2_8
hadoop_2_9
hplipWithPlugin_3_16_11
hplip_3_16_11
impressive
invoice2data
jboss
jfbpdf
jfbview
k2pdfopt
keyfinder
libav
libav_0_8
libav_11
libav_12
libgroove
linuxPackages_hardkernel_4_14.akvcam
linuxPackages_hardkernel_4_14.virtualbox
linuxPackages_hardkernel_4_14.xpadneo
linuxPackages_hardkernel_latest.akvcam
linuxPackages_hardkernel_latest.virtualbox
linuxPackages_hardkernel_latest.xpadneo
loxodo
metamorphose2
mfcl8690cdwcupswrapper
mrxvt
mupdf_1_17
natron
obinskit
ocropus
odpdown
openrw
opentsdb
oven-media-engine
pcsxr
pdfdiff
pdfread
pgadmin
pig
plover.stable
riak
ring-daemon
scallion
scribus
scyther
spark
staruml
stepmania
termplay
torchat
tvheadend
twinkle
unicap
vdrPlugins.markad
vdrPlugins.vaapidevice
vdrPlugins.xineliboutput
winpdb
xpdf

1 package failed to build:

ocz-ssd-guru

15532 packages skipped due to time constraints:

AusweisApp2
CHOWTapeModel
DisnixWebService
EBTKS
EmptyEpsilon
MIDIVisualizer
OSCAR
OVMF
OVMF-CSM
OVMF-secureBoot
...

25 packages built successfully:

atk (gnome.atk ,gnome2.atk)
cairo (gnome2.cairo)
fontconfig
gd
gdk-pixbuf
gobject-introspection (gnome.gobject-introspection)
gsettings-desktop-schemas (gnome.gsettings-desktop-schemas)
libsoup (gnome.libsoup)
pango (gnome2.pango)
harfbuzz
json-glib
lib2geom
libass
libnotify
libva
libva-minimal
libxkbcommon (libxkbcommon_8)
python39Packages.pycairo
python39Packages.pygobject3
spideroak
wayland-protocols
wayland-scanner
xfractint
xlibsWrapper (xorg.xlibsWrapper)
xorg.libXft

1 suggestion:

warning: unused-argument
Unused argument: substituteAll.
Near pkgs/development/libraries/fontconfig/default.nix:2:3:
  |
2 | , substituteAll
  |   ^

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

Is there a way to fast-pace a mass-rebuild-inducing change like this in order to unbreak what's currently broken on master and on the following three channels?

 nixpkgs-unstable
 nixos-unstable-small
 nixos-unstable

I guess most affected applications can be used despite the current broken font rendering behavior, but it sure isn't a pleasant experience. (Speaking as someone affected by #129733) Sure, one can work around this by running the application from a not-affected nixpkgs-revision despite the system being on an affected revision, or one can reset one's whole system to such a revision (or to some not affected channel), but I don't think users should be expected to have to do that any longer than the shortest periods of time.

I'm not the best person to answer this since I'm just a random NixOS contributor. I asked in the current staging PR update to include this (https://github.com/NixOS/nixpkgs/pull/129506#issuecomment-876623033), other than waiting for that to happen and then waiting for staging to get merged I'm not sure what we can do. Personally I just went with sticking to an old nixpkgs-revision and not updating which is not a great solution :(

The staging-next branch has almost all binaries for Linuxes, so you could use it already.  It might even get merged over this weekend, even though *-darwin certainly still isn't in ideal shape.


SSH connections

Issue Type: Bug
Hello.
I really don't know if this is a bug.
I'am working in several projects, some of then with GIT version controlled by SSH connection. I pull and push to remote repository directly with VSC (no extensions).
The issue that I have, is that VSC repeatedly make SSH connections by itself, with out pull or push request by me, even when I working with projects that don't have a git versioning.
I know about it, because my server send me an email every time that SSH connection was made from my ip and my computer at the time when I open or working with VSC.
Like I said, I don't know if this is a bug, or this is a normal procedure by VSC.
Sorry about my terrible english.
Best regards.
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.19042

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E3-1240 v5 @ 3.50GHz (8 x 3504)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.93GB (25.36GB free)

Process Argv
--crash-reporter-id 80c069d2-4504-47ff-96a2-658157252399

Screen Reader
no

VM
0%

Extensions (22)

Extension
Author (truncated)
Version

project-manager
ale
12.0.1

color-info
bie
0.5.1

vscode-intelephense-client
bme
1.6.3

path-intellisense
chr
2.3.0

bracket-pair-colorizer-2
Coe
0.2.0

dart-code
Dar
3.19.1

flutter
Dar
3.19.0

gitlens
eam
11.2.0

vscode-html-css
ecm
1.9.1

prettier-vscode
esb
5.8.0

php-debug
fel
1.14.7

php-intellisense
fel
2.3.14

auto-close-tag
for
0.5.10

auto-rename-tag
for
0.1.6

terminal
for
0.0.10

beautify
Hoo
1.5.0

minifyall
jos
2.5.0

awesome-flutter-snippets
Nas
2.0.4

material-icon-theme
PKi
4.5.0

vscode-css-peek
pra
4.0.2

quicktype
qui
12.0.46

open-in-browser
tec
2.0.0

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
openlogontheside:30221877
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30211402
wsl2prompt:30224612
pythonvsdeb440:30248342
unusedpromptcf:30224611
folderexplorer:30224614
openfilemenu:30224647
pythonvsded773:30248341
pythonvspyt875:30251590

Our git extension will periodically update automatically if you have "git.autofetch": true set, do you?

Our git extension will periodically update automatically if you have "git.autofetch": true set, do you?

Hello @roblourens
Yes, I have set git.autofetch to true.
Thank you for your time and for your quick response and I am very sorry for the delay of mine.


feature(guest): implement framework interface which is quite similar to the scheduling framework

What type of PR is this?

/kind feature
What this PR does / why we need it:
This PR defines the interface which is very similar to the scheduling framework and allows users to implement the guest plugin in a similar way to what they do in native Go scheduler plugins.
Which issue(s) this PR fixes:

Fixes #15
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Improve the guest interface exposed to users so that users can implement the guest plugin in a similar way to what they do in native Go scheduler plugins.

/unhold
Thanks! @kerthcet

it would be slower and allocate more

I wouldn't say allocating framework.Status isn't an expensive cost, it's reasonable to take it and make the interface the same as the scheduler's one.

while also adding confusion

If you mean nil / pointer staff which you commented, they're not confusing to people usually working around the scheduler plugins.

it's reasonable to take it and make the interface the same as the scheduler's one.

I think eventually you will decide that the interface won't be the same as the host side, but now you don't see this. I may be wrong on this, so just defer my comments until things like what I said about context make sense to you. It is better that we proceed than get hung up on things that can be learned later.

It's quite related to the user experience. Regarding not only this Filter function, but all functions in all extension points, I'd like to keep the original scheduling framework's interface as much as possible. (As I do pod PodFn, nodeInfo NodeInfoFn, I don't disagree with the interface change that must need)
I know it makes sense that it's faster to return raw values instead of returning them in one fancy struct (framework.Status).
But, on the other hand, we've already had many future potential wasm-extension users in the world, those using the native Golang scheduler plugins. And, making many unnecessary differences between our interface and the scheduling framework will directly be the migration costs for users. The plugin tends to be invoked in several extension points.

/close
https://github.com/kubernetes-sigs/kube-scheduler-wasm-extension/pull/19#discussion_r1210982138


Why did he connect to the docker network

This is the configuration item

This is the docker network for redis clusters

When access is started, connect to the docker network timeout

tcp socket connect timed out, when connecting to <IP_ADDRESS>:6379

But the same cluster USES lua-resty-redis, along with the IP: mapped port configured for the virtual machine, and can be accessed normally

That's fine. Just deploy the network to host, fine


WIP: Added Vocabulary builder and model

This PR is not finished but the code2vec model and Vocabulary2id are pretty much done, so I thought you could start reviewing it in case something is really off.
Currently I'm getting an error when trying to save the model and I'm not sure why. Any help would be appreciated:
  File "/home/hydra/projects/code2vec/src/../src/code2vec.py", line 23, in code2vec
    .link(Vocabulary2Id(args.keep_freq, args.output)) \
  File "/usr/local/lib/python3.5/dist-packages/sourced/ml/transformers/transformer.py", line 95, in execute
    head = node(head)
  File "/home/hydra/projects/code2vec/src/transformers/vocabulary2id.py", line 28, in __call__

  File "/usr/local/lib/python3.5/dist-packages/modelforge/model.py", line 269, in save
    self._write_tree(tree, output)
  File "/usr/local/lib/python3.5/dist-packages/modelforge/model.py", line 285, in _write_tree
    asdf.AsdfFile(final_tree).write_to(output, all_array_compression=ARRAY_COMPRESSION)
  File "/usr/local/lib/python3.5/dist-packages/asdf/asdf.py", line 899, in write_to
    self._post_write(fd)
  File "/usr/local/lib/python3.5/dist-packages/asdf/generic_io.py", line 313, in __exit__
    self._fd.__exit__(type, value, traceback)
  File "/usr/local/lib/python3.5/dist-packages/asdf/extern/atomicfile.py", line 113, in __exit__
    self.close()
  File "/usr/local/lib/python3.5/dist-packages/asdf/extern/atomicfile.py", line 109, in close
    atomic_rename(self._tmp_filename, self._filename)
NotADirectoryError: [Errno 20] Not a directory: '/home/hydra/projects/code2vec/results/.___atomic_writeg1zpv8zx' -> '/home/hydra/projects/code2vec/src/../results/'

@kafkasl added a couple more comments, you need to:

broadcast the indexes, it will increase spark performance
rework a bit you Model to add frequencies dict if asked for, and rework inner methods, also add a dump method summarizing data, check out other models to see convention
rename code2vec, create main (last round of comments)

after this it should be good ^^" pls ping me if u need help !


Removing the indexing of .kibana/search/properties

Motivation:
When trying to save a search in Kibana the following error is displayed:
Discover: Request to Elasticsearch failed:
"MapperParsingException[object mapping for [search] tried to parse field
[title] as object, but got EOF, has a concrete value been provided to
it?]"
The .kibana index has a type named 'search' which it uses to store
searches made in the Discover view of the Kibana Web Console.
When createSearchProperties is called it inserts a document into
.kibana/search with an id of 'properties'. This data is then inspected by
ElasticSearch and it will dynamically create a mapping for those fields.
Looking at the contents of the sent data it looks more like type mapping
which one might expect to see in .kibana/_mappings/search, and it does
not look like format of a search saved by Kibana. The field names are the same in
this case but instead of expecting the 'title' field to be of type
string, it is expecting it to be of type object as that is what the
mapping was updated to.
Modifications:
Removed the createSearchProperties call from the code.
Result:
After this it is possible to save searches in the Kibana console.
Issue:
https://github.com/fabric8io/openshift-elasticsearch-plugin/issues/20

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@ewolinetz Are you able to validate this is an acceptable modification? @danbev I do not recall if there are unit tests associated with this logic.

@jcantrill I had a look but was unable to find any in the project itself.

Closing this PR as it was addressed as part of #22


add cosmosdev/atom2021 link to related links

I always wondered where I could find the atom2021 initiative, now I know! Adding here so others can find their way here also

@marbar3778 can you review?


Contact Form2 - Review

This PR is for my contact form from my portfolio project, this is a pair programming project my partners @AndreaM2429 collaborate on it with me and commit in my code.

Hi @amiralda and @AndreaM2429 ,
Unfortunately, I cannot proceed to review your code.
Invalid Code Review Request :heavy_multiplication_x:
You have submitted a project, with the following issues:
1) Your project's linters are not working

It is a requirement for every project you work on, that your linters work appropriately
https://github.com/microverseinc/linters-config/tree/master/html-css
I suggest you go through the setup documentation in detail to make them work on your repo

2) Your layout doesn't work properly, this screenshots are taken from a width: 375px

Example 1

Example 2

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


My workspace2

Assigned Issue Number ?
#1483
Language Opted ?
C++
Number of files added or updated ?
1
Name of these files ?
Maths_And_Stats => Algebra => Permutation_And_Combination => permutation_combination.cpp
Checklist

[Y] I've read the contribution guidelines.
[Y] I've referred the correct issue number.
[Y] I've fill up this entire template correctly.

Perfect Code :+1:
Thanks @VishwaroopShah
Happy Contributing :tada:


Allow storage adapters to determine if they support extra data

A development spike should be do to experiment with the idea that not all storage adapters need to support the extra_data parameter for statements. This parameter is easy to support for no-sql databases but it is difficult to implement for sql based databases.
I'm assigning myself to complete this research. Depending on what I find regarding the feasibility of implementing this I will either create a pull request with the necessary changes or I will close this ticket, noting the reasons why it was not the path to follow.

I'm going to close this ticket off. I had thought this functionality was going to be needed in order to get the SQL Storage adapter to work but the problems that were occurring there have been resolved. I'm considering the possibility of removing the extra_data parameter, however I think a better way to provide similar functionality would be to allow developers to extend the existing models for statements so that they can add additional fields and store the values properly in the database.


Remove unused configs

This will change the lineage, but it is fine.

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

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 89.763%

Totals

Change from base Build<PHONE_NUMBER>2:
-0.02%

Covered Lines:
1210

Relevant Lines:
1348

💛  - Coveralls


Please invite me to the GitHub Community Organization

Please invite me to the GitHub Community Organisation.

Name: Jorge

Discord Username: JorgeP#7639

Additional Context: I'm already on Eddie Discord Channel and Eddiehub Team for MLH. Met Eddie watching the video about how to contribute to open source.

I'm here to learn from the community on how to contribute to open source
:nerd_face::nerd_face::nerd_face::nerd_face::nerd_face:

Invitation sent for the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people
Tips for practising:
Customise your GitHub profile, here is a live stream on it https://www.youtube.com/watch?v=cT6GXCuS0Zo
Practice repo, instructions on how to add your name to the README in the README https://github.com/EddieJaoudeCommunity/hacktoberfest-practice
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps

Invitation sent for the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people
Tips for practising:
Customise your GitHub profile, here is a live stream on it https://www.youtube.com/watch?v=cT6GXCuS0Zo
Practice repo, instructions on how to add your name to the README in the README https://github.com/EddieJaoudeCommunity/hacktoberfest-practice
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps

thanks for accepting @mikeysan!

thanks for accepting @mikeysan!


Build eye slim

[ ] Add eye_slim AP with short definition - subProperty of http://www.geneontology.org/formats/oboInOwl#SubsetProperty
[ ] Tag a set of high level cell types for eye asserting disjointness where justified, e.g.  for retina RGC, retinal bipolar neuron, rod, cone, amacrine
[ ] Work with @ubyndr to test coverage of all cell types that overlap the eye - aiming for 80-90% coverage

Chat GPT experiment for inspiration":

This article can also be good as reference: https://www.sciencedirect.com/science/article/pii/S1350946220300161

Proposed definition for eye_slim:
A  subset of cell types that are found in the eye.

High level terms (with IRI and ID in this file 1910_eye_SLIMS.xlsx)
retinal cell
photoreceptor cell
retinal bipolar neuron
retina horizontal cell
retinal ganglion cell
amacrine cell
corneal epithelial cell
corneal endothelial cell
vertebrate lens cell
scleral cell
iris pigment epithelial cell
choroidal cell of the eye


RDP 10.0.22621.3672 Windows 11 Pro Fully Supported Not Working

my rdp check is completely green. i used tailscale as a portforward to make rdp work until i woke up in the morning and its suddenly not working. it lasted less than 24 hours.
when i use rdp check it completely loads in, so i know the set up is correct. I cannot login to my router configuration as the admin password doesnt work for some reason.  I am also unable to use port 3389 because it says session already in use ( not really sure thats an issue as i was able to use port 3388 anyway when it worked), i have checked for apps using port 3389 nothing comes up. resetting term service doesnt help, disabling firewall and antivirus changes nothing, i have seperated actual rdp from the rest as the issue solution said in github did nothing. can anyone help me in solving this?

Try reboot？

Try reboot？

this been going on for days and days reboot doesnt help

Try run net start umrdpservice

Try run net start umrdpservice

nothing changes

Check your registry subkey: HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber, change it to a new value, such as 33890 or 12345. save and reboot.

我使用 tailscale 作为端口转发，使 rdp 正常工作，直到早上醒来，它突然失效了。
当我使用 rdp 检查时，它能完全加载，所以我知道设置是正确的。我无法登录路由器配置，因为管理员密码不知为何不起作用。我也无法使用 3389 端口，因为它说会话已在使用中（我不太确定这是否是个问题，因为我可以使用 3388 端口，反正它也能用），我检查了使用 3389 端口的应用程序，但什么也没显示出来。

Check your firewall?
Try run
netsh advfirewall firewall add rule name="Remote Desktop" dir=in protocol=tcp localport=3389 profile=any action=allow
netsh advfirewall firewall add rule name="Remote Desktop" dir=in protocol=udp localport=3389 profile=any action=allow

none of this is working but thanks for trying

Having the same problem on Windows 11 Pro x64 (NL=Dutch) up to date till Wednesday 24.07.2024.
For test purposes, I am running this Windows 11 Pro in a VmWare Workstation Pro.
I am using the 2024-07-17 rdpwrap.ini by sebaxakerhtc
which has the sections [10.0.22621.3672] and [10.0.22621.3672-SLInit]
but maybe some patch pointers are off.
Does any has the above version 10.0.22621.3672 working ?

 termsrv_Win11_10.0.22621.3672.zip
Added RDConf.exe screenshot and the termsrv.dll found in my c:\windows\system32

Your termsrv.dll file size is 0.

 termsrv_Win11_10.0.22621.3672.zip
Added RDConf.exe screenshot and the termsrv.dll found in my c:\windows\system32

@antmarortega

Your termsrv size is 0.

Duplicate of https://github.com/stascorp/rdpwrap/issues/2833.
GitHub issues is only for reporting bugs, not for discussing struggles. Contact Telegram support group instead.

@loyejaotdiqr47123 - Somehow whwn adding the termsrv.dll to the zip the size was 0 bytes. Don't know what happend.
I updated the ZIP-file with the correct termsrv.dll now!
@binarymaster - This seems to be a bug in the wrapper.ini or termsrv.dll changed so the RDWrap won't work anymore.
Tested on WIndows 10 and RDPWrap + rdpwrap.ini is working.
So for Win11 imho there is a bug because "the same" installation on Win 10 works.
Just my 2 cents ;-)


How to install angular-cli inside restricted Network access environment

Versions
<!--
Output from: `ng --version`.
If nothing, output from: `node --6.11.3` and `npm --3.10.10`. Windows 7
-->

Issue
I work in the company where I have restricted environment. If I need to install angular-cli on my machine, I can request network administrator to unblock the URL. But at first place, I don't know which URL to unblock.

Please provide URL which are needs to unblocked for successful installation of angular-cli.
If possible provide a GET STARTED guide for the enterprise environment.

I have unblocked the URL https://registry.npmjs.org, but it is not helping.

npm-debug.log

I have configured the Proxy as
• npm set proxy=http://host:port
• npm set https-proxy=http://host:port
After that If you try ng -v it will give error as there is not PATH variable configured.
To counter this, use Node.js command prompt to navigate to your folder and start working with Angular.

This seems like a problem with your node/npm and not with Angular CLI.
Please have a look at the fixing npm permissions page, common errors page, npm issue tracker, or open a new issue in that issue tracker if the problem you are experiencing isn't known.

Hi @Sankey28 , I am also facing proxy config issue. Did you problem solved ?.


classic pre-prompts

https://arxiv.org/abs/2309.03409

Let’s think step by step.
Take a deep breath and work on this problem step-by-step.
Break this down.
A little bit of arithmetic and a logical approach will help us quickly arrive at the solution to this problem.
Let’s combine our numerical command and clear thinking to quickly and accurately decipher the answer.
Let’s work together to solve math word problems! First, we will read and discuss the problem together to make sure we understand it. Then, we will work together to find the solution. I will give you hints and help you work through the problem if you get stuck.

Summarization:

Give a summary that is well-structured with step-by-step sections and elaborate details for each section.

Chain of Verification (CoVe) can easily be implemented in langchain using all the async etc. stuff we have built.
https://arxiv.org/abs/2309.11495
<EMAIL_ADDRESS>https://colab.research.google.com/drive/10EEKZCuD6ZLqywIg_r3d7mLuQwHNINT3?usp=sharing
Chain of Density:
https://arxiv.org/abs/2309.04269
Equivalent to "refine" summarization in in langchain with certain prompt.
But summarization is (almost) dead paper shows gpt-4 summaries are basically perdurable to human ones that CoD paper compares to
But as with many papers, a single good prompt often will do as good as this iterative approach.
AutoGen RAG:
https://arxiv.org/abs/2308.08155
https://github.com/microsoft/autogen/blob/main/notebook/agentchat_groupchat_RAG.ipynb
easy to try with just few lines of code to see benefits, but just takes longer to run.

In general alot of papers publish things about doing some complex iterative scheme, and in end improvements are unclear in reality and just was some minimal publishing unit.
An example of this is https://arxiv.org/abs/2309.16797 from google deepmind (I agree with https://www.youtube.com/watch?v=tkX0EfNl4Fc).

codellama:
system prompt:
You are an API based on a large language model, answering user request as valid JSON only.

And the prompt itself :
Answer the following question :
<query>
using only the facts from these articles:

---
article 45: Joe Biden is the new President of the United States. He was just elected today.
---
article 56: How to cook chicken. To cook chicken, use the microwave. 1 minute per kilo of meat.
---
article 78: Climate change impacts Europe. The northern hemisphere is experiencing long heat waves and accompanying fires and natural disasters.
---

Answer the query using the following template :
{
  "success" : boolean, // if you could sucessfully answer the question using only the context provided
  "response" : string, // the response to the user's question
  "references" : array // the ids of the articles you used to answer the user question. Do not mentions articles not relevant for the user query.
}

If the articles do not contain the information needed, return false in the success key, and provide the response : "I cannot answer that query."

Example 1:
query : who is Joe Biden?
response : {"success" : true, "response" : "Joe Biden is the new President of the United States.", "references" : [45]}

Example 2:
query : who do I cook pork?
response : {"success" : false, "response" : "I cannot answer that query.", "references" : []}

Now answer the question : What is climate change?

I'm getting :
{ "success" : true, "response" : "Climate change refers to the long term changes in the Earth's climate, which can be caused by a variety of factors, including the burning of fossil fuels, deforestation, and changes in land use., "references" : [78] }

Hi @pseudotensor does the above template have to be wrapped into the Llama-2 specific syntax? How would that look like?

https://arxiv.org/abs/2310.06117
https://gooey.ai/SmartGPT/
https://www.reddit.com/r/ChatGPT/comments/14qmzlt/solve_the_laundy_problem/

Question: I left 5 clothes to dry out in the sun. It took them 5 hours to dry completely. How long would it take to try 30 clothes?
  List a much more general abstract versions of this question, then describe the situation using your imagination ensuring not to over-constrain the problem, then explore in a list all the possible different constraints or lack of constraints (be sure to consider from a human viewpoint) relevant for the circumstance, then explore in a list the many extreme possibilities for issues. Finally, let's work this out in a step-by-step way to be sure we have the right answer. Make a final best guess using common sense.

system prompt:
Question: I left 5 clothes to dry out in the sun. It took them 5 hours to dry completely. How long would it take to try 30 clothes?
 List a much more general abstract versions of this question, then describe the situation using your imagination ensuring not to over-constrain the problem, then explore in a list all the possible different constraints or lack of constraints (be sure to consider from a human viewpoint) relevant for the circumstance, then explore in a list the many extreme possibilities for issues. Let's work this out in a well-structured step-by-step thoughtful way to be sure we have the right answer. Make a final best guess using common sense.

Chain of Verification.
<EMAIL_ADDRESS>

Hi, I saw the commit for that issue with changes in prompter.py. How those prompts can be used ? step_back_prompts
Thanks

https://arxiv.org/abs/2310.01405
LLMs respond very well to an additional prompt after asking the question part, like "This is very important to my career."

https://github.com/spdustin/ChatGPT-AutoExpert/tree/main


Relative pose from imu to camera

Hi, I have some small questions about your dataset.

In each sequence, there is a Transformations.txt which defines transformations between different coordinate frames. And the TS_cam_imu is the relative pose from imu to camera. What I want to know is that the pose is about the undistorted camera or the distorted camera. Because after the stereo rectified, the relative pose between camera and imu must be changed, right?
What is the intrisics of imu, which inludes noise and random walk. I have looked up the sensor menu, but I only finded the noise. So, what values do you use?

To download, please check the download link. You can find all the related data here.
The TS_cam_imu is the relative pose of the undistorted camera
@NiclasZeller Do you have an answer for this

What is the intrisics of imu, which inludes noise and random walk. I have looked up the sensor menu, but I only finded the noise. So, what values do you use?

To download, please check the download link. You can find all the related data here.
The TS_cam_imu is the relative pose of the undistorted camera
@NiclasZeller Do you have an answer for this

What is the intrisics of imu, which inludes noise and random walk. I have looked up the sensor menu, but I only finded the noise. So, what values do you use?

We don't provide any noise model parameters with the dataset since we were not able to estimate the parameters accurately for our setup. However, some important information might be available in the datasheet of the imu. Furthermore, since DM-VIO achieves quite good results on our dataset, the parameters used might be quite reasonable.


Prevent multiple dialog overlays from blacking out the background

Feature Description
Prevent dark background when multiple dialogs are open.
If you open multiple dialogs without closing them, the background progressively gets darker. While you can configure the backdrop class for when the dialog opens, you can't do much as the dialogs close.
Either add on some sort of addBackdropClass() function for DialogRef, or manage the overlay internally for all of the open dialogs (leaving only the top dialog with a visible overlay).
Use Case
Multiple dialog pop-ups
(yes, although it's unlikely (and bad UX) that 10 dialogs would open, that doesn't mean that 2 or 3 can't open up. The user should still be able to see what's in the background without it getting darker.)

This might be possible already using CSS sibling selectors since all the backdrops are siblings of each other. The problem with doing is that what if the dialogs aren't right on top of each other? There won't be a way to tell which dialog is behind which.

Yea that's true, I hadn't considered the side-by-side case. I'll close this, I did find and have been using a CSS workaround where I make the overlay invisible that comes with the dialog, but just control my own tinted overlay underneath the most recently opened dialog, and close it with the dialog as well.


[Enchancement] Improve the formatting of editor content

When saving content from the rich text editor, many of the styles are no longer applied, leading to a difference in content appearance. For example, the spacing between paragraphs is removed.
We should go through the various formatting options and make sure they match up with the saved content.

Added in 83a165f6fa30096b4a91d4a6f51439c8ff067212.


hide footer credit

Hi! I want to hide footer credit "Powered by the Academic theme for Hugo." but the theme is a submodule, I've just gotten started for a while. Thanks for help!

This is not a bug and should probably be discussed in the forum.
You can achieve what you want by creating an empty file at the root of your folder: layouts/partials/site_footer.html (you probably have to create the missing folders).
You can also copy/past the content themes/academic/layouts/partials/site_footer.html in this new file layouts/partials/site_footer.html and delete/modify what you do not want.
Please keep in mind that academic theme is open-source and free to use. Displaying this "powered by Academic" is a (small) sign of respect towards @gcushen and his huge work.


Improve the performance of children and descendants

Currently, the children and descendants functions are the bottleneck in a number of operations, notably the construction of namefinders.

Codecov Report

Merging #10 (dc879df) into master (4a869c6) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #10   +/-   ##
=======================================
  Coverage   98.00%   98.00%
=======================================
  Files           5        5
  Lines          50       50
=======================================
  Hits           49       49
  Misses          1        1

Flag
Coverage Δ

unittests
98.00% <100.00%> (ø)

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

Impacted Files
Coverage Δ

src/children.jl
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


HHH-18620 - Add @NativeGenerator

https://hibernate.atlassian.net/browse/HHH-18620

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.

Applied manually


SMS blocked can't figure out why

I have tried nearly every SMS package, and I always have same issue, I keep getting blocked from sending a SMS on my pixel4xl.
I have SEND_SMS permission, only clue here is from logcat which shows:
02-22 23:56:29.011  4724  4791 I flutter : We Have SMS permissions, attempting to send myself 2 messages
02-22 23:56:29.012  1642  4688 I AppsFilter: interaction: PackageSetting{3cbfd6c com.example.musicplayer/10520} -> PackageSetting{c467432 com.google.android.talk/10233}
BLOCKED
02-22 23:56:29.012  1642  4688 I AppsFilter: interaction: PackageSetting{3cbfd6c com.example.musicplayer/10520} -> PackageSetting{923df39 com.google.android.apps.messag
ing/10176} BLOCKED
Example function with url_launcher for testing:
Future mySMS2() async {
if (await Permission.sms.request().isGranted) {
print("We Have SMS permissions, attempting to send myself 2 messages");
} else {
var status = await Permission.sms.status;
print("Status seems to be ${status}");
}
String url='sms:12049619583'; // number modified
if (await canLaunch(url)) {
await launch(url);
}
else {
throw 'Could not launch $url';
}
// await launch("sms:$number").catchError((onError) {
//   print("Error occured what happened is: ${onError}");
// });
}
I just keep getting blocked by this AppsFilter, any ideas?

Hi @syleishere
Can you please provide your flutter doctor -v and a minimal complete reproducible code sample?
Thank you

OK just close this for now, I reset all my permissions on the pixel4xl and now it seems to be working.


Routing issues

@rasmus-storjohann-PG @tnightingale. Please take a minute to peruse this as I'm currently a bit blocked on Issue #44 due some issues outlined here.
I think we’re currently misusing our router and I can't help but feel we may want to rethink our routing solution. Redux-first-router was built primarily with the assumption it was being used in a web based environment.  This is my current understanding of our routing in Pathways and some issues I'm noticing:

Redux-first-router imposes we map particular routes to actions meaning that when a route is hit a particular action is fired.
The primary purpose of this action firing is to allow dynamic portions of the url to be substituted with their appropriate values from the action’s payloads if you’re not doing this you generally don’t do any work in the reducer (just return null according to the docs) this is where we run into problems …
We need to do work here; primarily set the “currentPage” value in the store so our component in charge of rendering the correct page component knows to re render itself (this is how we're currently doing it .. maybe this is the questionable piece?)
This is our misuse and seems to be OK when you have pages like “questionnaire” and “plan” but when you require a parameterized path ie. “task/:id” we now need the reducer to return an id when the router triggers the action or an updated copy of the store when it’s trigger from other sources ie. through the ui…

So I’ve tried a few different things to get this working and really it all just feels wrong. I can’t help but think we’re taking a bit too much of a web approach to this and should potentially be looking at other options. After a quick poke around https://reactnavigation.org/ seems popular, well documented, and looks to have a section on deep linking. It could be worth looking at.

React-navigation is one of the most popular routing libraries and work very
well with react native. If you needed something even more powerful, there
is always react-native-router-flux. But for most projects, react-navigation
suffices.
On Thu, Jun 7, 2018 at 4:05 PM Ben St John<EMAIL_ADDRESS>wrote:

@rasmus-storjohann-PG https://github.com/rasmus-storjohann-PG
@tnightingale https://github.com/tnightingale. Please take a minute to
peruse this as I'm currently a bit blocked on Issue #44
https://github.com/pg-irc/pathways-frontend/issues/44 due some issues
outlined here.
I think we’re currently misusing our router and I can't help but feel we
may want to rethink our routing solution. Redux-first-router was built
primarily with the assumption it was being used in a web based environment.
This is my current understanding of our routing in Pathways and some issues
I'm noticing:

Redux-first-router imposes we map particular routes to actions
meaning that when a route is hit a particular action is fired.
The primary purpose of this action firing is to allow dynamic
portions of the url to be substituted with their appropriate values from
the action’s payloads if you’re not doing this you generally don’t do any
work in the reducer (just return null according to the docs) this is where
we run into problems …
We need to do work here; primarily set the “currentPage” value in
the store so our component in charge of rendering the correct page
component knows to re render itself
This is our misuse and seems to be OK when you have pages like
“questionnaire” and “plan” but when you require a dynamic portion of the
path ie. “task/:id” we now need the action to return an id when the router
triggers the action or an updated copy of the store when it’s trigger from
other sources ie. through the ui…

So I’ve tried a few different things to get this working and really it all
just feels wrong. I can’t help but think we’re taking a bit too much of a
web approach to this and should potentially be looking at other options.
After a quick poke around https://reactnavigation.org/ seems popular,
well documented, and looks to have a section on deep linking. It could be
worth looking at.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pg-irc/pathways-frontend/issues/102, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ADPpSQlCcBSflC9HpPql7RxFVYKBrCpZks5t6bHRgaJpZM4UfQRJ
.

Alternatively, we've had pretty good experience with react-router in the past. It has an opinionated view of how routing state is managed that is different to the approach we've been hoping for (spoiler: managed outside of redux) but it has been reliable. Here's an explanation of the state of redux integration: https://reacttraining.com/react-router/native/guides/redux-integration.

Closing, this functionality has been completed under a different story


Skip Brotli related tests on platforms which not support Brotli

Motivation:
The native module is not yet available on aarch64 Mac thus causing tests in codec/ to fail (specifically all the Brotli ones, since the module could not be loaded).
Modification:
Disable Brotli tests under Mac/aarch64 combo.
Result:
Tests under codec/ now pass under Mac/aarch64.

/cc @hyperxpro

I think we should disable tests on Windows aarch64 too.

@hyperxpro done


[ASCII-2582] Add certificate generation and retrieval for IPC communications

What does this PR do?
This PR introduce the generation of an IPC dedicated certificate and key pair, used to allow Agent API server to authenticate it. This generation/retrieval process takes places during the initialization of the auth_token.
The next steps are using this generated certificate in the different API servers:

#31843
#31845
#31844
#31847

Motivation
This PR is part of a plan to improve the security of the Agent's inter-process communication (IPC).
Describe how you validated your changes

Some unit tests have been added to cover the new generation/retrieval steps.
Additional Notes

The comp/api/authtoken component has been updated to provide the IPC TLS configurations based on the generated certificate. The component's name should be updated in a subsequent pull request to better reflect its behavior.

/trigger-ci --variable RUN_ALL_BUILDS=true --variable RUN_KITCHEN_TESTS=true --variable RUN_E2E_TESTS=on --variable RUN_UNIT_TESTS=on --variable RUN_KMT_TESTS=on

/trigger-ci --variable RUN_ALL_BUILDS=true --variable RUN_KITCHEN_TESTS=true --variable RUN_E2E_TESTS=on --variable RUN_UNIT_TESTS=on --variable RUN_KMT_TESTS=on

/merge

/merge -c

/merge


Add Dear AI to the list

Hi, Jason from Dear AI here.
Dear AI is an AI chatbot that is specialized in supercharge customer services and boost sales. It's easy to set up through a no code platform and ready to use in minutes.
Thanks for considering it! Cheers

Redirected to shipflow.ai!


Security Vulnerability issues

Steps to reproduce
Use any security testing tool.
Expected results
Should not have any Vulnerability issue.
Actual results
Showing three Vulnerability issue
Code sample
Code sample
I'm working on a flutter Android/iOS App that is almost completed and i have fixed many security issues,
But when the security testing team is testing the app the report is showing below three security issues:

Usage of CBC with PKCS5/PKCS7 Padding in Android Application
Use of Weak Hashing Algorithm [SHA-1] - mobile app
Usage of MD5 Algorithm in Android Application

I'm unable to indentify from which package these issues are getting, my pybspec.yml file contains below packages:
dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter

  permission_handler: ^11.3.1
  path_provider: ^2.1.3
  pin_code_fields: ^8.0.1
  cached_network_image:
  image_picker: ^1.1.2
  loader_overlay: ^4.0.0
  device_info_plus: ^10.1.0
  android_id: ^0.4.0
  another_flushbar: ^1.12.30
  fluttertoast: ^8.2.6
  flutter_bloc: ^8.1.6
  provider: ^6.1.2
  dio_cache_interceptor_hive_store: ^3.2.2
  shared_preferences: ^2.2.3
  dio_cache_interceptor: ^3.5.0
  cupertino_tabbar: ^2.0.0
  flutter_switch: ^0.3.2
  carousel_slider: ^4.2.1
  status_view: ^0.0.2
  google_maps_flutter: ^2.7.0
  flutter_staggered_grid_view: ^0.7.0
  camera: ^0.11.0+1
  custom_sliding_segmented_control: ^1.8.3
  flutter_calendar_carousel: ^2.4.3
  firebase_auth: ^5.1.0
  intl_phone_field: ^3.2.0
  pin_code_text_field: ^1.8.0
  flutter_share: ^2.0.0
  file_picker: ^5.2.3
  app_settings: ^5.1.1
  flutter_image_compress: ^2.3.0
  shimmer: ^3.0.0
  flutter_html: 3.0.0-beta.1
  fbroadcast: ^2.0.0
  flutter_video_info:
  flutter_google_places_hoc081098: ^2.0.0
  jiffy: ^5.0.0
  cloud_firestore: ^5.0.1
  ntp: ^2.0.0
  swipe_to: ^1.0.6
  flutter_linkify: ^6.0.0
  url_launcher: ^6.1.12
  firebase_storage: ^12.0.1
  video_thumbnail: ^0.5.3
  scroll_to_index: ^3.0.1
  grouped_list: ^5.1.2
  firebase_messaging: ^15.0.1
  geolocator: ^12.0.0
  geocoding: ^3.0.0
  custom_map_markers: ^0.0.2+1
  flutter_polyline_points: ^2.0.0
  image: ^3.0.2
  photo_view: ^0.15.0
  hl_image_picker: ^1.2.12
  perfect_freehand: ^1.0.4
  align_positioned: ^4.0.1
  animated_text_kit: ^4.2.2
  flutter_screenutil: ^5.9.3
  image_gallery_saver: ^2.0.3
  video_player: ^2.6.0
  gradient_borders: ^1.0.1
  flutter_local_notifications: ^16.3.0
  flutter_background_service: ^5.0.5
  mime: ^1.0.5
  easy_image_viewer: ^1.5.0
  flutter_cache_manager: ^3.3.2
  cached_video_player_fork: ^2.1.1
  flutter_inappwebview: ^6.0.0
  uni_links: ^0.5.1
  firebase_dynamic_links: ^5.5.1
  bottom_picker: ^2.8.0

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Flutter 3.22.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 761747bfc5 (3 weeks ago) • 2024-06-05 22:15:13 +0200
Engine • revision edd8546116
Tools • Dart 3.4.3 • DevTools 2.34.3

Your issue is likely caused by some of the third party packages you use. I see a similar report of this issue in https://github.com/mogol/flutter_secure_storage/issues/694
You might want to try scanning the default flutter app to see if you still get these issues. If you do, then that is something we can address, otherwise there's not much for the flutter team to do.
Given that your issue is likely caused by third-party packages, I will be closing this. If this does happen with the counter app, kindly leave a comment below and I will reopen this. Thank you


perma.cc not included by default?

https://perma-archives.org/warc/timegate/
https://perma-archives.org/warc/timemap/

I was added on Aug 31, 2016 via commit e414fbc8180dd0f04be01cba35b008e14719f3da. The archives.json file that is being served at https://git.io/archives is not the one in the master branch, but in the gh-pages branch. We have plans to unify that so that we do not have two copies of the file in the repo.


Add method setProfile(CamcorderProfile)

Add methods from http://developer.android.com/intl/ru/reference/android/media/CamcorderProfile.html#audioBitRate
and setMaxAllowFileSize
And fix MaterialCamera(this).videoPreferredHeight(...), it doesn't work like it must work.

@ruha9005 videoPreferredHeight() works as intended. Android devices have a limited set of resolutions that they support, you can force a specific size of aspect ratio.
I will add setMaxAllowFileSize, though.

https://github.com/afollestad/material-camera/releases/tag/0.2.4


support hex.pm

at the moment not yet possible due to
https://github.com/erlware/uri
not yet on hex.pm

dependency from uri is removed with https://github.com/indigo-dc/oidcc/pull/53/commits/9ebc8677b3913dfef473b5752055bb7a41c6b06e

not possible due to clutch between gun and cowboy ...

cowboy removed as dependency with https://github.com/indigo-dc/oidcc/commit/7c743ea8db47458c85e1145efea45fafe433e7c7
Wait for https://github.com/indigo-dc/oidcc/issues/71 to finish

not possible due to clatch between cowlib and cowboy


Pre-trained models for regression tasks

In the "GraphMVP_complate_features_for_regression" folder, there are only graphMVP_C and graphMVP_G pre-trained models. Do you have the original GraphMVP pre-trained model for regression tasks?

Hi @sun-heqi,
Sorry for the delay. I just got time to fix this issue.
So I uploaded the checkpoints now. Feel free to check the google drive link.
Now I have checkpoints for three models:

GraphMVP
GraphMVP_AM (or GraphMVP_G)
GraphMVP_CP (or GraphMVP_C)


Government Issued Jakarta Educational Email

@Fray117 This domain does not belong to a university, nor to a college. I have to close the request without merging. Please ensure that you are familiar with this repository rules located at the bottom of this page before submitting a new request.
Please note that we do not generally add umbrella organizations to this repository. It is for email domains of universities and colleges only. Thank you.


Refactoring of connection handling

Use non-secrets records to track connection status and routing status from the time an invitation is generated or connection request is received
Add compatibility fixes for connecting with agent-framework
Start adding support for routing messages and management of routes
Fixes for trust ping support and l10n decorator

@cywolf looks good – can you resolve these conflicts? I think it should be pretty straightforward.


fix: aot runtime issues

Currently when using the MdSnackBar in AOT, there will be runtime exceptions from the NgFactory. Those are caused by the re-exports of DI tokens.

Since this deprecation is pretty old we can safely remove it anyways. Although this is probably an Angular that should be reported separately.

Also fixes the output directory of the aot gulp task. Currently it outputs the factories in a wrong directory. (This allows us to serve the aot demo-app in the future)

More in depth

The Angular compiler will then look for the first export e.g MdLiveAnnouncer and the normal
LiveAnnouncer export wont be included in the factory.

This is breaking at runtime now, because the NgFactory searches for LiveAnnouncer but there is only
the LiveAnnouncer (DI exception)

@jelbourn To be able to detect such runtime issues we should serve the e2e-app with AOT? Also this should be the same issue I already talked to you about.

Fixes #3798.

What about UniqueSelectionDispatcher? It is also exported with and without Md prefix.

@gkalpak good catch, we should do that one too
@DevVersion almost done with the removal of MdLiveAnnouncer and MdPlatform, just started for MdUniqueSelectionDispatcher

@gkalpak Good point. I didn't catch that one because it just didn't throw. Will change it nevertheless.
Because of that I continued investigating. It looks like the issue only happens if you inject a service in another service. The button-toggle component is a component and the error therefore doesn't show up.
@NgModule({
  declarations: [MyDeclarationDoesNot],
  providers: [MyServiceThrows, UniqueSelectionDispatcher]
}
export class InternalMaterialModule

// Public API exports
export {UniqueSelectionDispatcher} from 'XXX';

// This causes the DI exception inside of services. (in AOT)
export {UniqueSelectionDispatcher as MdUniqueSelectionDispatcher} from 'XXX';


feat(libsdk): Optimized the return error code

What this PR does / why we need it:
Optimized the return error code of the quota limit in the write scenario

LGTM


Pre-populate the 'rename' box with the original name

Enhancement #103

Hi @zhengbli, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Zhengbo Li). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

:+1:

:+1:


Use sidechain pallet

https://github.com/integritee-network/pallets/pull/51

the pallet branch is for the draft. After pallets repo is merged, this will be reset to "master".


Support float complex gemm by hip solutions

This PR make Tensile to support the cgemm and zgemm by hip solutions.
https://github.com/ROCmSoftwarePlatform/rocBLAS/pull/613
Tony also submitted this corresponding rocBlas PR.
Tensile PR must be merged first prior to rocBlas PR.

This change includes mixed line-endings for DataType.py and test_DataType.py .  Can we be more careful about this in the future?

This change includes mixed line-endings for DataType.py and test_DataType.py .  Can we be more careful about this in the future?

I noticed that the DataType.py and test_DataType.py are dos format. After we use vim to modify some changes into these 2 files, there are ^M in line end.
But if we try "git am" the commit, the am process would fail.
Therefore, I remove the ^M from line end.
Should we always keep ^M line end for dos format file?  Thanks.


Update compose

:shipit:

A job will handle this PR ASAP on Jenkins

Rebase && testing in progress


cg graphs not working on windows

After installing python and ctc, and going through the setup, it seems like the graphs for cg are not displaying correctly.

This is on both cmd, and powershell.

seems like its a unicode font issue


Source code for v1.0.3784

Where can I find source code for v1.0.3784? Most recent tag/release is from December 2019, release v1.0.1377.

You can see all the VS Code tags/releases here: https://github.com/microsoft/vscode/tags
The most recent is 1.53.2.


fix #266 - unquote multi-param quoted function bodies automatically

Fixes #266
Problem
The unquotation of function bodies currently works only for functions with arity one.
Solution
Implement the unquotation for multi-param functions.
Checklist

[X] Unit test all changes
[X] Update README.md if applicable
[X] Add [WIP] to the pull request title if it's work in progress
[X] Squash commits that aren't meaningful changes
[X] Run sbt scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

:+1:

:+1:

:+1:

:+1:


Agn sources

Added movie interpolation and test for interpolation making use of both sinusoidal var. model and selected data points. Tests using basic linear interpolation.


Add Pynio to image - take 2

I have been trying to install it locally (conda install -c conda-forge pynio) with no luck.
I know about cfgrib as an alternative engine to read grib files, but cfgrib does not like my grib files - pynio does (I tested it on another machine).

When I try to install it locally on my cluster I get these issues - so I want to raise them before being added to the docker image.
I remember that in the past pynio installation was a bit problematic. let me know!
(notebook) jovyan@jupyter-chiaral:~$ conda install -c conda-forge pynio
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
Examining conflict for docker-pycreds tifffile nbstripout pyasn1-modules bleach gsw pytools cached-property color- a

and it's still spinning

When I try to install it locally on my cluster I get these issues - so I want to raise them before being added to the docker image.
I remember that in the past pynio installation was a bit problematic. let me know!
(notebook) jovyan@jupyter-chiaral:~$ conda install -c conda-forge pynio
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
Examining conflict for docker-pycreds tifffile nbstripout pyasn1-modules bleach gsw pytools cached-property color- a

and it's still spinning

cross-posting https://github.com/pangeo-data/pangeo-cloud-federation/issues/918#issuecomment-763908193
the pangeo-docker-images are shared on all hubs (GCP too), and the fact that conda install pynio is hanging to find a solution makes me worried it has complicated dependencies. in case incorporating into the shared docker images does not work, you can try: mamba install pynio . I've noticed mamba succeeds where conda fails for adding some of these complex geospatial libraries into our existing environment.

cross-posting https://github.com/pangeo-data/pangeo-cloud-federation/issues/918#issuecomment-763908193
the pangeo-docker-images are shared on all hubs (GCP too), and the fact that conda install pynio is hanging to find a solution makes me worried it has complicated dependencies. in case incorporating into the shared docker images does not work, you can try: mamba install pynio . I've noticed mamba succeeds where conda fails for adding some of these complex geospatial libraries into our existing environment.

Thanks @scottyhq for trying to help sort this out!
I think this issue highlights the need for users to be able to bring their own image to Pangeo cloud deployments. It would be great if @chiaral could build her own docker image with pynio in it and select it at startup time. I'll ping @yuvipanda on this as an example of one of the features we hope to have in 2i2c world.

Thanks @scottyhq for trying to help sort this out!
I think this issue highlights the need for users to be able to bring their own image to Pangeo cloud deployments. It would be great if @chiaral could build her own docker image with pynio in it and select it at startup time. I'll ping @yuvipanda on this as an example of one of the features we hope to have in 2i2c world.

Thanks! I understand the issue - and indeed pynio has always been a bit of a wild card.
I will try mamba for sure. So do not merge it to master just yet.

Thanks! I understand the issue - and indeed pynio has always been a bit of a wild card.
I will try mamba for sure. So do not merge it to master just yet.

@chiaral also, just updated my comment above (https://github.com/pangeo-data/pangeo-docker-images/pull/182#issuecomment-763909186) with a link to instructions for getting pynio on dask workers if you need that

It would be great if @chiaral could build her own docker image with pynio in it and select it at startup time. I'll ping @yuvipanda on this as an example of one of the features we hope to have in 2i2c world.

Agreed, pointing to another user-defined image would be great. A similar approach that i haven't had time to explore is letting users swap out the conda environment layer in the existing docker image from a hub:
https://github.com/pangeo-data/pangeo-docker-images/issues/148

@chiaral also, just updated my comment above (https://github.com/pangeo-data/pangeo-docker-images/pull/182#issuecomment-763909186) with a link to instructions for getting pynio on dask workers if you need that

It would be great if @chiaral could build her own docker image with pynio in it and select it at startup time. I'll ping @yuvipanda on this as an example of one of the features we hope to have in 2i2c world.

Agreed, pointing to another user-defined image would be great. A similar approach that i haven't had time to explore is letting users swap out the conda environment layer in the existing docker image from a hub:
https://github.com/pangeo-data/pangeo-docker-images/issues/148

Thanks - I used mamba and it worked right away - and indeed downgraded tons of stuff.
For now I am exploring without dask workers - for this - so I won't need the workers, but I will keep that in mind. thanks!

Thanks - I used mamba and it worked right away - and indeed downgraded tons of stuff.
For now I am exploring without dask workers - for this - so I won't need the workers, but I will keep that in mind. thanks!

I am commenting on this issue because I would need some guidance. I used to be able to install in my notebook pynio with mamba no problem, but now I get this error:
Looking for: ['pynio']

conda-forge/noarch       [====================] (00m:01s) Done
conda-forge/linux-64     [====================] (00m:04s) Done
Encountered problems while solving.
Problem: nothing provides libgdal 2.1.* needed by pynio-1.5.0-py27_0

There hasn't been a new release in pynio, so of course it's a new imcompatibility with the rest of the image that has been updated since I opened this issue.
Do you have any suggestion on how to go about this?
I could go around pynio with cfgrib by doing some hacking, and I will happily do that (see this issue ) but i wasn wondering if anyone has any input.
I definitely don't want to break the current docker image.

closing this as it seems pynio needs updating to integrate into the default environment


Add Snort to Umbrel App Store

Is your feature request related to a problem? Please describe.
It would be awesome to easily install Snort on an Umbrel server through their App Store. Making Nostr clients easily accessible like this is another avenue to gain traction. Additionally as apps on Umbrel are served over HTTP, it will allow the client to connect to relays using ws:// such as Umbrel's private Nostr Relay: https://twitter.com/umbrel/status/1622591145481236480
Describe the solution you'd like
Firstly, we'll create a Dockerfile to build Snort and then a GH workflow to automatically build and push a Docker image to the Docker Hub. Would you accept a PR that adds a Dockerfile and GitHub workflow to automatically build and push a Docker image to the Docker Hub? I've done these before where it's triggered when a new tag is created that marks a new version (e.g. v1.2.3), so this would also mean that new tags would need to be created as new versions of Snort go live.
Describe alternatives you've considered
An alternative approach could be if someone manually builds and pushes Docker images.
Additional context
Some extra detail about the Umbrel App Store: https://umbrel.com/#app-store
However, once Docker images are created, I can also help with the app submission into the App Store.

Hey, thanks for the issue, i already started to build Docker images, im quite familiar with the process so im happy to do this myself.
Available time is an issue for me though, so im not sure when it will be done (though i imagine that i could be completed before next week)
One problem i see here is that we currently don't have versioning in place, Is this a problem for Umbrel app store?

Nice! All apps in the App Store must a version because 1) it allows users to report issues quoting a specific version and 2) the update system relies on this field to know if an app update is available. I guess if you wanted to avoid e.g. semver then you could use the first few characters of the commit ID.

How frequent can we update the Umbrel app store, we're pushing many changes every single day which get automatically deployed live, wouldn't be a great experience if people are expecting features or wanting features on their local instance

As frequently as you want 😄 I'm currently managing the app submissions and updates (hosted here: https://github.com/getumbrel/umbrel-apps). The docker-compose.yml file and app manifest (umbrel-app.yml) for the app would need updated each time, but perhaps it makes sense to do this once every 1 to 2 weeks?

Pushed simple latest build here: https://github.com/v0l/snort/pkgs/container/snort
will setup weekly versioned build tomorrow

Awesome, once there is a tagged Docker image available, I can help with the app submission 😄
Is this is a multi-arch image? It shows me unknown/unknown for the 2nd available arch; because we'll need both arm64 and amd64 support.

Yea i had arm64 builds but it kept timing out, do you recommend using buildx or something else?

Yh, we use buildx for everything. Here is an example of a GitHub workflow that we use to automate everything: https://github.com/getumbrel/umbrel-manager/blob/fc823490591ea55e26734d144a0527fe9618166d/.github/workflows/on-tag.yml

Haha 1hr 6min to build... wtf

Ok i have created a tagged version now, what is the next step? https://github.com/v0l/snort/pkgs/container/snort/69991596?tag=v0.1.0

PR is open, closing this

hi i just wanted to double check here if ws:// support is added yet?


Add Haskell tools to macos-13

Tool name
GHCup, possibly also GHC and Cabal
Tool license
Same as on macos-12 and all other images
Add or update?

[X] Add
[ ] Update

Desired version
Latest, i.e., same version that the other images have (should be uniform for the sake of upgrading from an older image to a newer one).
Approximate size
No response
Brief description of tool
I am surprised to see GHCup, GHC and Cabal not present in macOS-13 when they are supplied in all other images.  E.g. here in macOS-12: https://github.com/actions/runner-images/blob/6308849b2531330934dc881cfa920a7fc53b0929/images/macos/macos-12-Readme.md?plain=1#L106-L112
(first and last two lines in the list).
I don't know if this is a conscious decision to drop Haskell, or just an omission or a bug.
Not sure I used the correct form to report this issue.
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
No response
Platforms where you need the tool

[ ] Azure DevOps
[X] GitHub Actions

Runner images where you need the tool

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[X] macOS 13
[X] macOS 13 Arm64
[ ] Windows Server 2019
[ ] Windows Server 2022

Can this tool be installed during the build?
No response
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response

Hello @andreasabel!
Due to certain technical constraints and maintenance difficulties, we have decided to streamline latest macOS images and remove some programs from them that can be installed quickly and easily at runtime or are infrequently used. The Haskell developer tools package is also included in this list. Unfortunately, at the moment, we have no plans to reintroduce any of the removed packages, but we will certainly notify the community if plans change.

Thanks @erik-bershel , for the swift reply.
I totally respect your decision.
It would be good if such decisions would be recorded somewhere in this repo where one could find them.  I was looking around here before opening the issue, but could not find any changelogs or some other documents that would list such decisions (and maybe explain them).
Basically, I should expect Haskell to also disappear from the other images in the future and be prepared to install it myself, is that right?  (I am asking in my role as the maintainer of the setup action for haskell, haskell-actions/setup).

It would be good if such decisions would be recorded somewhere in this repo where one could find them. I was looking around here before opening the issue, but could not find any changelogs or some other documents that would list such decisions (and maybe explain them).

Each image is accompanied by documentation. You can view the content at any time. We also inform users about changes in existing images in advance; for this, there are announcement mechanisms as well as prereleases.

Basically, I should expect Haskell to also disappear from the other images in the future and be prepared to install it myself, is that right? (I am asking in my role as the maintainer of the setup action for haskell, haskell-actions/setup).

Unfortunately, I cannot predict in advance what will be contained in images that are not even in beta yet. This is always a very difficult question for which there is no ready answer.

:wave: this seems to be the link that everyone finds first when they encounter a lack of stack on a new macOS runner, so I wanted to drop the snippet you need to get stack back here:
      - if: ${{ runner.os == 'macOS' }}
        run: curl -sSL https://get.haskellstack.org/ | sh

This assumes you are running macOS-latest. If you are running some other versions, e.g. in a matrix, you can use the matrix in your conditional instead,
      - if: ${{ matrix.os == 'macOS-14' }}
        run: curl -sSL https://get.haskellstack.org/ | sh

Lastly, if you're a freckle/stack-action user, as of v5.3 it will install stack for you if necessary.

haskell-actions/setup still works out the box on macos-13/14, yet GHC 9.0 and below does not work on the macos-14 (ARM) image (because of LLVM troubles).


[stable/janusgraph] NodeSelector configuration support

Is this a new chart
No.
What this PR does / why we need it:
Allows for configuration of node to which the pod is assigned.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[ ] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @paulczar

/ok-to-test
/lgtm

/retest


AADJ VM extension RDP wont work with base station

https://docs.microsoft.com/en-us/azure/active-directory/devices/howto-vm-sign-in-azure-ad-windows#requirements

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

Investigating

Thanks for letting us know! I've added this information to the FAQ. #please-close

Thank you very much cheryl