Finished home nav

@BidemiEnoch checkout this branch

Wait...

conflicting ideas...

use styled components vs dont use styled components, we literally agreed on node sass, you LITERALLY said we shouldnt use both
const elem:React.FC vs FC, it makes no difference to destructure FC.
const elem=():JSX.element=>{} vs const elem=():ReactElement=>{}

by restructuring the folders, my work now literally shows one contributor(you) implying ive made 0 contributions to the files you have edited which i know should'nt mean anything but i dont like that.
5) Ive made multiple changes here on my side that are similar to/or conflict what you've done the method of organizing the routes->home, login e.t.c
My final verdict...
this exact pr cant be merged, but the changes would go through ofc on a different pr(views/home shoudnt go to waste)
I'll clone this branch, merge it with mine(views/home and the file directory changes stay, same with styled-components) and the ui updates  ive made.
I will scrap sass completely since you apparently woudnt use sass. But before i make the pr, well decide on...
React.fc vs fc and jsx.element vs reactelement, non uniform conventions are annoying. Then after the pr(on which we must have decided on react.fc which i still find very annoying) I'll take a break so you can make your changes to /client while i inspect the models/schemas and stuffs(or just eat popcorn and watch you have all the fun for... 2 days?lol)
This pr isnt going through, please inform me before making changes these divergent to /client. Im the lead frontend engineer(wink) Laughs in { FC } from 'react'. Holla.
PS: if you merge this pr, ill refuse to comtribute anymore to this project and burn your room down with gasoline and liquor... seriously... hola

okay sir xD
not merging lol

Give me till saturday, I would make a pr with your changes and mine, then i take break and you continue your changes.
highlights...

im scrapping node sass, styled components stays(yaaay, you win, dark theme is my next objective and ive weighed that toggling classes with node-sass is stressful)
FC over React.FC, sorry(I know you want to blast my monitor with a cannon rn), Ive seen most repos use react.fc(which is why you see this as natural), but it makes absolutely no difference to destructure, most repos that use react.fc also use react.usestate() react.usehistory() react.useeffect(), they destructure nothing(for whatever f...in reason probs becos typing r-e-a-c-t everytime is fun. You like how your editor colors react.fc dont you? makes the react blue and fc orange and the colors turn you on lol.
ReactElement over JSX.element( Because some components return pure objects(like props.children) and react cloned objects, jsx.element is too specific, reactelement covers pretty much every return type
im scrapping react and typescript, switching to jquery cos $ sexy asf and porting to a php server(bye node)

You're really accurate on the React.FC angle xD
The third point is quite interesting tho.. will research that
also your'e free to switch to jquery and php.. node too stressful

inaccurate about how destructuring type fc from react is literally not different from using react.fc? or the colors team? you couldve ended up with a teammate who would complain about you using useState instead of react.useState, apart from the fact every other fancy repo uses react.fc, why use it over fc?

lets use FC then .. i'm just used to typing React.FC and it seems cool to me
I can do anyone anyways..

aight I'll pr on or before saturday then... adios...
also... press an f for node_sass

okay man..
lemme go do some ai stuff till sunday
closing pr in an hour


Remove Mathjax?

I saw it was on the Kyoto page for some reason

It came with the theme. Removed in 532bea01f8f77da7a518d51739e0d42f408a8518


Replay not being processed?

https://i.imgur.com/rASInhJ.png
https://i.imgur.com/NobZZZr.png
Every replay says an different position in the queue, and it never changes.
Is there something wrong atm?

It's normal that different replays have different positions inside of a queue.
It looks like there are sometimes issues with Osu, and that's why the replays get sometimes stuck.

Yeah. It can happen, I'm trying to make the queue as stable as possible but it's not easy. I'll keep the issue open and tag it "to improve" and will make updates here when I fix a huge issue.


Failed to establish session

When I used 'react-natvie run-androi', it showed that:
:app:installDebug
Installing APK 'app-debug.apk' on 'MI 4W - 6.0.1'
Execution failed for task ':app:installDebug'.

com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Failed to establish session

my android phone is XIAOMI 4 , 6.0.1

@facebook-github-bot duplicate #2720

Same error here but during ./gradlew installRelease. Also in XiaoMi 4, 6.0.1 . Some logs:
17:26:16.747 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':app:installDebug'.
17:26:20.299 [LIFECYCLE] [org.gradle.api.Task] Installing APK 'app-debug.apk' on 'MI 4LTE - 6.0.1'
17:26:21.840 [ERROR] [org.gradle.api.Task] Unable to install /Users/chen/repo/gist/Demo/android/app/build/outputs/apk/app-debug.apk
com.android.ddmlib.InstallException: Failed to establish session
	at com.android.ddmlib.Device.installPackages(Device.java:894)
	at com.android.builder.testing.ConnectedDevice.installPackages(ConnectedDevice.java:113)

17:26:21.845 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 14.385 secs, idle: 0.049 secs
17:26:21.853 [ERROR] [org.gradle.BuildExceptionReporter]
17:26:21.855 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
17:26:21.855 [ERROR] [org.gradle.BuildExceptionReporter]
17:26:21.855 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
17:26:21.856 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':app:installDebug'.
17:26:21.856 [ERROR] [org.gradle.BuildExceptionReporter] > com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Failed to establish session
17:26:21.857 [ERROR] [org.gradle.BuildExceptionReporter]
17:26:21.857 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
17:26:21.857 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:installDebug'.
17:26:21.858 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
17:26:21.858 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute

And reading 2720 does not solve my problem.

Actually this problems comes from all of Xiaomi phones, MIUI block incoming action for installing adb from apk via usb. If you try install manual via "adb install nameofapk.apk" then of your Xiaomi's screen will pop permission that ask you to accept or deny installation from usb. That's the problem why apk won't automatically install when we type "react-native run-android", because that command use silent install via adb to Xiaomi Device. Silent install will not make pop up permission on Xiaomi's screen. So may the question is, how to remember permission access for install apk via adb usb, or maybe disable it.
Thanks

Seems to not work on Xiaomi Redmi Note 3 too.
Can you please show explained way of solving this issue ?

you can disable MIUI on developer options after run react-native run-android

Works !
for those who suffer from this:

enable developer mode - In your phone, go to Settings, About phone and click on MIUI version 7 times. You’ll a pop up which says you are a developer now.
Go back to Settings, Additional settings, Developer options and enable USB Debugging.
Connect your phone to your PC/Mac and on the phone authorize your computer
go back to Developer options, scroll down to find Turn on MIUI optimization and disable it. Your phone will be rebooted
Try it now :)

This problem confused me for a long time, thank you very much

@lironess Thank you! It work!

@lironess it work   Thank you so much

Many thanks for you!

@lironess Thank you so so much,it works

@lironess Thanks, you saved my day 👍

it does not work for me .... i can run on android emulator, but device can not. device is Xiao Mi MIUI8.0, and i try the 5 step upon.........it does not work.......
////////////////////////////////////////////////////////////////////////////////////
:app:installDebug FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:installDebug'.

com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Unable to upload some APKs

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 9.064 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

i solved my problem. i change android/build.gradle file line 8,  classpath 'com.android.tools.build:gradle:1.3.1'  to classpath 'com.android.tools.build:gradle:1.2.3'. it works...
link :http://csbun.github.io/blog/2015/12/starting-react-native-with-android/

把小米开发者选项中最后一行MIUI优化关掉就行
发自我的 iPhone

在 2016年11月23日，15:45，阿贵<EMAIL_ADDRESS>写道：
it does not work for me .... i can run on android emulator, but device can not. device is Xiao Mi MIUI8.0, and i try the 5 step upon.........it does not work.......
////////////////////////////////////////////////////////////////////////////////////
:app:installDebug FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:installDebug'.
com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Unable to upload some APKs
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 9.064 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@VentionYC 谢谢，我关了的，不行。我报的错和题主不一样，我的是com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Unable to upload some APKs。我是把gradle:1.3.1 改成  gradle:1.2.3 就可以了。再改回去还是不行...难道只能用gradle:1.2.3？？我不知道为什么...先跑起来再说了....

@AndyFightting 我的跟你的一样，改成1.2.3就可以了。。。。1.3.1的也一样不行，用的是MIUI手机，用模拟器的话都不用修改什么就运行起来了

What's the word on this issue?

works for me. thX!

@lironess Thank you !

@lironess Thank you!!... after trying all permutations and combination ... finally this helped me to sort the problem ... also advise for every1 here dont use MI phone for debugging it will not allow you to taste the actual flavour of android ... thank you all !!!!

@lironess Answer Worked for Xiomi. I think that is the solution for Xiomi handsets. Thanks mate  :)

thank you very much man.

thank you very much ,close the optimization mui is works for me

Thanks, work on Xiaomi Redmi 4 Pro/Prime

Thanks SOOO MUCH!
Xiaomi Redmi 3S :smiley:

Thanks,
Solution: disabled Xiaomi 5 connection
Namely, pull the usb cable
Because, i charge phone by using usb cable

Thanks a lot.
On redmi note 3s, once I disabled 使用MIUI优化 from settings and now it works.

@AndyFightting thx, it work. gradle version change to 1.2.3

@lironess That worked for my Redmi note also... Thanks...

Thanks.. That also worked for my Redmi 3S Prime..

thanks

@lironess Thanks Buddy. Works for Redmi Note3.

i am using Xiomi readmi 4 it is not woking...i am stuck

any body help,,,,with Xiomi read mi 4 i am working its no working

If your android device os version is above 5.0, you need to run cmd 'adb reverse tcp:8081 tcp:8081'

my problem in with the emulator its the one thats give me that error

com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Failed to finalize session : INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.lovecode signatures do not match the previously installed version; ignoring!

因为手机中已经存在的相同包名的APK，将其删除就行了。

@lironess Thanks for the solution! Worked for me.


[feature request] alias for all features

?features=all maybe?

That already exists :-) https://polyfill.io/v3/polyfill.min.js?features=all

Thanks @JakeChampion
I think we could add it in the docs, for example in https://polyfill.io/v3/url-builder/


WIP - Add etcd object counts alert

This PR adds some new etcd alerts to warn the users on high and increasing
object counts in etcd. The thresholds used in these alerts are derived from a
load test performed on a 4.8.0-fc.0 cluster on GCP. The test observed the
effect of creating ~120K imagestream objects on etcd peer network latency,
leader's health, disk performance, failed peer proposals, and network bytes
sent/received.
The YAML of the imagestream used for testing can be found here. It was
copied from the OOB ruby imagestream.
JIRA: API-1220.
Pending:

Is it worth repeating the same tests on Azure, which is known to experience etcd disk performance latency more often?
Alerts description usually provides links to incident runbook. Assuming we don't have one atm, are we ok with more verbose alert description?
This PR depends on Go code changes in https://github.com/openshift/cluster-kube-apiserver-operator/pull/1073

Here are the results of my test run:
The number of objects increased from 20k to 120k over a 12-hour period:

The rate of increase of the object counts grouped by resources, seems to be
dominated by Events, follow by ImageStreams. I am not sure if there is a
way to increase this rate, as it seems a more aggressive increase rate will
trigger the kind of errors some users saw. FWIW, replacing rate with
increase yields an identical trend:

No issues with leader election:

No major degradation in disk performance with lowest value being
6.25ms and peaked at 9.5ms:

Other than a 20-minute blip in network round trip latency (from 0.03 to
0.06 seconds), everything looks normal:

No network packets loss:

To get a better sense of the traffic quality between the peers, I also
captured some proposal_* metrics. No prolonged failed and pending
proposals communication in this test run:

Per offline convo with @smarterclayton, we need to:

Refine the alerts to distinguish total counts between CRD and non-CRD

Define more accurate thresholds based on telemetry data in data hub
Non-CRD could be 100k, it could be 250k; but CRD will definitely be a lot lower
Note that CRDs like images and imagestreams have built-in pruning

Define an info alert providing users with tangible steps to fix the active alerts

E.g., "these are the tools and commands to identify the resources' names and namespaces, and how to delete them"
Perhaps link the warning alerts to this info alert to avoid overly verbose warnings

Define and test an alert based on the resource response size metrics

Rate of kb pulled from resources is roughly proportional to the cost of the resources
E.g., apiserver_response_sizes_bucket

@smarterclayton I made some updates to the alerts:

added two etcd object count alerts; one for CRD and one for k8s.io objects
added an alert to report on increasing rates in response size by resources
the threshold values used are for testing purposes only (i still can't access data hub)
following the alert consistency enhancements, I used the runbook_url annotation to the alert, instead of walls of text. I think we can flesh out the "how to fix" details in the runbook

Here's what it looks like in the console:

I am hoping that between these alerts and the existing Response Bytes per Second by Resource and Verb and etcd Object Count Inspect dashboards in the console, we can provide users with more visibility into object counts and sizes.
LMKWYT, especially any errors in the expr.

@sttts @smarterclayton I know there is also ongoing conversation around getting more visibility into apiserver rss, per object/response sizes using the apiserver_response_sizes_* metrics. I am not sure if that should be tackled separately from this JIRA card, or if they are different aspects towards the same goal. At the moment, this PR doesn't address any of the apiserver memory requirements stuff we talked about with @tkashem.

Closing, pending further discussion in arch call on threshold values, whether this is the right metrics to capture etc.


Cannot Flash MicroFlo runtime to Arduino

I have some problem about Flash MicroFlo runtime to Arduino.
I follow the tutorial
https://docs.flowhub.io/getting-started-microflo/
when I follow this tutorial and want to flash MicroFlo runtime to Arduino,
(https://github.com/microflo/microflo/blob/master/doc/arduino-getstarted.md)
I meet the problem
There are no version 0.4.0 Microflo to download, so I add the version 0.3.2 microflo into Arduino IDE.
After add microflo into arduino IDE, I can't see the example code of microflo.
On the other hand, I follow the readme from this https://github.com/microflo/microflo
when I try this command
make upload GRAPH=examples/blink.fbp MODEL=uno
hope to upload the graph, but get some error message.
./src/componentlib-source.hpp:1:40: fatal error: core/components/PwmWrite.hpp: No such file or directory
 #include "core/components/PwmWrite.hpp"
                                        ^
compilation terminated.
make[1]: *** [.build/uno/src/main.d] Error 1
make[1]: Leaving directory `/home/pipi/mygit_home/micro2/microflo/build/arduino'
Make failed with code 2
make: *** [build-arduino] Error 1

I check the path and find that "core/components/PwmWrite.hpp" really doesn't exist.
I know there are microflo-core package which has PwmWrite.hpp but I don't know where should I put this file.
p.s. I use Arduino uno R3, xubuntu 14 64bit

This is a bug in the tarball/release-generation.

@pipiHuang It seems that your git version did not automatically. You have to do git submodule update --init, try to do make upload ... again after that. I have updated the README with this instruction
I cannot reproduce your issue with the Arduino IDE however. Which version of the IDE are you using? The example should be under File -> Examples -> microflo -> Standalone

Closed, not able to reproduce.


[feat] Add maximum limit of failures in the cli

Fixes #941 .

@ekouts Is this still a draft?

@ekouts Is this still a draft?

Can you also fix the unused import errors (see the CI checks).

Can you also fix the unused import errors (see the CI checks).

@ekouts Is this still a draft?

Yes, because I still need to write documentation + unittests. I will fix them and change it.

@ekouts Is this still a draft?

Yes, because I still need to write documentation + unittests. I will fix them and change it.

The obvious thing to ask is why we treat KeyboardInterrupt differently. The answer is that it was just like that, but now I think that we should probably handle the KeyboardInterrupt and perhaps all the abort reasons in the same way and avoid "fail clutter" all the way. If I'm running 1000 test cases, and I type Ctrl-C, I don't want to see 1000 failure infos!

I agree with but I have some more questions:

When maxfail is reached should tests be retried? For KeyboardInterrupt I assume not.
Do I include the aborted tests in the json report?

And the summary must contain exactly N failure infos.

In the asynchronous policy is it okay if it is not always exact? We can do it but this might not include tests that have actually finished in the meantime and failed for other reasons (eg failed dependency)

The obvious thing to ask is why we treat KeyboardInterrupt differently. The answer is that it was just like that, but now I think that we should probably handle the KeyboardInterrupt and perhaps all the abort reasons in the same way and avoid "fail clutter" all the way. If I'm running 1000 test cases, and I type Ctrl-C, I don't want to see 1000 failure infos!

I agree with but I have some more questions:

When maxfail is reached should tests be retried? For KeyboardInterrupt I assume not.
Do I include the aborted tests in the json report?

And the summary must contain exactly N failure infos.

In the asynchronous policy is it okay if it is not always exact? We can do it but this might not include tests that have actually finished in the meantime and failed for other reasons (eg failed dependency)

@vkarak Some more questions:

When the --maxfail=N is passed I expect to see
[  FAILED  ] Ran X test case(s) from Y check(s) (N failure(s))

I am not sure what the X number should be in this case, the ones that actually finished? Or the total number that has at least been setup? In the asynchronous policy all tests are trying to do the setup before the first failure prints the message of failure which can lead to confusing output this way.
Let's say we have --maxfai=1 and a tests fails in setup, then how should the output continue? As usual with [ RUN      ] Testcase on partition using env of the rest of the testcases? Or move one directly to [----------] waiting for spawned checks to finish and print the successful + failed tests so far? In the first case you might get extra failures and not have exactly N failures.

@vkarak Some more questions:

When the --maxfail=N is passed I expect to see
[  FAILED  ] Ran X test case(s) from Y check(s) (N failure(s))

I am not sure what the X number should be in this case, the ones that actually finished? Or the total number that has at least been setup? In the asynchronous policy all tests are trying to do the setup before the first failure prints the message of failure which can lead to confusing output this way.
Let's say we have --maxfai=1 and a tests fails in setup, then how should the output continue? As usual with [ RUN      ] Testcase on partition using env of the rest of the testcases? Or move one directly to [----------] waiting for spawned checks to finish and print the successful + failed tests so far? In the first case you might get extra failures and not have exactly N failures.

When maxfail is reached should tests be retried? For KeyboardInterrupt I assume not.

No need to retry them, I agree.

Do I include the aborted tests in the json report?

Good point. I would say not, but perhaps we need a way to identify directly or indirectly how many were aborted (e.g., we might need a num_cases_run property or similar).

In the asynchronous policy is it okay if it is not always exact? We can do it but this might not include tests that have actually finished in the meantime and failed for other reasons (eg failed dependency)

I'm fine of not being exact with the async policy.

I am not sure what the X number should be in this case, the ones that actually finished? Or the total number of the ones that have at least been setup? In the asynchronous policy all tests are trying to do the setup before the first failure prints the message of failure which can lead to confusing output this way.

Those that have actually finished, I would say.

Let's say we have --maxfai=1 and a tests fails in setup, then how should the output continue? As usual with [ RUN ] Testcase on partition using env of the rest of the testcases? Or move on directly to [----------] waiting for spawned checks to finish and print the successful + failed tests so far? In the first case you might get extra failures and not have exactly N failures.

None of this. As soon as it reached the maximum failure count, we abort everything (kill those pending) and report everything that has been finalized up until this point. This should be exactly as with keyboard interrupt. So I think this answers also the exactness question, right? If you abort immediately, you don't finalize any pending test, so the number of failures should be exact, shouldn't?

When maxfail is reached should tests be retried? For KeyboardInterrupt I assume not.

No need to retry them, I agree.

Do I include the aborted tests in the json report?

Good point. I would say not, but perhaps we need a way to identify directly or indirectly how many were aborted (e.g., we might need a num_cases_run property or similar).

In the asynchronous policy is it okay if it is not always exact? We can do it but this might not include tests that have actually finished in the meantime and failed for other reasons (eg failed dependency)

I'm fine of not being exact with the async policy.

I am not sure what the X number should be in this case, the ones that actually finished? Or the total number of the ones that have at least been setup? In the asynchronous policy all tests are trying to do the setup before the first failure prints the message of failure which can lead to confusing output this way.

Those that have actually finished, I would say.

Let's say we have --maxfai=1 and a tests fails in setup, then how should the output continue? As usual with [ RUN ] Testcase on partition using env of the rest of the testcases? Or move on directly to [----------] waiting for spawned checks to finish and print the successful + failed tests so far? In the first case you might get extra failures and not have exactly N failures.

None of this. As soon as it reached the maximum failure count, we abort everything (kill those pending) and report everything that has been finalized up until this point. This should be exactly as with keyboard interrupt. So I think this answers also the exactness question, right? If you abort immediately, you don't finalize any pending test, so the number of failures should be exact, shouldn't?

Hello @ekouts, Thank you for updating!

In the file reframe/frontend/cli.py:

Line 42:1: E303 too many blank lines (3)

In the file reframe/frontend/executors/__init__.py:

Line 418:80: E501 line too long (90 > 79 characters)

Do see the ReFrame Coding Style Guide

Hello @ekouts, Thank you for updating!

In the file reframe/frontend/cli.py:

Line 42:1: E303 too many blank lines (3)

In the file reframe/frontend/executors/__init__.py:

Line 418:80: E501 line too long (90 > 79 characters)

Do see the ReFrame Coding Style Guide

Codecov Report

Merging #1676 (5247f13) into master (9d85b5f) will increase coverage by 0.09%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##           master    #1676      +/-   ##
==========================================
+ Coverage   87.21%   87.30%   +0.09%
==========================================
  Files          45       46       +1
  Lines        7546     7683     +137
==========================================
+ Hits         6581     6708     +127
- Misses        965      975      +10

Impacted Files
Coverage Δ

reframe/frontend/statistics.py
96.23% <66.66%> (-0.51%)
:arrow_down:

reframe/frontend/executors/__init__.py
97.34% <87.09%> (-0.76%)
:arrow_down:

reframe/frontend/executors/policies.py
98.71% <89.65%> (-0.62%)
:arrow_down:

reframe/core/exceptions.py
94.11% <100.00%> (-0.05%)
:arrow_down:

reframe/frontend/cli.py
76.37% <100.00%> (+0.35%)
:arrow_up:

reframe/core/fields.py
98.71% <0.00%> (-0.28%)
:arrow_down:

reframe/core/runtime.py
89.63% <0.00%> (-0.07%)
:arrow_down:

reframe/core/schedulers/local.py
95.86% <0.00%> (-0.04%)
:arrow_down:

reframe/core/meta.py
100.00% <0.00%> (ø)

reframe/core/modules.py
56.62% <0.00%> (ø)

... and 6 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #1676 (5247f13) into master (9d85b5f) will increase coverage by 0.09%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##           master    #1676      +/-   ##
==========================================
+ Coverage   87.21%   87.30%   +0.09%
==========================================
  Files          45       46       +1
  Lines        7546     7683     +137
==========================================
+ Hits         6581     6708     +127
- Misses        965      975      +10

Impacted Files
Coverage Δ

reframe/frontend/statistics.py
96.23% <66.66%> (-0.51%)
:arrow_down:

reframe/frontend/executors/__init__.py
97.34% <87.09%> (-0.76%)
:arrow_down:

reframe/frontend/executors/policies.py
98.71% <89.65%> (-0.62%)
:arrow_down:

reframe/core/exceptions.py
94.11% <100.00%> (-0.05%)
:arrow_down:

reframe/frontend/cli.py
76.37% <100.00%> (+0.35%)
:arrow_up:

reframe/core/fields.py
98.71% <0.00%> (-0.28%)
:arrow_down:

reframe/core/runtime.py
89.63% <0.00%> (-0.07%)
:arrow_down:

reframe/core/schedulers/local.py
95.86% <0.00%> (-0.04%)
:arrow_down:

reframe/core/meta.py
100.00% <0.00%> (ø)

reframe/core/modules.py
56.62% <0.00%> (ø)

... and 6 more

Continue to review full report at Codecov.

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

The Tmod32 unit tests fail for some. We need to have a look. Other than, that the PR is fine.

The Tmod32 unit tests fail for some. We need to have a look. Other than, that the PR is fine.


moved setup-environment-internal to meta-angstrom repo per issue44

Update version yocto2.2

Fixed slightly differently, see comment in #40.


Test Exclude

Add a test case for exclude decorator.

The exclude function can also be used in Blueprints. Can you add a test for that?

The exclude function can also be used in Blueprints. Can you add a test for that?

Sure, working on it.

@ahopkins
The test case was added, thank you!


Add gcc-c++ to the base layer

Describe the package
I'd like to request the package gcc-c++ because it's required by the tree sitter etc. for nvim.
Image
All Images

We're only going to be removing devtools from the image, not adding more, sorry. neovim and treesitter seem to install and run fine via brew, am I missing something?

Yeah it was something that was related to lazyvim, did a clean install separately, and it worked. Closing this issue.


training issue

Hello, I started training again from 0 and iterated 500,000 iters to get the checkpoint and tested it. The average PSNR I got was only about 21, which is different from the checkpoint result you gave. What went wrong?

How can I adjust to solve this problem.

Thank you very much for your answer, I will try it.


Error at optax model init

JAX newbie here. Trying to port the PyTorch MNIST example but I'm getting an error during model init.
model = Net(jax.random.PRNGKey(seed))
optim = optax.adam(lr)
opt_state = optim.init(model) # error at this line

TypeError: zeros_like requires ndarray or scalar arguments, got <class 'jax._src.custom_derivatives.custom_jvp'> at position 0.

My best guess is that this might be due to filtering. But I wasn't able to figure it out how to make this work using optax.
It throws the error at the first jax.nn.relu layer.
class Net(eqx.Module):
    layers: list

    def __init__(self, key):
        keys = jax.random.split(key, 4)
        self.layers = [
            eqx.nn.Conv2d(1, 32, 3, 1, key=keys[0]),
            jax.nn.relu, # fails here
            eqx.nn.Conv2d(32, 64, 3, 1, key=keys[1]),
            jax.nn.relu,
            eqx.nn.MaxPool2D(2, 1),
            eqx.nn.Dropout(0.25),
            jnp.ravel,
            eqx.nn.Linear(9216, 128, key=keys[2]),
            jax.nn.relu,
            eqx.nn.Dropout(0.5),
            eqx.nn.Linear(128, 10, key=keys[3])
        ]

    def __call__(self, x):
        for layer in self.layers[:-1]:
            x = layer(x)
        output = jax.nn.log_softmax(x, axis=1)
        return output

What am I doing wrong?

See the FAQ:
https://docs.kidger.site/equinox/faq/#optax-is-throwing-an-error

Damn, can't believe I missed that. Thanks!


feat: groups and title

Codecov Report

Merging #35 (0f935ab) into main (d9322d1) will decrease coverage by 1.53%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
- Coverage   48.56%   47.03%   -1.54%
==========================================
  Files          28       28
  Lines        1011     1044      +33
==========================================
  Hits          491      491
- Misses        486      519      +33
  Partials       34       34

Flag
Coverage Δ

unittests
47.03% <0.00%> (-1.54%)
:arrow_down:

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

Impacted Files
Coverage Δ

encoding/svg/encoder.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


[INLONG-4576][Manager] Use Junit5(Jupiter) to replace junit4

Prepare a Pull Request

Fixes #4576

Motivation
It's time to upgrade Junit version ,It provides more functions
Modifications

Manager unit-tests
Maven dependencies

The current branch has code unrelated to the Junit upgrade, which will be corrected later


RedisCluster execute scan command  just on the connect node!

Feature Request
when I execute scan command,I fund that the result just include the keys in the client that it connect ed.How can I get all the keys on the Cluster.
The sample is as follows：
` public RedisFuture<KeyScanCursor<byte[]>> scan() {
return redisTemplate.execute((RedisCallback<RedisFuture<KeyScanCursor<byte[]>>>) connection -> {
//Set keys = Sets.newHashSet();
        if(connection.getNativeConnection() instanceof RedisAdvancedClusterAsyncCommands){
            RedisAdvancedClusterAsyncCommands redisAsyncCommands = (RedisAdvancedClusterAsyncCommands) connection.getNativeConnection();
            ScanArgs scanArgs = new ScanArgs();
            scanArgs.limit(10000L);

            RedisFuture<KeyScanCursor<byte[]>> redisFuture = redisAsyncCommands.scan(scanArgs);
            return redisFuture;

        }
        return null;
    });
}`

I would like get all the keys in the cluster！

RedisAdvancedClusterAsyncCommands implements a cluster-wide scan when using the scan(…) method. Calling scan(…) with the resulting ScanCursor will give you the desired result.

@mp911de
We have a cluster with 100 nodes and want a parallel scan over the nodes.
Is there any approach to start 100 threads, each thread contains a scan connected to a single node to avoid intersection?
Thanks.


NO-ISSUE: Bump vscode-extension-tester version

Tentative to fix test failures occurring when running vscode-extension-tester

Duplicate of https://github.com/apache/incubator-kie-tools/pull/2669


feat(autoware_adapi_v1_msgs): add route following check option

Description
Add option for route change API. See https://github.com/autowarefoundation/autoware-documentation/pull/602 for details.
Tests performed

Not applicable.
Effects on system behavior

Not applicable.
Interface changes
None (only add message field)
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@isamu-takagi Thank you! Let me ask a question, does the allow_while_using_route have a default value, or all functions which are using this message can handle the merged message?

@sasakisasaki The default value is false.


Fix some minor mistakes in UG

Codecov Report

Merging #349 (6e87f99) into update-ug (70d5391) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             update-ug     #349   +/-   ##
============================================
  Coverage        56.04%   56.04%
  Complexity         660      660
============================================
  Files              130      130
  Lines             2821     2821
  Branches           351      351
============================================
  Hits              1581     1581
  Misses            1107     1107
  Partials           133      133

Impacted Files
Coverage Δ
Complexity Δ

...c/main/java/trackitnus/model/lesson/DayOfWeek.java
57.89% <0.00%> (ø)
3.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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


I want to format my data

the data like this  {"name":"name","state":1}
I want to show data like this {"name":"name",state:"true"}
I use filterFunction attr but not show true
Excuse me what should I do?

Hey @xianrui, this is not documented (looks like missed from the documentation!) but there is a valuePrepareFunction property on the column, so that you could specify a formatter for a value before it will be inserted in a cell like this:
{
your_column: {
  title: 'some',
  valuePrepareFunction: (value) => { return value === 1 ? 'true' : 'false' }
}
}

It's Very Good !
This is what I want!
Thank you very much!

@xianrui glad it helped!

Hey

Is there a way I can process the  filter value before sending it to server data source ? I want to trim the column filter value i.e remove it's leading and trailing white space before it's sent to the server data source . I tried filterFunction but it's still making XHR request for blank string
Also can we specify the minimum letter at which the KHR request should start. Right now it makes the request to the server even for one letter. How can I change this behavior to only make request for atleast 3 letters?

Thanks

How can I deal with presenting multiple keys from the same object?
the source:
{
"id": "1",
"customer": {"name":"name","state":1}
}
I would want to do the following:
{
  id: {
    title: 'ID'
  },
  customer: {
    title: 'ID',
    valuePrepareFunction: (value) => { return customer.id }
  },
  customer: {
    title: 'ID',
    valuePrepareFunction: (value) => { return customer.state }
  }
}

BUT of course, I cannot do that since I am using duplicate column id\column name.
What is the solution?

Hi, guys. I've found the solution to @danaERadwin problem, and also mine!!
The trick is on the valuePrepareFunction() that receives TWO params, cell (value) and row (the complete object), so the solution is:
{
id: {
title: 'ID'
},
'customer.name': {
title: 'Name',
valuePrepareFunction: (cell, row) => { return row.customer.name }
},
'customer.state': {
title: 'State',
valuePrepareFunction: (cell, row) => { return row.customer.state }
}
}
I hope it's also fine for you!

Did you can find the solution for filterFunction? @jim060

compareFunction

still want the solution too...


Dart/Flutter package

Hi, thank you for making this awesome package.
As mentioned here, I used jxl-coder-swift in one of my app and made a Dart packge: https://github.com/awxkee/jxl-coder-swift/issues/5
I think it would be awesome if we could add Android support using this package
You might want to have a look: https://github.com/stephane-archer/flutter-jxl-coder
Thanks again for making this package

Hi,
Looks nice!
My knoweldge of flutter a little limited by launching Hello World somewhere in ~2017, but sure, you can use this repo for your project.


Add option to hide label

I wouldbe great if you could an a config checkbox to decide whether to hide label (doctype property) or not, so you can use full width.
e.g. like Nested Content does:

Closing this issue as @bjarnef's  pull request  now have been merged.


Adding three PNR datafiles.

45031 is --, 45032 is ++, and 45033 is +-. All files have a temperature sensor and magnetic field sensor.

@ohcpaull can these files be used for the PNR reduction tests as well? It'll just make things easier if they are.
In future it'll be better if you make a feature branch rather than submitting a PR from the master branch in your fork.

@andyfaff Good point - these don't include direct beams as well. In me trying to learn git workflows I managed to make the branch, add files, then merge it to my forked master before the pull request - which I now realise doesn't make too much sense. I will close this request, include all necessary files and create a new one.

Workflow

Fork the repo on github.
Clone your fork to your harddrive (git clone).
Create a feature branch and check it out (git checkout -B my_feature_branch).
Make the changes.
Add any new files (git add).
Commit them with a sensible message (git commit -a -m commits all changes).
Push to your fork (git push origin my_feature_branch).
Navigate to the upstream repo on the github website and submit a PR.


stdlib: Add feature gema(gem5 extended modules api)

Update: October 30, 2024
I've completely redesigned gema to utilize RPC (Remote Procedure Calls) to enable gem5-like scripts to remotely control gem5 via external applications. See the README.md for more details.
In an effort to extend and maintain gem5 standardized interfaces, we introduce gema: the gem5 external modules api. Building upon the standard library, gema enables a simple HTTP interface to configure, manage, and execute gem5 simulations from any external program.
Currently, gema is being used to develop a gem5 graphical interface, but could be utilized by any other program through the API endpoints. We've included example host and client python scripts under configs/example/gem5_library/gema.
Please visit our git repo: https://github.com/amanley97/gEMA for extended documentation.
Change-Id: Iba2f461a3de7bd99d21bcf8aeb4837f5dbef1a4a

@powerjg @BobbyRBruce

I have a few small comments on the code, but I haven't done a thorough reviews.
Overall, this is an interesting idea. Below I have some other thoughts.
* I worry a little about the long-term maintainability of the code. My suspicion is that it's not going to be the main way people interact with the simulator, so I worry that as bugs creep in they won't be caught.

I agree that it could be difficult to maintain, that's why we tried to create a standardized format for all the endpoints. Ideally, the interface would be dynamic and update along with the standard library. Perhaps adding tests could aid in maintainability too.

* I wonder if it's possible to use python instead of json to create/configure boards. I don't really like the json interface. It's very rigid and very difficult to extend.

The json examples are just to show the format, using python we can send dictionaries as configurations. I do agree that it is rigid, but isn't that the idea of standardized interfaces? I'm definitely open to other ideas though.

* Generally, the idea of having a server backend like this (when paired with mutltiprocessing) is super cool.

The multiprocessing util actually made it a lot easier to implement.

* I wonder how the new mutlisim support relates.

I think this would be a very good use case for the interface, if you could have another program acting as a simulation manager that could start many simulations at once.

Thanks for the contribution! I look forward to continued discissions. I apologize for it taking a while for me to respond.

I think we need something i can read if i stumble across this code later and need a refresher on what it does. Just something which provides:

An explanation of what gema is and why it's useful (basically if i stumble upon this code i want to find someting I can read to see what it's for).
A tutorial demonstrating how to use it it in various usecaes.

A well placed README would do. The more details the better.
My biggest worry here is, frankly, people forgetting what this code does and just leaving it there untouched and unused.
I haven't played with this yet (i'd like some tutorials to follow if possible) but it seems interesting.
I do share concerns of maintainability but i think you've done a good job in this case of extending rather than modifying gem5. To be frank, if this ever begins to "rot" it can easily be cut out. I hope it can be maintained and expanded upon but my thought process here is if (worst case) this becomes unmaintanable, or maybe even goes unused, there are quick and easy points to remove it.
"Upside unknown and downside minimal" code normally gets a thumbs up from me.
One big thing which would give this a longer shelf-life is adding some tests. Unit tests would be great but even if not, is just running these examples configs a good test of behavior? We could incorporate these into our test suite.

I think we need something i can read if i stumble across this code later and need a refresher on what it does. Just something which provides:

An explanation of what gema is and why it's useful (basically if i stumble upon this code i want to find someting I can read to see what it's for).
A tutorial demonstrating how to use it it in various usecaes.

A well placed README would do. The more details the better.
My biggest worry here is, frankly, people forgetting what this code does and just leaving it there untouched and unused.
I haven't played with this yet (i'd like some tutorials to follow if possible) but it seems interesting.
I do share concerns of maintainability but i think you've done a good job in this case of extending rather than modifying gem5. To be frank, if this ever begins to "rot" it can easily be cut out. I hope it can be maintained and expanded upon but my thought process here is if (worst case) this becomes unmaintanable, or maybe even goes unused, there are quick and easy points to remove it.
"Upside unknown and downside minimal" code normally gets a thumbs up from me.
One big thing which would give this a longer shelf-life is adding some tests. Unit tests would be great but even if not, is just running these examples configs a good test of behavior? We could incorporate these into our test suite.

Hey @BobbyRBruce, just to keep you informed on what's happening with the PR, I will definitely add the points you make here... After some discussion with @powerjg at the gem5 bootcamp 2024, I am working to make the tool better in the gem5 context. Along with the JSON input method, I am also implementing RPC so that remote function calls can be written like a typical gem5 script.
Best,
Alex

Update: October 30, 2024 I've completely redesigned gema to utilize RPC (Remote Procedure Calls) to enable gem5-like scripts to remotely control gem5 via external applications. See the README.md for more details.
In an effort to extend and maintain gem5 standardized interfaces, we introduce gema: the gem5 external modules api. Building upon the standard library, gema enables a simple HTTP interface to configure, manage, and execute gem5 simulations from any external program.
Currently, gema is being used to develop a gem5 graphical interface, but could be utilized by any other program through the API endpoints. We've included example host and client python scripts under configs/example/gem5_library/gema. Please visit our git repo: https://github.com/amanley97/gEMA for extended documentation.
Change-Id: Iba2f461a3de7bd99d21bcf8aeb4837f5dbef1a4a

@powerjg @BobbyRBruce Please checkout my updates for gema, I've included a README as requested.

Thanks for the updates @amanley97! I look forward to reviewing carefully.
Unfortunately, due to other priorities, we probably won't be able to spend much time on this change until after the 24.1 release (in 2-3 weeks). Hopefully, after the Thanksgiving holiday we can pick this change back up.


release of 1.0? (quesiton)

Can we get a release on the latest version.

SAX was just approved on Modrinth. It is currently pending approval on CurseForge, and will probably be available in a couple of days.


Add failing ContentFrame test

See issue #1945

It looks like the frame gets detached for no reason

Can you see if you get the same in puppeteer in node?

Node works like a charm:
require('puppeteer').launch({ headless: false }).then(async browser => {
  const page = await browser.newPage()
  await page.goto('http://localhost:8081/frame-example.html')
  const elementHandle = await page.$('iframe')
  const frame = await elementHandle.contentFrame()
  const content = await frame.content()
  console.log(content)
  await browser.close()
})

Good catch @Androbin

Fixed on https://github.com/hardkoded/puppeteer-sharp/pull/1979


Wrong examples of eval_xc function

Hello!
At function https://github.com/pyscf/pyscf/blob/f985dde7358409e4e71095575172327af795a6cb/pyscf/dft/libxc.py#L1669 there is an example of implementation of eval_xc function: https://github.com/pyscf/pyscf/blob/f985dde7358409e4e71095575172327af795a6cb/pyscf/dft/libxc.py#L1701-L1707
One can think, based on this example, that vrho is derivative from exc with respect to rho.
So I've tried to reproduce LDA_X functional for water:
water = """
O        0.000000000      0.000000000      0.000000000;
H        0.000000000      1.434938863      1.126357947;
H        0.000000000     -1.434938863      1.126357947
"""
mol = pyscf.gto.M(atom = water, basis="6-31G", unit="Bohr")

from math import pi

factor = -3.0/4.0 * (3.0 / pi)**(1.0/3.0)
power = 4.0/3.0

def my_eval_xc(a,p):
    def eval_xc(xc_code, rho, *args, **kwargs):
        exc = a * rho ** p
        vrho = a * p * rho ** (p-1.0)
        vxc = (vrho, None, None, None)
        fxc = None  # 2nd order functional derivative
        kxc = None  # 3rd order functional derivative
        return exc, vxc, fxc, kxc
    return eval_xc

mf = pyscf.dft.RKS(mol)
mf = mf.define_xc_(my_eval_xc(factor,power), 'LDA')
mf.kernel()

Result: -311.0600889240157
Let's compare with pre-defined LDA functional:
ks = dft.RKS(mol)
ks.xc = "lda,"
ks.kernel()

Result: -75.15470534035704.
The results is not the same. The reason is simple -- actually, vrho is NOT derivative from exc with respect to rho, but from exc*rho. Correct reproducing of LDA is:
def my_eval_xc_correct(a,p):
    def eval_xc(xc_code, rho, *args, **kwargs):
        exc = a * rho ** (p-1.0)
        vrho = a * p * rho ** (p-1.0)
        vxc = (vrho, None, None, None)
        fxc = None  # 2nd order functional derivative
        kxc = None  # 3rd order functional derivative
        return exc, vxc, fxc, kxc
    return eval_xc

mf_correct = pyscf.dft.RKS(mol)
mf_correct = mf_correct.define_xc_(my_eval_xc_correct(factor,power), 'LDA')
mf_correct.kernel()

And results: -75.154705340357.
So for functional from example exc = 0.01 * rho**2 leads to vrho = 0.01 * 3 * rho**2
The same error occurs in https://github.com/pyscf/pyscf/blob/f985dde7358409e4e71095575172327af795a6cb/examples/dft/24-define_xc_functional.py#L28-L47
Could you, please, fix it?

You are right, exc is the XC energy density. The example in the docstring need to be fixed.


App crashes when pressing "Pair" button

Describe the bug
The app crashes when pressing "Pair" button and location is not active on older android versions
To Reproduce
Steps to reproduce the behavior:

Use an Android device lower or equal to 9 version (Huawei P10 in my case)
Location deactivated
Hotspot paired before and present in the list
Press the "Pair" button

Expected behavior
App should not need location by that time or ask user location permission if necessary
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):

Device: Huawei P10
OS: Android 9
App Version 3.5.0

Additional context
Add any other context about the problem here.

Location permission is required to use bluetooth on android. The app should prompt for permission after you press the "Pair" button. I tested on a Samsung S6 with Android 7 and was unable to reproduce the crash.

@zboing see if you can reproduce this, or provide us with your wallet address so we can look for crash logs. otherwise we'll have to close this as unable to reproduce.

Location permission is required to use bluetooth on android. The app should prompt for permission after you press the "Pair" button. I tested on a Samsung S6 with Android 7 and was unable to reproduce the crash.

On Huawei phones users can cancel the location prompt and are able to press the Pair button after enabling bluetooth.

@zboing see if you can reproduce this, or provide us with your wallet address so we can look for crash logs. otherwise we'll have to close this as unable to reproduce.

My wallet address is: 142Tbz2kLTgwX2xW7yE9TZSfaHWKXneZvrRD7ziPQtRjH77UVXt
Below a piece of code when the crash occurrs:
2021-10-01 09:48:25.268 28218-28252/? E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
Process: com.helium.wallet, PID: 28218
com.facebook.react.common.JavascriptException: BleError: Location services are disabled, js engine: hermes, stack:
o@1:121452
anonymous@1:2513716
h@1:2513424
anonymous@1:2513272
anonymous@1:2517945
value@1:98324
value@1:108413
anonymous@1:106891
value@1:107857
value@1:106849
    at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:83)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
    at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151)
    at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
    at android.os.Handler.handleCallback(Handler.java:907)
    at android.os.Handler.dispatchMessage(Handler.java:105)
    at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
    at android.os.Looper.loop(Looper.java:216)
    at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
    at java.lang.Thread.run(Thread.java:784)

I just have the same issue. App just closes when pressing Pair.
tested on 2 devices
Oneplus 7 Pro with vendor Android 12
Pixel 6A with grapheneos Android 13


[Feature] FigureVideo and FigureVideoTwicpics components

🔗 Linked issue
#157
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Resolves #157
Add the FigureVideo and FigureVideoTwicpics components for an easy implementation of decorative videos (muted, loop, autoplay).
Playground
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have added tests (if possible).
[x] I have updated the documentation accordingly.
[x] I have updated the changelog.

It's all good @titouanmathis. Ready for review !


Support for webpack alias @

Can you add some documentation on this new feature?

Simply support webpack's @path mapping by replacing the @ character in the path with the src directory in the current directory through regular matching

@kola-web And you do not even respect the author by following their convention of using 2-spaces for 1 indentation. You used tab-char everywhere in this PR.

@kola-web您没有遵循他们使用 2 个空格进行 1 个缩进的约定。您在此 PR 中到处都使用了 tab-char。


add cvi coordinates to expired meetings

CVI coordinates will not work for expired Teams meetings, same as PSTN numbers. We need to clarify this to customers.

what is the usual timeframe before these changes are published? thank you

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

done
-Nancy
Microsoft Teams
Find me faster via Microsoft Teams
From: JohanFreelancer9 @.>
Sent: Monday, May 17, 2021 11:30 PM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness @.>
Cc: Nancy Forero @.>; Mention @.>
Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] add cvi coordinates to expired meetings (#7225)
@JohanFreelancer9 requested changes on this pull request.
Copy review - @NancyForerohttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FNancyForero&data=04|01|naforer%40microsoft.com|7fef7d6baf5f4d8022b808d919c66775|72f988bf86f141af91ab2d7cd011db47|0|0|637569162197871288|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=1Ue1O6w8t41b68ssgnOnP%2FLS%2B6vItpAVLr4v%2FCECTWA%3D&reserved=0, could you please commit my minor edit? Many thanks.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fpull%2F7225%23pullrequestreview-661685559&data=04|01|naforer%40microsoft.com|7fef7d6baf5f4d8022b808d919c66775|72f988bf86f141af91ab2d7cd011db47|0|0|637569162197881288|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=JoxvJ9QE5wrhqEt%2FYPROPLQ%2FpBCBukIAgUIExLk9CMI%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPD5I5322OQO4G4DG227DJTTOICPTANCNFSM4446XP5Q&data=04|01|naforer%40microsoft.com|7fef7d6baf5f4d8022b808d919c66775|72f988bf86f141af91ab2d7cd011db47|0|0|637569162197881288|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=QSxdG1QNamnRun%2FP5rSEqMrllmwx4wQRTBrtWf1w1Zg%3D&reserved=0.

@SerdarSoysal PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Added images pages support

Added '/imghp' and 'images.google' to affected pages.
Replaced vector logo on images search page with image.

worked on stuff together in person, big re-write, closing


feat: support detail only in doc window

Resolves #142
Adds support for displaying item.detail on its own inside the documentation window when item.documentation isn't present.
Not sure if we would want an option for this or not. Open to feedback 🙂

Thanks!


Allow setting table class

Allow styling of the table with other table classes. E.g. BS3 table-striped

Please, this, now.

Please, this, now. :(

Sorry, for some reason I don't get email notifications about this repo. Very frustrating. Just merged your PR.

This was merged into the git code, but was not released to Atmosphere. So I'm unable to use this feature,  unless I clone this package into my meteor project locally.
Which is OK for me at this point. Just letting you know.

@droka - I have the same problem. @ephemer can you release the last version on Atmosphere? I need to use these package in production?


Pock stops when in screen lock / sleep mode

Describe the bug
Pock is gone after sleep mode / screen lock.
How to reproduce
Steps to reproduce the behavior:
1. Run pock
2. Wait for screen lock - do not touch anything
3. Log in again
4. See no pock bar but the original

Expected behavior
Pock still there
Versions:

macOS version: [e.g. 11.2.1
Pock version:  [e.g. 0.8.1-5

I'm also able to trigger this when I use the Lock item on the ControlCenter Pock widget, although I have to wait for the screen to sleep and a random amount of time (not sure how long) before Pock disappears. Quite often when this happens Pock will quit completely, but occasionally the system process will still stay open.

I do not track how / when it stays alive so it seems it disappears as if it was random...

Exactly the same issue. Not every time, but quite a high chance when wake the M1 MBP from sleep, pock isn't there.
Pock version: 0.8.1-5
macOS: 11.2.1

Same as @kamusis I am facing this problem on macOS 11.2.1 with Pock 0.8.1-5

Looks like this problem happen a lot after updates to macOS 11 from macOS 10

I'm still on macOS 10.15.5 and I experience it too, since updating Pock to 0.8.1-5

This project may not continue to be developed, Apple has deprecated touch bar anyway.

Yep, same problem still. Is there an app that restarts chosen apps after waking up from sleep/lock?

Yep, same problem still. Is there an app that restarts chosen apps after waking up from sleep/lock?

double click CTR  after waking up from sleep/lock

double click CTR after waking up from sleep/lock

What the, does this enable/disable pock? There was a shortcut for this? Are you the developer of Pock?

double click CTR after waking up from sleep/lock

What the, does this enable/disable pock? There was a shortcut for this? Are you the developer of Pock?

No, I am not the developer, I just try to help you with my experience.
Following is my compromise approach for the similar issues:
"A compromise approach is to double click ctr key when it unexpectly switch to default layout.
By my painful test:
when logout and login in short time. Mac os will reset touchbar to the system dedault layout and Pock don't override system layout (however override with long time logout and login).
It also encounter this situation when unintentionally double click ctr key.
So getting used to Pock' function that double press ctr key to switch system layout and pock layout."

I'm still using Pock and this problem still persists. MacOS Ventura. Is there any chance to fix this?


3rd Hold Point fails to finish

Hey, I have created a custom map using this project and the unity package that comes with it. I was about to publish it, and then during testing we started seeing that every 3rd hold point fails to finish. We beat the hold point, but the yellow orb stays there, the music stays running, and the barriers are still up. We get the sound that it finished, and the voice telling us its over. But it is still running. This happens on the 3rd hold point every time, regardless of whether or not you beat any of them. So you can fail at them all too, and it still breaks at the end of the 3rd one. Does this make sense? I have tried everything I can think of and I cannot resolve. I also tried the debug scene as well, and it does the same thing. We have no other mods, and aside from this (which didnt happen until somewhat recently) there are no other issues.

Will investigate. Is this on Update 96 Alpha 1?

I was able to complete a 5-hold run of the debug scene on WurstMod v<IP_ADDRESS> (latest release) and H3VR Update 96 Alpha 1. I encountered all of the new encryption types, so those shouldn't be causing the problem.

If you are not using these versions of the mod and game, could you try reproducing the issue with these versions?
If you still experience the bug, can you please provide me with the log file (either copy it from the console window while the game is running, or find the most recent log in H3VR/h3vr_Data/output_log.txt)

Thanks for looking at it. I was afraid you were going to come back and tell me it works for you. The base map, and Monolith also work fine for me. But my map, and the debug map do not work anymore. They used to, so it’s frustrating. I can say we are using those versions. Definitely verified last night the game version. That’s easy to spot. I have checked the wurst version but I will triple check it again. But ya, feel pretty confident it’s correct too. I will locate the logs after work and attach here.
Thanks again for looking at it.

So, I grabbed the logfile. See below. I looked through it. Interestingly, it says I am loading WurstMod 1.3, but thats not possible. I have never even downloaded that version, and I most certainly downloaded the 1.4 version and installed it. So what gives?
output_log.txt

Ignore the <IP_ADDRESS>, that's just because I forgot to bump the version number when I released <IP_ADDRESS>. Heh.
I don't see any errors in the log, which is concerning. I've fixed an issue similar to this in earlier development, but it always produced an error. The log file you provided came from a session where the bug occurred, correct?

No, that was not a log file that included the error. I am getting ready to invoke the error now. Will post the logs shortly.

Ok, thanks for pointing me at that logfile. Once I found that, I found the error. It was as below...
ArgumentOutOfRangeException: Argument is out of range. Parameter name: index   at System.Collections.Generic.List1[UnityEngine.Transform].get_Item (Int32 index) [0x00000] in :0
at FistVR.TNH_SupplyPoint.SpawnTakeEnemyGroup () [0x00000] in :0
at FistVR.TNH_SupplyPoint.Configure (FistVR.TNH_TakeChallenge t, Boolean spawnSosigs, Boolean spawnDefenses, Boolean spawnConstructor, SupplyPanelType panelType, Int32 minBoxPiles, Int32 maxBoxPiles) [0x00000] in :0
at FistVR.TNH_Manager.SetPhase_Take () [0x00000] in :0
at FistVR.TNH_Manager.SetPhase (TNH_Phase p) [0x00000] in :0
at FistVR.TNH_Manager.HoldPointCompleted (FistVR.TNH_HoldPoint p, Boolean success) [0x00000] in :0
at FistVR.TNH_HoldPoint.CompleteHold () [0x00000] in :0
at FistVR.TNH_HoldPoint.Update () [0x00000] in :0 `
I determined this means I need more spawnpoints for enemies in the Supply Points. The prefab only has 4, and I am betting that was fine until the recent update 95 that added zombies to TNH. But I am betting it needs more now. The game appears to increment the spawns at the supply points after each Hold. Hopefully there is a ceiling.
I am also betting your local has more than that also. Which is why your local debug level works and mine that I generated from the package does not.
I have my code working now and can proceed with fine tuning and publish out. I have a few suggestions for you to improve the usage and avoid this issue for others as well

I didn't know the log file existed, so I might suggest it would be good to add that to the readme so other developers can troubleshoot on their own like I did once I found it.
Your readme mentions at least 9 defenders for Hold Points, but it needs to mention same for Supply Points as well I think. That is how I solved this.
Do we know what the real limit is? And I just gotta know (how did you even find out what the limit is?) What are you looking at to determine how the game works to be even able to build out this WurstMod? Curiosity is killing me... :-)

Thanks for the analysis, definitely saved me some time! I will have to think about ways to make everything more resilient to changes in spawn counts like this for 2.0. It makes sense that a new character would come around that spawns more enemies than was previously supported.
I'm not sure what the solution will be, but I'd like to effectively remove the minimum as a consideration for map developers. The less to think about, the better.
As for your other questions:

That's a good point. Documentation is very lacking. Nathan's been helping a lot with that, but we could always use more. Adding it to the list.
With any luck, I will find a solution that removes this complexity altogether.
I think I dug it up at one point, but it has obviously changed as new functionality was added to the base game. Again, going to try and come up with a bulletproof fix. All of this reverse engineering was done with decompiled Unity assets and scenes. A bit of a gray area so I'd rather not provide a step-by-step.

(Hopefully) fixed in WurstMod 2


interaction with Android system UI soft keys

I have installed the PWA on both a phone and a tablet.
The tablet doesn't have any hard buttons / keys at all. The Android system keys for back, home/desktop and the (recently) running apps are all soft keys. Normally they appear at the bottom of the screen & the area used by the app is reduced accordingly. When the DVB-I reference client is running, the 3 soft keys are not shown & the reference app takes over the entire screen. The soft keys are inaccessble & you're basically trapped in the DVB-I reference app. The only thing that can be accessed is the notifications & setttings & if you've got a notification then you can switch to that app & escape.
The phone has the same behaviour (soft keys not shown) but it also has a single hard button that causes the soft keys to be shown as an overlay.
This may be a feature of how PWA apps work but if there's an easy fix, please consider enabling the Android soft keys. If there's not an easy fix then please document it.

I have a phone with hard keys so I didn't notice this.
The soft keys in Android 10 (following the AndroidOne spec) are accessed by swiping from right. This is a little bit awkard but you are not "trapped" in the app.

I agree this is my lack of familiarity with a detail of Android.


[flutter_markdown] API documentation points to a non-existing GitHub issue

Steps to Reproduce

Got to pub.dev
Find flutter_markdown package (https://pub.dev/packages/flutter_markdown)
Go API Reference (https://pub.dev/documentation/flutter_markdown/latest/)
Look for type MarkdownListItemCrossAxisAlignment (https://pub.dev/documentation/flutter_markdown/latest/flutter_markdown/MarkdownListItemCrossAxisAlignment.html)
In Constant / baseline , there is a link to https://github.com/flutter/flutter_markdown/issues/311

See https://github.com/flutter/flutter_markdown/issues/311 for cases, where this might be a problem for you.

This link points to a 404 error page on GitHub.
My assumption is that the flutter_markdown package now lives inside of the flutter repo (at least the link to "Report an issue" from pub.dev points there, but code seems to be here https://github.com/flutter/packages/tree/main/packages/flutter_markdown) and the issues have been moved, so this link somehow got broken.
I'm actually encountering an issue related to that baseline property and was looking for some extra context and history, but the link failed me.
Thanks in advance :)

I can't seem to find any reference to that issue. But we might need to make sure all the links are updated, if necessary.
Another link that is broken is https://github.com/flutter/flutter_markdown/issues/169
Thanks for reporting this.

@Hixie Do you have access to the original repository to find out what the issues were?

Maybe this one #95398 is the same.

Here's a PDF archive of that original issue:
Markdown lists do not support intrinsic sizing · Issue #311 · flutter_flutter_markdown.pdf

Would it be better to host the contents of this issue somewhere in github as a markdown file that we can point to ?

I encountered this issue with this simple case:
SliverFillRemaining(
  hasScrollBody: false,
  child: Column(
    children: [
      ...
      MarkdownBody()
    ]
 ),

It seems I can't have MarkdownBody inside SliverFillRemaning because of this issue.

We should just fix the message to not point to a 404 page, and instead explain the problem inline in the error message.


Console: print values from single function calls

when an input is entered that could be interpreted as a single function call expression, its output should be printed, instead of printing nothing (this would be in line with the lua 5.3 repl but not the 5.1 one)

resolved by https://github.com/HeladoDeBrownie/Nexus/commit/2782f583daa3ceaad83201ba49fc3fe6b7e1bc15, which also allows general expression lists much like the lua 5.3 repl does

resolved by https://github.com/HeladoDeBrownie/Nexus/commit/2782f583daa3ceaad83201ba49fc3fe6b7e1bc15, which also allows general expression lists much like the lua 5.3 repl does


swagger-node is selecting wrong path for the request

Recently, we've upgraded swagger-express-mw and swagger-node-runner to 0.7.0. Looks like the upgraded version doesn't understand the difference btw /#uri-part#/{id} and /#uri-part#/docs.
And, started selecting /#uri-part#/{id} for requests sent for /#uri-part#/docs.
Post method is defined for /#uri-part#/docs. On receiving the request, it's selecting /#uri-part#/{id} and checking Post method on it.
Error: Path [/#uri-part#/{id}] defined in Swagger, but POST operation is not.
at middleware (C:\Workbench\workspace#application-name#\node_modules\swagger-node-runner\lib\connect_middleware.js:31:21)
at Layer.handle [as handle_request] (C:\Workbench\workspace#application-name#\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Workbench\workspace#application-name#\node_modules\express\lib\router\index.js:317:13)
at C:\Workbench\workspace#application-name#\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\Workbench\workspace#application-name#\node_modules\express\lib\router\index.js:335:12)
at next (C:\Workbench\workspace#application-name#\node_modules\express\lib\router\index.js:275:10)
at Busboy.busboy.on (C:\Workbench\workspace#application-name#\node_modules\express-fileupload\lib\processMultipart.js:170:5)
at Busboy.emit (events.js:203:15)
at Busboy.EventEmitter.emit (domain.js:448:20)
at Busboy.emit (C:\Workbench\workspace#application-name#\node_modules\busboy\lib\main.js:38:33)
at C:\Workbench\workspace#application-name#\node_modules\busboy\lib\types\multipart.js:52:13
at appd_proxy (C:\Workbench\workspace#application-name#\node_modules\appdynamics\lib\core\proxy.js:420:22)
at process._tickCallback (internal/process/next_tick.js:61:11)

#uri-part# and #application-name# - Our uri and application-name are replaced with.

I would try to reorder the declaration in your API doc. (See also: https://github.com/apigee-127/sway/issues/76)

I would try to reorder the declaration in your API doc. (See also: apigee-127/sway#76)

whitlockjc replied on 4th June 2018, https://github.com/apigee-127/sway/issues/76. I don't think that the fix is working.
I would try to reorder then and see. There should be a flexible solution. The reordering isn't the solution.

I would try to reorder the declaration in your API doc. (See also: apigee-127/sway#76)

whitlockjc replied on 4th June 2018, apigee-127/sway#76. I don't think that the fix is working.
I would try to reorder then and see. There should be a flexible solution. The reordering isn't the solution.

I can't reorder as well. I have Paths like /referral/{id}/notes, /referral/{id}/activities, /referral/activity/{activityId}, and etc., I guess, it doesn't work. I'll have to replace all the paths like /referral1/{id}/notes, /referral2/{id}/activities, /referral3/activity/{activityId}, etc,.

https://github.com/apigee-127/sway/commit/2ed7ed8f98227ec7a1bc3c5b56349654ef2bd33b#comments has the solution for the fix. swagger-node-runner should have sway-2.0.6 to have the issue fixed.


Giant Zombie Drops

Giant Zombie currently only drops iron blocks OR zombie scarecrow, when it should drop both

both bosses have path finding issues, and often go in circles while chasing the player


Type Error crashes promisify.

With the most recent grpc update the library now crashes with the error
TypeError: requestTypes[originalFunction.name] is not a function

Thanks for the input @LibertyBeta , I'll work on it as soon as possible

I've also run into this issue, thank you for creating this library @carlessistare.

I've also run into this issue, I am using version 1.4.1 of gRPC's Node dependency.
Thank you for creating this library @carlessistare
TypeError: requestTypes[originalFunction.name] is not a function
    at /.../node_modules/grpc-promise/lib/index.js:6:63
    at Array.forEach (native)
    at Object.promisifyAll (/.../node_modules/grpc-promise/lib/index.js:4:46)

Working on it @jrejaud thanks for your feedback


[Misc] centralize all usage of environment variables

An implementation of RFC https://github.com/vllm-project/vllm/issues/4407 .
Exceptions are:

Test code related environment variables, leave as they are
Modify/write to environment variables,  leave as they are
environment variables used in setup.py, when we cannot import vllm/envs.py . leave as they are

Oh can you do a follow up adding this to docs, you can use literalinclude directive (search this term in docs).


Implement client credentials with a certificate

The graph-oauth crate can perform client credentials with a shared secret. This issue is to add a way to do client credentials with a certificate. Previous ticket for this was #28

Done in pre-release 2.0.0-beta.0
Will be included in 2.0.0 stable release


Fix react key warning on Line components.

dataKey already had a natural key, so let's pull it out and use it for both to resolve the warning.

I'm not sure I understand. What is the warning, and how does extracting into a variable fix it?


Basic auth example

Hello there,
It would be interesting to see how I can pass authenticaiton credentials when using this library. Since there is no example anywhere and docs aren't clear on that matter, I'd like to ask this in the issue, which is not the best way (I think), but see no another option.
I've tried a couple of options with headers

setting it directly to SyncClientBuilder
setting it to reqwest ClientBuilder and then passing reqwest client to SyncClientBuilder
but neither was successful

Solution to the issue then may ideally lead to an example file in the repo :)

FWIW, here's an example, not necessarily the best example
let client = SyncClientBuilder::new()
    .static_node("https://es.example.com:9200")
    .params_fluent(|p| {
        p.header(
            AUTHORIZATION,
            HeaderValue::from_str(&format!(
                "Basic {}",
                encode(r#"username:password"#)
            ))
           .unwrap(),
        )
    })
    .build()
    .unwrap();

Thanks for the example @dcarosone! We could definitely wrap that up more nicely in the client so you don't have to fiddle with http headers yourself.

Closing in favor of #400 which has more info.

As of: #401 (6ed243570bb64fdf398cafe0518c5d9a02321c76) you can now do:
use elastic::client::SyncClientBuilder;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let http_client = reqwest::Client::builder()
        .danger_accept_invalid_certs(true)
        .build()?;

    let client = SyncClientBuilder::new()
        .static_node("https://localhost:9201")
        .http_client(http_client)
        .params_fluent(|p| p.basic_auth("admin", Some("admin")).unwrap())
        .build()?;

    println!("{:#?}", client.ping().send()?);

    Ok(())
}


Mac M2 build error

Minimum reproducible example
The minium example to reproduce the error. Simpler examples make it easier and faster to fix!
cargo build --release -F metal

Error
   = note: the matched value is of type `quantized::GgmlDType`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
    |
105 ~             },
106 +             quantized::GgmlDType::BF16 => todo!()
    |

error[E0004]: non-exhaustive patterns: `quantized::GgmlDType::BF16` not covered
   --> /Users/user/.cargo/git/checkouts/candle-c6a149c3b35a488f/f706ef2/candle-core/src/quantized/metal.rs:229:15
    |
229 |         match value {
    |               ^^^^^ pattern `quantized::GgmlDType::BF16` not covered
    |
note: `quantized::GgmlDType` defined here
   --> /Users/user/.cargo/git/checkouts/candle-c6a149c3b35a488f/f706ef2/candle-core/src/quantized/mod.rs:145:10
    |
145 | pub enum GgmlDType {
    |          ^^^^^^^^^
...
148 |     BF16,
    |     ---- not covered
    = note: the matched value is of type `quantized::GgmlDType`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
    |
243 ~             GgmlDType::F32 => candle_metal_kernels::GgmlDType::F32,
244 ~             quantized::GgmlDType::BF16 => todo!(),
    |

For more information about this error, try `rustc --explain E0004`.
error: could not compile `candle-core` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

Latest commit or version
8ddf2581bd579a6044bde048ac11d7a473d81792

@trickster thanks for reporting this. I think #719 should fix this, can you please run:
git pull
git switch metal_build_quant

And try to build again?

It did not fix it for me

@jawshoeadan do you have the same error?

@EricLBuehler
In f17f113/candle-metal-kernels/src/lib.rs on line 1963, you had a typo, you need to use GgmlDType::BF16 instead of using F16 twice

So, after I fixed it locally,
cargo build --release --features metal
./target/release/mistralrs-server -i plain -m microsoft/Phi-3.5-mini-instruct -a phi3

This works and loads all the layers, but it's not on GPU and the inference is insanely slow. Do you know why?
Also trying to use gguf
./target/release/mistralrs-server gguf --quantized-model-id bartowski/Phi-3.5-mini-instruct-GGUF --quantized-filename Phi-3.5-mini-instruct-Q3_K_M.gguf

I get this error
024-08-29T07:21:30.777851Z  INFO mistralrs_core::pipeline::paths: Using literal chat template.
2024-08-29T07:21:30.812018Z  INFO mistralrs_core::pipeline::chat_template: bos_toks = "<s>", eos_toks = "<|endoftext|>", unk_tok = <unk>
2024-08-29T07:21:30.812932Z  INFO mistralrs_server: Model loaded.
thread 'main' panicked at mistralrs-server/src/main.rs:460:26:
Expected port to be specified.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@trickster thanks for letting me know. #719 has been updated accordingly.

This works and loads all the layers, but it's not on GPU and the inference is insanely slow. Do you know why?

So, it's not using the GPU at all? Can you please attach the full output of running the model?

The gguf models work, but for some reason chat_template is not applied?

Perhaps the chat template is incorrect? I just merged #734 which adds the Phi 3.5 chat template, but perhaps using the GGUF builtin template or sourcing the tokenizer and chat template from the official HF repository would be beter.
The following works:
cargo run --features cuda -- -i gguf -m ../gguf-models/ -f Phi-3.5-mini-instruct-Q4_K_M.gguf -t microsoft/Phi-3.5-mini-instruct

But I can reproduce the issue with the GGUF tokenizer.

@trickster I'm closing this as the build error is incorrect. Can you please open a separate issue with the GGUF template behavior?


Chromium bugs have been fixed

Both bugs have been marked as fixed.

...since Chrome 52

Thanks!


Reconsider griefing collateral recipient

Now that we have the vault capacity model change, vaults are no longer negatively impacted by receiving issues that do not get executed. As such, we may want to consider slashing the griefing collateral of failed issues to either the vault reward pool, or to treasury

@sander2 we actually specifically changed this because of the vault capacity model change, see this PR: https://github.com/interlay/interbtc/pull/820

@sander2 we actually specifically changed this because of the vault capacity model change, see this PR: #820

My bad, closing


Markdown: dynamic links preview

Jira

rehypeReactOptions={{
    components: {
      p: (props) => <p className="custom-paragraph" {...props} />,
    },
  }}

At this moment we have a few problems to get JIRA meta-information to render preview

Simple GET request to https://jira.atlassian.com/browse/TICKET-1 has CORs error for getting from client. If we are going to send request from server-side proxy, we have an authorization problem (third side cookies access problem)

JIRA has the rest api https://jira.atlassian.com/rest/api/latest/issue/TICKET-1 which should return all information we need, but we have the same problem with CORs and cookies

Some iframe magic: it's blocked by CSP policy. Refused to frame 'https://jira.sberdevices.ru/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".

For current moment we decided to take a break to generate better solution


Tabs doesn't show up in 2.0.8

In Native Base v2.0.8 the tabs are not showing up right above the header with the hasTabs property.
In the master branch it is working.
Do you, guys, plan to release the fix in the next release?
Thank you.

We have already released 2.0.10

Nice one! :)


digitaltrends.com

::: /etc/pihole/list.41.hosts.ubuntu101.co.za.domains (1 results)
<IP_ADDRESS> digitaltrends.com

Thanks @xxcriticxx these fixes have all been addressed in today’s update, should all be ok now :+1:


Added support for escaping message and title.

Added support for automatically escaping toastr title and message to prevent XSS vulnerabilities when showing toast's. To not break backwards compatibility escaping is optional and disabled by default.
To enable escaping you can either set global option or toggle escaping on or off when showing toastr.
Set escaping on by default:
toastr.options.escapeHtml = true;
toastr.success('Hello!');

Enable escaping for single toast:
toastr.success('Hello!', null, { escapeHtml: true });

This issue is has been raised before but was marked as wontfix because it would be breaking change. In this pull https://github.com/CodeSeven/toastr/pull/164 it was suggested that this is optional.
Related issues/pull requests:
https://github.com/CodeSeven/toastr/pull/83
https://github.com/CodeSeven/toastr/pull/164
https://github.com/CodeSeven/toastr/issues/152

Closed due to lack of response.


Remove useless return value of gc task function

Signed-off-by: SataQiu<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Remove useless return value of gc task function
Ⅱ. Does this pull request fix one issue?

#845
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/assign @yeya24

Codecov Report

Merging #930 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #930   +/-   ##
=======================================
  Coverage   46.75%   46.75%
=======================================
  Files         112      112
  Lines        6649     6649
=======================================
  Hits         3109     3109
  Misses       3291     3291
  Partials      249      249

Continue to review full report at Codecov.

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

@SataQiu Could you please rebase code and update it. And then push --force again.

Done :) @Starnop

LGTM.


pretrained/pytorch_model-00001-of-00003.bin FileNotFoundError

Hi, thank you for this model!
I am trying to build this app and getting this error message:
File "/home/ChatDoctor-main/env_doct/lib/python3.11/site-packages/transformers/modeling_utils.py", line 2939, in _load_pretrained_model
state_dict = load_state_dict(shard_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ChatDoctor-main/env_doct/lib/python3.11/site-packages/transformers/modeling_utils.py", line 418, in load_state_dict
with open(checkpoint_file) as f:
^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: './pretrained/pytorch_model-00001-of-00003.bin'
Already filled this form: link.  :
https://forms.office.com/Pages/ResponsePage.aspx?id=lYZBnaxxMUy1ssGWyOw8ij06Cb8qnDJKvu2bVpV1-ANUMDIzWlU0QTUxN0YySFROQk9HMVU0N0xJNC4u
Can you please share this file 'pytorch_model-00001-of-00003.bin'
thanks in advance

Hi @Kent0n-Li
Can you please provide the  file "pytorch_model-00001-of-00003.bin"
Already filled the requested form. Thank you very much for the great work.

Have you obtained the file you need?


Feature Request: Fulltext Index for Array Values

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ ] 2.8
[ ] 3.0
[ ] self-compiled devel branch

On this operating system:

[ ] DCOS on

[ ] AWS
[ ] Azure
[ ] own infrastructure

[ ] Linux

[ ] Debian .deb
[ ] Ubuntu .deb
[ ] SUSE   .rpm
[ ] RedHat .rpm
[ ] Fedora .rpm
[ ] Gentoo
[x] docker - official docker library
[ ] other:

[ ] Windows, version:
[ ] MacOS, version:

this is an AQL-related issue:
[ ] I'm using graph features
I'm issuing AQL via:

[ ] web interface with this browser:     running on this OS:
[ ] arangosh
[ ] this Driver:

Hey guys!
I saw that we can use this kind of field to index a value inside an array:
aliases.de[*].value

I tried it for the fulltext index but it didn't work. Is there any reason for this or do you plan to implement this feature in future?
Example JSON I want to create the index for:
{
   "aliases":{
      "de":[
         {
            "language":"de",
            "value":"Weltall"
         },
         {
            "language":"de",
            "value":"Das All"
         },
         {
            "language":"de",
            "value":"Der unglaublich faszinierende Kosmos"
         },
         {
            "language":"de",
            "value":"Der tiefe weite Weltraum"
         }
      ]
   }
}

Thank you very much! :)

Do you have any update on this feature? this used to work in arango 2.8

Hi!
@gnusi and @vasiliy-arangodb are currently working on integrating the IResearch engine into arangodb.
Their work can be found in the feature-iresearch branch.
https://github.com/arangodb/arangodb/tree/feature-iresearch
We currently estimate its going to be ready for ArangoDB 3.4 (Q1 2018)
If you want to give it a try, you can checkout this branch by doing
git clone https://github.com/arangodb/arangodb.git
cd arangodb
git checkout feature-iresearch

compile debian packages  like this:
./scripts/build-deb.sh
or RPMs:
./scripts/build-rpm
The documentation is being created in
Documentation/Books/AQL/Views/IResearch.md
and
Documentation/Books/Manual/Views/IResearch.md
Feedback welcome ;)

Hello, how to create fulltext index for his array of object?
fulltext "aliases.de.value"
And how to user fulltext search?
FOR data IN FULLTEXT(aliases, ["de", "value"], "searchWord")
RETURN data
Is that correct?

FULLTEXT indexes support a single field only. The attribute value can be a string, array or object.

string: the string gets indexed
array: all strings get indexed, elements of other type are ignored
object: its attribute values get indexed as long as they are of type string
This applies to the first level only. Deeper nested objects are ignored, including arrays of objects.

If you want to index nested arrays and objects or multiple fields with a single index then use ArangoSearch:
https://www.arangodb.com/docs/stable/arangosearch.html


Refactor Functions List

The symbol view on the left hand side should be sortable by alphabetical order. It would also be nice to get a column view of what type of symbol it is.

This is part of the overhaul of that entire part of the UI that's coming in 1.2. There another issue that describes it as well I think, but appreciate the suggestion.

This will enable viewing import, exports and sorting.

Also FWIW you can see imports and exports in the triage view.

Version 1.1.1772 converts the "Functions" list to a "Symbols" list with the ability to toggle the visibility of "Imports", "Exports", "Data Variables" and "Functions". The list can also be sorted by address and by name.  A forth coming feature, the SymbolDetailsView will show lots of verbose information like function sizes, start address, symbol type, and more.


Document limitation of missing primary keys in join tables when using implicit relations and corresponding workaround

Join tables created by Prisma through implicit relation syntax do not have primary keys.
Databases can be configured to enforce the existence of primary keys in all tables. This is true for some cloud providers like DigitalOcean.
We should document this limitation and suggest an available workaround, which is using the explicit relation syntax, creating the join model and making sure this join model has a primary key.
Context: https://github.com/prisma/migrate/issues/596#issuecomment-701487236

This limitation came up on Slack again: https://prisma.slack.com/archives/CA491RJH0/p1625592140192700

Notes for working this Issue:
--docs that likely need to be modified include:

https://www.prisma.io/docs/concepts/components/prisma-schema/relations/many-to-many-relations#rules-for-defining-an-implicit-m-n-relation
https://www.prisma.io/docs/concepts/components/prisma-schema/relations/troubleshooting-relations#how-to-use-a-relation-table-with-a-many-to-many-relationship
https://www.prisma.io/docs/guides/migrate-to-prisma/migrate-from-typeorm#implicit-many-to-many-relations
https://www.prisma.io/docs/concepts/components/prisma-schema/relations/many-to-many-relations/#conventions-for-relation-tables-in-implicit-m-n-relations

Hi @pavelruzicka and @albertoperdomo. I created PR #2468 to add info about this issue to the troubleshooting doc; feedback/tweaks welcome! I will add the same content to other areas in the docs, so look for more PRs on this.

Closing because PR from @tanberry


Abort abort abort.

This adds the abort session request action and all of the ancillaries for that.

:+1:

:+1:


run on edge or chrome error,how to solve it?

Waiting for connection from debug service on Chrome...
/C:/Users/luo/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/fetch_api-1.0.2/lib/src/iterator.dart:24:30: Error: @staticInterop classes cannot have external extension members with type parameters.
Try using a Dart extension member if you need type parameters instead.
external IteratorResult next();
^
Failed to compile application.

+1

切换到develop分支运行就好了


Fix enable_xdebug / disable_xdebug not fully working for apache-cgi

The Problem/Issue/Bug:
Due to the nature of apache-cgi we need an config reload to make php config changes work. Therefore running ddev exec enable_xdebug with apache-cgi as webserver turns on Xdebug only for the CLI and not for normal webserver requests.
How this PR Solves The Problem:
This adds an apache2 reload to the enable_xdebug and disable_xdebug bash scripts in case the current webserver is apache-cgi.
Manual Testing Instructions:
Use the containertest.sh which now checks if both the CLI and the webserver have Xdebug enabled/disabled after using the commands.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Wow, so impressive, you even went after the tests!  For this to work though we'll need to push a separate image.
Could you say a little about why you use apache-cgi? I didn't actually think anybody at all used that.

I pushed an image for you. Please push another commit that thanges the WebTag to 20191126_carstendietrich_enable_xdebug in pkg/version/version.go at https://github.com/drud/ddev/blob/f99c8db7f7b484739714e3ccfa892ae6246fce8c/pkg/version/version.go#L52

Hey @rfay,
thanks for the super fast response :) I updated the WebTag accordingly.
Why we use apache-cgi is a good question. We switched to DDEV for our Magento 2 project. For a simple kickstart we chose Apache, so we could rely on the existing .htaccess files instead of adding a custom nginx configuration. With apache-fpm we encountered several problems and therefore tried apache-cgi, which worked for us immediately.

I'm surprised. I'd encourage you to just try apache-fpm quickly one day (and with NFS if you're on macOS or Windows) and think you'll find a major speed boost. BTW, explicit magento support is on the way...


Is there a way to get more than one tagName?

I have succesfully made a instagram photowall that serves as a background. I would now like for that background to pull images from two tags. Does anyone know how I can accomplish this?

It doesn't seem possible even in the API - also, this StackOverflow article has the same answer...

Thank you for your reply greystate

@nickmblain @greystate even though the API doesn't support it, you can create multiple instances of Instafeed.js on a single page. See #12.


docs: migrate from nektos/act README & wiki

@catthehacker - ready for review?

Go for it @ChristopherHX


Make @host publicly accessible such as @port is in HTTP::Server

I would like to be able to access an http server's @host the same way I can access @port.
As of this moment, @host is a private variable of HTTP::Server and does not have accessor methods.
I would be happy to submit a PR if you find it suitable.

There is a draft for splitting http server and listeners in order to support binding to unix socket directly #2735. That could impact on the solution for this.
Note that the ip used to bind the server to is not the same as the ip of the server itself. <IP_ADDRESS> matching everything but not telling you the ip of the server.

@bcardiff I'll follow on #2735 and see what happens then. Thanks


Bump Dependencies #2221045390

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/2221045390

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


A libcurl function was given a bad argument (155 TIMEOUT_MS)

Only one similar bug report found in 2017 - this is NOT a recurrence of that.
All of a sudden (possibly after an automatic Insomnia upgrade?) I get
A libcurl function was given a bad argument (155 TIMEOUT_MS) on all GET requests
for local URL:  localhost:8001/account

Insomnia Version:  6.2.0
Operating System: Win 10

Details
I have re-installed Insomnia, created new (identical) requests and also rebooted my PC - all to no avail.
At the same time, GETs for the same URL from PostMan execute as expected.
Please advise!

See above side by side screenshot for more details

Looks like a recent update may have started failing with negative timeout values.
Can you check your Insomnia settings and make sure your timeout is set to either 0 or a positive number?

Hi Greg,
that was it - it sat at -1.
Cheers,
Kai
On Fri, Dec 14, 2018 at 10:19 AM Gregory Schier<EMAIL_ADDRESS>wrote:

Looks like a recent update may have started failing with negative timeout
values.
Can you check your Insomnia settings and make sure your timeout is set to
either 0 or a positive number?
[image: image]
https://user-images.githubusercontent.com/587576/50020089-e1084300-ffa2-11e8-9a8e-10ceae12910d.png
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/getinsomnia/insomnia/issues/1264#issuecomment-447409787,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARCHW6BKQ76KAjivtqlCJaN7Fqgw9oXpks5u4-u0gaJpZM4YkssK
.

Thanks for the confirmation. I have updated the code to convert all negative numbers to 0.