Building test fails.

Building hcc, HIP and roctracer succeeded, but the subsequent building of mytest per the instructions in Readme.md failed ("make mytest"). Error messages:
/home/rvanoo/tmp/HIP/bin/hipcc -g   -c -o MatrixTranspose.o MatrixTranspose.cpp
Use of uninitialized value $HIP_RUNTIME in string eq at /home/rvanoo/tmp/HIP/bin/hipcc line 109.
Use of uninitialized value $HIP_COMPILER in string eq at /home/rvanoo/tmp/HIP/bin/hipcc line 131.
/home/rvanoo/tmp/HIP/bin/hipcc MatrixTranspose.o -o MatrixTranspose
Use of uninitialized value $HIP_RUNTIME in string eq at /home/rvanoo/tmp/HIP/bin/hipcc line 109.
Use of uninitialized value $HIP_COMPILER in string eq at /home/rvanoo/tmp/HIP/bin/hipcc line 131.
clang-9: error: no such file or directory: '/home/rvanoo/tmp/HIP/lib/libhip_hcc.so'

Is this an issue with the current HEAD of the HIP repo, or are there instructions missing (e.g. on setting environment variables)?

It supports ROCm 2.3


New Service Integration - Feeldy RSS Reader

Feedly Integration
Hi guys, first of all props for your development of this awesome project :+1: . Ive been using Franz since the early days and i am very happy for such a nice application!
After quite some time i spend in searching for a desktop rss-feed application to read some news, i havent found any suitable project. BUT today Franz came in my mind. Since i like to read my news at Feedly i want to ask if you guys want to integrate that as a new service in Franz? That would be very awesome :call_me_hand: :+1: !!

Hello,
This repository is only for the Franz client. Please use this form for service requests or check out the guide to create your own service integration.
By the way, Franz is a software for messaging, so I don't think this integration would fit, but thanks for the kind message !
Can you close your issue please ? :slightly_smiling_face:


multiple tabs in edge & File Explorer

i want a better multitasking solution, can you make it to where you can have multiple tabs in the edge browser, i want to do multiple things at once

I think this is a good feature to add .

Hi,
I would like to work on this.

Hi, I would like to work on this.

Go ahead :)

hey I want to work on this i you assign to me


Update the way instrument parameters are kept

Move instrument parameter to the reduction package rather than having them in Mantid

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.37%. Comparing base (f7d3627) to head (9816528).
Report is 3 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff             @@
##             next      #42      +/-   ##
==========================================
+ Coverage   82.20%   82.37%   +0.16%
==========================================
  Files          20       20
  Lines        2327     2349      +22
==========================================
+ Hits         1913     1935      +22
  Misses        414      414

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Enable multi-turn conversations on Android

Hello, I tried running gemma2-9b-q4f16_1 on Android, but it only seems to support single-turn conversations. How can I enable multi-turn conversations on Android?

this likely is model related, you can try other models, like qwen or phi

Thanks for your reply. I've tried qwen2 as well, but it seems to only support single-turn conversations.

The compiled model can handle multi-turn conversations on computer when used with mlc_llm chat, but the APK on Android only supports single-turn conversations.

Seems you are right and we missed a support that should be easy to add as we did in iOS app, will update soon.

Related code in iOS that can be used to update android version

https://github.com/mlc-ai/mlc-llm/blob/main/ios/MLCChat/MLCChat/States/ChatState.swift#L49
https://github.com/mlc-ai/mlc-llm/blob/main/ios/MLCChat/MLCChat/States/ChatState.swift#L172
https://github.com/mlc-ai/mlc-llm/blob/main/ios/MLCChat/MLCChat/States/ChatState.swift#L184

Hi @bucess I have fixed it in #2760, can you try it again with the latest Android APK? Please uninstall MLCChat first, thanks.

Thank you!  Is it possible to use gemma2, or is support limited to llama3~3.1?

Hi @bucess, yes, multi-turn conversation support is available for all models, including gemma2

my env:
mlc-ai-nightly-cu121 0.15.dev515
mlc-llm-nightly-cu121 0.1.dev1472
I have updated the code to the latest version.
mlc_llm gen_config /models/gemma-2-2b-it --quantization q4f16_1 --model-type gemma2 --conv-template gemma_instruction --context-window-size 768 --prefill-chunk-size 256 -o /ok/gemma-2-2b-it-q4f16_1-MLC/
cat mlc-package-config.json
{
"device": "android",
"model_list": [
{
"model": "/ok/gemma-2-2b-it-q4f16_1-MLC/",
"model_id": "gemma-2-2b-it-q4f16_1-MLC",
"estimated_vram_bytes":<PHONE_NUMBER>,
"bundle_weight": true,
"overrides": {
"context_window_size": 768,
"prefill_chunk_size": 256
}
    }
]

}
I've successfully compiled an APK, but it keeps crashing on my Xiaomi 14（Snapdragon 8gen3，16G RAM）.I'm having trouble pinpointing the issue, any insights you could offer would be greatly appreciated.

@bucess you want to path in model in a remote url e.g. as in https://github.com/mlc-ai/mlc-llm/blob/main/android/MLCChat/mlc-package-config.json#L16
This is because most APK have size limit and model weights are too large. You can also try bundle weight but that means you need to copy weight to the exact right location.


Stop explicitly handling CDATA in getRSSFeed

This PR fixes the problem outlined in #151

LGTM :+1:
Guys, after the successful build feel free to merge without me if you want. I'm going to sleep.

LGBT :+1:

@Minoru almost forgot! Thank you very much for your effort! You're really great! :)


Extensions not working in a PHP file

I'm working on a PHP Project and the extensions are not working It was a day before.

What version of cod-server? Are you using windows?

Im using windows and what do you mean by COD Server?

Try the latest release, it should work now.
See #1659

Cannot validate since no PHP executable is set. Use the setting 'php.validate.executablePath' to configure the PHP executable.
Extension host terminated unexpectedly.
I get this two errors

Looks like you need to install php.

As for the host being terminated, can you post some logs by following these steps:
https://github.com/cdr/code-server/blob/master/doc/FAQ.md#how-do-i-debug-issues-with-code-server

I'm confused how to get those logs?

Could you elaborate on what's confusing? The FAQ entry linked above makes it clear.
https://github.com/cdr/code-server/blob/master/doc/FAQ.md#how-do-i-debug-issues-with-code-server

How do I get Logs

No idea what you mean, what's confusing about the FAQ?

Going to close as there hasn't been a response in a long time.

Going to close as there hasn't been a response in a long time.


Update README.md for fixed kv_cache

Added an update to the README regarding the recent fixes to the kv_cache implementation, improving forecast accuracy. This update was requested by @ashok-arjun and includes the contribution details.

Thanks @KelianM !


Opera sidebar support

Now that opera has sidebar for extensions it's perfect time to make this extension compatible. Here is a dirty patch that makes it work https://gist.github.com/poma/ce9ea5b7503d6e669c07. Apply to unpacked .crx from chrome store. You need Opera Development branch for sidebar to work.
P.S. Already posted on uservoice but decided to duplicate here anyway.

Works perfect! And I just pack a opera port here:
sidewise.nex.zip

Guys, I think that you should definitely consider releasing opera version.

The license apparently prevents forks from being released on the Chrome Store. Anyone know if the license prohibits from publishing forks to Opera Extensions?

Thank you so much, @CodeFalling , great work!!
Please, can you pack the latest version of Sidewise, which resolves the issue of data corruption when the extension has to handle a large number of tabs?
Thank you so much!!


gLM2 Model Fine-Tuning and Embedding Evaluation

Objectives
Train fine-tuned versions of gLM2:

[ ] Version 0 (v0): Initial fine-tuning and qualitative eval (completed).
[ ]   Version 1 (v1): Fine-tuning with augmented training data accounting for plasmid circularity and long context.
[ ]   Evaluate gLM2 plasmid embeddings and various methods

Tasks
Model Fine-Tuning (v1):

[ ] Augment training data to include plasmid circularity and long-context information.
[ ] Fine-tune gLM2 with the augmented dataset.
[ ] Document the fine-tuning process, hyperparameters, and any challenges.

Embedding Extraction

[ ] Ensure embeddings are stored in a standardized format for evaluation pipeline/script

Baseline Methods

See other workstream

Evaluation Metric

[ ] Define and calculate evaluation metrics such as NMI, ARI
[ ] Apply metrics to assess payload gene clustering and other features.

Analysis

[ ] Compare embeddings from different versions and baseline methods.
[ ] Interpret results to determine the effectiveness of fine-tuning and embedding methods.
[ ] Polaris Challenge Task: Share OpenPlasmid & evaluation metrics/methods

I created two evaluations, one for common CDS features and one for common payload genes. In these evaluations we expect the embeddings to cluster by these labels. We take the embeddings, apply Kmeans clustering (number clusters is number of label categories), and then calculate the NMI and ARI between clusters and categories.
Results

Model
Eval
NMI
ARI

gLM2_150-pretrained
CDS-curated-features
0.1950
0.1156

gLM2_150-finetuned
CDS-curated-features
0.2098
0.1203

gLM2_150-pretrained
common-entrez-gene
0.2429
0.0802

gLM2_150-finetuned
common-entrez-gene
0.3070
0.1564

pretrained PCA

finetuned PCA


Making active discussion discernible

Right now it is hard to tell which discussion the chat is in, good point as mentioned in this reply: https://twitter.com/atstim314/status/1648772659193233409?s=46&t=7ew6Lv5dV4dsM1Ox7JwxOg
@ParisNeo Please assign me to this issue and I will look into it tomorrow.

Completed by @ParisNeo , I will remove redundant code when in a following PR.


"TypeError: Cannot read property 'match' of null" on both the cloudant nodes

When i send an email the node reads the payload and execute the function but when the payload and from address is passed to the cloudant node i get a response like
TypeError: Cannot read property 'match' of null

Can you double click the "AddFromEMailToPayload" node and provide the contents pls?

msg.temppayload = msg.payload msg.payload = msg.header.from.value[0].address return msg;
this is what the content is

Looks like msg.header.from.value[0].address is null. Please confirm what is the value of msg.header.from.value[0].address.

In the above image.
In the debug tab the second object description shows the response from the function

Is the cloudant database populated with the email id<EMAIL_ADDRESS>as _id?

yes it is

I get this error whenever i deploy the flow even before sending an email.

Ok. What happens if you ignore the error and then send an email. Do you still get that error?

ya it shows with the same issue

Ok, just to eliminate Cloudant database issue, can I suggest you to inject your own text, instead of email, and then check if data is getting updated in Cloudant DB? Let's narrow down if Cloudant is causing the issue here.

Hi. Were you able to resolve this issue? An alternate option to fix this issue is to use cloudant database that was created as part of node-red service.


[FLINK-14811][runtime] Replace Java Streams in input check methods with for-loops

What is the purpose of the change
Vertex input checking is invoked in lazily triggered scheduling by a FINISHED vertex state update RPC or a scheduleOrUpdateConsumers RPC.
Java Streams is used in it, but it should be avoided since it is performance critical code.
This PR is to refactor these Java Streams to improve the performance, for both legacy scheduler and NG schedulers.
Brief change log

Replaced Java Streams in input check methods with for-loops

Verifying this change
This change is already covered by existing tests, such as InputDependencyConstraintCheckerTest and ExecutionVertexInputConstraintTest.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Thanks for opening this @zhuzhurk ! The purpose sounds reasonable to me. Is there a benchmark report for this improvement?

It's about 2x speed up if the job scale is large.  see this discussion.
It's also suggested in the flink code style guide.

Rebased onto latest master.

Will merge this excluding the checkstyle changes as they are covered in #10278

Thanks a lot for merging the changes! @zentol


Add PS note to register article

If this PR needs approval, or if the commits need to be pulled into the private repo, contact @ManikaDhiman or @alkohli. Thanks.


Typescript Support

First of all i just want to mention that emotion is a amazing tool and that i realy like to working with it so far 👍.
However, i am not realy able to use it in some of my projects using typescript. Are there any plans for typescript support :-) ?

This seems to be a duplicate issue.


Update add-cloud command to pass --local

This doesn't seem to be needed as the local flag is not needed when there's no controller


Include sub-directory when packaging the release ZIP

When using Grafana's GF_INSTALL_PLUGINS property for installing this datasource when using the grafana docker image (http://docs.grafana.org/installation/docker/), the installation fails.
Example:
GF_INSTALL_PLUGINS=https://github.com/grafana/influxdb-flux-datasource/releases/download/5.2.11/influxdb-flux-datasource-5.2.11.zip;Flux
Reason that it fails:
The release ZIP-file does not include a sub-directory. So Grafana extracts all the files directly into the "/var/libs/grafana/plugin" directory and, thus, cannot recognize the datasource correctly.
It would be great if all the content within the release ZIP files could be moved to a sub-directory of the zip-file, so this great Grafana installation feature can be used!
Thanks!

that was a change to the new toolkit package, and will be updated to include the path in a future release.


Minor Enhancement Idea: Highlightable Text?

Would it be possible to add in highlighting functionality (which would also add copy-paste functionality) to message text?

Hard to do seeing as I use a custom widget to render messages. You can right click to copy message text, and paste it in a notepad if you want to copy a small chunk. Not planned for now.


2.0 doesn't respect target="_blank" attr

Following code doesn't open new tab/window:
router-link("v-bind:to"="{name: 'play', params: {ifid: ifid}}", target="_blank") Play (new tab)

I'm upgrading my app from 1.x where appropriate equivalent of this code worked. Here's repro pen: http://codepen.io/hogart/pen/ZpPGXY?editors=1010

It's no longer supported, please use <a> tags instead.

use  tags

Srsly? Well, this lib gone south really fast:(

Manually creating links is error prone and can't be really considered solution — аlas, router instance doesn't provide method for reverse url resolving.
I understand that this is quite rare use case, but this is obvious regression and as such should be at least mentioned in upgrade guide.

аlas, router instance doesn't provide method for reverse url resolving.

It has.. though it's not documented (since it's very unlikely that someone needs it):
router.match(), you can put whatever in router-link's to prop to it, e.g. router.match({name:'foo'})
and to get the url, use router.match({name:'foo'}).fulllPath

I understand that this is quite rare use case, but this is obvious regression and as such should be at least mentioned in upgrade guide.

Sorry about that, just created the PR: https://github.com/vuejs/vuejs.org/pull/539/files

Yeah, I already dug out this method, although it's not full equivalent of what's happening in router-link render function. Can I rely upon it in a sense it get's documented some time and won't disappear?

although it's not full equivalent of what's happening in router-link render function.

Yeah, it doesn't handle base.. https://github.com/vuejs/vue-router/blob/dev/src/components/link.js#L30-L33

Can I rely upon it in a sense it get's documented some time and won't disappear?

It's unlikely to be documented, and I can't guarantee its consistence... Please use at your own risk.

@fnlctrl Couldn't we implement this with window.open and provide a target prop?

@posva Evan fixed this for 0.7 (https://github.com/vuejs/vue-router/commit/c955be39a0929a1139fc167fe4881296a9e0cef4), but I don't know if he intentionally removed this in 2.0. It would be easy to support though.

@fnlctrl I think we should 😄
Let's talk about this on slack

@fnlctrl while target="_blank" is indeed corner case, reverse url resolve can be useful in other cases. Imagine we're building isomorphic app and we need to email user some link. Or we doing something like google drive or bit.ly and we need to provide links in text form to copy them.

Well for the "target=_blank" issue I've created a PR: https://github.com/vuejs/vue-router/pull/830
@hogart As for the reverse url resolve, would you mind opening a new issue for discussion?

Srsly? Well, this lib gone south really fast:(

Is that necessary?

fixed by merging #830


Compiled with Error

I downloaded the file extracted and run.
I got error are indicated:
See the Bold line

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007f3f9d2c8a2a, pid=18409, tid=0x00007f3f906f7700

JRE version: Java(TM) SE Runtime Environment (8.0_202-b08) (build 1.8.0_202-b08)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.202-b08 mixed mode linux-amd64 compressed oops)
Problematic frame:
C  [i965_dri.so+0x147a2a]

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

An error report file with more information is saved as:
/home/avong/Processing-3.5.4/hs_err_pid18409.log

If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help → Troubleshooting.

Sorry, you will have to do your own troubleshooting and potentially submit a pull request if you find something.


Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

Overview
I can run my applications on all supported platforms without any issues i.e., iOS, macOS, and Web. However for Android I consistently get the error Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain, despite having followed the recommendations found in  #14422 and #17280.
I therefore reinstalled Android Studio, SDKs etc. to create a new Flutter project from scratch. Unfortunately the same error occurs as seen below.
Steps to Reproduce

Run flutter create flutter_app.
Run flutter run in the flutter_app folder with connected Android emulator
Errors occur

Expected results:
I expected that the application would run on the Android emulator without errors
Actual results:
Using hardware rendering with device sdk gphone x86. If you get graphics artifacts, consider enabling software rendering
with "--enable-software-rendering".
Launching lib/main.dart on sdk gphone x86 in debug mode...
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                         0.8s
Exception: Gradle task assembleDebug failed with exit code 1

Logs

flutter run --verbose
[  +14 ms] /Users/simon52/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[ +160 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +7 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +604 ms] Generating
/Users/simon52/Desktop/android_flutter_test/flutter_app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistr
ant.java
[  +76 ms] ro.hardware = ranchu
[  +91 ms] Using hardware rendering with device sdk gphone x86. If you get graphics artifacts, consider enabling software
rendering
           with "--enable-software-rendering".
[  +70 ms] Launching lib/main.dart on sdk gphone x86 in debug mode...
[  +18 ms] /Users/simon52/SDKs/flutter/bin/cache/dart-sdk/bin/dart
/Users/simon52/SDKs/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/simon52/SDKs/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter
--debugger-module-names -Ddart.developer.causal_async_stacks=true --output-dill
/var/folders/s3/15x35cv96c75mwfkjd2zsf880000gn/T/flutter_tool.b1Dghj/app.dill --packages .packages -Ddart.vm.profile=false
-Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-
closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root
--initialize-from-dill build/cache.dill.track.dill
[  +46 ms] executing: /Users/simon52/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[ +130 ms] Exit code 0 from: /Users/simon52/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time
-t 1
[   +1 ms] --------- beginning of main
           05-12 11:04:55.896 W/IsoInterface( 1531): Missing 'ftyp' header
[  +51 ms] <- compile package:flutter_app/main.dart
[  +36 ms] executing: /Users/simon52/Library/Android/sdk/platform-tools/adb version
[  +63 ms] Android Debug Bridge version 1.0.41
           Version 30.0.1-6435776
           Installed as /Users/simon52/Library/Android/sdk/platform-tools/adb
[  +11 ms] executing: /Users/simon52/Library/Android/sdk/platform-tools/adb start-server
[  +40 ms] Building APK
[ +109 ms] Running Gradle task 'assembleDebug'...
[  +16 ms] gradle.properties already sets `android.enableR8`
[   +9 ms] Using gradle from /Users/simon52/Desktop/android_flutter_test/flutter_app/android/gradlew.
[   +2 ms] /Users/simon52/Desktop/android_flutter_test/flutter_app/android/gradlew mode: 33261 rwxr-xr-x.
[  +27 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +27 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +45 ms] {"CFBundleName":"Android
Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:
$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PA
CKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","WorkingDirectory":"$APP_
PACKAGE\/Contents\/bin","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio3.6","idea.
executable":"studio","idea.platform.prefix":"AndroidStudio","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUs
ageDescription":"An application in Android Studio requests access to the user's Desktop
folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-192.7<IP_ADDRESS>92135","CFBundleDevelopmentRegion":"En
glish","NSCameraUsageDescription":"An application in Android Studio requests access to the device's
camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project
File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeNam
e":"All
documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":fal
se}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighReso
lutionCapable":true,"CFBundleShortVersionString":"3.6","NSMicrophoneUsageDescription":"An application in Android Studio
requests access to the device's
microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An
application in Android Studio requests access to the user's location
information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stackt
race","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public
.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFolderUsageDescripti
on":"An application in Android Studio requests access to the user's Documents
folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads
folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network
volume.","CFBundleGetInfoString":"Android Studio 3.6, build AI-192.7<IP_ADDRESS>92135. Copyright JetBrains s.r.o., (c)
2000-2020","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable
volume."}
[  +17 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +620 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[   +2 ms] openjdk version "1.8.0_212-release"
           OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
           OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode)
[   +7 ms] executing: [/Users/simon52/Desktop/android_flutter_test/flutter_app/android/]
/Users/simon52/Desktop/android_flutter_test/flutter_app/android/gradlew -Pverbose=true -Ptarget-platform=android-x86
-Ptarget=/Users/simon52/Desktop/android_flutter_test/flutter_app/lib/main.dart -Ptrack-widget-creation=true
-Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +563 ms] Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
[  +45 ms] Running Gradle task 'assembleDebug'... (completed in 1.4s)
[+13071 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +4 ms] "flutter run" took 20,787ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:570:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:799:18)
#3      _rootRunUnary (dart:async/zone.dart:1198:47)
#4      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#5      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#7      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#8      Future._completeWithValue (dart:async/future_impl.dart:529:5)
#9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#11     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#12     _rootRunUnary (dart:async/zone.dart:1198:47)
#13     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#14     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#15     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#16     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#17     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#18     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#19     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#20     AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart)
#21     _rootRunUnary (dart:async/zone.dart:1198:47)
#22     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#23     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#24     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#25     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#26     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#27     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
#28     _rootRun (dart:async/zone.dart:1190:13)
#29     _CustomZone.run (dart:async/zone.dart:1093:19)
#30     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#31     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
#32     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#33     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#34     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#35     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

flutter analyze
Analyzing flutter_app...
No issues found! (ran in 2.7s)

flutter doctor -v
[✓] Flutter (Channel master, 1.19.0-1.0.pre.42, on Mac OS X 10.15.4 19E287, locale en-GB)
    • Flutter version 1.19.0-1.0.pre.42 at /Users/moon12/SDKs/flutter
    • Framework revision 7f8cb7f830 (12 hours ago), 2020-05-11 13:34:20 -0700
    • Engine revision ada8a0fd64
    • Dart version 2.9.0 (build 2.9.0-8.0.dev a6d06b59ec)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/moon12/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.45.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.10.1

[✓] Connected device (3 available)
    • macOS      • macOS      • darwin-x64     • Mac OS X 10.15.4 19E287
    • Web Server • web-server • web-javascript • Flutter Tools
    • Chrome     • chrome     • web-javascript • Google Chrome 81.0.4044.138

• No issues found!

I couldn't reproduce with master 1.19.0-1.0.pre.49.
New created app is built and running

The application would suddenly build, after I added Cloud Firestore to the project. I looked back at the changes I made in the android files, as one of these much have solved the issue:
android/build.gradle:

Added "classpath 'com.google.gms:google-services:4.3.3'" under "dependencies"
android/app/build.gradle:
Added "apply plugin: 'com.google.gms.google-services'"
Added "implementation 'com.google.firebase:firebase-analytics:17.2.2'" under "dependencies"
android/app:
Added the file "google-services.json" to the folder

Would these changes really be what was needed to solve the issue?

The only thing that seemed to make it work for me was changing the space or any sort of slash in my folder or in the path to the folder that the project was in, Gradle must not like this and exits but yeah removing space and slashes from the path to and the surrounding folder of the project will resolve this issue I found  :)

Have the same issue here but it is working in VSCode env...no idea why this happened in shell environment

i just changed the folder name from fluxstore-pro1.0.8/02 Oct, 2020 to 1
and its work !!
three days and its only the name of the folder >>> F..

mine is because the folder name is in Korean. I would suggest the app folder name to contain only English with no space in the name and in the path to the program

I saw the solution above and yes, it's right, my file path contained an Arabic word so I changed the path and it works now!

Just fixed my folder name and it worked... Does this kind of thing count as a bug?


Typo in DEVELOPERS.md

Describe the bug
In DEVELOPERS.md (here), URL of the main repository to be added as upstream has a typo in it. acccordproject should be accordproject
To Reproduce
Steps to reproduce the behavior:

Go to DEVELOPERS.md
Check 'Add the main repository as an upstream remote to your repository'
Notice the typo in URL

Expected behavior
Instead of acccordproject, it should be accordproject

@Michael-Grover - can you please add some labels to this and assign it to me so I could quickly open a PR for this?

@shahsank3t done, thank you for finding this issue

Pull Request: https://github.com/accordproject/techdocs/pull/155


Add Unbox capability

Hi,
It would be pretty neat if you can add Unbox capability.
What do you think about that?
Regards,
Vivien

Hi Vivien. Why would you want to this tool to support generating Swift code that uses the Unbox API for working with JSON? That project's motto is "The easy to use Swift JSON decoder". But the point of json2swift is that you don't need to write any code at all to decode JSON: the tool writes it all for you.
Thanks,
Josh

By the way, @VivienGiraud I am not dismissing your request for Unbox support. I really want to know if there is a legitimate reason for doing this, which I have not thought of.
Josh

Hi @ijoshsmith,
I mean, you take json file like:
{
  "name": "John",
  "age": 27
}

And get:
struct User {
  let name: String
  let age: Int
}

extension User: Unboxable {
    init(unboxer: Unboxer) throws {
        self.name = try unboxer.unbox(key: "name")
        self.age = try unboxer.unbox(key: "age")
    }
}

I might be wrong with the usage of your tool, in this case I'm sorry :/
Vivien

@VivienGiraud I understood what you meant, but I do not know why you are asking for this. The purpose of libraries like Unbox is to make it easier/faster to write code that consumes JSON. Such libraries add value for developers who write code to consume JSON. When a developer uses json2swift there is no need to write such code. Therefore, there is no benefit (that I know of) in continuing to use libraries such as Unbox if you have a tool that generates all the JSON-consuming code that you need.

Please correct me if I'm wrong, json2swift take a JSON file as input and will output the swift structure of this JSON file.
I was wondering, it would be great if I can do the same with json2swift, if I'm right with the usage, to create Unbox struct by giving a JSON file that come from Spotify or IMDB API for example.

Technically, yes it's possible to have json2swift generate Swift code that uses the Unbox API. I just don't see why to bother with continuing to use Unbox at all.

Hmmm, ok.
Unbox is an extra layer to decode JSON, json2swift serialise it without extra layer.
So if my previous sentence is correct, I understand how dumb my request is...
Sorry about the confusion.

 Thinking in terms of code generation can take a little getting used to. Thank you for taking an interest in my project and bringing this up.

Anyway, I'm was looking for something like that since some weeks.
Definitely worth a try when I have some part time.
All the best!


The python script hangs and does not close automatically.

face_recognition version:19
Python version:3.6
Operating System:Windows 10

Description
when I am running this command using "cnn" instead of "hog" the python script does not automatically close after completion of the code. I tried everything to quit and get out of the script but it doesn't work. I have used os._exit(0), sys.exit() etc. but nothing work.
however when I use "hog" it works very fine.
boxes = face_recognition.face_locations(img, model= "hog")

Did you ever find a solution to this? I am experiencing the same problem, but only with certain images.


Refactor the theme build and layout

Treat ALL themes equally, even the default theme.
Document the process of how the final theme is constructed by the build.
Provide some recommendations on how to create and assemble a custom theme.

Signed-off-by: Wade Barnes<EMAIL_ADDRESS>

This draft was created as a topic for discussion.
Discussion points:

All themes should be treated as equals.

Having the default theme in one directory and the custom themes in another has caused confusion on how and where a custom theme should be created.

We want to separate bcgov/aries-vcr (the base VCR implementation) from the look at feel, theme, of a given instance.  I believe the re-organization and documentation help to make this clear.

The change looks simpler than I initially thought, and it is straightforward enough in the project layout that it should not create confusion.
Wondering if naming the theme that is shipped base rather than default may help even more driving the idea that it is the base for anything else, and needs to be left alone - but this is kind of nitpicking at this point and probably not necessary.

Definitely agree that base would be better name than default.  Big change?

Super simple change.

Refer to the latest commit to see what it looks like with the default theme renamed to base.


Removing the "Zeit" term from Vercel deployment

Description
Improvement.
"Zeit" term has been removed from all Vercel deployment scripts
Related issue:
https://github.com/actions/virtual-environments/issues/882
Check list

[X] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run ubuntu1604, ubuntu1804, ubuntu2004


Support target-specific flash algo stack size

This proposes one of the ideas described in #1251. If accepted, I'll immediately use this feature in #1250.
Flash algorithms support a new field, stack_size, to configure the flash algorithm's stack size. probe-rs prefers the flash algorithm's stack size, but defaults to 512 bytes if the stack size isn't specified.
With this commit, I could configure my MIMXRT1170EVK target's flash algorithm with a 4K stack size, and program it. I could also program an MIMXRT1010EVK, which doesn't specify any stack size.

Updated log to tracing following #1294.


Build request dialog shows up after installing some extensions

Description
Installing jupyterlab-git also fetches nbdime as a dependency. nbdime installation triggers a prompt for rebuilding lab, which we do not currently support.
Reproduce

Create a new environment
Install JupterLab and jupyterlab-git in the new environment
Switch JupyterLab Dekstop to use that environment
See misleading prompt:

Expected behavior
This prompt should not show up as we do not support rebuilding.
This can be solved by adding disabling page_config_data buildCheck see https://github.com/jupyterlab/jupyterlab/issues/7368 and https://github.com/jupyter-lsp/jupyterlab-lsp/blob/6f32efd0d004b636ab9ef175633df26ee1c102a3/atest/fixtures/jupyter_server_config.json#L6-L13

I have just installed jupyterlab-git and that message 'build recommended' didn't come out. My OS is windows 10 and I am using jupyterlab-desktop 3.2.5-1


D&D_OED Bug Fix Adding “legacy”: true flag to sheet json.

Changes / Comments
Adding “legacy”: true flag to sheet json.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[x] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


OSS Hygiene: AUTHORS file should include Google et al.

Hey Guys,
Fantastic work. :heart: Cant wait to use libquic (and goquic) in IPFS.
This is a bit silly, but one of those important-to-do-eventually things. Your AUTHORS file only lists you guys. It would be good to either include all the authors of QUIC itself in it-- or include chromium's AUTHORS file inside src/ (along with the other LICENSE), and reference it from your AUTHORS file.
again, thank you so much for making this.

Fixed in 209379bb906413979743850c8606c1fb60c3de47
Thanks for your feedback! :)


Add OffsetDateTime and Instant converters

I wanted all my TIMESTAMP_WITH_TIMEZONE columns to be Instants rather than OffsetDateTimes (I presume OffsetDateTime is default for the type TIMESTAMP_WITH_TIMEZONE in postgres). So I created a converter of the type Converter<OffsetDateTime, Instant> that converted TIMESTAMP_WITH_TIMEZONE types to Instants. I.e. OffsetDateTimes to Instants.
However, this resulted in a ClassCastException: String cannot be converted to OffsetDateTime stemming from the converter.from(OffsetDateTime) method in AbstractAsyncQueryExecutor.
It was trying to force a string type into the from method of my converter, where it should have been an OffsetDateTime.
This PR fixes that problem by introducing bindings to the OffsetDateTime and Instant types and so therefore allows OffsetDateTime and Instant types to be retrieved from databases.
Thanks 👍

Thank you very much for your PR. I will look into it when I come back from
vacation in one week.
Am 04.03.2018 12:20 vorm. schrieb "Gurpreet Paul"<EMAIL_ADDRESS>
:

I wanted all my TIMESTAMP_WITH_TIMEZONE columns to be Instants rather
than OffsetDateTimes (I presume OffsetDateTime is default for the type
TIMESTAMP_WITH_TIMEZONE in postgres). So I created a converter of the
type Converter<OffsetDateTime, Instant> that converted
TIMESTAMP_WITH_TIMEZONE types to Instants. I.e. OffsetDateTimes to
Instants.
However, this resulted in a ClassCastException: String cannot be
converted to OffsetDateTime stemming from the
converter.from(OffsetDateTime) method in AbstractAsyncQueryExecutor
https://github.com/jklingsporn/vertx-jooq/blob/bb6b5fccbadf52fdb168e2d4d719b0fd742b14c3/vertx-jooq-shared-async/src/main/java/io/github/jklingsporn/vertx/jooq/shared/async/AbstractAsyncQueryExecutor.java#L47
.
It was trying to force a string type into the from method of my
converter, where it should have been an OffsetDateTime.
This PR fixes that problem by introducing bindings to the OffsetDateTime
and Instant types and so therefore allows OffsetDateTime and Instant
types to be retrieved from databases.
Thanks 👍
You can view, comment on, or merge this pull request online at:
https://github.com/jklingsporn/vertx-jooq/pull/38
Commit Summary

Add OffsetDateTime and Instant converters

File Changes

M vertx-jooq-shared-async/src/main/java/io/github/
jklingsporn/vertx/jooq/shared/async/AbstractAsyncQueryExecutor.java
https://github.com/jklingsporn/vertx-jooq/pull/38/files#diff-0 (18)

Patch Links:

https://github.com/jklingsporn/vertx-jooq/pull/38.patch
https://github.com/jklingsporn/vertx-jooq/pull/38.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jklingsporn/vertx-jooq/pull/38, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGC83mnjDgtSaHAXZrbWJ0bxPTrzbI67ks5tayVSgaJpZM4SbH7U
.


get experiment function

At present, the Decanter AI SDK does not offer the "get experiment" function. Here's how I implemented the functionality using the API as an illustration.
res = requests.get(
    f"{client.api.url}experiment/642fcc1c8312e3074c6f64da",
    headers=client.api.auth_headers,
    verify=False,
)

update:
The new functionality include model_name, model_id, attributions, metrics, best_model_id


Review/starlake airflow documentation

Summary
Review for the starlake-airflow-documentation
PR Type: Documentation
Status: WIP
Description
Solution

fixing some typos
import link
suggest adding Prerequisites check form more clarity to let the user be adequately prepared before installation.
what happen when StarlakePreLoadStrategy NONE ?

Remaining Todos
for discussion @fupelaqu

[ ] - I think we should create a Usage section. that point to other .md in order to make The Readme concise. (especially for  the On premise part)
[ ] - Showing how to use the module from a starlake perspective (edit yaml file then generate with command, then open generated file, see what is generated before deploying it to airflow, and then show the compiled dag with group task created
[ ] - unimplemented documentation or feature sould be under To-Do section IMO for transparency and showing current potential. it also acts like project road map

[ - ]  - I think we should create a Usage section. that point to other .md in order to make The Readme concise. (especially for  the On premise part)

This documentation is aimed at to be packaged directly with the python module. I don't think what you suggest is the most convenient way to do so.

[ - ]  - Showing how to use the module from a starlake perspective (edit yaml file then generate with command, then open generated file, see what is generated before deploying it to airflow, and then show the compiled dag with group task created

This part will be integrated within the documentation related to the dag generation.
As settled as an introduction to the present documentation :
"
starlake-airflow is the Starlake Python Distribution for Airflow.
It is recommended to use it in combinaison with starlake dag generation, but can be used directly as is in your DAGs.
"

[x]  - unimplemented documentation or feature should be under To-Do section IMO for transparency and showing current potential. it also acts like project road map

You are absolutely right ! Thanks to point this out


Feature Request: Download state, contract code and vm_context from explorer

This is as shared Q2 OKR between public node interface and we contract runtime team. The high level requirement is to show "download state", "download contract code" on every function call kind of transaction page and "download vm context" on every function call action section.
With these three downloaded, user will be able to locally reproduce any function call transaction locally. Take a look at https://gist.github.com/ailisp/db1e3bb5c0513ae19cf2ac0b6be75575 to have an idea on how these download and repro works manually. This working item for explorer team would be implement these download functionality and show in explorer frontend. We contract runtime team will make "local repro given downloaded state/code/context" more developer friendly.

Depending on how state downloading is implemented, this may potentially lead to dos attacks.

Depending on how state downloading is implemented, this may potentially lead to dos attacks. @frol

This is a devops problem can be protected in typical web app way: only allow request internal near node via explorer backend, add rate limit per frontend ip, and when rate limit hits slow down user's download by showing a captcha

"download vm context"

Can we reconstruct it from a receipt and a block header? Do we need to extend nearcore to provide something else?

We contract runtime team will make "local repro given downloaded state/code/context" more developer friendly.

Given that you will build a tool for local execution, it can include the download subcommands (for cases when state is smaller than 50kb), right? I mean, surely Explorer also needs this piece in the future, I just want to make sure you are not blocked on Explorer implementation since this feature has not been our priority.

Can we reconstruct it from a receipt and a block header? Do we need to extend nearcore to provide something else?

Possibly yes, i'm checking

Given that you will build a tool for local execution, it can include the download subcommands (for cases when state is smaller than 50kb), right? I mean, surely Explorer also needs this piece in the future, I just want to make sure you are not blocked on Explorer implementation since this feature has not been our priority.

Yeah make sense, so these are two tasks. First we would need make enough information available via RPC. Second one would expose this to explorer or part of local tool subcommand


Allow users to duplicate lists

Sometimes a user might want multiple of the same list. Say they want to have a list for Pokemon Sword and Pokemon Shield.
We want them to be able to duplicate it.

Things to consider:

Should it duplicate the state as well?

Probably not, as the use case is realistically starting from scratch (and they can easily complete a section if needed anyway)
If not, it shouldn't be "Duplicate List", what would be an appropriate
We could make have both options "Duplicate With State" "Duplicate Without State" ... or better names

Users should be able to rename the list for this to work well


Track upstream changes

This is a draft pull request to track the upstream changes and determine if they can or should be merged with our repo in the future.

Looks like eight merge conflicts:

init.py
blind/augment-xylist.c
blind/build-index.c
blind/local-index.c
blind/solve-field.c
blind/test_matchfile.c
blind/test_resort-xylist.c
util/test_anwcs.c

I haven't determined the extent of the conflicts yet.

Closed in favor of #2, which we can push to while fixing merge conflicts.


Create function to filter recipes by favorites

creates a function that returns an array of only favorited objects. Adds tests to check if it is functional, all tests pass

Looks great! All the tests work.


SmartPy developers can continuously develop applications with complex smart contracts

[ ] Multi-file smart contract projects can be compiled, tested, and deployed
[ ] Advanced sample smart contracts can be opened, compiled, tested, and deployed
[ ] Ability to execute tests as part of CI/CD
[ ] Full contract metadata, including off-chain views and errors

Belongs in PB


Suggestion: Option to fail build if variables is missing

Right now the build generates a warning if a variable is missing, i would like to add an option to fail the build if this happens.
Suggested name  (default value: false)

failOnMissingVariables
failOnWarnings
strict

Any input?

👍

👍


Support Generation of AppInstaller file

This is mostly preparing a suggestion for now as it's only part of the VS 15.7 inside preview and RS4, however...
It would be very nice (especially for those of us doing contract work) to have a checkbox to enable the new automatic update functionality for UWP packages. I would assume it works on Hololens too, can't see any reason why not.
You can read about it here, though it doesn't include the necessary command line arguments you'd need to automate it: https://blogs.msdn.microsoft.com/appconsult/2018/03/22/handling-auto-updates-for-sideloaded-uwp-and-desktop-bridge-apps/

Ben, are you suggesting to add this to the build and deploy window?
I'm not sure what the command line option for msbuild this would be. It wasn't immediately apparent from that blog post. Do you have a link to the MSFT docs page?

Yep, to Build & Deploy
I’m not sure if the argument docs are available for it yet, as it’s only in the insider preview. I mostly submitted this issue to get the ball rolling on discussion of it.

I’ve amended the title to be more accurate to what is needed here. The best option is probably just to generate the .appinstaller file via scripting as MakeAppX.exe doesn’t seem to have an option for it.
The schema format can be found here: https://docs.microsoft.com/en-gb/uwp/schemas/appinstallerschema/schema-root
The best option for post-build seems to be to support running a conmand or batch file after build to handle the new build folder and the updated appinstaller file (either passing the installer and folder as separate command calls, one string or separate variables). VS also generates an index.html to go with it but this isn’t nearly as important to start with
For a lot of people the post-build script would probably be an FTP upload but there’s all sorts it could be used for.

More interesting things...
It seems that if you have an appinstaller file in the folder, MakeAppX.exe will always update it (even through the MRTK build window) and the index.html file with the new information on build such as version number, folder, etc.
<?xml version="1.0" encoding="utf-8"?>
<AppInstaller Uri="<appinstaller url>" Version="<IP_ADDRESS>" xmlns="http://schemas.microsoft.com/appx/appinstaller/2017/2">
  <MainBundle Name="<bundle name>" Version="<version num>" Publisher="CN=DefaultCompany" Uri="<appxbundle in build folder>" />
  <Dependencies>
    <Package Name="Microsoft.VCLibs.140.00" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="14.0.25426.0" ProcessorArchitecture="x86" Uri="<appx url>" />
    <Package Name="Microsoft.NET.Native.Framework.1.3" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="1.3.24201.0" ProcessorArchitecture="x86" Uri="<appx url>" />
    <Package Name="Microsoft.NET.Native.Runtime.1.4" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="1.4.24201.0" ProcessorArchitecture="x86" Uri="<appx url>" />
  </Dependencies>
  <UpdateSettings>
    <OnLaunch HoursBetweenUpdateChecks="0" />
  </UpdateSettings>
</AppInstaller>

HoursBetweenUpdateChecks = 0 means it checks for updates every launch. However auto-update doesn't appear to work on the Hololens right now :(
The appinstaller and index.html files are put in the root of the AppPackages folder. You then upload the latest folder (which the appx URLs will point to) and those two files to the file share or web folder for download. I can provide an appinstaller with more context later if you need one, I only have it setup for client projects right now.

Thanks for the info!

I’ll see if I can find the bit in the project file that configured the appinstaller at some point

It seems to this block that does it, which is part of the main <Project> block in the csproj
<GenerateAppInstallerFile>True</GenerateAppInstallerFile>
    <AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
    <AppxBundle>Always</AppxBundle>
    <AppxBundlePlatforms>x86</AppxBundlePlatforms>
    <AppInstallerUri>[snip]</AppInstallerUri>
    <AppInstallerUpdateFrequency>1</AppInstallerUpdateFrequency>
    <AppInstallerCheckForUpdateFrequency>OnApplicationRun</AppInstallerCheckForUpdateFrequency>

The installer URI is the folder rather than the appinstaller file URL

Just for more clarification, that block appears in the PropertyGroup at the top, just after </AllowedReferenceRelatedFileExtensions>
The Uri is a URL, but it's the URL to the root of the folder holding the appinstaller and index.html files. For instance, https://example.com/appfolder would be the Uri and also where you store the files.
In terms of post-processing, a general "run this command" would be nice. That can then support all sorts, I personally upload the files using SFTP. Perhaps include an option to run the command it under the Ubuntu/Linux Subsystem if it's possible to call that from command line.

Apologies for reopening discussion on such an old issue (and this is not exactly specific to MRTK), but are automatic updates as defined in the .appinstaller expected to work on the Hololens 2 right now? I can't find any documentation to the contrary, but my application does not appear to update to later versions published to the provided URL on launch as requested. I do see that the App Installer application itself appears to only be available on Desktop though.

Closing this issue since there isn't clear signal that it is desired.


Strongly typed custom events

IMO, If properties are inputs to a Custom element, Custom Events are outputs. Currently properties are first class citizens, they can be annotated via decorators and type checked.
CustomEvents are defined like this:
// my-custom-element.ts

let event = new CustomEvent('my-event', {
      detail: {
        message: 'Something important happened'
      }
    });
this.dispath(event);

You listen on the parent like this
<my-custom-element @my-event=${this.handleMyEvent}></my-custom-element>

When listening for these events on the parent(s), the only source of API knowledge is documentation if it all exists else you are left to reading internal implementation. The types on detail key are not enforced. It will be great if lit-element could implement maybe decorators to annotate custom events emitted by an Element.

CustomEvent uses generics, so you can type the detail property with CustomEvent<YourTypeHere>.
You're not limited to using CustomEvent, you can and should create your own events if you're using types:
class MyEvent extends Event {
  ...
}

@ashubham — i use this pattern regularly to attain strongly typed events

import {AuthContext} from "../interfaces.js"

export class UserLoginEvent extends CustomEvent<AuthContext> {
  static eventName = "user-login"

  constructor(detail: AuthContext) {
    super(UserLoginEvent.eventName, {
      detail,
      bubbles: true,
      composed: true
    })
  }
}

How do you annotate what Events are fired from a Component ? We can annotate properties, I created a decorator for my own use case something like this:
export class MyComponent extends LitElement {
  @property({type: String}) prop: string = '';
  @event<string> myEventName!: (string) => void;

  render() {
    return html`<div @click=${this.onClick}></div>`
  }

  private onClick(e) {
    this.myEventName('my string');
  }

And the implementation of the decorator is something like:
export function event<T>() {
  return (component: LitElement, name) => {
    component[name] = (detail: T) => {
      this.dispatchEvent(new CustomEvent(name, {detail, bubbles: true, composed: true}));
    }
  }
}

this approach has a couple of problems:

Code completion/checking on the consumer side of the component
<my-component @myEventName=${this.onEvent}></my-component>. Does myEventName exists ? Maybe we can workaround this by using @fires jsdoc comment and using vscode lit plugin.

What is the shape of the event triggered ? How do we export the types of the detail ie. T in the generic to the consumer of my-component.

i feel this is a documentation concern rather than an implementation concern
if i understand you correctly, i think you want to clearly communicate to the reader of the class which events might be dispatched by the component
i can think of two ways you might approach this communication

list the events in your component's doc-comments
/**
 * UserPanel
 * a control panel so the user can manage their account
 *
 * events:
 *  - UserLoginEvent: dispatched whenever the user completes a login.
 *    event.detail: an AuthContext object
 */
class UserPanel extends LitElement {/*...*/}

list the events in a static getter
class UserPanel extends LitElement {
  static get events() {return [
    UserLoginEvent,
    UserLogoutEvent
  ]}
}

👋 chase

you know what? after thinking about your examples more, i think you're onto a cool idea!
i would really like it if we could whip up an @event decorator
there are so many ways we can go about this
class UserPanel extends LitElement {
  @event(UserLoginEvent) dispatchUserLogin

  private async _handleLogin() {
    const authContext = await doAuthMagic()

    // dispatch the event, passing auth context to the constructor
    this.dispatchUserLogin(authContext)
  }
}

in this example, the decorator actually creates a dispatcher function
perhaps the decorator could learn the event names via a static get eventName that each event class could implement, or perhaps otherwise use a function to transform the camelcase event name into a dashed name
interesting ideas, i'd love to explore more alternatives
👋 chase

@ashubham — i decided to implement the decorator pattern in my project
i like it more than declaring a class for every event!
event-decorator.ts — decorator source code
export const defaultEventOptions: EventInit = {
  bubbles: true,
  composed: true
}

export type Dispatcher<Detail> = (
  this: EventTarget,
  detail?: Detail,
  eventOptions?: EventInit
) => void

export const event = (
  eventName: string,
  eventOptions = defaultEventOptions
): PropertyDecorator => (target, key) => {
  target[key] = <Dispatcher<any>>function(this, detail, eventOptions2 = {}) {
    this.dispatchEvent(new CustomEvent(
      eventName,
      {...eventOptions, ...eventOptions2, detail}
    ))
  }
}

user-panel.ts — usage example in my component
import {AuthContext} from "../interfaces.js"
import {event, Dispatcher} from "../toolbox/event-decorator.js"

export class UserPanel extends LitElement {
  @event("user-login") dispatchUserLogin: Dispatcher<AuthContext>
  @event("user-logout") dispatchUserLogout: Dispatcher<void>

  private _decodeAuthContext(accessToken: AccessToken) {
    const authContext = this._authDecode(accessToken)
    this.dispatchUserLogin(authContext)
    //     ↑
    //  (firing the event with authContext as the event detail)
  }

hello friend, i was inspired by your idea of an @event decorator, so i made this implementation
event-decorator.ts — this is the event decorator utility
export function dashify(camel: string) {
  return camel.replace(/([a-zA-Z])(?=[A-Z])/g, '$1-').toLowerCase()
}

export type EventDetails<T extends CustomEvent> =
  T extends CustomEvent<infer D> ? D : never

export type Dispatcher<E extends CustomEvent> = (
  options?: CustomEventInit<EventDetails<E>>
) => void

export function dashifyEventName(EventClass: Function) {
  const dashed = dashify(EventClass.name)
  const result = /^(.*)-event$/i.exec(dashed)
  return result ? result[1] : dashed
}

export function prepareEventDecorator(
  fallbackOptions: CustomEventInit = {}
) {
  return function event<E extends CustomEvent>(
    EventClass: new(...args: any[]) => E,
    name2?: string,
  ): PropertyDecorator {
    const name = name2 || dashifyEventName(EventClass)
    return (target, key) => {
      target[key] = <any>function(this, options = {}) {
        this.dispatchEvent(new EventClass(
          name,
          {...fallbackOptions, ...options}
        ))
      }
    }
  }
}

export const event = prepareEventDecorator()

events.ts — this is how i create my event classes
import {AuthContext, Profile} from "./interfaces.js"
import {
  Dispatcher,
  dashifyEventName,
  prepareEventDecorator,
} from "./toolbox/event-decorator.js"

// here i export my own event decorator
// configured with my own defaults
// (otherwise the browser defaults to false and false)
export const event = prepareEventDecorator({
  bubbles: true,
  composed: true
})

// the event names are derived directly from the class names
// by converting camel case to dashes
// so "UserLoginEvent" becomes "user-login" automatically,
// this is good for maintenence so there is a single source of truth for the event names
// which can be easily refactored in an ide
export class UserLoginEvent extends CustomEvent<AuthContext> {}
export class UserLogoutEvent extends CustomEvent<{}> {}
export class ProfileLoadedEvent extends CustomEvent<Profile> {}

export {Dispatcher, dashifyEventName}

user-panel.ts
import {LitElement} from "lit-element"
import {
  event,
  Dispatcher,
  UserLoginEvent,
  UserLogoutEvent,
} from "../events.js"

export class UserPanel extends LitElement {
  @event(UserLoginEvent) dispatchUserLogin: Dispatcher<UserLoginEvent>
  @event(UserLogoutEvent) dispatchUserLogout: Dispatcher<UserLogoutEvent>

  private async _login() {
    const authContext = await this._doAuthStuff()
    this.dispatchUserLogin({detail: authContext})
     //                         ↑
     //             (detail object is correctly typed based on the event)
  }

  private async _logout() {
    await this._clearAuthStuff()
    this.dispatchUserLogout()
  }
}

it took me awhile to brain my way through the typings for the decorator to infer correctly, thankfully with the help of some fine folks on my twitch stream

declaring the property type as Dispatcher<CustomEvent<Detail>> allows the typings to flow through to the calling of the dispatcher function, thus that the detail type must be correct
you can also specify an event name while using the event decorator, if you don't want to use the auto-generated dashed name: @event(UserLoginEvent, "my-login-event") dispatchLogin: Dispatch<UserLoginEvent>
you can also specify other EventInit options for each dispatch call like this: this.dispatchUserLogin({detail: authContext, bubbles: true, composed: true})

i've implemented this in my open source auth software i'm working on: https://github.com/chase-moskal/authoritarian-client/blob/refactor/source/toolbox/event-decorator.ts
let me know what you think, cheers!
👋 chase

a friend of mine just suggested a cool idea
we should also make a property decorator to whip up event handlers that get automatically attached and removed upon connectedCallback and disconnectedCallback
class MyComponent extends LitElement {
  @listener(["scroll", "resize"]) handleResize: Listener = event => {
    console.log("blah")
  }
}

i've just made an implementation in a new repository that i'm pretty stoked about
with only two decorators, @event and @listener, we can declare, dispatch, and listen for events

mega-robot.ts example component declares and dispatches events

using @bubblingEvent decorator

robot-vizualizer.ts example component listens for events

using @listener decorator
automatically adds/removes event listeners when component is connected/disconnected
replaces the listener property with an object containing:

this._handleRobotSelfAware.handler: actual handler
this._handleRobotSelfAware.remove(): function to remove handler manually
this._handleRobotSelfAware.add(): function to add handler manually

each decorator takes, as a second argument, an optional options object
i'm glad i was able to avoid needing to implement a class mixin for this, making it work with two decorators rather than three
once i come up with a better name than eventatarian, i'm going to publish this to npm
now it's time for breakfast, cheers!
:wave: chase

@chase-moskal thanks for the effort. I think in the examples, we should define and export events from the component itself. The consumer can then import it from the component itself.
However, this does not address the requirement of being able to typecheck it on the consumer side.
render() {
  html`<mega-robot @robot-self-aware=${this.handleRobotSelfAware}></mega-robot>`;
}

handleRobotSelfAware(e: <What type to put here?>) {
 // ...
}

@ashubham
for your case, to gain the typings you want, you should define/use custom event classes, like this:
export class RobotSelfAwareEvent extends CustomEvent<RobotAwareness> {}

then you can use the event types in your handlers, like this:
private _handleRobotSelfAware = (event: RobotSelfAwareEvent) => {
  /*...*/
}

i went to great lengths to accomplish as much automatic type inference as possible, and i think the patterns here and in my example repo represent the best we can do on this front
i'm quite pleased with the results, and will begin implementing these patterns in my work tomorrow
sometime soon, i'll be publishing the decorator library to npm, and writing a readme to explain the best practices
let me know and i'd be happy to chat further about this with you on discord or on my twitch stream, cheers!
👋 chase

i've renamed and published the package as "event-decorators"

I want to chime in, since this thread has been going on for a while...
Events are unlike properties in that they don't have a standard class-member representation. So there's nothing for TypeScript to be able to read statically from the element definition to determine what events are fired and what their types are.
However, JSDoc has the @fires tag and @event tag which can be used to tell documentation generators about the events. I think they need a little modernization to use them with DOM events however.
TypeScript also has the ElementEventMap which associates event names with types. This is unfortunately global, but it can help for type-checking with addEventListener(). You add an event type to it like you add a custom element type to HTMLElementTagNameMap:
interface ElementEventMap {
    'my-event': MyEvent;
}

Event decorators are interesting, but I personally don't see the need for creating event listener properties when we have the more general addEventListener and dispatchEvent methods. Given that we want to 1) keep LitElement as small as possible, and 2) support TypeScript transforms that completely compile out decorators (transform them to plain class members), I wouldn't want to add more decorators to the core lit-element package.
Great conversation however, and a really good area for various community opinions and add-ons. I'll close this for now.

I personally don't see the need for creating event listener properties when we have the more general addEventListener and dispatchEvent methods

i previously found myself doing a lot of boilerplate addEventListener and removeEventListener in connectedCallback and disconnectedCallback, and the decorators can help cut down on the noise
there isn't much benefit over perceived readability if it floats your boat :boat:
cheers!
:wave: chase

i previously found myself doing a lot of boilerplate addEventListener and removeEventListener in connectedCallback and disconnectedCallback

Why the removeEventListener in disconnectedCallback? I find adding host listeners in the constructor to be just fine:
class MyElement extends HTMLElement {
  constructor() {
    super();
    this.addEventListener('click', this._onClick);
  }

  _onClick = (e) => {
    console.log('click', this);
  };
}

Why the removeEventListener in disconnectedCallback? I find adding host listeners in the constructor to be just fine

that's a great question! i suppose for host listeners, that's perfectly reasonable
however removing event listeners in disconnectedCallback is important when the event target is anything else, like window — or at least this is what i assume, i don't suppose the browser knows to remove the correct window event listeners when a web component is disconnected? (that would be some unexpected funky magic in my estimation)
at the moment, my use-case happens to involve several components that are interacting in a decoupled way via events that bubble up to the window
i also happen to like what the decorators do for the readability of the components — visually the @listener decorators are very clear, and leave only one relevant spot for each listener (rather than two like with _onClick versus addEventListener) — the @event decorators are also a nice self-documenting visual aid
in my event-decorators library, for the case of lit-element, i wonder if it makes sense to add the listeners in firstUpdated instead of connectedCallback, such that the event target could be a property that was assigned via <x-lol .eventTarget=${myTarget}>.. perhaps i could add a string option for which callback gets hitched.. and add @litListener for that purpose.. hmm, food for thought!
:wave: chase

Interesting!
You don't have to modify the global ElementEventMap to add support for your custom event types. I'm currently using this approach: https://gist.github.com/difosfor/ceeb01d03a8db7dc68d5cd4167d60637
I like the idea of adding support for strongly typed custom events to LitElement, particularly using decorators. Ideally I'd also like other tooling like web-component-analyzer and VS Code lit-plugin to use the type information and descriptions instead of requiring me to additionally document the events using @fires tags.
The search for a fully functional typed custom element approach continues.. 😉
Please ping me if you have any further suggestions!


[Hot fix release]Patch V0.8.3

Coverage decreased (-0.01%) to 51.626% when pulling be3ff068e9bf6663cd43173471919726573044b3 on canwan/patch-0.8.3 into 9ffa1cb8fb0e0ac7ceb2cc2afd545442cd5154de on pai-0.8.y.


Unable to install via homebrew

This is the output of the command
brew tap plu/pxctest
brew install pxctest

Output:
==> Installing pxctest from plu/pxctest
==> Cloning https://github.com/plu/pxctest.git
Updating /Users/ignazioc/Library/Caches/Homebrew/pxctest--git
==> Checking out tag 0.2.6
error: no such remote ref f64bef8536fcfc7998df68846460e5adf93be347
Fetched in submodule path 'Dependencies/FBSimulatorControl', but it did not contain f64bef8536fcfc7998df68846460e5adf93be347. Direct fetching of that commit failed.
Error: Failed to download resource "pxctest"
Failure while executing: git submodule -q update --init --recursive

I was able to install only using the HEAD commit.
➜  ~ brew install pxctest --HEAD
==> Installing pxctest from plu/pxctest
==> Cloning https://github.com/plu/pxctest.git
Updating /Users/ignazioc/Library/Caches/Homebrew/pxctest--git
==> Checking out branch master
==> ./scripts/build.sh /usr/local/Cellar/pxctest/HEAD-c4d456a/libexec
🍺  /usr/local/Cellar/pxctest/HEAD-c4d456a: 227 files, 9.9M, built in 50 seconds
➜  ~

Additional info:
➜  ~ brew --version
Homebrew 1.1.2
Homebrew/homebrew-core (git revision ac83; last commit 2016-12-01)
➜  ~ git --version
git version 2.9.3 (Apple Git-75)

Thanks for the detailed report! I have fixed the missing reference. Please let me know if it's working for you now.

yep, thanks.
==> Installing pxctest from plu/pxctest
==> Cloning https://github.com/plu/pxctest.git
Updating /Users/ignazioc/Library/Caches/Homebrew/pxctest--git
==> Checking out tag 0.2.6
remote: Counting objects: 74, done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 74 (delta 34), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (74/74), done.
From https://github.com/plu/FBSimulatorControl
 * [new branch]      pxctest    -> origin/pxctest
 * [new branch]      pxctest-tmp -> origin/pxctest-tmp
==> ./scripts/build.sh /usr/local/Cellar/pxctest/0.2.6/libexec
🍺  /usr/local/Cellar/pxctest/0.2.6: 226 files, 9.7M, built in 315 minutes 9 seconds

Perfect, thanks!


Atom on Windows can't install any packages

Description
Atom (v1.15.0 ia32) does not install any packages on Windows, saying that native build tools are not available. This happens with packages that do not seem to require any compiling. Moreover, all the required build tools are installed:
bazzilic@BAZZILIC $ apm --version
apm  1.15.3
npm  3.10.5
node 4.4.5 ia32
python 2.7.13
git 2.12.0.windows.1
visual studio 2015

However, apm install --check fails without stating exactly why.
Steps to Reproduce

Open Atom (v1.15.0 ia32) on Windows 10 x64
Try installing or updating any package. E.g., atom-clock, which (I checked) is pure JS and CSS, so doesn't need build tools.

Expected behavior: The package installs nicely.
Actual behavior:

Reproduces how often: Always, since about a month ago
Versions
bazzilic@BAZZILIC $ atom --version

Atom    : 1.15.0
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0

bazzilic@BAZZILIC $ apm --version
apm  1.15.3
npm  3.10.5
node 4.4.5 ia32
python 2.7.13
git 2.12.0.windows.1
visual studio 2015

Running on Windows 10 Pro x64 (updated to Anniversary Edition). Visual Studio 2015 with C/C++ compilers, with all latest updates. Reproduces on two different machines; both, however, are very similar software-wise.
Additional Information
I have tried backing up the ~/.atom/ folder and reinstalling Atom from scratch, but it didn't help. One more detail: ~/.atom/ is a symlink to a different location; if that's important.

Since you're having trouble installing packages with apm, can you please open this in https://github.com/atom/apm?


Release v0.2.0

Since we don't have any API docs in this project, can you please link to the PR so people can see the examples in there.

Since we don't have any API docs in this project, can you please link to the PR so people can see the examples in there.


Parse tsconfig error

Please provide us with the following information:

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Windows 10

Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:

angular-cli: 1.0.0-beta.11-webpack
node: 6.3.1
os: win32 x64

Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.

this is a clean install of angular-cli@webpack. followed the instructions and installed locally after "ng new [name]" then opened up webstorm and find the error

The log given by the failure. Normally this include a stack trace and some
more information.

Error:Error: Parse tsconfig error [{"messageText":"Unknown compiler option 'lib'.","category":1,"code":5023},{"messageText":"Unknown compiler option 'typeRoots'.","category":1,"code":5023},{"messageText":"Unknown compiler option 'types'.","category":1,"code":5023}]

Mention any other details that might be useful.

Thanks! We'll be in touch soon.

You don't have typescript 2.0.0 installed.

I ran npm i<EMAIL_ADDRESS>-g and also reran npm install (because 2.0.0 is in package.json) I went into settings and set the compiler to the version in my local node_modules/typescript/lib and webstorm is happy now

tsc -v
Version 2.1.5;
Error:Cannot start compiler process:  Error: Parse tsconfig error [{"messageText":"Unknown compiler option 'lib'.","category":1,"code":5023}]


Dockerize our Frontend

Build docker container for frontend to ensure env consistency

@farisdurrani can you update this github issue to describe that we need to setup EKS deployment of our frontend instead of on Fargate to get container orchestration on our side

@farisdurrani this issue can be marked as done?


⚠ Fetchers has degraded performance

In dfaa60f, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 349 ms

Resolved: Fetchers performance has improved in ab4c92f.


Add "counter", a write-the-test-suite exercise

I'm a bit worried about the exercism cli tool here. I seem to recall that it stops the user accidentally submitting the test file, but in this case the file with the "_test.go" name is the submission.

Hm. Yepp, that's still the case:
$ exercism submit hamming_test.rb
2015/04/25 18:43:43 Please submit the solution, not the test file.

Maybe we should just take the feature out. Are we being too helpful? When we added that feature we didn't have the "delete submission" feature, but now that's not an issue.

We could replace it with a message saying "You're submitting a test file. If this is not what you want you can delete it in this way ...". That's still fairly helpful.

Agreed. I like leaving the responsibility to the user rather than trying to be overly helpful.

The --test behavior is now available in the CLI.
I looked through this again, and the only question I have is whether we should name the test file example_test.go rather than example.go.

I believe I went with example_test.go because without the _test.go suffix go test won't run the tests in it.

The current file name is example.go, but it has tests in it. (Sorry, I might be misunderstanding your comment).

Added explanation and rebased.


Update inreallybired xyz website size

This PR is:

[ ] Adding a new domain

[x] Updating existing domain size

[ ] Changing domain name

[ ] Removing existing domain from list

[ ] Website code changes (512kb.club site)

[ ] Other not listed

[x] I used the uncompressed size of the site

[x] I have included a link to the GTMetrix report

[ ] The domain is in the correct alphabetical order

[x] This site is not a ultra lightweight site

[x] The following information is filled identical to the data file

- domain: imreallybored.xyz
  url: https://imreallybored.xyz/
  size: 15.0
  last_checked: 2021-11-25

GTMetrix Report: https://gtmetrix.com/reports/imreallybored.xyz/W6cnTg7q/

Just realised I forgot to set in alp order. Gonna do that now.

Should be done now.


operator hspc-operator (1.14.0)

updated operator

trying one more time

/pipeline restart operator-hosted-pipeline

This did not merge, since merge is set to false in the ci.yaml file.

Thanks, no need to merge since this is part of the cert for the beta version 1.14.

updated the ci.yaml to allow merge


open outside website in new tab

add the follow code into uno.js
$(document.links).filter(function() {
    return this.hostname != window.location.hostname;
}).attr('target', '_blank');

and the links in post outside site would be opened in a new tab

hmm good point, I saw that you copied the code of this post in Ghost forum. The only thing that makes me feel unsafe is the perfomance about this. Keep in mind that that the theme is designed for tablet/mobile too and do the action in a mobile can be a little overload.
what do you think?

Yeah, you are right.
I forgot some people use mobile more often = =

@pupboss

What's up

That would be great!
Sometimes owner's article contain some material, if we don't do that, readers would lose the point, they have to return to the earlier site
So if you add this on desktop version UE would be great

available in the next 2.2.0 tagged version :-)


Support pre-built actions

Feature Description
Not sure if this is a Gitea or an act_runner issue, but it would be nice to allow actions that are pre-built and downloaded to the act runner as simple binary files.
For example, as I understand the current state, if I were to develop a custom action in Go, currently I need a Go build environment in the Docker image running the action. If the action could be pre-compiled, the binary could be downloaded and executed on any (compatible) Docker image.
This would make it much easier to use existing Docker images for CI jobs.
Screenshots
No response

I don't think it really makes sense.
The same question could be asked to actions built with nodejs.
"If I were to develop a custom action in NodeJS, currently I need a NodeJS runtime environment in the Docker image running the action. If the action could be pre-packaged with nodejs interpreters, the package could be downloaded and executed on any (compatible) Docker image."

I'm not sure you're understanding my ask, or why it's useful.
For example, I have a job step that I really want to run in an image from Docker Hub, this image has everything I need for my build step (say I'm compiling some code in an uncommon language and there's a large build tool chain). Except first I need to checkout my repo before I can build my code. In order to run the checkout action, I need a NodeJS runtime, which isn't included on that Docker image, so that image from Docker Hub isn't actually usable.
What I'm asking for are binary actions, (or potentially prepackaged actions as you describe) something that the act runner can download and run without requiring any special run time environment so it can be used on any Docker image (with a compatible OS, of course). This way the action can be used on any Docker image.
When I first saw the ability to create Go based actions, I was hoping the act runner would be able to compile the action once (locally, or in an image with a go compiler), or just include a downloadable binary in the action's repo, and then use the build action in any image. But unfortunately it just swaps the NodeJS dependency for a Go dependency, which doesn't solve this problem.

I fully understand your requirement, but the point is that Go based actions are not designed as binary actions to achieve dependency removal.
I understand binary actions will bring a lot of convenience to users, however, they will bring a lot of risks too, we cannot see the internal logic of binary files, which means we would need a set of protective measures to ensure that binary files are compiled from open-source code. This goes beyond the design architecture of actions.
So I'm not saying it's useless, but considering the risks and complexity it brings, I don't think it's necessary. Just my opinion.

I understand that Go based actions are not designed as binaries, it was just my initial hope when seeing them.
I also understand the risks of using binaries. My thinking was that there could be a set of known, trusted binaries hosted by Gitea (which would be compiled from open-source) for the most common actions, like checkout, artifact upload/download, etc, and a configuration option to trust a given repository of binaries which one could self-host (ideally served by the user's own Gitea instance as a package).
Frankly, given the number of custom actions out there and their dependency chains, I suspect many of them could be compromised for some time before detection, so they're not exactly risk free either.
The complexity of supporting this could be minimal, a list of locations where binary actions can be downloaded from (likely with some URL path for os, architecture, etc, e.g. /linux/amd64/checkout), and the risks can be mitigated by only allowing a small set of sources. The value to users would be vastly increased number of Docker images available to run jobs in (without having to build custom images to add all the action dependencies).
Necessary? Of course not, one could argue half of Gitea's features aren't necessary because there are work-arounds. Useful? Absolutely. Every work-around you force a user to have to do is a pain point. I for one am already building a number of custom Docker images purely to add dependencies for basic actions that I shouldn't need to do.
FWIW, I have a lot of experience with GitLab's CI/CD system, and it has features like checking out your repo and managing artifacts built in. The fact that these basic operations require a NodeJS runtime in every Docker image is a bit absurd.

I apologize if anything I said offended you. I simply expressed my viewpoint on this feature and its reasons directly. It's just my personal opinion and doesn't mean that the proposal has been rejected. I haven't closed this issue and I added a new label, indicating that I think it can be further discussed.

I for one am already building a number of custom Docker images purely to add dependencies for basic actions that I shouldn't need to do.

I think you could use some actons like setup go or setup nodejs to add dependencies. Maybe you think it's a little heavy to set dependencies everytime, however, I would say that's why Gitea/Gitea Actions are easily reusable, and it's a main difference from GitLab CI/CD.

The fact that these basic operations require a NodeJS runtime in every Docker image is a bit absurd.

Hmm, I would say it's not absurd, that's how GitHub Actions work, Gitea Actions is designed to be compatible with GitHub Actions.

I apologize if anything I said offended you. I simply expressed my viewpoint on this feature and its reasons directly. It's just my personal opinion and doesn't mean that the proposal has been rejected. I didn't closed this issue and I added a new label, indicating that I think it can be further discussed.

I wasn't offended, and you're entitled to your opinion. I was just making sure my reasoning (and my opinion) is clearly captured for any future discussions.

I think you could use some actons like setup go or setup nodejs to add dependencies. Maybe you think it's a little heavy to set dependencies everytime, however, I would say that's why Gitea/Gitea Actions workflow files are easily reusable, and it's a main difference from GitLab CI/CD.

I do think it's a bit too heavy to re-download and install an entire NodeJS runtime. The main point (IMO) of using a pre-built (and likely locally cached) Docker image is to save bandwidth and CPU costs of setting up a CI environment for every run (as well as saving the additional steps in the workflow file).
And as I understand it, setup-node is primarily used to setup a different NodeJS runtime than what's already on the image, given that it itself is a Typescript action it requires NodeJS to be pre-installed.

Hmm, I would say it's not absurd, that's how GitHub Actions work, Gitea Actions is designed to be compatible with GitHub Actions.

I'm not saying the absurdity was from Gitea, and I get the benefits of compatibility with GitHub. I think GitHub Actions are absurd to essentially require NodeJS in every Docker image. Every project doesn't revolve around JS.


clean up github page

I think with growth the github page for this has grown out of control, I have to scroll way too much to find the useful links and it's all a little disorienting. I'd be happy to a small reorganization of files/readme to improve user experience, but I'd like to get @adam-gruer approval first

Ha, read my mind.  Go for it mate


Speeds up deployment time by only running tasks when related files are changed.

e.g.
Only run bundle if the gemfile has changed,
only run  migrations when migrations have been added
Added precompile assets rake task and only call run when assets are changed.

Nice. I didn't even notice that my migrations detector was busted.
Send me your public email so I can fix authorship info on your commits.

Pulled and tweaked in https://github.com/mislav/git-deploy/compare/803f425...1f41

Thanks for accepting my pull request.
However i'm interested to know why you didn't pull in the check on the Gemfile to see if it had been updated before running bundler.


Barco PDS Output Mode

Describe the feature
As a user I would like to change the output mode of Barco PDS products between (1) fullscreen, (2) PIP & (3) matrix.
Is this platform dependent (windows, mac, ..)?
No
If documentation is required to implement, do you know where to find it?
The commands are outlined in the manual: OUTMODE -m <x>, where <x> is the respective mode listed above.
I've written this script that works:
#!/usr/bin/expect -f
spawn nc <IP_ADDRESS> 3000
expect "> "
send "user\n"
expect "> "
send "OUTMODE -m 2\n"
sleep 1

Usecases
Switching to PIP mode to make use of the PIP recall features, plus being able to swap back to fullscreen mode to get the preview bus.

Hi there,
This is currently in the making as described in #4


IAP: Skipping tests because the IAP application they were using has disappeared.

I'm looking into it.

Take a look at https://github.com/googleapis/google-api-dotnet-client/issues/1557 when fixing this. Might be related.


"Bodești" , "Bărbătești" , "Bârzești" , "Negrulești" are listed in the drop-down menu

The villages are listed in the drop-down menu alongside its corresponding county and city, according to the law
Preconditions : the  website is up and runing. After every step delete the text you typed from the search bar.

Step 1
Write in the search bar "Bodești"

Expected results
The location appears in the drop-down menu as "Sat Bodești, VÂLCEA (Bărbătești)"

Step 2
Write in the search bar "Bărbătești"

Expected results
The location appears in the drop-down menu as "Sat Bărbătești, VÂLCEA (Bărbătești)"

Step 3
Write in the search bar "Bârzești"

Expected results
The location appears in the drop-down menu as "Sat Bârzești, VÂLCEA (Bărbătești)"

Step 4
Write in the search bar "Negrulești"

Expected results
The location appears in the drop-down menu as "Sat Negrulești, VÂLCEA (Bărbătești)"


Restic process being killed by OOM

Output of restic version
restic 0.7.1
compiled with go1.8.3 on linux/amd64
How did you run restic exactly?
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
export RESTIC_REPOSITORY=
export RESTIC_PASSWORD=
export TMPDIR='/var/tmp'

restic backup --tag store --files-from "./files-store.conf"

What backend/server/service did you use?
Google Cloud Storage in S3 compatibility mode
Expected behaviour
Backup to process complete successfully.
Actual behaviour
Restic process killed ~50% through creating the backup.
Steps to reproduce the behaviour
Backup a large repo ~1.2TB
Do you have any idea what may have caused this?
Restic using a large amount of memory ~3GB and being killed by the oom killer, output of dmesg:
Out of memory: Kill process 17889 (restic) score 332 or sacrifice child
Killed process 17889 (restic) total-vm:2792044kB, anon-rss:2777972kB, file-rss:0kB

Do you have an idea how to solve the issue?

Turns out swap was disabled on the machine, I've added some swap space and will try again.

Yeh that fixed it for me, I guess this could still be an issue on machines with limited memory.

Hey, thanks for raising this issue. I was busy with real life things for a few days so please excuse the late response. We're aware that restic may use too much memory, we'll work that out eventually. Thanks!


Protect-secrets-on-pr

in this way the action is used from the base repository
also use new secret HUGGINGFACE_TOKEN (username:token)

f.e. noreply@github.com:hf_lkaugfklagwrjglaslzfgkjzzf

change pr prompt file to validate_pr_prompt.txt

@lstein: you need to create the new secret as mentioned above

@lstein to add the secret, while in the repository, click on:

settings
secrets
actions
New Repository Secret
name it HUGGINGFACE_TOKEN with content of username:huggingface_token
(for me mauwii@provider.de:hf_blablabla)

I've done this using my HuggingFace account and access token. Should I remove the SD URL as well?

I've done this using my HuggingFace account and access token. Should I remove the SD URL as well?

since secrets.SD_V1_4_URL shouldn't be reffered from the actions anymore it should be safe to remove it 👍🏻

@lstein only name:token as the secret, no line break in the end!


UI - change "Start address" and "End address" to "Sending address" and "Receiving address"

Describe the bug
I Wallet main screen -> transaction details "Start address" and "End address" should be renamed to "Sending address" and "Receiving address" - same as in Desktop wallet
To Reproduce
Steps to reproduce the behaviour:

Login to the Android wallet that has any balance and Transactions history
Open one of the transactions details
Check the fields names and data correctness

Expected behaviour
Transaction details "Start address" and "End address" should be renamed to "Sending address" and "Receiving address" - same as in Desktop wallet
Setup
Device model: any
OS: any

checked


changes in setup.py and CMakelist.txt in raspberry Pi directory

changes in setup.py and CMakelist.txt in raspberry Pi directory
setup.py:
Added CMAKE_PREFIX_PATH for pybind11 and specified the build target in setup.py
Added environment variable setting for CMAKE_PREFIX_PATH using pybind11.
Explicitly specified the build target "multi_half_bridge_py" in the CMake build command.
Updated ext_modules to include sourcedir parameter.
CMakelist.py:
Updated CMake minimum required version to 3.12.4.
Set project name and languages with set(mhbcore multi-half-bridge-corelib).
Added conditional inclusion of Pybind11 directories.
Expanded include directories to include config, corelib, and PAL directories.
Added library target ${mhbcore}.
Integrated Pybind11
Linked multi_half_bridge_py module with ${mhbcore} and bcm2835 libraries.
Added conditional compile definitions for VERSION_INFO.
modules which are needed:
bcm2835 lib
sudo apt-get install libbcm2835-dev
Pybind11
sudo pip install pybind11 --break-system-packages
CMake
sudo apt-get install cmake python3-pip ninja-build
command "sudo python setup.py" is working
installation with pip is also possible
everything tested on a raspberry pi 4 (pi 5 will be tested soon)

Hi, it will not work on a raspberry PI 5, because the bcm2835 lib is not working there.
Should I find a different library or should we say it is only support for raspberry pi 4?


[Server] Provide ARM builds

I run an arm64 (aarch64) based Linux server and being able to run WorldQL natively would be great,

Would also be great when Docker images are provided to leverage multi-arch images and provide an ARM image there too.


Option to dispatch async methods in order

JSON-RPC 2.0 spec says:

The Server MAY process a batch rpc call as a set of concurrent tasks, processing them in any order and with any width of parallelism.

It would be useful to me for the ability to run the async dispatcher optionally in order of requests, instead of in parallel.  My changes would be something like:
async def call_requests(
    requests: Union[Request, Iterable[Request]], methods: Methods, ordered: bool, debug: bool
) -> Response:
    if isinstance(requests, collections.Iterable):
        if ordered:
            responses = [await safe_call(r, methods, debug=debug) for r in requests]
            return BatchResponse(responses)
        else:
            responses = (safe_call(r, methods, debug=debug) for r in requests)
            return BatchResponse(await asyncio.gather(*responses))
    return await safe_call(requests, methods, debug=debug)

and create_requests would need to return a list instead of a set so that requests are ordered.
If you think this is a useful feature, I'd be happy to submit a PR.
Thanks!

Sounds good, send it through.

@uSpike couldn't you use the synchronous server for this?

@bcb I could, but there's still the issue that create_requests makes a set (non-ordered) instead of a list.  Additionally, I'd have to wrap the synchronous dispatch in a ThreadPoolExecutor since my application is async.
It may end up easier for me to do this on my own and integrate different dispatchers with different methods.

Happy to change it to a list.

I believe this should no longer be a problem, use regular dispatch instead of the asynchronous one.