Two devices bug.

I kept getting this error:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument boundaries in method wrapper_CUDA_Tensor_bucketize)
So I modified the source code, and after a few errors like the above I got it to work.

@seblessa could you share a minimal reproducible example for the issue?
I think you will run into the above issue if the context data you pass to chronos is allocated to the GPU. Is that what you're doing? If so, just ensuring that the input batches you pass to the model live on CPU should make it work

I created this snippet. When I run this:
from chronos import ChronosPipeline
import pandas as pd
import torch

# Load the model and data
device = "cuda" if torch.cuda.is_available() else "cpu"
print(f"Using device: {device}\n")

FORECAST_HORIZON = 10

model = ChronosPipeline.from_pretrained(
    "amazon/chronos-t5-large",
    device_map=device,
    torch_dtype=torch.bfloat16
)

df = ...
TARGET = ...

for col in df.columns:
    if col != "Datetime":
        df[col] = pd.to_numeric(df[col], errors='coerce')

# Create the context tensor
context_tensor = torch.tensor(df[TARGET].tolist(), dtype=torch.float32, device=device)

# Generate forecast
forecast = model.predict(
    context=context_tensor,
    prediction_length=FORECAST_HORIZON,
    num_samples=100
)

# Convert forecast tensor to a numpy array and ensure it's 1-dimensional
forecast_values = forecast.mean(dim=0).cpu().numpy().flatten()

# Prepare the forecasted DataFrame
forecast_timestamps = pd.date_range(
    start=df["Datetime"].iloc[-1] + pd.Timedelta(minutes=1),
    periods=FORECAST_HORIZON,
    freq="1T"
)

forecast_df = pd.DataFrame({
    "Datetime": forecast_timestamps,
    "Global_active_power": forecast_values
})

# Keep other features NaN
for col in df.columns:
    if col != "Datetime" and col != "Global_active_power":
        forecast_df[col] = float('nan')

# Concatenate original data with forecast
result_df = pd.concat([df, forecast_df], ignore_index=True)

print(result_df.tail(20))

I get this:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument boundaries in method wrapper_CUDA_Tensor_bucketize)

@seblessa could you try to instead construct the context tensor as follows? (That is, omitting device)
context_tensor = torch.tensor(df[TARGET].tolist(), dtype=torch.float32)

That was it, thanks!


bug: placeholder in text editor will display out of the SectionShell when page is loading

Description
The text editor's placeholder will be displayer out of the loader when the resume page is loaded. Root cause is that we havn't set a min-height for text editor, so when the page is loading, the content of the text editor is empty, leading to a overflow of the text editor.
To Reproduce

Go to a resume form page
Reload the page

Actual Behavior
The placeholder in basic seciont's will display out of the loading overlay box, which is a overflow.
https://github.com/user-attachments/assets/8dd99b54-3144-4275-87c5-ee6b69202410
Expected Behavior
The SectionShell's loading overlay should cover the whole section, including the text editor.
[Optional] Screenshots
NA
Additional Context
NA

Fixed, preview:
https://github.com/user-attachments/assets/d5c27ddf-f40c-43de-8a78-4356cb5d6f81

Got a gap after setting min-height:

Fixed.


Adding double click support

on-dbl-click is the attribute name.
How's this look? I have a lot more features I want to make but I figured I'd start simple.

Any updates on this one?  This would be a super helpful feature.

will have to find the time to work on this. It is missing some features (the $ variables in the event handler and docs) and will have to go over the tests as well. Will try to do so soon

+1 for this. This is a great and sorely-missed feature.

I do not object merging this one, but the pool request does not have docs and it is missing some features (the $ variables in the event handler)

@yoavaa I actually don't mind submitting a fixed PR if you can tell me a little bit more about the $ variables you're looking for.

have a look at the events part in the docs. All the event handlers get a set of variables that can be used by the event handler.
This is how it is done for the on-selection event:
https://github.com/wix/angular-tree-control/blob/master/angular-tree-control.js#L217-L220
and for node toggle:
https://github.com/wix/angular-tree-control/blob/master/angular-tree-control.js#L168-L171


Fix intermittent test failure in hello-world-parallel BBE

Purpose

$subject

Fixes https://github.com/ballerina-platform/ballerina-lang/issues/13579

Codecov Report

Merging #13609 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #13609      +/-   ##
============================================
- Coverage        65%   64.99%   -0.01%
  Complexity      426      426
============================================
  Files          2116     2116
  Lines         93438    93517      +79
  Branches      12313    12337      +24
============================================
+ Hits          60736    60786      +50
- Misses        27792    27809      +17
- Partials       4910     4922      +12

Impacted Files
Coverage Δ
Complexity Δ

...allerinalang/net/jms/LoggingExceptionListener.java
50% <0%> (-50%)
0% <0%> (ø)

...llerinalang/compiler/tree/BLangSimpleVariable.java
73.33% <0%> (-18.34%)
0% <0%> (ø)

...ava/org/ballerinalang/model/types/BFutureType.java
33.33% <0%> (-11.12%)
0% <0%> (ø)

...java/org/ballerinalang/model/types/BErrorType.java
90.9% <0%> (-9.1%)
0% <0%> (ø)

...org/ballerinalang/bre/bvm/WaitCallbackHandler.java
81.08% <0%> (-2.71%)
0% <0%> (ø)

...llerinalang/stdlib/socket/tcp/SelectorManager.java
70.08% <0%> (-1.71%)
0% <0%> (ø)

...a/org/ballerinalang/bre/bvm/WorkerDataChannel.java
82.09% <0%> (-1.24%)
0% <0%> (ø)

...llerinalang/compiler/semantics/analyzer/Types.java
72.95% <0%> (-0.2%)
0% <0%> (ø)

...ng/compiler/semantics/model/types/BFiniteType.java
90% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...e/src/main/java/org/ballerinalang/bre/bvm/BVM.java
81.18% <0%> (ø)
0% <0%> (ø)
:arrow_down:

... and 2 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 7165e6d...582d91d. Read the comment docs.


Update analytics event code

Replace event code js on items page with new 'universal' analytics js

Fixed in #933.


API V2 Search

Ultimately, we're going to want to have a search endpoint that works within API v2 so that all access to functions are v2 and JSON API compliant. There are a lot of ways this could be designed and implemented, so it will require a proposal before any work is started.

This may also be a good time to rethink/restructure the elasticsearch mappings to make search more useful.

@brianjgeiger I would be very happy to work on this.


[WIP] Console panel

This is a 🙋 feature

This implements the 2nd panel for bankai start, showing console output from the server rendered app (don't know if there's anything else?).
SSR uses a separate Console instance, injected as a global console variable using require-with-global. That console writes to a stream which is saved by lib/ui.js. Pressing 2 in the bankai start TUI will switch to the console panel, which is an ansi-scrollbox that renders the saved console output. ansi-scrollbox still needs more features and optimization (it's currently probably very slow for many thousands of lines) but it does sort of work.
Checklist

[ ] tests pass
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added

Semver Changes
Minor

Oh neat! - do you by any chance have any screenshots for this? it sounds pretty great!

now i do!
Main view

Log view

The "Total size" is a bit strange in the tab bar when on the log view.
On initial build, all pages are server-rendered, so you get a lot of logs at once. It might be helpful to group them somehow. Or maybe we can somehow prefix each log line with the route name that generated it!


Added errors from Cloud API

Summary
Add the errors related to the Cloud API
Details and comments
Define the errors 1xxx to 3xxx related to the Cloud API.

 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.

 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.

@nonhermitian can you check it and merge it?

Once the trailing white spaces are removed I think this is good to go.

@nonhermitian ouch! yes... done!


Formatter fix.

Codecov Report

Merging #70 into master will not change coverage.
The diff coverage is 88.37%.

@@           Coverage Diff           @@
##           master      #70   +/-   ##
=======================================
  Coverage   31.97%   31.97%
=======================================
  Files          44       44
  Lines        1251     1251
  Branches       45       45
=======================================
  Hits          400      400
  Misses        851      851

Impacted Files
Coverage Δ

...e/src/main/scala/net/scalax/fsn/core/FAtomic.scala
0% <0%> (ø)
:arrow_up:

.../scala/net/scalax/fsn/slick/helpers/FsnTable.scala
0% <0%> (ø)
:arrow_up:

...src/main/scala/net/scalax/fsn/core/FZeroPile.scala
100% <100%> (ø)
:arrow_up:

...rc/main/scala/net/scalax/fsn/core/FPileShape.scala
100% <100%> (ø)
:arrow_up:

.../src/main/scala/net/scalax/fsn/core/FsnShape.scala
86.95% <86.95%> (ø)
:arrow_up:

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 f6eefda...935ae07. Read the comment docs.


bitly giving false positives

Hey,
Subjack looks for "Hey There, This Is A Branded Short Domain." but bitly shows this regardless of whether the Branded short domain is available.
e.g. go.jet.com is flagged as vulnerable but you can't register it.
https://bitly.com/pages/landing/branded-short-domains-powered-by-bitly?bsd=go.jet.com
Thanks

Hi,
This is the case where manual verification is necessary and this can not be automated by the tool, so I think for this specific or similar cases only the wordings need to be updated, let's say Possible takeover, manual verification is required.


Make the ReflectionUtils.GetTypeName(...) publically accessible

Sorry, but this is a non-standard issue, so the template is inapplicable here.
Issue Description
When following the MS guidance of safe JSON deserialization we found that the type names were additionally processed by ReflectionUtils.RemoveAssemblyDetails(...) method. Regular types are just serialized with the type's full name, while the more complex generic types are cleaned from the assembly information.
Our approach is to have a whitelist of type names allowed to be processed by the deserializer. Making it exactly match the names produced by the Newtonsoft.Json requires either calling the method GetTypeName of an internal class (ReflectionUtils) or copy-pasting the method into our application. Both approaches are far from ideal, so please consider opening the ReflectionUtils.GetTypeName(...) method.
The Proposed Change
Probably an additional accessor class would be a solution:
public class ReflectionUtilsAccessor
{
    public static string GetTypeName(Type t, TypeNameAssemblyFormatHandling assemblyFormat, ISerializationBinder? binder)
    {
        return ReflectionUtils.GetTypeName(t, assemblyFormat, binder);
    }
}

I don't want to make internal, non-JSON functionality, public. You can copy the source code.


Add config_file parameter to repo define

If you're managing multiple aptly repositories on a single node you need
to be able to specify the config on a per-repo basis. This commit adds
the ability to pass a custom config for the repo commands, keeping the
existing default behavior. This code assumes you will be managing the
custom config files externally.

Looks like I misunderstood what I was trying to do with aptly and this isn't actually required, so closing, this probably isn't needed.


Warning: Prop id did not match. Server: ":RcmpcqH1:" Client: ":R1ir5j9H1:"

Issue description
When i am using dropdown inside Navbar as a separate component it is throwing this warning
app-index.js:31  Warning: Prop iddid not match. Server: ":RcmpcqH1:" Client: ":R1ir5j9H1:"
Expected behavior
There should not be any warning
System information:
Device: Macbook m2
Resolution: 1920*1080
OS: M2 mac
Browser: Chrome
Version: 13.5 (22G74)
Tailwind: 3.3.2
Flowbite: 1.6.5
Flowbite React: 0.5.0
Type: npx create-next-app@latest

@studiolama are you using the use client; directive?

yes i am using

This is how it is showing in browser
app-index.js:31 Warning: Prop id did not match. Server: ":R3j6pcqH1:" Client: ":Recr5j9H1:"     at button     at Trigger (webpack-internal:///(app-pages-browser)/./node_modules/flowbite-react/lib/esm/components/Dropdown/Dropdown.js:35:20)     at DropdownComponent (webpack-internal:///(app-pages-browser)/./node_modules/flowbite-react/lib/esm/components/Dropdown/Dropdown.js:50:30)     at UserDropMenu (webpack-internal:///(app-pages-browser)/./src/components/utils/UserDropMenu.js:26:80)     at div     at div     at nav     at NavbarComponent (webpack-internal:///(app-pages-browser)/./node_modules/flowbite-react/lib/esm/components/Navbar/Navbar.js:26:28)     at AppNavbar (webpack-internal:///(app-pages-browser)/./src/components/layouts/AppNavbar.js:26:80)     at div

Hi there, just so you know, this is just a warning and it won't impact your app in a meaningful way. If you run this app in production, with next start, you shouldn't see this anymore.
@rluders asked about the "use client"; directive because this warning indicates your Next.js app renders twice - once on the server, then again when you as the client load your development server in the browser - and an id is generated randomly each time. Adding  "use client"; should prevent this from showing up on the <Dropdown> trigger element, but it's not perfect.
It's possible you can remove this by adding a "use client"; somewhere else in the tree - either your UserDropMenu or AppNavbar may be missing it. I can't guarantee that, but it's worth trying. We're working on a solution to this for Next.js users, so stay tuned.
Let me know if that suggestion works, or if you are able to find something else that prevents this from happening.

Hi @tulup-conner  thanks for reply but we have tried adding "use client" everywhere in all the possible components that we are using but still getting this warning. That's why we raised this issue.

i'm facing the exact same problem
also tried adding "use client" but still getting the warning
could you solve it @studiolama  ?

i'm facing the exact same problem also tried adding use client but still getting the warning
could you solve it @studiolama ?
do you have an estimated date for the solution to this for Next.js @tulup-conner ?

Not yet still facing same issue

This is an issue with Floating UI, and it will remain an issue until they improve compatibility with RSC in this regard, or we create our own tools for dropdowns, etc. (why we are currently using theirs)


Bug: Clicking gray 'live' indicator in DVR mode does nto jump to live

Is there an existing issue for this?

[X] I have searched the existing issues

Which Mux Elements/Packages does this apply to? Select all that apply
mux-player, mux-player-react
Which browsers are you using?
Chrome
Which operating systems are you using?
None
Description
Clicking the "live" indicator when behind live in DVR mode does not jump to live.
I believe the intended behavior is that it should jump to live
Reduced test case
No response
Steps to reproduce

Create a live stream
View in DVR mode
Seek to behind live, see the live indicator goes gray
Click live indicator, not jumping to live

See screen recording: https://drive.google.com/file/d/1o1_JZ3jG_ubEN46FxU3LdAQn9rxq4Ecm/view
Current Behavior
See steps
Expected Behavior
See steps
Errors
No response
What version of the package are you using?
v2.9.1

Following Mac browsers checked, same behaviour on all three:
Chrome Version 127.0.6533.120 (Official Build) (arm64).
Firefox 129.0.2 (64-bit)
Safari Version 17.4.1 (196<IP_ADDRESS>.14)

Will take a look at this asap.

Confirmed fixed in latest version. Thank you team @cjpillsbury & @luwes !


Re-run install integration test w/TLS enabled

This branch tweaks the bin/test-run script to re-run the conduit install test with --tls optional set. This allows us to validate that the conduit version/install/check/inject commands are working with TLS enabled. It doesn't validate that TLS is actually happening -- just that nothing breaks when the flag is set. We could eventually expand this approach to run all integration tests, but that will substantially increase the amount of time (and resources) that it takes to run tests, so I wanted to start small with just the install test.

Am going to hold off on merging this until #1261 is fixed, since it triggers the same CPU spike when running the install test with --tls optional.


k8s-daemonset example doesn't work on Kubernetes 1.5.0

I try to set up linkerd on kubernetes 1.5.0 using https://github.com/BuoyantIO/linkerd-examples/tree/master/k8s-daemonset. I keep getting the error below for >>
http_proxy=$(kubectl get svc l5d -o jsonpath="{.status.loadBalancer.ingress[0].hostname}"):4140 curl -s http://hello
No hosts are available for /http/1.1/GET/hello, Dtab.base=[/srv=>/#/io.l5d.k8s/default/http;/host=>/srv;/http/*/*=>/host;/host/world=>/srv/world-v1], Dtab.local=[].Remote Info: Not Available
When I downgrade to kubernetes 1.4.0, it works
Anyone with an idea of what's is happening here.

Hey @andela-ooladayo, thanks for reporting this issue! And apologies that our setup is causing problems on 1.5. If you have it available, could you paste the full output from running kubectl get svc l5d -o json in your kubernetes 1.5 cluster?

Hmm, as I mentioned in #78, I tried deploying to kubernetes 1.5.2 and I didn't run into this issue. Judging by the error message, it looks like maybe the hello pods or service failed to start, but I'm not able to reproduce it. Can you confirm that you're still seeing this issue?

I am using 1.4.0 now and its working well

Ok, thanks for the update. Will close this for now, but will leave #78 open to track the external ip/host issue.


Getting issues on first run with ./quick_start.sh

`usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear]
[--upgrade] [--without-pip] [--prompt PROMPT] [--upgrade-deps]
ENV_DIR [ENV_DIR ...]
venv: error: the following arguments are required: ENV_DIR
./quick_start.sh: line 11: venv/bin/activate: No such file or directory
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: SQLAlchemy==1.3.11 in /home/mahmud/.local/lib/python3.9/site-packages (from -r requirements.txt (line 1)) (1.3.11)
Requirement already satisfied: sqlalchemy-migrate==0.13.0 in /home/mahmud/.local/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (0.13.0)
Requirement already satisfied: Telethon==1.23.0 in /home/mahmud/.local/lib/python3.9/site-packages (from -r requirements.txt (line 3)) (1.23.0)
Requirement already satisfied: mysql-connector-python==8.0.18 in /home/mahmud/.local/lib/python3.9/site-packages (from -r requirements.txt (line 4)) (8.0.18)
Requirement already satisfied: gspread==3.1.0 in /home/mahmud/.local/lib/python3.9/site-packages (from -r requirements.txt (line 5)) (3.1.0)
Requirement already satisfied: oauth2client==4.1.3 in /home/mahmud/.local/lib/python3.9/site-packages (from -r requirements.txt (line 6)) (4.1.3)
Requirement already satisfied: python-dotenv==0.19.0 in /home/mahmud/.local/lib/python3.9/site-packages (from -r requirements.txt (line 7)) (0.19.0)
Requirement already satisfied: requests>=2.2.1 in /usr/lib/python3.9/site-packages (from gspread==3.1.0->-r requirements.txt (line 5)) (2.26.0)
Requirement already satisfied: protobuf>=3.0.0 in /home/mahmud/.local/lib/python3.9/site-packages (from mysql-connector-python==8.0.18->-r requirements.txt (line 4)) (3.17.3)
Requirement already satisfied: rsa>=3.1.4 in /home/mahmud/.local/lib/python3.9/site-packages (from oauth2client==4.1.3->-r requirements.txt (line 6)) (4.7.2)
Requirement already satisfied: pyasn1>=0.1.7 in /home/mahmud/.local/lib/python3.9/site-packages (from oauth2client==4.1.3->-r requirements.txt (line 6)) (0.4.8)
Requirement already satisfied: pyasn1-modules>=0.0.5 in /home/mahmud/.local/lib/python3.9/site-packages (from oauth2client==4.1.3->-r requirements.txt (line 6)) (0.2.8)
Requirement already satisfied: httplib2>=0.9.1 in /home/mahmud/.local/lib/python3.9/site-packages (from oauth2client==4.1.3->-r requirements.txt (line 6)) (0.19.1)
Requirement already satisfied: six>=1.6.1 in /usr/lib/python3.9/site-packages (from oauth2client==4.1.3->-r requirements.txt (line 6)) (1.16.0)
Requirement already satisfied: pbr>=1.8 in /home/mahmud/.local/lib/python3.9/site-packages (from sqlalchemy-migrate==0.13.0->-r requirements.txt (line 2)) (5.6.0)
Requirement already satisfied: Tempita>=0.4 in /home/mahmud/.local/lib/python3.9/site-packages (from sqlalchemy-migrate==0.13.0->-r requirements.txt (line 2)) (0.5.2)
Requirement already satisfied: sqlparse in /home/mahmud/.local/lib/python3.9/site-packages (from sqlalchemy-migrate==0.13.0->-r requirements.txt (line 2)) (0.4.1)
Requirement already satisfied: decorator in /home/mahmud/.local/lib/python3.9/site-packages (from sqlalchemy-migrate==0.13.0->-r requirements.txt (line 2)) (5.0.9)
Requirement already satisfied: pyaes in /home/mahmud/.local/lib/python3.9/site-packages (from Telethon==1.23.0->-r requirements.txt (line 3)) (1.6.1)
Requirement already satisfied: pyparsing<3,>=2.4.2 in /usr/lib/python3.9/site-packages (from httplib2>=0.9.1->oauth2client==4.1.3->-r requirements.txt (line 6)) (2.4.7)
Requirement already satisfied: chardet>=3.0.2 in /usr/lib/python3.9/site-packages (from requests>=2.2.1->gspread==3.1.0->-r requirements.txt (line 5)) (4.0.0)
Requirement already satisfied: idna>=2.5 in /usr/lib/python3.9/site-packages (from requests>=2.2.1->gspread==3.1.0->-r requirements.txt (line 5)) (3.2)
Requirement already satisfied: urllib3>=1.21.1 in /usr/lib/python3.9/site-packages (from requests>=2.2.1->gspread==3.1.0->-r requirements.txt (line 5)) (1.26.6)
INFO:root:env_file: informer.env
INFO:telethon.crypto.aes:libssl detected, it will be used for encryption
Traceback (most recent call last):
File "/home/mahmud/Downloads/informer-master/app/bot.py", line 33, in <module>
account_id = sys.argv[1]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mahmud/Downloads/informer-master/app/bot.py", line 35, in <module>
raise Exception('informer.py <account_id> - account_id is a required param')
Exception: informer.py <account_id> - account_id is a required param
`

I’m facing with the same problem tried so many things but couldnt pass this error

Same problem here @paulpierre

I believe the intention is you are supposed to alter that single line in quick_start.sh
#run the bot
python3 bot.py <your-id>

I'm still running into some docker networking issues. I believe the reference here docker.for.mac.localhost has been superceded.

the same problem that i sloved by modify  quick_start.sh in line8:
python3 -m venv venv
please insure your python3 version >3.7

`
usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear]
[--upgrade] [--without-pip] [--prompt PROMPT] [--upgrade-deps]
ENV_DIR [ENV_DIR ...]
venv: error: the following arguments are required: ENV_DIR
./quick_start.sh: line 11: venv/bin/activate: No such file or directory
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: SQLAlchemy==1.3.11 in /home/mahmud/.local/lib/python3.9/site-packages (from -r requirements.txt (line 1)) (1.3.11)
Requirement already satisfied: sqlalchemy-migrate==0.13.0 in /home/mahmud/.local/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (0.13.0)
Requirement already satisfied: Telethon==1.23.0 in /home/mahmud/.local/lib/python3.9/site-packages (from -r requirements.txt (line 3)) (1.23.0)
Requirement already satisfied: mysql-connector-python==8.0.18 in /home/mahmud/.local/lib/python3.9/site-packages (from -r requirements.txt (line 4)) (8.0.18)
Requirement already satisfied: gspread==3.1.0 in /home/mahmud/.local/lib/python3.9/site-packages (from -r requirements.txt (line 5)) (3.1.0)
Requirement already satisfied: oauth2client==4.1.3 in /home/mahmud/.local/lib/python3.9/site-packages (from -r requirements.txt (line 6)) (4.1.3)
Requirement already satisfied: python-dotenv==0.19.0 in /home/mahmud/.local/lib/python3.9/site-packages (from -r requirements.txt (line 7)) (0.19.0)
Requirement already satisfied: requests>=2.2.1 in /usr/lib/python3.9/site-packages (from gspread==3.1.0->-r requirements.txt (line 5)) (2.26.0)
Requirement already satisfied: protobuf>=3.0.0 in /home/mahmud/.local/lib/python3.9/site-packages (from mysql-connector-python==8.0.18->-r requirements.txt (line 4)) (3.17.3)
Requirement already satisfied: rsa>=3.1.4 in /home/mahmud/.local/lib/python3.9/site-packages (from oauth2client==4.1.3->-r requirements.txt (line 6)) (4.7.2)
Requirement already satisfied: pyasn1>=0.1.7 in /home/mahmud/.local/lib/python3.9/site-packages (from oauth2client==4.1.3->-r requirements.txt (line 6)) (0.4.8)
Requirement already satisfied: pyasn1-modules>=0.0.5 in /home/mahmud/.local/lib/python3.9/site-packages (from oauth2client==4.1.3->-r requirements.txt (line 6)) (0.2.8)
Requirement already satisfied: httplib2>=0.9.1 in /home/mahmud/.local/lib/python3.9/site-packages (from oauth2client==4.1.3->-r requirements.txt (line 6)) (0.19.1)
Requirement already satisfied: six>=1.6.1 in /usr/lib/python3.9/site-packages (from oauth2client==4.1.3->-r requirements.txt (line 6)) (1.16.0)
Requirement already satisfied: pbr>=1.8 in /home/mahmud/.local/lib/python3.9/site-packages (from sqlalchemy-migrate==0.13.0->-r requirements.txt (line 2)) (5.6.0)
Requirement already satisfied: Tempita>=0.4 in /home/mahmud/.local/lib/python3.9/site-packages (from sqlalchemy-migrate==0.13.0->-r requirements.txt (line 2)) (0.5.2)
Requirement already satisfied: sqlparse in /home/mahmud/.local/lib/python3.9/site-packages (from sqlalchemy-migrate==0.13.0->-r requirements.txt (line 2)) (0.4.1)
Requirement already satisfied: decorator in /home/mahmud/.local/lib/python3.9/site-packages (from sqlalchemy-migrate==0.13.0->-r requirements.txt (line 2)) (5.0.9)
Requirement already satisfied: pyaes in /home/mahmud/.local/lib/python3.9/site-packages (from Telethon==1.23.0->-r requirements.txt (line 3)) (1.6.1)
Requirement already satisfied: pyparsing<3,>=2.4.2 in /usr/lib/python3.9/site-packages (from httplib2>=0.9.1->oauth2client==4.1.3->-r requirements.txt (line 6)) (2.4.7)
Requirement already satisfied: chardet>=3.0.2 in /usr/lib/python3.9/site-packages (from requests>=2.2.1->gspread==3.1.0->-r requirements.txt (line 5)) (4.0.0)
Requirement already satisfied: idna>=2.5 in /usr/lib/python3.9/site-packages (from requests>=2.2.1->gspread==3.1.0->-r requirements.txt (line 5)) (3.2)
Requirement already satisfied: urllib3>=1.21.1 in /usr/lib/python3.9/site-packages (from requests>=2.2.1->gspread==3.1.0->-r requirements.txt (line 5)) (1.26.6)
INFO:root:env_file: informer.env
INFO:telethon.crypto.aes:libssl detected, it will be used for encryption
Traceback (most recent call last):
File "/home/mahmud/Downloads/informer-master/app/bot.py", line 33, in
account_id = sys.argv[1]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mahmud/Downloads/informer-master/app/bot.py", line 35, in
raise Exception('informer.py <account_id> - account_id is a required param')
Exception: informer.py <account_id> - account_id is a required param
`

the same problem that i sloved by modify quick_start.sh in line8:
python3 -m venv venv
please insure your python3 version >3.7


Create React App inside a non-empty folder

I use create-react-app to create a react app inside an existing backend project which will serve the react application. And I have to run the eject command to:

change the target directory
change the build logic and directories
add .less support with some extra configuration
and so on...

To automate this process, I took a fork from react-scripts and I defined my folder structure. A
My final file system hierarchy should be something like:
- project directory
    - foo
    - bar
    - baz
    - resources
        - react-app
            - index.js
    - package.json
    - qux.php

So I edited the template folder to match these requirements and published the scripts to give a try.
npx create-react-app . --scripts-version my-react-scripts
And as you guessed, I got

The directory . contains files that could conflict: Backend FSH.

However:

I need my package.json to be located in the project root directory.
My scripts will create a new directory called react-app inside the existing resources folder. And react-app will live inside this directory. I don't expect an override.
My build is customized and will use my webpack plugin to generate the built files. I don't expect an unexpected override here as well.

Describe the solution you'd like

Since I know what I do, I want to have some way to run create-react-app in an existing folder with some files.

Maybe by setting a constant from my scripts or using an option after npx create-react-app call.
Describe alternatives you've considered
I considered to update create-react-app to support it as well but that doesn't make sense since it would be almost impossible to follow up the updates and upgrades later.
Additional context
https://github.com/facebook/create-react-app/issues/334
https://github.com/facebook/create-react-app/issues/2776

Have you tried having another package.json local to the React app?

Hello, Thanks for your reply @JacobMGEvans!
Haha! That is one of my first shots as well :) I also considered working with:

.git
back-end
front-end

But:

I use npm run development -- --watch to watch the changes of the file system and move the generated/built:

index.html as root/resources/views/app.blade.php
robots.txt and *.js and other static assets as public/robots.txt, public/*.js, public/assets/*.js.
single page page-components (like 403, 404, 500) as ... so on.

All of them programmatically and on every save (backend serves the output).
If I include the package.json inside root/React, then my watch and build commands will write the output to a higher level then the package.json and that doesn't make sense to me. I really feel like it belongs to the whole project since it affects a lot of places out of the React directory in the suggested example.
That is why It makes perfect sense to move the configuration to the root directory. I hope it makes sense to you too.
Having rmdir is great but I am looking for 'rm -rf' at the moment =)

Well, how I normally handle a small frontend like that is have a small server, just serving the frontend bundle... Separate from any backend I may have in the same fullstack repo.
I don't think this will help you either but its worth a shot... lol 😆
It might look something like this
const express = require(`express`);
require(`dotenv`).config();

express()
  .use(express.static(`${__dirname}/dist`))
  .get(`*`, (req, res) => res.sendFile(`${__dirname}/dist/index.html`))
  .listen(process.env.PORT || 1234, () => console.log(`__SERVER_RUNNING__`, process.env.PORT),
  );

Actually I think of it that would be useless unless you are building locally... or have the hot reload setup for it.

@JacobMGEvans It looks like you misunderstood me.
I have some fairly big react SPA frontends and additionally, some single page exports for the non-frontend, backend-served pages for the same look and feel (which utilizes the same layout, header, footer etc).  😉
And for the "Large configuration change",
I have three changes:

Disable hot reloading
Add less support with a localIdentName,
Add a plugin which works with HtmlWebpackPlugin,
Clone and export the configuration as [singlePageApplicationConfig (SPA react app), singlePageConfig (401, 403, 404, 500) by changing the entry and the output keys.]

I can do everything I want listed here except initializing the create-react-app app in a non-empty folder.

Here is the export part of my webpack.config.js:
const spaConfig = function (webpackEnv) {
    // [...]

    return {
        ...webpackConfig(webpackEnv),
        name: 'spa-configuration',
        entry: './resources/js/app.jsx',
        output: {
             filename: 'public/js/app.js',
             chunkFilename: isEnvProduction
                ? 'public/js/[name].chunk.js'
                : isEnvDevelopment && 'public/js/[name].chunk.js',
            // [...]
        },
        plugins: [
            // [...]
            new HtmlWebpackLaravelAssetPlugin({ options: '' }),
    };
};

const spConfig = function (webpackEnv) {
    return {
        ...webpackConfig(webpackEnv),
        name: 'sp-configuration',
        entry: {
            403: './resources/js/sp/403.jsx',
            500: './resources/js/sp/500.jsx',
            PostLogoutPage: './resources/js/sp/PostLogoutPage.jsx',
        },
        // [...]
    };
};

module.exports = [spConfig, spaConfig];

I see. I think what you are doing is exactly why the eject is available to "own" the configurations. I would definitely be interested in what the maintainers have to say.  Pretty slick that you got that to work though!


Texture Pack in the next patch.

I have noticed that many people have their own texture developments for Stronghold Crusader.
I think they should be added to choose from in the next patch.
We make a separate tab in the patch settings.
I think it will be interesting for everyone to play with different textures packs.

I'd love to see some of these alternative texture packs. Havent found any except for copying stronghold graphics into crusader folder...

I'd love to have the option to choose the Stronghold Europe textures, that would be really cool if that would be possible with a feature in the UCP.

Yea, that's not going to happen.
First off, it means taking another modders work and claiming it as our own.  If we were to redevelop it from scratch maybe, but not taking their work.
Secondly, it means we are taking responsibility for supporting their mod, which we do not want to do.

having the ability to add "texturepacks" and enableing them "onthefly" ingame  or in the patcher would be a good feature through.
it doesnt have to tbe stronghold europe as there are other versions out there. Making them more accessible through this would bring forward the textureing szene also (you dont have to pack the packs witht he ucp just add the ability to apply them with it)


xiao-ble/ble-led-server needs additional permission

Looks like tinygo-org/bluetooth package does not support Characteristic.Write() on macos and linux.  It only supports WriteWithoutResonse().  Need to add bluetooth.CharacteristicWriteWithoutResponsePermission in order for connections to xiao-ble ble-led-server.
diff --git a/xiao-ble/ble-led-server/main.go b/xiao-ble/ble-led-server/main.go
index dcb7897..0d78ecc 100644
--- a/xiao-ble/ble-led-server/main.go
+++ b/xiao-ble/ble-led-server/main.go
@@ -36,7 +36,7 @@ func main() {
                                Handle: &ledColorCharacteristic,
                                UUID:   charUUID,
                                Value:  ledColor[:],
-                               Flags:  bluetooth.CharacteristicReadPermission | bluetooth.CharacteristicWritePermission,
+                               Flags:  bluetooth.CharacteristicReadPermission | bluetooth.CharacteristicWritePermission | bluetooth.CharacteristicWriteWithoutResponsePermission,
                                WriteEvent: func(client bluetooth.Connection, offset int, value []byte) {
                                        if offset != 0 || len(value) != 4 {
                                                return

I will check.

@jeff-phil
Sorry for the delay, but I checked.
I checked on Windows, and the result was the same on Windows.
I would like to get your fix in.
Thank you very much.


KeyError: 'status' when trying to schedule spider

I am getting this error when trying to schedule a spider. This is happening with version 2.3.1
Traceback (most recent call last):
  File "/home/molveyra/.local/share/virtualenvs/mollie-AtuAN_AE/lib/python3.8/site-packages/scrapinghub/legacy.py", line 157, in _decode_response
    if data['status'] == 'ok':
KeyError: 'status'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/molveyra/.local/share/virtualenvs/mollie-AtuAN_AE/lib/python3.8/site-packages/scrapinghub/client/exceptions.py", line 69, in wrapped
    return method(*args, **kwargs)
  File "/home/molveyra/.local/share/virtualenvs/mollie-AtuAN_AE/lib/python3.8/site-packages/scrapinghub/client/__init__.py", line 19, in _request
    return super(Connection, self)._request(*args, **kwargs)
  File "/home/molveyra/.local/share/virtualenvs/mollie-AtuAN_AE/lib/python3.8/site-packages/scrapinghub/legacy.py", line 143, in _request
    return self._decode_response(response, format, raw)
  File "/home/molveyra/.local/share/virtualenvs/mollie-AtuAN_AE/lib/python3.8/site-packages/scrapinghub/legacy.py", line 169, in _decode_response
    raise APIError("JSON response does not contain status")
scrapinghub.legacy.APIError: JSON response does not contain status

@kalessin Is it reproducible or transient? Could you share payload you're sending (w/o project id, etc)?

It is reproducible. It happens every time I try to schedule a spider. However, I just debugged it and the issue is that the response is
{'detail': 'Authentication credentials were not provided.'}
Still the issue is in the library, because it must handle this condition and print the correct failure.

it must handle this condition and print the correct failure.

Agree, it should be addressed in the library

An update on this. Regardless the response is 'Authentication credentials were not provided.', this really happens when the apikey is wrong, so there is a server side issue too.
If I don't pass any apikey, I get correctly a runtime error:
RuntimeError: No API key provided and neither SH_APIKEY nor SHUB_JOBAUTH environment variables is set

Regardless the response is 'Authentication credentials were not provided.', this really happens when the apikey is wrong, so there is a server side issue too.

I believe that's intentional - our server would react the same if credentials aren't provided or it's wrong, was done for security purpose. But I think we could handle it on the client side anyway to improve experience.

Right. Still the reaction is not the same. When you provide wrong apikey, then you should also get
RuntimeError: No API key provided and neither SH_APIKEY nor SHUB_JOBAUTH environment variables is set

instead of a meaningless KeyError exception.


In settings, make text input placeholder distinguishable from a typed value

I think it will be easiest to explain on an example. Here is the screenshot from CustomJS plugin settings where I have no value in the top input (you can see a placeholder value instead) and I have value in the bottom one. Both input look similar, there is no easy way to tell that the upper one is just a placeholder without any real value:

Now take a look at a screenshot I made after adding my changes. Here placeholder uses way darker color:

Thanks for the pull request. :-)


Add example pre-run instruction handler in EVM execution loop

Add example of (unsafe) implementation of a handler that can be used to execute arbitrary EVM calls before a given evm instruction.  Useful in the new REVM model.
Example usage in EVM builder:
let old_handle = handler.execution_loop.pre_run_interpreter.clone();
            handler.execution_loop.pre_run_interpreter = Arc::new(
                move |evm: &mut Evm<'_, IE, DB>,
                      table: &[Box<dyn Fn(&mut Interpreter, &mut Evm<'_, IE, DB>)>; 256],
                      frame: &mut Box<CallStackFrame>|
                      -> Option<InterpreterAction> {
                    let engine_evm = EngineEVM {
                        evm,
                        table,
                        current_stack_frame: frame,
                    };
                    if let Some(pre_run) = IE::on_pre_run_interpreter(engine_evm) {
                        return Some(pre_run);
                    }
                    old_handle(evm, table, frame)
                },
            );

Ty, will check it out

@yascha interesting, how do you think about the use case for this?

@gakonst with the old implementation of revm, it was very easy to manipulate the evm (in a very custom manner) via rust code.  The new model has some incredibly nice changes, but it makes the evm manipulation trickier.
I've been using a variant of this hook for some time to enable executing arbitrary evm code anywhere within a callstack.

Effort is moved to this PR: https://github.com/bluealloy/revm/pull/1369


notification of updates to packages of interest

This issue was originally filed by<EMAIL_ADDRESS>
I'd like the ability to learn through multiple channels that newer versions of packages that I'm interested in are available as well what's new in those versions including which updates are for critical bugs.   For example when I log in to Ubuntu, I'm informed that X packages can be updated and Y updates are security updates.   I'd like to be able to express interest in a package by following it on pub.dartlang.org and also based on my pubspec.  Notification channels could include the editor, email, pub, and pub.dartlang.org.

This issue has been moved to dart-lang/pub-dartlang#336.


GainedFocus/LostFocus events with i3wm borderless fullscreen mode

Subject of the issue
When using i3 borderless fullscreen mode (usually Super+F or Alt+F), SFML considers that the window loses focus, even if it doesn't.
I tried to compare with other programs and it seems that it is a SFML-specific issue.
Your environment

ArchLinux - i3
Latest release and git master both have the issue

Steps to reproduce
#include <ctime>
#include <iostream>

#include <SFML/OpenGL.hpp>
#include <SFML/Window.hpp>

int main(int, char **) {
	sf::Window window;
	window.create(sf::VideoMode(800, 600), "SFML", sf::Style::Close);

	bool running = true;
	while (running) {
		sf::Event event;
		while (window.pollEvent(event)) {
			if (event.type == sf::Event::Closed || (event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Escape)) {
				running = false;
			}
			else if (event.type == sf::Event::LostFocus) {
				std::cout << "[" << std::time(nullptr) << "] " << "Window lost focus" << std::endl;
			}
			else if (event.type == sf::Event::GainedFocus) {
				std::cout << "[" << std::time(nullptr) << "] " << "Window gained focus" << std::endl;
			}
		}

		glClear(GL_COLOR_BUFFER_BIT);
		window.display();
	}

	window.close();

	return 0;
}

Expected behavior
# opening window
[1589323207] Window gained focus
# toggling i3 fullscreen mode
# toggling back to windowed mode
# closing window
[1589323224] Window lost focus

Actual behavior
# opening window
[1589323207] Window gained focus
# toggling i3 fullscreen mode
[1589323215] Window lost focus
[1589323215] Window lost focus
[1589323215] Window gained focus
# toggling back to windowed mode
[1589323221] Window lost focus
[1589323221] Window lost focus
[1589323221] Window gained focus
# closing window
[1589323224] Window lost focus

Note that the LostFocus event is sent twice, I assume this shouldn't be happening?

I noticed that it's not only for i3 fullscreen mode but also for a different situation.
I'm using dunst for notifications, and each time I interact with them (using Ctrl+Space to discard a notification or Ctrl+) to show last notification), SFML considers the window has lost the focus, even if it actually didn't.


CI does not track Docker image versions

Problem
https://github.com/project-chip/connectedhomeip/pull/1005#issuecomment-639082569
circleCI scripts require manual updates when Docker image versions are advanced
Proposed Solution
enhance make in .circleci to populate version from current tree

We moved to github actions, however maybe we have similar issues there due to versions.
@rwalker-apple should we update the problem description for github or should we close this?

is obsolete


'connect_server': unable to resolve server address

When the host with RabbitMQ does not exist at the moment when sensu-client is starting, the client fails with the error:
/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/eventmachine-<IP_ADDRESS>/lib/eventmachine.rb:677:in `connect_server': unable to resolve server address: Inappropriate ioctl for device (EventMachine::ConnectionError)

The version of sensu I use is 0.23.2.
rabbitmq.json:
{
  "rabbitmq": {
    "ssl": {
      "cert_chain_file": "/etc/sensu/ssl/cert.pem",
      "private_key_file": "/etc/sensu/ssl/key.pem"
    },
    "host": "server.domain.com",
    "port": 5671,
    "vhost": "/sensu",
    "user": "sensu",
    "password": "sensu"
  }
}

The issue is that server.domain.com is not resolvable at all when the client starts.
The full use case see here: https://github.com/sensu/sensu/issues/1270

I can confirm this issue on 23.2 version of Sensu. I am using Consul for service discovery and Sensu transport is configured as a DNS record, so Sensu Server doesn't reresolve DNS when it is unable to resolve it during the first attempt. Moreover, Sensu Server just keeps running without exiting correctly when this issue is encountered.

Closing in favor of https://github.com/sensu/sensu-transport/issues/39


@broskoski => add Your Active Bids title to home page

Since: https://github.com/artsy/metaphysics/pull/579, the active_bids module returns actual bids and not just an empty array. This means they show up on the homepage, but I noticed that in staging, the rail looks a little odd:

Turns out the module was not displaying the title because the "my active bids" rail skips the generic ArtworkBrickRailView template in favor of a custom one. Since that custom template is used elsewhere on Force, I ended up manually setting the .abrv-header element here to the module.title to keep backwards compatibility.
Fixed like so:

👍  nice and easy!


Update deps: tokio 1.0, reqwest 0.11 etc.

I also tuned the futures dependency to no longer pull in futures-executor crate
Closes: #283
Closes: #276

Thanks for this

Thanks for this

Will we plan to release the version including this merge? Thanks.

Will we plan to release the version including this merge? Thanks.


Updated SPK for Braswell architecture (DS916+)

Dear Seba76,
Thank you for your work.
I really hope to update the package you worked on. Unfortunately, the Braswell architecture is not inculded in your latest release.
Is there any possibility it can be added? I'm sorry I'm not skilled enough to compile it myself.
Kind regards and many thanks in advance!
Joeri

My free time is very limited so I can't add it my self, but if someone is willing to add it I will accept pull requests.

My free time is very limited so I can't add it my self, but if someone is willing to add it I will accept pull requests.


Allow subclasses of BaseDataPublisher to use custom publisher output dir

Currently the way BaseDataPublisher creates the final output directory path is fixed and cannot be customized. This PR opens this up so subclasses can create a custom final output directory, e.g., using a custom directory structure or naming pattern.

@chavdar can you review?

LGTM.


Missing required properties in ReceiptInfo spec

In this spec, eth_getTransactionReceipt is said to return ReceiptInfo
In legacy spec, the return values are:

Missing required properties

blockHash
blockNumber
from
to
cumulativeGasUsed
gasUsed
contractAddress
logs
logsBloom

Additionally, these fields are missing:

Relevant code in go-ethereum: https://github.com/ethereum/go-ethereum/blob/e185a8c8181a2153150e0da8b7dfd3d7a95f8b22/internal/ethapi/api.go#L1598

I can help add these in a PR.
We should also add effectiveGasPrice


Update deprecated use of qiskit.test.mock

Summary
Terra 0.21 issues deprecation warnings for qiskit.test.mock, as the
fake backends have been promoted to having full public support.  They
have been exposed as qiskit.providers.fake_provider since Terra 0.20,
so this change does not require updating any requirements.

Details and comments
This should just be a simple swap of what's used in the documentation, code and examples - the actual objects in Terra are unchanged.

This has been addressed in #834.

Oh I didn't notice this. Sorry!

No worries - I made this before Terra 0.21 was released (to try and avoid your CI getting broken!), but given your PR, looks like maybe a couple more uses came in after I'd made it anyway.


After the modularization the libfabric parcelport does not compile

Expected Behavior
HPX with the libfabric parcelport should compile
Actual Behavior
In file included from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/runtime/components/server/managed_component_base.hpp:15,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/base_lco.hpp:14,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/base_lco_with_value.hpp:13,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/detail/promise_lco.hpp:14,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/detail/promise_base.hpp:17,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/promise.hpp:13,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/plugins/parcelport/libfabric/libfabric_controller.hpp:15,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/plugins/parcelport/libfabric/parcelport_libfabric.hpp:56,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/plugins/parcelport/libfabric/parcelport_libfabric.cpp:7:
/project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/runtime/components/server/component_heap.hpp:11:10: fatal error: hpx/static_reinit/reinitializable_static.hpp: No such file or directory
 #include <hpx/static_reinit/reinitializable_static.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [plugins/parcelport/libfabric/CMakeFiles/parcelport_libfabric.dir/build.make:63: plugins/parcelport/libfabric/CMakeFiles/parcelport_libfabric.dir/parcelport_libfabric.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/runtime/components/server/managed_component_base.hpp:15,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/base_lco.hpp:14,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/base_lco_with_value.hpp:13,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/detail/promise_lco.hpp:14,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/detail/promise_base.hpp:17,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/promise.hpp:13,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/plugins/parcelport/libfabric/libfabric_controller.hpp:15,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/plugins/parcelport/libfabric/parcelport_libfabric.hpp:56,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/plugins/parcelport/libfabric/receiver.cpp:12:
/project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/runtime/components/server/component_heap.hpp:11:10: fatal error: hpx/static_reinit/reinitializable_static.hpp: No such file or directory
 #include <hpx/static_reinit/reinitializable_static.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/runtime/components/server/managed_component_base.hpp:15,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/base_lco.hpp:14,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/base_lco_with_value.hpp:13,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/detail/promise_lco.hpp:14,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/detail/promise_base.hpp:17,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/promise.hpp:13,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/plugins/parcelport/libfabric/libfabric_controller.hpp:15,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/plugins/parcelport/libfabric/parcelport_libfabric.hpp:56,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/plugins/parcelport/libfabric/sender.cpp:10:
/project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/runtime/components/server/component_heap.hpp:11:10: fatal error: hpx/static_reinit/reinitializable_static.hpp: No such file or directory
 #include <hpx/static_reinit/reinitializable_static.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [plugins/parcelport/libfabric/CMakeFiles/parcelport_libfabric.dir/build.make:76: plugins/parcelport/libfabric/CMakeFiles/parcelport_libfabric.dir/receiver.cpp.o] Error 1
gmake[2]: *** [plugins/parcelport/libfabric/CMakeFiles/parcelport_libfabric.dir/build.make:102: plugins/parcelport/libfabric/CMakeFiles/parcelport_libfabric.dir/sender.cpp.o] Error 1
In file included from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/runtime/components/server/managed_component_base.hpp:15,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/base_lco.hpp:14,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/base_lco_with_value.hpp:13,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/detail/promise_lco.hpp:14,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/detail/promise_base.hpp:17,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/lcos/promise.hpp:13,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/plugins/parcelport/libfabric/libfabric_controller.hpp:15,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/plugins/parcelport/libfabric/parcelport_libfabric.hpp:56,
                 from /project/projectdirs/xpress/patrick/PowerTiger/src/hpx/plugins/parcelport/libfabric/rma_receiver.cpp:8:
/project/projectdirs/xpress/patrick/PowerTiger/src/hpx/hpx/runtime/components/server/component_heap.hpp:11:10: fatal error: hpx/static_reinit/reinitializable_static.hpp: No such file or directory
 #include <hpx/static_reinit/reinitializable_static.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [plugins/parcelport/libfabric/CMakeFiles/parcelport_libfabric.dir/build.make:89: plugins/parcelport/libfabric/CMakeFiles/parcelport_libfabric.dir/rma_receiver.cpp.o] Error 1
gmake[2]: Leaving directory '/global/project/projectdirs/xpress/patrick/PowerTiger/build/hpx/build'
gmake[1]: *** [CMakeFiles/Makefile2:45290: plugins/parcelport/libfabric/CMakeFiles/parcelport_libfabric.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....

Steps to Reproduce the Problem
... Please be as specific as possible while describing how to reproduce your problem.

Build HPX with the libfabric parcel port

Specifications
... Please describe your environment

HPX Version: Current master or HPX 1.4.0
Platform (compiler, OS): Cray on Cori, gcc 8.3

Didn't realize this was closed for being stale. Keeping it alive with this comment.
I have been slowly chipping away at the libfabric parcelport and have a working branch, though it isn't production ready. I hope to have it ready for larger scale testing soon. Please feel free to bug me with requests if it is needed urgently.

@biddisco We anticipate to do some scaling runs on Piz Daint for the upcoming proposal there. So it would be neat, if we have a running parcel port for the scaling runs.


Backwards nim compat, more examples, and check update

this pr:

fixes issue #21
adds three new examples/tests added (issue #19)
changes check template to a func (a97a1ea974ef78dd9e20da00e66a6c22f6739e88)
ensures library is compatible with nim >= 1.4.0

unrelated to tour PR, but we should really setup CI for nimcuda

@Vindaar waiting for you to have a look, will merge tomorrow or Tuesday

unrelated to tour PR, but we should really setup CI for nimcuda

agreed, had the same thought as i was makin this pr lol

Nice, thanks!


QPS is not throttled while cache building

Going above 10 QPS is going to get your user API quota temporarily banned, so it should be limited to 10 QPS and possibly give us the ability to override it with our custom QPS.

Suffered the same issue on 2 test builds. This needs to be managed as per google specs.

I implemented a first version for the next release. Unfortunately, I have to implement this "blind" because I didn't have these problems.
Please check the next version and send me a short info if it is okay.

I use SSD for my temp storage and didn't see the issue. I'm not really following the logic of using /dev/shm. If there a 10 QPS, why even both using memory for temp space as you'll easily consume that.
My first cache build took a few minutes with almost 30TB in my GD. Am I just unique in that case or is that what most people see?

It is easy to get the 10 QPS increased to the default project QPS of 100 if you are the sole user.
Yes, it takes 2 minutes on my nvme ssd for 28k transactions, but 2-3 hours on hdd. Due to poor SQLite performance, I assume.

I already checked this and yes it is the SQLite performance.
I also wanted to change the SQLite to another storage provider but didn't found anything suitable yet. I am still hoping that tiedot will get better.
Otherwise it could be a solution to use an external database like MongoDB, that should increase the performance heavily but it would be a downside that you will have to start 2 processes just for a "mount".

I would be MORE than happy to run MongoDB for the performance! It isn't just a mount, it's about getting as much performance out of a known product. You tell me when you want it tested, and I'll test it!

Sorry @zenjabba but I want to have an embedded solution and no external database provider ;)


MirrorMaker Connector Offsets Support

@scholzj I've made some updates addressing the two areas we were discussing

@scholzj on reflection on your comments, and after reviewing the code and the behaviour of the restart annotation, I have changed the proposal back to require a single connector is specified. Are you happy with this change?

This has not 6 binding and 1 non-binding +1 votes. If there are no new comments on Monday, I will merge it as approved.

Approved with 6 binding and 2 non-binding +1 votes.


KAFKA-9839: Broker should accept control requests with newer broker epoch

A broker throws IllegalStateException if the broker epoch in the LeaderAndIsr/UpdateMetadataRequest/StopReplicaRequest is larger than its current broker epoch. However, there is no guarantee that the broker would receive the latest broker epoch before the controller: When the broker registers with ZK, there are few more instructions to process before this broker "knows" about its epoch, while the controller may already get notified and send UPDATE_METADATA request (as an example) with the new epoch. This will result in clients getting stale metadata from this broker.
With this PR, a broker accepts LeaderAndIsr/UpdateMetadataRequest/StopReplicaRequest if the broker epoch is newer than the current epoch.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@dajac I did initially add a unit test to KafkaApisTest for UpdateMetadataRequest. However, since KafkaApisTest mocks pretty much every other component (like replica manager, etc), the only thing it would test is the fact that passing newer broker epoch would know throw IllegalStateException. Basically, it does not add any more coverage in addition to BrokerEpochIntegrationTest which also tests more of a code path. Given this info, you still think we should add it? Or perhaps there are more reasons I missed?

ok to test

@apovzner Yeah, you're right. It does not increase the overall coverage.
I spent quite some time in the KafkaApis recently and I noticed that its unit test coverage is quite low. If not mistaken, we have literally zero unit tests for the LeaderAndIsr and UpdateMetadata requests over there. I believe that having a reasonable unit tests coverage will help us to catch regression earlier in the development process. When one touches the KafkaApis, the first reflex is to run its unit tests to verify that things are not broken.
I do agree that adding a test which verifies that IllegalStateException is not thrown does not bring much. What do you think about adding few unit tests which verify respectively that a stale broker epoch is rejected and a valid broker epoch is accepted for the LeaderAndIsr, the StopReplica and the UpdateMetadata requests?

@dajac Sounds good! I added unit tests to KafkaApisTest as you suggested.

@dajac and @hachikuji thanks for your comments, I addressed them.

ok to test

retest this please

retest this please

retest this please

retest this please

retest this please

ok to test


Switching among chapters of a course

Is your feature request related to a problem? Please describe.
When you open this URL - https://www.freecodecamp.org/learn , you see list of available courses. In this screen, you choose a course and proceed to learn further. For example, Iet us consider a scenario where I choose to learn "javascript-algorithms-and-data-structures" course. When I click on "JavaScript Algorithms and Data Structures Certification", it will redirect to this URL - https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/. Here, at this screen you see list of chapters with respect to that course.  Let us assume, we have 10 chapters in that specific course. You started going through each chapter of that course without break and currently you are at 9th chapter. Now if you want to switch to the 2nd chapter, if you click back button screen will redirect to 8th chapter and you have to click back button 6 times to reach 2nd chapter. Alternatively, you have to go to home screen, choose the course and then go to 2nd chapter. In this way, switching among chapters of a course is not proper.
Describe the solution you'd like
I believe, side navigation bar at left is the best solution. Side navigation bar will have list of chapters with respect to the selected course. When user wants to switch to other chapter in a course, user clicks on side navigation bar, side navigation bar will display all the chapters of that course, user can easily pick the required chapter.
Describe alternatives you've considered
When user clicks back button, website should redirect to screen where you find list of chapters.
Additional context
allscreens.pdf

I believe that what you are calling "chapters", we would refer to as "blocks". There are breadcrumbs you can click on each lesson to get back to the main page of a course:

I'm all for improving the UI/UX, but I'm not sure if I like another side menu. Perhaps we could change up those breadcrumbs so that highlighted link is a drop down or something.

I think throwing in yet another menu would increase clutter.

The breadcrumbs currently link to the current block(grid of steps) and superblocks( list of chapter cards) so it provides sufficient navigational options. We can improve the design of it make it more visible.

While this is definitely a genuine issue (that I myself face), I agree with @moT01 and @jeremylt that a side navigation bar isn't the best solution. The page is already divided into two parts in the lessons, so another side menu would only clutter things up and leave even lesser room for development. I think the drop-down idea suggested by @moT01 is great.

@moT01 @jeremylt @ahmadabdolsaheb @dhairyapatel1506  Thank you for your inputs. I agree drop down idea will be the good solution.

Breadcrumbs are an established design pattern for nested content.  Adding a dropdown would not shorten the user journey considerably since choosing the right block ( chapter or project ) would be two clicks away. If a dropdown is added, we need to add a dropdown indicators which would further reduce the usable space in the crammed breadcrumbs navigation.
Since switching between blocks is possible and only two clicks away, I suggest improving the styles of the breadcrumbs if necessary to make it more conventional.
In my opinion, a dropdown is not needed.

@ahmadabdolsaheb Dropdown Indicators are never so big that they cause any significant change in space. It just needs to be as big as the text in the breadcrumbs to be perfectly visible. And as for the user journey, yes, both ways do require two clicks but with the dropdown menu the user wouldn't have to go to another page to access the blocks. The main reason for this feature-request is that while studying a specific block/chapter, some users (like myself) tend to forget certain concepts from previous blocks. Opening a new page just to access the blocks, and checking them out one by one to see which block contains the particular concept requires constantly switching between 3 or more tabs. The current block, the course page with all the blocks in that course, and the new page/pages for each block opened to recall the concepts. Adding a dropdown menu will reduce this number of tabs by 1.
An alternative solution can be to add a block name (based on the concept taught in that block) for each block in the course page so that it's easier for the user to recall what block a particular concept is in, saving them a great deal of time.
Or, both these ideas could be combined to create a dropdown menu with the block names. This would require increasing the width of the dropdown menu to accommodate the block/chapter names. For this, the block names must be kept as small as possible but at the same time providing the right information. This would save the users a great deal of time of switching between blocks and provide more time for learning.
Example of a dropdown indicator:

Thank you for your explanation and the context. The issue is that the breadcrumbs is used across the curriculum and consumed by different viewports. So you could run to the following situations:

Since the switching between challenges and blocks currently is possible, I am leaning toward leaving the breadcrumbs as it is.
I understand that you would need to go back to review certain concepts. Currently there is no easy way to do that for the new responsive web design other than remembering the number of the challenge or the order of challenges. Out of curiosity,
How often do you need to do that and did you need to do it during the new responsive web design certificate.
If there are enough students experiencing the same inconvenience, we might need to improve our information architecture, introduce notes, subject tags, etc.

I understand your point now. And to answer your question, I do find myself going back and forth the blocks very often but that may vary for every person and course. For example, I've just started learning web development and I find html and css overwhelming because of all the things you're required to remember (and all of it just to make the site look a certain way!). So a lot of times I don't remember some of these things and need to go back for a quick glance. The problem is that it barely takes me 2-3 seconds to recap what I'd forgotten, but much of my time is wasted in going through all of the blocks trying to find what I'm looking for. The only quick alternative I'm left with is to look up the related concept on google.

I understand that this is somehow unrelated to this issue, but to my understanding the new responsive web design steps are designed to be explanatory. So ideally students should not need to back and forth to complete a project. If you don't mind, could you share with me an instance where you had to go back to review a concept before completing a step.

Thanks for your interest @ebenezer0311, but no - we are still discussing this issue, and I think we will end up leaving this as it is for now.
Your best bet is to look for an issue with a help wanted or first timers only label. Those are all open for contribution - although, some may have an open PR to fix the issue so you may want to avoid those. If you find an issue without one of those labels that you want to work on, feel free to tag me and I can help figure out what we want to do with it.

Thank you all for your feedback. The breadcrumb in its current form allows sufficient navigation to related challenges and courses.
As a result, I am closing this issue. Please let me know if this issue has not been addressed properly.


[SMALLFIX] Unifying ExceptionMessage and PreconditionMessage style

Unifying ExceptionMessage and PreconditionMessage style, which removes boiler plate from PreconditionMessage.java.

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

Merged build finished. Test PASSed.

Merged build finished. Test PASSed.

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

LGTM

LGTM


Android Support

Hello,
First of all, thanks for all of this awesome work !!
Second, is it possible to support Android ? I found some repos that has LuaJava for Android, but you know, it's not maintained, It would be very awesome.
I'm thinking of combining JLua/LuaJava with LÖVE for Android, so super awesome things could be made, making this library very useful
Regards,
RamiLego4Game

Hi Rami,
JLua already works with Android (and fully tested).
There is even an app that uses JLua as an add-on mechanism:
https://play.google.com/store/apps/details?id=com.amnis
I'll try to add compilation instructions for Android to the README file soon.
Nir

Question: Is it possible to initialize (load) the library from the Lua side ? and it would hook to the app vm ? or not ?
LÖVE is written in native code, and has luajit running.

No, I'm afraid that's not possible.
Currently, the JVM object is passed to the native code that runs JLua.
On android, it's impossible create a new JVM object from native code.


Water flowing in plots

Water flowing is flowing in the plots and going over the plots despite UpdatePlotLiquids being set to false.

RestrictEntityMovement: true
UpdatePlotLiquids: false
ClaimPrice: 0
ClearPrice: 0
DisposePrice: 0
ResetPrice: 0
...
This does not happen in the very old outdated version of MyPlot that I still run on my most popular server.

Regardless if UpdatePlotLiquids is set to false, things still flow naturally.

This issue was fixed in the marked commit


tests: tearDown overrides should call super().tearDown().

ZulipTestCase subclasses that override tearDown() should call the parent
class tearDown() too, as it does some clean up of its own.
Now, about setUp() - ZulipTestCase (and parents) don't do any setUp() and in almost all our ZulipTestCase subclasses we don't do super().setUp() (it wouldn't do anything anyway). Should we eliminate super().setUp() from those few cases where it is called and does absolutely nothing? For consistency and not to mislead people who look at it into thinking there is something happening in that call.

This is great, merged, thanks @mateuszmandera!
I think we still want setUp() calls to do the super thing; that way, if we ever do end up adding something to the setUp method, we won't have to remember to do work for all the individual test classes that might break as a result.


The root readme is pointing to dev

Describe the bug
The sentence

See the documentation for information on using these components.

is pointing to dev. Same for our NPM readme.
What is the expected behavior?
Should point to master.

verify all repo's


Don't go outside of the image

Hello, thank you for this great plugin.
I did'nt found any updated solutions for my problem. I want the cropbox to stay into the image, and never be able to go outside of it, even if the user try to.
Screenshot :
http://puu.sh/opcdg/a760679915.png
Any solutions ?
Thank you.

Just make the image the size of the container. You can do this in the demo by clicking VM3 (view mode 3).

Oh ! really great, thank you, it is perfect !


[MM-23793] only ask for permission if we never asked before

[x] executed npm run lint:js for proper code formatting

Summary
this is a replica of https://github.com/mattermost/desktop/pull/1226 but for 4.4 branch as it can't be cherry picked
Remove asking for permission each time a notification appears and only ask if the user never choose an option.
Issue link
MM-22552

/update-branch

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: eb411c369da82858a1012a282dee7a40552407e3


Define __str__ for Instruction objects

What is the expected enhancement?
Printing a Instruction to console shows the default pointer information because __str__ is not defined. It would be useful to show at least the minimum information of the instruction itself, i.e. self.name, self.num_qubits and self.num_clbits.

@Lolcroc may I have a go at this?

Is the above-mentioned information sufficient for this __str__ method? Also, if self.name is None, should there be any default name for an object instance?

Yes, a formatted string with just those parameters seems fine. If self.name is None, it makes sense to print it as None.


Load dynamically build libs for Apple Platforms (M1/2)

On Apple Platforms (including ARM64 M1/2) libs are build dynamically, as per CMakeLists.txt.
Therefore, they get a different extension that needs to be loaded in llama_cpp.py.
Tested on Apple M1 and M2 Platforms (aarch64) with Apple clang version 14.0.0 (clang-14<IP_ADDRESS>)

OK, so here is some more info on why this might possibly be necessary:
M1 / M2 Macs come with Rosetta, an X86 emulation layer, to be able to run legacy macOS binaries. Dynamic linking enables the arm64 libs to be used from inside an x86 emulated terminal.

@s1lvester so the reason I originally defaulted to make + .so libraries for MacOS was because many folks reported issues with the .dylib based builds with the cmake based build on M1 macs (I think this has to do with the hardware emulation being mismatched between compile and runtime).

@abetlen oh, I see, I didn't realise this was intentional. I'll close this PR then.
However I would suggest updating the README to instruct users of Apple Silicon type Platforms to run arch  and check that the output is arm64 before pip-installing llama-cpp-python. Otherwise the llama-cpp will be built for the wrong architecture...
See also: https://github.com/abetlen/llama-cpp-python/issues/122#issuecomment-1528770790


rename and then close notebook

Description
I've experienced some odd behavior lately on Spyder. This particular problem was from closing a notebook that I had renamed using File -> Rename. However, after doing that action, the name represented by the tab did not change. And upon closing the window there is a FileNotFoundError.
What steps will reproduce the problem?

Rename a notebook ( action not reflected by the name displayed in the tab)
close the tab

What is the expected output? What do you see instead?
I'd expect the tab to close, but instead it gives this error.
Please provide any additional information below
File "c:\users\erik\appdata\local\programs\python\python35-32\lib\site-packages\spyder_notebook\notebookplugin.py", line 359, in close_client
nb_contents = nbformat.read(path, as_version=4)
File "c:\users\erik\appdata\local\programs\python\python35-32\lib\site-packages\nbformat_init_.py", line 138, in read
with io.open(fp, encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Erik\Documents\Education\Data Science\Untitled.ipynb'
Version and main components

Spyder Version: 3.2.4
Python Version: 3.5.2
Qt Versions: 5.7.1, PyQt5 5.7.1 on Windows

Dependencies
pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
numpy >=1.7      :  1.13.3 (OK)
sphinx >=0.6.6   :  1.6.5 (OK)
rope >=0.9.4     :  0.10.7 (OK)
jedi >=0.9.0     :  0.11.0 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  None (NOK)
cython >=0.21    :  0.27.2 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.2.1 (OK)
pylint >=0

Thanks for reporting. I'm moving this issue to our spyder-notebook repo because it belongs there.

Issue moved to spyder-ide/spyder-notebook #133 via ZenHub


Got 0 e.p. from S*******

And also from N*******

Can't reproduce.  Probably it was from the previous battle.  Closing.


Discussion: YAML versus JSON file format in the context of 'projmgr'

In issue #12 YAML is proposed to be used for the input files: ctarget, cproject, clayer
We shall review pros and cons of either file formats, create and agree on a format in the context of this project and capture it in an Architecture Design Record (ADR).
Criteria:

readability
ease of editing / editor support
validation / debugging
popularity / usage
TBD

Some extract from this week discussions, to be completed / corrected by all with more inputs:
YAML Pros: ability to comment, easier to edit manually, used in github, (seems it) can benefit from json schema
YAML Cons: comments may be discarded by few libraries (can be annoying), blank space / indentation may be error prone
JSON Pros: well known, json schema support, widely deployed and used in many technologies e.g. VScode, so many libraries available
JSON Cons: no native support for comment (though alternatives exist like //)
Bottom line, one needs to be selected and tried. Proposal from Reinhard: start with YAML as it was the initial plan and see if we face technical issues in the future development. In case of such issue, re-open the topic.
One action though : try and experiment schema with yaml.

We have experimented and demonstrated the schema files for YML formatted files and e.g. integration with Visual Studio Code giving a good user experience including help with "wrong" indentations.
For the experimentation of the projmgr we have decided to go with YAML and revisit that choice afterwards.


"id" column in table preview displayed as float

Describe the bug
The id column values in the DataSet Table Preview of Data all is displayed as floating point numbers instead of their original type. This discrepancy occurs despite the backend and API returning the correct values for the id column.
How to Reproduce
Load the data into the Dataset S3 bucket, make sure the data contains "id" column as title, and it stores data in integer format.
In data all application crawl the same dataset.
Preview the data under dataset table, id column which is originally in integer is displayed in float format.
Expected behavior
In data all application crawl the same dataset.
Preview the data under the dataset table, id column should display the data in original integer format.
Your project
No response
Screenshots
Sample Data of ID column in S3 bucket:

Sample Data of ID column in Table Preview Tab:

OS
Mac Sonoma 14.5
Python version
3.9
AWS data.all version
2.0.0
Additional context
Backend: The dataset is correctly stored in the backend, and the API retrieves the values accurately.
Frontend: The issue seems to occur on the frontend. Upon reviewing the frontend code, we discovered a potential cause.
In the TablePreview.js file, within the buildRows function, the line obj.id = Math.random(); assigns a unique identifier to each row object. This random ID assignment, required by the DataGrid component from Material-UI for managing and rendering rows, is likely causing the id column to display as floating point numbers.

Hi @ramanjaneyuluravuri105 - I was able to reproduce similar behavior to the above. Looking into TablePreview.js I am seeing the same line of code that is likely causing the issue (obj.id = Math.random();)
DataGrid needs a unique identifier for each of the rows passed in - and in Preview we try to generate this unique values for each row using Math.random() and appending a new id column to the table. However, as described above this would only happen if the data contains an id column because the columns shown are only the column headers retrieved from Glue Table resolved on backend.
Seems like we need a more unique column header than id to not overwrite any of the data we are trying to preview. I will add this issue into our backlog and see when we can prioritize - thank you for opening the issue and always welcome contributions from the community as well!


files disappeared for using a while [bug]

when used the plugin for a while , the files in obsidian explore could not see , but it would come back again after reload app.
obsidian : 1.4.16
plugin: 1.2.0

Should be fixed with version 1.2.1 🥳
Please reopen if it persists.


Vehicle shows as disconnected

Describe the bug
I added a vehicle, Nissan Leaf ZE1 2018, via evcc cli and checked it in the yaml file - looks good.
When I run ./evcc --log trace I can see the call to the vehicle API and the 200 response.
When I run ./evcc vehicle after a few seconds I see the real car results
But in the UI it shows as disconneceted.

Note: I did not setup the charger/wallbox yet, and just added a random IP for it, so I ignore those errors in the log.
Steps to reproduce

Add vehicle
start evcc
Check in the UI that vehicle shows as disconnected

Configuration details
# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: debug
levels:
  cache: error

# unique installation id
plant: ***

interval: 30s # control cycle interval

mqtt:
  broker: <IP_ADDRESS>:1883

meters:
- type: custom
  name: grid
  power:
    source: mqtt
    topic: deye/ac/total_power
  energy:
    source: mqtt
    topic: deye/total_energy
  currents:
    - source: mqtt
      topic: deye/ac/l1/current
    - source: mqtt
      topic: deye/ac/l2/current
    - source: mqtt
      topic: deye/ac/l3/current

- type: custom
  name: pv1
  power:
    source: mqtt
    topic: deye/dc/pv1/power
- type: custom
  name: pv2
  power:
    source: mqtt
    topic: deye/dc/pv2/power

- type: custom
  name: battery
  soc:
    source: mqtt
    topic: deye/battery/soc
  power:
    source: mqtt
    topic: deye/battery/power
  capacity: 9.6

chargers:
- type: template
  template: go-e-v3
  host: <IP_ADDRESS>
  name: wallbox

vehicles:
- type: template
  template: carwings
  title: Nissan Leaf 2018
  icon: car
  user: ***
  password: ***
  vin: ***
  capacity: 40
  phases: 1
  cache: 15m
  mode: pv
  minSoc: 20
  targetSoc: 80
  minCurrent: 6
  maxCurrent: 32
  name: nissan

loadpoints:
- title: Garage
  charger: wallbox
  mode: pv
  phases: 3
  mincurrent: 6
  maxcurrent: 32
  resetOnDisconnect: true
  vehicle: nissan

site:
  title: My home
  meters:
    grid: grid
    pv:
      - pv1
      - pv2
    battery:
      - battery
  residualPower: 100

tariffs:
  currency: EUR # (default EUR)
  grid:
    # static grid price
    type: fixed
    price: 0.3246 # [currency]/kWh

  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.082 # [currency]/kWh
  co2:
    type: grünstromindex
    zip: ***

Log details
./evcc --log trace
[main  ] INFO 2023/09/14 12:22:21 evcc 0.119.5 (42e6f54e)
[main  ] INFO 2023/09/14 12:22:21 using config file: /home/tolea/evcc/evcc.yaml
[main  ] INFO 2023/09/14 12:22:21 starting ui and api at :7070
[db    ] INFO 2023/09/14 12:22:21 using sqlite database: /home/tolea/.evcc/evcc.db
[db    ] TRACE 2023/09/14 12:22:21 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "settings" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT * FROM `settings` 17 <nil>
[mqtt  ] INFO 2023/09/14 12:22:21 connecting evcc-784334122 at tcp://<IP_ADDRESS>:1883
[mqtt  ] DEBUG 2023/09/14 12:22:21 tcp://<IP_ADDRESS>:1883 connected
[db    ] TRACE 2023/09/14 12:22:21 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="devices" -1 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="device_details" -1 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "configs" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "config_details" AND sql IS NOT NULL order by type = "table" desc 2 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT * FROM `config_details` LIMIT 1 -1 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT \"fk_configs_details\" %" OR sql LIKE "%CONSTRAINT fk_configs_details %" OR sql LIKE "%CONSTRAINT `fk_configs_details`%" OR sql LIKE "%CONSTRAINT [fk_configs_details]%" OR sql LIKE "%CONSTRAINT 	fk_configs_details	%") -1 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT count(*) FROM sqlite_master WHERE type = "index" AND tbl_name = "config_details" AND name = "idx_unique" -1 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT \"fk_devices_details\" %" OR sql LIKE "%CONSTRAINT fk_devices_details %" OR sql LIKE "%CONSTRAINT `fk_devices_details`%" OR sql LIKE "%CONSTRAINT [fk_devices_details]%" OR sql LIKE "%CONSTRAINT 	fk_devices_details	%") -1 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%\"device_id\" %" OR sql LIKE "%device_id %" OR sql LIKE "%`device_id`%" OR sql LIKE "%[device_id]%" OR sql LIKE "%	device_id	%") -1 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT * FROM `configs` WHERE `configs`.`class` = 2 ORDER BY id 0 <nil>
[db    ] TRACE 2023/09/14 12:22:21 SELECT * FROM `configs` WHERE `configs`.`class` = 1 ORDER BY id 0 <nil>
[go-e  ] TRACE 2023/09/14 12:22:21 GET http://<IP_ADDRESS>/api/status?filter=alw
[db    ] TRACE 2023/09/14 12:22:26 SELECT * FROM `configs` WHERE `configs`.`class` = 3 ORDER BY id 0 <nil>
[carwings] TRACE 2023/09/14 12:22:26 POST https://gdcportalgw.its-mo.com/api_v200413_NE/gdc/InitialApp_v2.php
[carwings] TRACE 2023/09/14 12:22:27 initial_app_str=***
--
{"status":200,"message":"success","baseprm":"88dSp7wWnV3bvv9Z88zEwg"}
[carwings] TRACE 2023/09/14 12:22:27 POST https://gdcportalgw.its-mo.com/api_v200413_NE/gdc/UserLoginRequest.php
[carwings] TRACE 2023/09/14 12:22:33 Password=***&RegionCode=NE&UserId=***&initial_app_str=***
--
{"status":200,"sessionId":"***","VehicleInfoList":{"VehicleInfo":[{"nickname":"Leaf1***","telematicsEnabled":"true","vin":"***"}],"vehicleInfo":[{"nickname":"Leaf1***","telematicsEnabled":"true","vin":"***","custom_sessionid":"***"}]},"vehicle":{"profile":{"vin":"***","gdcUserId":"","gdcPassword":"","encAuthToken":"***","dcmId":"***","nickname":"Leaf1***","modelyear":"18"}},"EncAuthToken":"***","CustomerInfo":{"UserId":"***","Language":"de-DE","Timezone":"Europe\/Berlin","RegionCode":"NE","OwnerId":"***","EMailAddress":"***","Nickname":"Leaf1tole","Country":"DE","VehicleImage":"\/content\/language\/default\/images\/img\/ph_car.jpg","UserVehicleBoundDurationSec":"946771200","VehicleInfo":{"VIN":"***","DCMID":"**","SIMID":"***","NAVIID":"***","EncryptedNAVIID":"***","MSN":"***","LastVehicleLoginTime":"","UserVehicleBoundTime":"2023-09-13T08:48:05Z","LastDCMUseTime":"","NonaviFlg":"false","CarName":"LEAF","CarImage":"carimg7.png"}},"UserInfoRevisionNo":"1","ngTapUpdatebtn":"300000","timeoutUpdateAnime":"300000","resultKey":"***"}
[go-e  ] TRACE 2023/09/14 12:22:33 GET http://<IP_ADDRESS>/status
[mqtt  ] TRACE 2023/09/14 12:22:36 recv deye/dc/pv1/power: '1861.0'
[mqtt  ] TRACE 2023/09/14 12:22:36 recv deye/dc/pv2/power: '2306.0'
[mqtt  ] TRACE 2023/09/14 12:22:36 recv deye/total_energy: '2312.8'
[mqtt  ] TRACE 2023/09/14 12:22:36 recv deye/battery/power: '-3521.0'
[mqtt  ] TRACE 2023/09/14 12:22:36 recv deye/battery/soc: '67.0'
[mqtt  ] TRACE 2023/09/14 12:22:36 recv deye/ac/total_power: '9.0'
[mqtt  ] TRACE 2023/09/14 12:22:36 recv deye/ac/l1/current: '0.7'
[mqtt  ] TRACE 2023/09/14 12:22:36 recv deye/ac/l2/current: '0.1'
[mqtt  ] TRACE 2023/09/14 12:22:36 recv deye/ac/l3/current: '0.5'
[gsi   ] TRACE 2023/09/14 12:22:38 GET https://api.corrently.io/v2.0/gsi/prediction?zip=***
[gsi   ] TRACE 2023/09/14 12:22:38 {"support":"If you have any question please contact ... }
[db    ] TRACE 2023/09/14 12:22:38 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="sessions" -1 <nil>
[db    ] TRACE 2023/09/14 12:22:38 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "sessions" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2023/09/14 12:22:38 SELECT * FROM `sessions` LIMIT 1 -1 <nil>
[site  ] INFO 2023/09/14 12:22:38 site config:
[site  ] INFO 2023/09/14 12:22:38   meters:      grid ✓ pv ✓ battery ✓
[site  ] INFO 2023/09/14 12:22:38     grid:      power ✓ energy ✓ currents ✓
[site  ] INFO 2023/09/14 12:22:38     pv 1:      power ✓ energy ✗ currents ✗
[site  ] INFO 2023/09/14 12:22:38     pv 2:      power ✓ energy ✗ currents ✗
[site  ] INFO 2023/09/14 12:22:38     battery 1: power ✓ energy ✗ currents ✗ soc ✓ capacity ✓
[site  ] INFO 2023/09/14 12:22:38   vehicles:
[site  ] INFO 2023/09/14 12:22:38     vehicle 1: range ✓ finish ✗ status ✓ climate ✓ wakeup ✗
[lp-1  ] INFO 2023/09/14 12:22:38 loadpoint 1:
[lp-1  ] INFO 2023/09/14 12:22:38   mode:        pv
[lp-1  ] INFO 2023/09/14 12:22:38   charger:     power ✓ energy ✓ currents ✓ phases ✗ wakeup ✗
[lp-1  ] INFO 2023/09/14 12:22:38   meters:      charge ✓
[lp-1  ] INFO 2023/09/14 12:22:38     charge:    power ✓ energy ✓ currents ✓
[lp-1  ] DEBUG 2023/09/14 12:22:38 phase timer inactive
[lp-1  ] DEBUG 2023/09/14 12:22:38 pv timer inactive
[lp-1  ] DEBUG 2023/09/14 12:22:38 guard timer inactive
[lp-1  ] INFO 2023/09/14 12:22:38 vehicle updated: unknown -> Nissan Leaf 2018
[lp-1  ] DEBUG 2023/09/14 12:22:38 set charge mode: pv
[lp-1  ] DEBUG 2023/09/14 12:22:38 set min current: 6
[lp-1  ] DEBUG 2023/09/14 12:22:38 set target soc: 80
[lp-1  ] DEBUG 2023/09/14 12:22:38 set max current: 32
[go-e  ] TRACE 2023/09/14 12:22:38 GET http://<IP_ADDRESS>/status
[lp-1  ] ERROR 2023/09/14 12:22:43 charger: Get "http://<IP_ADDRESS>/status": dial tcp <IP_ADDRESS>:80: i/o timeout
[site  ] DEBUG 2023/09/14 12:22:43 ----

What type of operating system are you running?
Linux
Version
0.119.5

Disconnect means, that your car is not connected to the wallbox and when your charger is not configured this is expected.

@naltatis This misunderstanding I seen several times. Any good idea how to improve the UX here?

I see - ok , I was expecting this kind of response . Then it is ok to close this unless you want to use it for tracking UX improvement.

The default poll mode is charging. So the soc is not polled when disconnected: https://docs.evcc.io/en/docs/reference/configuration/loadpoints/#pollmode

Der Verbindungsstatus im UI kommt von der Wallbox, nicht vom Auto...


Update DialogBox.fxml to fix text overrun

Change styling of DialogBox directly in the FXML file.
As discussed in #22, this is an alternative to PR #37

@flexibo is this what you meant?

@damithc Yes. I do see your point about teaching students to learn about the problem, maybe in addition to this change, we can explain what minHeight="-Infinity" does?
Maybe a side by side comparison?

@JiaXinEu perhaps we can still add an explanation about why we use this minHeight="-Infinity"

perhaps we can still add an explanation about why we use this minHeight="-Infinity"

Updated with a note on the effect of setting minHeight = "-Infinity" and a comparison without setting minHeight @damithc @flexibo


Cleanup iCubInterface-related configuration files

As emerged in https://github.com/robotology/icub-main/issues/632, in this repo there are a lot of configuration files for the iCubInterface executable, that have been deprecated by robotinterface/yarprobotinterface in ~2012 and removed from the icub-main repo in 2016 (see https://github.com/robotology/icub-main/commit/c6038729c9a3401a2d047a20c756867c35692944).
We need to understand what to do with iCubInteface-related files still contained in this repo (see https://github.com/robotology/robots-configuration/search?utf8=✓&q=net_headtorso&type= for a short overview). I think it is perfectly safe to remove them.

The search leads to files in robots-icebox and iCubTemplates (which we still retain).
I think we can close this issue now.


Type error in FineTuningResponse causing Voice serialization to fail

Voice.fine_tuning.message is typed as an optional str:
https://github.com/elevenlabs/elevenlabs-python/blob/7af17bce7abcfa5e761ab02813ed592ab581da1c/src/elevenlabs/types/fine_tuning_response.py#L22
... but what's given back from the API is actually an object. For example, Freya:
  "Freya": {
    "voice_id": "jsCqWAovK2LkecY7zXl4",
    ...
    "fine_tuning": {
     ...
      "message": {
        "eleven_multilingual_v2": "",
        "eleven_turbo_v2": "",
        "eleven_turbo_v2_5": ""
      },
      ...
    },
    ...
}

This manifests an error if I try to serialize the Voice (to JSON) and then load it with Voice.validate():
pydantic.v1.error_wrappers.ValidationError: 1 validation error for Voice
fine_tuning -> message
  str type expected (type=type_error.str)

@mbforbes this turned out to be a break in the eleven labs api, and is fixed in the latest SDK version!
You should be able to download version v1.6.0rc0 for the fix.

Thanks for the quick turnaround on this!


Multi-window dynamic context support

As specified in the docs:
After {@link Build.VERSION_CODES#R}, {@link Resources} must be obtained by {@link android.app.Activity} or
{@link android.content.Context} created with {@link android.content.Context#createWindowContext(int, Bundle)}.
{@link Application#getResources()} may report wrong values in multi-window or on secondary displays.

Currently kite does not support sharing and dynamically switching context. Therefore it lacks support for multi-window apps. There should be a manual mode where the context can be explicitly set every time a resource is accessed, and therefore the internal Kite context is not used in those occasions.

Hi.
Great library!
Do you have any solution for this?
A normal app uses multi-window?
Thanks.

Afaik, since apps targeting Android R, Resouces must be called on a Context which references an active window. This is because apps start having different kind of target devices, such as multiple-display phones. This (I believe) changes how resources have to be fetched, depending on how your app is built. In theory, if you do not differentiate between screens and you develop your app without this attention (in context, using application context to initialize kite, pun not intended) , you will work for 1-screen devices but run into hypothetical issues in multi screen devices. This means that you have to switch contexts basing on your usage-site.
This is being worked on, and will be implemented using extension functions to temporarily run fetches in another Context, or to permanently change the current Kite context (which is not possible by default).
Take a peak at KiteContextExtensions.kt. Will be stable soon, I need to write some docs and samples about it.

Thanks for the great library!
Your repository contains .idea folder.
It is automatically now for multi-window?

Hey @prsolucoes! Yes, effectively 1.1.0 contains all the tools to dynamically switch context, and can be used with milti-window applications. In a couple of hours I'll publish the release :)


Support loading assets from Package.

You may or may not want to incorporate this pull request at this time.  I won't be surprised if Xcode changes how assets in packages work.  But this may be a good reference for others who want to load assets from a SPM bundle at this time.  Once we get into the later betas for Xcode, perhaps we'll consider this pull request.

@McProb Thanks for submitting! I agree it would be best to wait until iOS 14 is finalized before merging this, I'll leave this up until then.

@McProb any idea if this behavior remained consistent in the iOS 14 GM? if so I can merge this

I'm not certain that this will stay working.  I'll take a look in the next day or two and see if I can get the official way of doing it working.

  I'll take a look in the next day or two and see if I can get the official way of doing it working.