Segmentation fault (core dumped)

I clone the bug fixed code and run it with setting max length to 50, 70, 90, 150, segmentation fault comes as before. My TF version is gpu-1.12 and run it on two pieces of Tesla K80.

Hi moore,
Please check the following points:
1, What is the max sentence length in your dataset (data.txt)? This is important because the -maxsentlen option should be set larger than the max sentence length to avoid memory overflow. You can also eliminate some outliers (i.e. with very long sentence).
2, What is the max dependency length in your dataset? The -maxdeplen should be set larger than the max dependency relation length (like, if your longest dependency relation is '3|123|4 5|9|7', then set -maxdeplen 2)
Please check them and tell me whether it will work.

Actually I used the dataset the author mentioned. So the default parameter should work.

Hi,
I tried the latest code on my dataset and it turned out to be ok. I guess there is something wrong with the official dataset?
Unfortunately my vpn failed recently, so I cannot download the updated dataset and test on it. Would you mind posting several lines of data.txt here?

Hi,
For me, the code is working perfectly without any segmentation fault. Please make sure that you are using the right dataset (link) for training because I recently updated it as it had few redundant information.
@loginaway, I am listing first 10 rows of data.txt below
15 14 24351 24351 10 7 436 2083 26 8385<PHONE_NUMBER> 215 13 6932 2293 2 1|0|26 5|1|11 5|2|23 5|3|34 5|4|7 7|6|11 5|7|9 9|8|7 7|9|38 9|10|13 13|11|2 13|12|7 10|13|16 5|14|10
25 24 90 29 272 494 15 41788 4986 3<PHONE_NUMBER> 49 2135 142 66 2257 15 2293 215 13 120543 39 539 5204 2 3|0|3 3|1|21 3|2|15 6|4|2 6|5|7 3|6|16 3|7|10 12|8|0 10|9|7 12|10|11 12|11|27 3|12|17 12|13|38 15|14|15 17|15|15 17|16|2 12|17|16 17|18|13 20|19|2 18|20|16 20|21|33 20|22|19 20|23|5 3|24|10
12 11 24351 1670 1 87 8 35 20903 3 12386 6 12557 2 1|0|11 3|2|34 1|3|38 6|4|0 6|5|23 1|6|17 6|7|10 6|8|19 6|9|33 6|10|19 1|11|10
24 23 105 1905 8 1 87 10 308 3 24351 2257 24861 6641 1470 39 17396 2558 5 1 3782 4 59 664 1687 2 6|0|0 6|1|11 4|2|2 4|3|34 1|4|16 6|5|23 10|6|17 10|7|10 10|8|11 10|9|15 10|11|36 15|12|26 12|13|33 12|14|19 11|15|38 18|16|2 18|17|34 15|18|16 22|19|2 22|20|34 22|21|7 18|22|16 10|23|10
24 23 24351 527 48 1698 7 3258 570 4 6362 23 7 238 1209 79 1419 3 705 0 6 7701 15 7 2083 2 3|0|11 3|1|27 3|2|25 6|4|34 6|5|7 3|6|38 8|7|2 6|8|16 14|9|2 14|10|34 14|11|7 14|12|7 14|13|26 6|14|16 6|15|10 17|16|15 6|17|5 17|18|33 17|19|19 22|20|2 22|21|34 19|22|16 3|23|10
16 15 93 1399 6 4061 4 24351 2226 3 48 59 4 33 29 14234 4469 2 1|0|7 6|1|11 1|2|33 1|3|19 5|4|2 1|5|16 6|7|10 9|8|25 14|9|11 11|10|2 9|11|16 14|12|23 14|13|15 6|14|1 6|15|10
17 16 12473 498 4 1111 72 6135 18139 3 2190 3338 23 3416 35695 8 984 85756 2 1|0|26 5|1|11 3|2|2 1|3|16 5|4|27 5|6|15 5|7|10 5|8|36 8|9|38 12|10|2 12|11|7 8|12|16 14|13|0 8|14|17 14|15|38 5|16|10
20 19 12349 4 24351 49 272 52 1281 60 1 3582 4 508 6 40393 24351 39 500 4621 15144 2 6|0|3 2|1|2 0|2|16 6|3|27 6|4|15 6|5|21 9|7|2 9|8|34 6|9|16 14|10|2 14|11|7 11|12|33 11|13|19 9|14|16 9|15|33 18|16|7 18|17|7 9|18|19 6|19|10
27 26 1 1041 12 24351 11 10 1047 23 1 1041 12 21053 11 6 1 10588 242 50894 3 1241 2013 1667 23 1 1032 3 2105 3|0|34 3|1|26 3|2|10 6|3|3 3|4|10 6|5|21 20|6|1 11|7|2 11|8|34 11|9|26 11|10|10 6|11|16 11|12|10 11|13|33 15|14|34 11|15|19 11|16|10 11|17|5 20|18|10 20|19|11 20|21|15 24|22|2 24|23|34 20|24|16 20|25|10 20|26|17
30 29 12 21053 11 19 23 3 12 0 11 3 1264 12 42 449 6704 11 97 23 1 0 11131 0 242 19 12 27 242 11 3 2105 1|0|10 1|2|10 7|3|10 7|4|7 7|5|10 7|6|10 1|7|5 7|8|10 7|9|10 7|10|5 10|11|10 10|12|38 14|13|2 12|14|16 10|15|10 7|16|10 21|17|2 21|18|34 21|19|7 21|20|26 7|21|16 7|22|10 25|23|10 25|24|10 7|25|5 25|26|10 25|27|10 25|28|10 25|29|5

@svjan5 Thank you, and the code runs well on the 10 rows of data on my server.

Hi,
I tried to replace the data.txt with these 10 rows of data and ran the code. The same fault occurred. Could you tell me your specific running environment? I'm going to make sure everything is the same.

Hi @loginaway , can I ask you some detail question on we-chat? I think we-chat communication is more convenient for us.
My we-chat number is 'Moooooooooooore'. If possible, please sent me a message. I'm looking forward to your reply.

Hi moore,
Here are some information of my running environment.
Ubuntu 18.04 LTS
python 3.6.7
tensorflow              1.13.1
tensorflow-gpu          1.8.0

I also met this fault, and tried every combinations of maxsentlen and maxdeplen. It doesn't worked.

Sorry for disturb you. Could you please check the code and help us to solve this problem? Thank you. If there is any improve, please let us know. Best wishes and sincerely thank you.

I'm sorry that we still haven't solved the problem. And although I am willing to help you to debug the code, I can't replicate the error even when the running environment is very similar (except for the gpus).
For now the best solution seems to be switching to another device and test whether it will work.

Hi @IanLiYi1996,
The segmentation fault is only because of batch generation code which is in C++. If you are unable to resolve it because of machine architecture etc. You can try implementing the batch generation in python, it will be quite straightforward. Let me know if you need any help for that.

Thank you for your answer. I will modify and debug according to your method. If there is any progress, I will inform you.

Hi @IanLiYi1996,
You can also create a pull request once you have implemented it will be helpful for other users as well.
Thanks

Hi all,
I have also met this error with the same dataset and same default setting. I found that the error begins from below line in the getBatch() method:
wrds[cnt_wrds] = wid;
At this point, segmentation faulted. I am not so good at C++ but I will try to find the reason, it would be great if you could share some thought on this.
Thanks

Hi @Punchwes ,
Thank you very much for the information and all the efforts you made! And thank you for sharing the solution!

Hi all,
Thanks for @Punchwes, @loginaway and @svjan5   's efforts. After modify the address obtaining code and extend the max-length param, the code finally could run on my servers.
From the training log, it looks normally. The training speed is about 10k sentences per min (Is there some way to speed up?).

Hi @moore3930,
It would be great if you create a pull request with the changes you made so that others don't face this issue in the future.
Thanks

Thanks a lot @moore3930!
Thank you everyone for their help!


fix: reword and remove unnecessary parts

Codecov Report
Base: 89.94% // Head: 89.94% // No change to project coverage :thumbsup:

Coverage data is based on head (bd0132f) compared to base (da26545).
Patch has no changes to coverable lines.

Additional details and impacted files
@@                   Coverage Diff                   @@
##           feat/report-comparison    #1136   +/-   ##
=======================================================
  Coverage                   89.94%   89.94%
=======================================================
  Files                         177      177
  Lines                        5220     5220
=======================================================
  Hits                         4695     4695
  Misses                        525      525

Flag
Coverage Δ

py3.8-ubuntu-latest-pandas
89.94% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Don't add the Host header if it already exists

the request can already contain a host header, either because it came
from the async_h1::accept, or because the user set it manually. In that
case don't add a second host header (the one based on req.url()).

This PR depends on the http_types::headers::HOST addition in https://github.com/http-rs/http-types/pull/97

+1

@gdamjan published https://github.com/http-rs/http-types/releases/tag/v1.2.0; blocker is now removed (:

do I bump the version in Cargo.toml in this PR too?

@gdamjan this PR is great; we'll bump the async-h1 package version when we release (:


[codespan-reporting] Don't require FileId when instantiating Label

Problem
This is just a small pain point I've been having with Label: you are required to pass in the FileId when creating a Label, which means that any error reporting logic must always be aware of what file it's operating on. This has led to some unfortunate coupling where FileId has to be threaded throughout any logic that might report a diagnostic.
For example, I have a Parser struct that can be constructed with a string reference:
let source : &str = "...";
let mut parser = Parser::new(source);
let ast = parser.parse_module();

But actually the Parser needs the FileId to create Label instances, so it looks more like:
let file = filesystem.load("...");
let source = filesystem.resolve(file).unwrap();
let mut parser = Parser::new(source, file);
let ast = parser.parse_module();

Not a huge deal, but it's more annoying. Parser will only ever report diagnostics for a single file. It also adds friction for writing tests with modules like Parser . I have to instantiate that filesystem for the tests instead of just passing in that &str. I want Parser and other modules like it to be independent of my filesystem abstraction, but this FileId requirement makes that difficult.
Proposal
It would be nice if FileId was not required when instantiating Label and instead you could add it with another chained method like with_file
Label::primary(span).with_message("Invalid character").with_file(file_id);

This could be paired with an API for Diagnostic that applies a FileId to all Label instances that don't have one, which would be useful for Parser.

This is also (somewhat) related to #200,  Looking at the existing/current Label structure:
pub struct Label<FileId> {
    pub style: LabelStyle,
    pub file_id: FileId,
    pub range: Range<usize>,
    pub message: String,
}

It seems like there are 2 options for achieving the proposed behavior:

Turn pub file_id:FileId into pub file_id: Option<FileId>
Remove file_id from Label, and have with_file(file_id) return some other type such as FileLabel.

It is worth noting that your parser could perform the second case already with a struct like:
pub struct AnonLabel {
    pub style: LabelStyle,
    pub range: Range<usize>,
    pub message: String,
}

impl AnonLabel {
    pub fn with_file<FileId>(self,file:FileId) -> Label<FileId> {
        // or maybe this should just construct directly rather than new().with_message()
        Label::new(self.style, file, self.range).with_message(self.message)
    }
}

So, even if codespan-reporting doesn't change the FileId requirement or include something like the above itself, you should still be able to achieve something like what you want.

So, even if codespan-reporting doesn't change the FileId requirement or include something like the above itself, you should still be able to achieve something like what you want.

Yeah I've already gotten around this by using my own Diagnostic struct, it's just somewhat annoying to have to re-implement the all APIs for this.

Sorry for the lack of updates on this, it's been a while! This is definitely a bit annoying. It would be helpful to know what any proposal would look like in the multi-file use-case. Like, when you have labels from different files in the same diagnostic.

Possibly FileId could implement Default, where the default means an unknown file? Then it would be displayed without the filename.

I mean, we have SimpleFiles which uses () for the file id?

I'm now wondering if we could investigate a richer 'diagnostic tree'. Perhaps something like:
Diagnostic::error()
    FileLabel::primary(file_id, range)
    FileLabel::secondary(file_id, range)
    FileLabel::secondary(file_id, range)
FileDiagnostic::error(file_id)
    Label::primary(range)
    Label::secondary(range)
    FileLabel::secondary(file_id, range)

I think the simplest solution is to use () if the file id is to be inserted later. And then implement with_file only for Label<()>/Diagnostic<()>. I would only add it to those specific variants to prevent people from shooting themselves in the foot by changing the file id, not just inserting one.
impl Label<()>{
    fn with_file<NewFileId>(self, file_id: NewFileId)->Label<NewFileId>{
        Label {
            file_id,
            ..self
        }
    }
}

impl Diagnostic<()>{
    fn with_file<NewFileId>(self, file_id: NewFileId)->Diagnostic<NewFileId>{
        // ...
    }
}


Hot restart isnt closing keyboard

it might be too minor to  be worked on if its valid issue
1 .create two screens (Page1 with button that naviagates to page2 , Page 2 has a textFormfield)
2. Navigate to page 2 using that button . start typing in that textfield, while the keyboard is open hot restart your app , keyboard doesnt closes
Code for reproducing : https://pastebin.com/zZhhtAX7
Expected Outcome : keyboard should also close

Duplicate of https://github.com/flutter/flutter/issues/10713

ok


bpf: nodeport: phase out revDNAT support for local backends in bpf_lxc

We recently added support for Service RevDNAT in to-netdev / to-overlay (https://github.com/cilium/cilium/pull/22756). This is currently only used as fall-back, for backends that are either in hostNetwork or bypass the revDNAT step in from-container.
With this patch we switch all new connections for local backends to the new RevDNAT mechanism. The code change in itself is simple: once to-container doesn't set the .node_port flag for a pod-level CT entry, from-container also doesn't apply revDNAT for this connection.
For new connections, replies by a local backend will now pass through the whole from-container path without being revDNATed. They eventually reach the revDNAT stage in handle_nat_fwd(), and get handled there.
To avoid any cause for disruption, old connections continue to receive their RevDNAT in from-container as before (unless they get reopened, which is a good point to stop their handling in bpf_lxc). We can pursue their transition in a subsequent patch.

/test


Homepage

overview: Create the homepage excluding navigation bar.
url path:   (/)
Details
Company title card
Basic info about company
Basic details about different plans

should link to plan details page and specific plan -> (/plans/[planId])
if plan does not exist yet just link to current page and add comment to fix later
<any other details you want to add :) >

created basic next js homepage route, displaying plans with links to plan page


Add link to home from experience pg

Make "Kevin Harper" a link to home pg.

Suggestion:
Instead of linking the "Kevin Harper" title, place a breadcrumbs-style nav on top of all subpages.

Suggestion:
Consider adding a top nav to all subpages.


fix: NFT image not loading because of CSP errors

It loads locally but in staging env it doesn't show up:


Add --include-resources, --exclude-resources for restore operations

@ncdc PTAL. Note there's some overlap between this and #65 re: resolving resources, which I'll de-dupe (preference is for #65 to go in first).
Fixes #33
Would like to do a bit more testing before merging.

@skriss if we want this for 0.4.0, it'll have to go in by itself, and #65 can come after we cut the release. If you want #65 to go in first, we can defer this PR to v0.5.0.


Correct typo

Signed-off-by: Gábor Lipták<EMAIL_ADDRESS>

Thanks a lot for helping with making the documentation better!


clarification of CANopenNode versions vs libedssharp code generator

Hi,
I've been having serious problems trying to find a combination of versions that works and still haven't managed.
Here's a list of my attempts with Libedssharp-0.8 @ g6f67539
*** CANopenNode V4.0 (f73025e)

_LEGACY exporter , compile with -DCO_VERSION_MAJOR=4 not allowed due to  #if CO_VERSION_MAJOR < 4
_LEGACY exporter , compile with -DCO_VERSION_MAJOR=2 : fails because CO_OD_entryRecord_t is undefined
_V4 exporter, compile with -DCO_VERSION_MAJOR=4 : fails because OD_obj_record_t is undefined
_V4 exporter, compile with -DCO_VERSION_MAJOR=2 : not allowed due to #if CO_VERSION_MAJOR < 4

*** CANopenNode newOD (d224de0)
_V4 exporter, compile with -DCO_VERSION_MAJOR=4 : fails because ODA_STR undefined

*** CANopenNode v1.3 (b92b4bb)
_LEGACY exporter , compile with -DCO_VERSION_MAJOR=1 : fails because CO_OD_PERSIST_COMM is undefined
_V4 exporter, compile with -DCO_VERSION_MAJOR=4	: fails because #include "301/CO_ODinterface.h" (no such file)

Would it be possible to mention at least 1 working combination of any version of CANopenNode an  libedssharp ? I stopped manually fuzzing this, it was getting ridiculous...

I would recommend latest Libedssharp autobuild configured for legacy export and CANopenNode V2 current master or V1.3.
Le 23 déc. 2020 à 22:51, à 22:51, fenugrec<EMAIL_ADDRESS>a écrit:

Hi,
I've been having serious problems trying to find a combination of
versions that works and still haven't managed.
Here's a list of my attempts with Libedssharp-0.8 @ g6f67539
*** CANopenNode V4.0 (f73025e)

_LEGACY exporter , compile with -DCO_VERSION_MAJOR=4 is  #if
CO_VERSION_MAJOR < 4
_LEGACY exporter , compile with -DCO_VERSION_MAJOR=2 : fails because
CO_OD_entryRecord_t is undefined
_V4 exporter, compile with -DCO_VERSION_MAJOR=4 : fails because
OD_obj_record_t is undefine
_V4 exporter, compile with -DCO_VERSION_MAJOR=2 : not allowed due to
#if CO_VERSION_MAJOR < 4

*** CANopenNode newOD (d224de0)
_V4 exporter, compile with -DCO_VERSION_MAJOR=4 : fails because ODA_STR
not declared

*** CANopenNode v1.3 (b92b4bb)
_LEGACY exporter , compile with -DCO_VERSION_MAJOR=1 : fails because
CO_OD_PERSIST_COMM is undefined
_V4 exporter, compile with -DCO_VERSION_MAJOR=4	: fails because
#include "301/CO_ODinterface.h" (no such file)

Would it be possible to mention at least 1 working combination of any
version of CANopenNode an  libedssharp ? I stopped manually fuzzing
this, it was getting ridiculous...
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/CANopenNode/CANopenNode/issues/257

You were one day to early. Latest libedssharp will work with latest CANopenNode V4 (newOD). CANopenNode V2 will be fixed in next days.

Thanks, in that case I will try again in a few days. Do I understand that

V2 is "feature-complete", i.e. comparable to 1.3 ;
V4 is newOD, but as you mentioned in #245 is still missing some functionality

I understand this stack is constantly evolving especially now with the newOD refactoring, but it would be really, really helpful to summarize in the README / docs which versions work with which libedssharp builds + exporters.

@fenugrec  As a starting point I will describe what I am currently using. You should change configuration if you plan to use LSS or SYNC.

CANopenNode (V2) current master :  aada195b
Libedssharp latest auto build : 0.8-109-gb3f85db
https://github.com/robincornelius/libedssharp/raw/gh-pages/build/OpenEDSEditor-latest.zip

On CANopenNode I configured the following defines :

File
Line
Original
Modified

301/CO_config.h
457
#define CO_CONFIG_PDO_SYNC_ENABLE 0x04
#define CO_CONFIG_PDO_SYNC_ENABLE 0x00

301/CO_TIME.h
33
#define CO_CONFIG_TIME (0)
#define CO_CONFIG_TIME (1)

301/crc16-ccitt.h
34
#define CO_CONFIG_CRC16 (0)
#define CO_CONFIG_CRC16 (1)

CANopen.h
244
#define CO_NO_LSS_SLAVE 1
#define CO_NO_LSS_SLAVE 0

I also added this define CO_VERSION_MAJOR=2 on compiler options (Define C macro on XC16 compiler). The default configuration without this define is CANopenNode V1.3.
You will find attached an OD example :
OD.zip
And the driver I am using (dsPIC33) if your target driver is incomplete you may find how to add the missing declarations from this one :
dsPIC33_Driver.zip
Please note on Libedssharp you have to configure : Tools / Preferences / And select CANOPENNODE_LEGACY as exporter (for V1.3 and V2 CANopenNode)
Hope this help !

see https://github.com/CANopenNode/CANopenNode/issues/247#issuecomment-751703054

@JuPrgn thanks for that clear summary, much appreciated.

You are welcome !
The Libedssharp version I mentionned had a problem with the combobox to set pdo map as optionnal it was automatically returning off. I had to set it manually on the project file. This was not the case on the previous one and should be fixed on the new one that is currently available. Please let me know if you need some more details or if this work for you too.

Latest libedssharp is fixed now, CANopenNode_Legacy works well and XDD(v1.1) may be used for storing any project. It is not necessary to use old xml format for storage.
example/_project.xml should be used as a template for projects based on CANopenNode (<= v2). Libedssharp produces equivalent CO_OD.h/.c files as in example directory.
301-profile.xpd is a template for CANopenNode (>= v4)
Readme.md files are updated. Please use latest versions of libedssharp and CANopenNode (master or newOD branch)
There was some mess since last OD updates. I think, it is fixed now.

Thanks. I think I've found a working combination for the moment. I'll reopen if I run into more issues.

Thanks. I think I've found a working combination for the moment. I'll reopen if I run into more issues.


panic: "attempt to divide by zero" when an empty list of items is passed to Select

If you pass Select an empty list of items, and don't have paginated output enabled, you get a division by zero panic at this line:
https://github.com/mitsuhiko/dialoguer/blob/37b460a2e34c45174b39c900a2c2609657c0d91b/src/prompts/select.rs#L255
I'm using dialoguer 0.6.2.

The things is you should not be passing 0 items to the select prompt at all. I could have a nicer panic message but it still would result in a panic. Unless someone can convince me of a use case where select should be working with 0 items.

Unless someone can convince me of a use case where select should be working with 0 items.

Not exactly, but a simple assert!(!selections.is_empty(), "selection list cannot be empty!") should do the trick imo.

Okay with me. Please send a PR. Also, please check other situations like this too instead of only select.


Starting a waydroid container manually works perfectly, but the waydroid-container service errors out.

So starting the waydroid-container service after init-waydroid gives me:
(138370) [14:51:16] Save config: /var/lib/waydroid/waydroid.cfg
(138370) [14:51:16] % mkdir -p /var/lib/waydroid/cache_http
(138370) [14:51:16] Downloading https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_x86_64/lineage-18.1-20231028-VANILLA-waydroid_x86_64-system.zip/download
(138370) [14:52:27] Validating system image
(138370) [14:52:29] Extracting to /var/lib/waydroid/images
(138370) [14:52:42] Save config: /var/lib/waydroid/waydroid.cfg
(138370) [14:52:42] Downloading https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_x86_64/lineage-18.1-20231028-MAINLINE-waydroid_x86_64-vendor.zip/download
(138370) [14:56:33] Validating vendor image
(138370) [14:56:33] Extracting to /var/lib/waydroid/images
(138370) [14:56:36] Save config: /var/lib/waydroid/waydroid.cfg
(138370) [14:56:36] % modprobe -q ashmem_linux
(138370) [14:56:37] % lxc-info --version
4.0.12
(138370) [14:56:37] % mkdir -p /var/lib/waydroid/lxc/waydroid
(138370) [14:56:37] % sh -c cat "/usr/lib/waydroid/data/configs/config_base" "/usr/lib/waydroid/data/configs/config_3" "/usr/lib/waydroid/data/configs/config_4" > "/var/lib/waydroid/lxc/waydroid/config"
(138370) [14:56:37] % sed -i s/LXCARCH/x86_64/ /var/lib/waydroid/lxc/waydroid/config
(138370) [14:56:37] % cp -fpr /usr/lib/waydroid/data/configs/waydroid.seccomp /var/lib/waydroid/lxc/waydroid/waydroid.seccomp
(138370) [14:56:37] % systemctl is-active -q apparmor
(138370) [14:56:37] % mv /var/lib/waydroid/config_nodes /var/lib/waydroid/lxc/waydroid

in waydroid.log
the systemctl status output just says to check waydroid.log.
Attempting to launch waydroid in any way (show-full-ui, mostly, as nothing is installed) just tells me the container is not running. Trying to launch the waydroid application icon just gives me an empty weston window.
Running the waydroid container manually with "waydroid --details-to-stdout container start" as root gives me:
(139578) [15:01:00] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
STOPPED
(139578) [15:01:00] % modprobe -q ashmem_linux
(139578) [15:01:00] % chmod 666 -R /dev/binder
(139578) [15:01:00] % chmod 666 -R /dev/vndbinder
(139578) [15:01:00] % chmod 666 -R /dev/hwbinder

Prior to running a waydroid application, then
(143217) [15:03:31] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
STOPPED
(143217) [15:03:31] % modprobe -q ashmem_linux
(143217) [15:03:31] % chmod 666 -R /dev/binder
(143217) [15:03:31] % chmod 666 -R /dev/vndbinder
(143217) [15:03:31] % chmod 666 -R /dev/hwbinder
(143217) [15:03:35] % /usr/lib/waydroid/data/scripts/waydroid-net.sh start
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
vnic is waydroid0
Warning: ZONE_ALREADY_SET: 'waydroid0' already bound to 'trusted'
success
(143217) [15:03:36] % systemctl is-active -q nfcd
(143217) [15:03:36] % chmod 777 -R /dev/dri
(143217) [15:03:36] % chmod 777 -R /dev/fb0
(143217) [15:03:36] % chmod 777 -R /dev/video2
(143217) [15:03:36] % chmod 777 -R /dev/video1
(143217) [15:03:36] % chmod 777 -R /dev/video0
(143217) [15:03:36] % mv /var/lib/waydroid/config_session /var/lib/waydroid/lxc/waydroid
(143217) [15:03:36] % mount -o context="system_u:object_r:waydroid_rootfs_t:s0",ro /var/lib/waydroid/images/system.img /var/lib/waydroid/rootfs
(143217) [15:03:36] % mount -t overlay -o context="system_u:object_r:waydroid_rootfs_t:s0",ro,lowerdir=/var/lib/waydroid/overlay:/var/lib/waydroid/rootfs,upperdir=/var/lib/waydroid/overlay_rw/system,workdir=/var/lib/waydroid/overlay_work/system,xino=off overlay /var/lib/waydroid/rootfs
(143217) [15:03:36] % mount -o context="system_u:object_r:waydroid_rootfs_t:s0",ro /var/lib/waydroid/images/vendor.img /var/lib/waydroid/rootfs/vendor
(143217) [15:03:36] % mount -t overlay -o context="system_u:object_r:waydroid_rootfs_t:s0",ro,lowerdir=/var/lib/waydroid/overlay/vendor:/var/lib/waydroid/rootfs/vendor,upperdir=/var/lib/waydroid/overlay_rw/vendor,workdir=/var/lib/waydroid/overlay_work/vendor,xino=off overlay /var/lib/waydroid/rootfs/vendor
(143217) [15:03:36] % mount -o bind /var/lib/waydroid/waydroid.prop /var/lib/waydroid/rootfs/vendor/waydroid.prop
(143217) [15:03:36] Save config: /var/lib/waydroid/waydroid.cfg
(143217) [15:03:36] % lxc-start -P /var/lib/waydroid/lxc -F -n waydroid -- /init
(143217) [15:03:36] New background process: pid=143321, output=background
(143217) [15:03:36] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
STOPPED
(143217) [15:03:36] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
RUNNING
(143217) [15:03:36] waiting 10 seconds for container to start...m running a fresh reinstallation, both are version 38

Android functions normally during this.
I've been attempting to figure out what's "wrong" with how the container service is launching waydroid, in comparison to running it manually as root, for about a week now, but I've kinda given up. Any ideas?
It possibly merits pointing out that this occurs on bazzite and bazzite-gnome. I've tried fresh reinstallations of both, and they're both version 38.
I'm sorry if this isn't particularly useful information. I'm unaccustomed to asking for help figuring these things out, so if there's a format I'm expected to follow, I'll gladly change this post if you point it out. A cursory assessment of other issues in this repo didn't indicate there was an expected format.

Try sudo setenforce 0
SELinux still has some issues with Waydroid in OCI environments.

Try sudo setenforce 0
SELinux still has some issues with Waydroid in OCI environments.

This doesn't appear to have any impact on the issue, unfortunately. Container service still fails, launching manually still works, even with selinux set to permissive.

As a quick update: it appears this is fixed in 39. Still occurs in 38

After a reinstall, can confirm I'm experiencing the same issue again. However, closing as dup of #528 and #485


allow execution even if there are no inputs

Hello, I was looking at the issue #3 and I took a shoot at resolving it.

the execution panel will show even if there are no inputs
the execute button will be disabled if there is no account connected for the function and a tooltip will shown.

disabled:

enabled

nice tool btw! regards.

Hi Rudy, this is great! Thanks for contributing and picking this up so quickly.


how to add the ribbon

is there any way to create ribbon ,which is marked in image with blue circle.
becouse when i uses > tag it come one after one in out put.
@Dogfalo
here is my code:

$56

			Easy Polo Black Edition.

        shopping_cartAdd to cart

```

I think this belongs on SO as this isn't an issue of the framework


bad urls

There is a bad urls in the customer success kit in the end user communication folder, in Countdown template at the second (youtube) video link

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

ID: 3cdf3243-40dc-708c-cefc-8be68491a3be
Version Independent ID: 0fc81593-de9a-c453-4a1c-ec1ebbfe2ecf
Content: Support remote workers using Microsoft Teams - Microsoft Teams
Content Source: Teams/support-remote-work-with-teams.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@mgcharumilind Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@mgcharumilind thank you for reaching out. Just to clarify are you talking about the Customer service kit that you download from this article? I've just had a look there and I can't see any videos. Please can you double-check and confirm. It could have been fixed in the interim with the article update today.

I believe the broken link has since been removed from the email template in question

@scanum this can be closed thank you.

@mgcharumilind Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Search Bar Looses Focus While Typing

Did you read the README?

[X] I have read the README, the theme is installed/configured correctly and the "Troubleshooting" section contains no information related to my problem

Do you have the latest versions of Spicetify, Spotify and Bloom?

[X] I'm using the latest versions of Spicetify, Spotify and Bloom

Is there already an issue for your problem?

[X] I have checked older issues, open and closed

Is your problem definitely caused by the theme?

[X] I have checked the app behavior without the theme and it is different

Environment & Computer Info
- Spotify version: <IP_ADDRESS>7.g36b715a1
- Installed from: Flatpak,
- Spicetify version: 2.30.8
- Color scheme: All
- Extensions: Full Screen By Daksh2k and Adblock
- Custom apps: No
- Bloom installation method: Spicetify Marketplace

Description
Hello, love this theme, but the search bar looses focus while typing, I mean, if there's a .5 sec in typing the next character.
In Default spotify, the search happens while you type but the search bar doesn't lose focus, while after applying Bloom it does.
therefore I can't search and any spacebar while typing pauses the song.
I'm on wayland, or else I would've attached a screen record.
Screenshots
No response

I can record footage of the issue,
every time the bottom line/shadow disappears it means the search box loses focus which prevents me from writing my query

This is especially frustrating when you have to press space since Spotify interprets it as if you wanted to play/pause the current song.

I noticed the issue, please wait

I have same issue

Yeah I am having the same issue, I wonder if downgrading can solve the issue.

Yeah I am having the same issue, I wonder if downgrading can solve the issue.

same problem with the previous version <IP_ADDRESS>7.
I would like to downgrade Bloom but we can't :(

i also have this problem plssss fix it. :(

same issue

this was fixed with latest commits, please update spotify, spicetify and bloom!


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test-source

Docs Build status updates of commit cf52fe8:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-01-07-08-43-56 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-01-07-08-43-56

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Styling the page - footer

links, content, team info

We will be updating the UI of our application to match this Figma design on page "Prototype web".

To accomplish this, we need to create a <AboutSection> component and add it to our Home page component. This About Section should have:

A black background
A organisation link component (to be implemented twice) with a Roboto Bold 20 link to the relevant organisation and Roboto Regular 20 body text
A team section with Roboto Medium 20 title
A link with icon component to be repeated 5 times - 4x for each team member and 1x for the Github project link - with Roboto Medium 20 link text
Icon SVGs (download from Figma)
Flexbox styling

To see the styling information for the page, activate Figma's Dev Mode in the top righthand corner:

This design is desktop-first, so we will review mobile designs later in the week.

Likely to take 1-2h for feedback


Remove version: maforget.ComicRackCE.Nightly version nightly-fda75fd

This version is older than what has been set in max-versions-to-keep by the publisher.
Microsoft Reviewers: Open in CodeFlow

This isn't the latest version, the link points to version nightly-a0fbb5e #196786. Please remove.


RGI10: Japan glaciers

Open discussion per mail - consensus seems to be to add them.
However they are still under embargo?
@bruceraup any news?

In RGI7


Updates to project layout

@hrshdhgd here is my suggestion for the new commons layout.

We have a registry.yaml which contains all references to all mappings relevant to all of Monarch
We have reconciliation projects. Note they now import the registry (you need to add code to deal with that). Wherever a project registry adds metadata/changes metadata (confidence records in particular), they take precedence over the default registry that is imported. If multiple registries are imported, the second is overwritten by the third, the third overwritten by the fourth etc etc.

What do you think?
To update the registry Makefile:
sh update_registry.sh

Added to code to get default values from registry.yaml
As per my design, I got this warning:
Loading file:ncit_icd10_2017.sssom.tsv
WARNING:root:No default value for mapping_set_id in the registry.yaml file.
WARNING:root:mapping_set_id :http://w3id.org/mapping_commons/disease-mappings/ncit_icd10_2017.sssom.tsv                 does not have default values

This is because the relevant block in registry.yaml is this:
 - mapping_set_id: http://w3id.org/sssom/commons/disease/ncit_icd10_2017.sssom.tsv
    mirror_from: https://raw.githubusercontent.com/mapping-commons/disease-mappings/main/mappings/ncit_icd10_2017.sssom.tsv
    local_name: ncit_icd10_2017.sssom.tsv
    registry_confidence: 0.8

mapping_set_ids don't match. So my code does what is expected.
Question: Which mapping_set_id is correct?


Ctrl-Up and Ctrl-Down don't advance cursor when hits page limit

I use the Ctrl-Up and Ctrl-Down feature very often, so I can scroll a limited amount of distance without losing my place. This has the advantage of allowing me to use the mouse less for view adjustment.
I've noticed that there is a difference between how this behaves in the full Visual Studio and in Code. In Visual Studio, when you use Ctrl-Up/Down and the view moves such that the cursor is at the limit of the screen, then the editor will advance the cursor such that it remains on the last line visible. Code, however, does not do this, so the next time you hit a key (e.g. a cursor key without pressing Ctrl) then the view resets back to the line you were originally on which is quite jarring.

First of all, I just wanted to say it's great to finally have keyboard scrolling in VS Code! That said, this unexpected behavior can be quite frustrating for some of us as it breaks your flow when coding in addition to not matching the feature in other editors.
However, I can see how others might like the current behavior so they can scroll a bit to see some code for reference and then snap back to the original context that's possibly offscreen (maybe that's why the original author did it that way?)
Perhaps this is best made into a configuration flag instead of just 'fixing' it as a bug?

I agree it would be good to have this configurable, I prefer the current method.

I think it should still be labeled a bug, as the current behavior doesn't allow for you to remain in the newly-scrolled screen without using the mouse to put focus in the new position. This is because the cursor stays put even when it completely scrolls out of view. Since this is all about keyboard navigation, then requiring the mouse seems counter to the spirit of it.
Most editors have the cursor follow along at the top or bottom of the screen (depending on scroll direction) when scrolling beyond the current view. In that way, there's no jarring snap back to another location off-screen when you start moving the cursor with arrow keys again or start typing.
However, some editors additionally allow you to hit ESC to snap back to the original position in the cases where you're scrolling just to take a peek instead of wanting to stay in the new location.

alexandrudima I can understand this may not be a high priority item and hasn't been addressed yet, even though it's quite frustrating for some of us on a daily basis. However, would you mind explaining why you removed the bug label in light of my previous comment?

@rob3c it's not a bug as it's working as intended currently, making this configurable would be adding functionality rather than fixing it.
This is probably the sort of thing we'd accept a PR for because of the priority of it, @alexandrudima do you want to add the help wanted label?

+1 for adding this functionality and have it configurable (or enabled).
This will provide same behavior as in Visual Studio, and will allow you to stay on the keyboard and not use the mouse.

In addition to Visual Studio, it would also provide the same behavior as in many other editors like Sublime Text, Notepad++, etc.
JetBrains editors (IntelliJ IDEA, WebStorm, etc.) use the current VSCode behavior by default. It's clear that they've recognized it as non-obvious and disorienting for many users since they attempt to make it less jarring by leading the eye with a smooth reverse scrolling animation back to the offscreen cursor position. They also offer separate "move if necessary" versions of each up/down scroll command to get the behavior desired in this thread.

I like that we now have editorScroll function for scrolling up and down with revealCursor parameter set to true. However I would like to disable the behavior of how the cursor jumps to the first non-whitespace character of the next line when scrolling down or previous line when scrolling up. I will open a separate issue for my idea.

To keep the number of issues in our inbox at a manageable level, we're closing issues that have been on the backlog for a long time but haven't gained traction: we look at the number of votes the issue has received and the number of duplicate issues filed. Thank you for your time and understanding.
P.S. If you disagree and feel that this issue is crucial: we're happy to listen and to reconsider.

For this particular issue, the following "workaround" exists (in keybindings.json). e.g. for going down:
    {
        "key": "ctrl+down",
        "command": "editorScroll",
        "args": {
            "to": "down",
            "by": "line",
            "revealCursor": true
        }
    }

@alexandrudima Ah! I didn't know there was a workaround. Will try that and feedback. Thanks.

@alexandrudima Pretty much ideal with the workaround, for me (although when scrolling up the cursor stays on the penultimate line for some reason). Anyway - thanks for posting that!

Thank you so much for the work around. I have been waiting for this 'fix'

Just tried the workaround:
{ 	"key": "ctrl+up", 	"command": "editorScroll", 	"when": "editorTextFocus", 	"args":  	{ 		"to": "up", 		"by": "line", 		"revealCursor": true 	} }, { 	"key": "ctrl+down", 	"command": "editorScroll", 	"when": "editorTextFocus", 	"args":  	{ 		"to": "down", 		"by": "line", 		"revealCursor": true 	} }
Up works fine; down sometimes scrolls several lines than stops as if it has reached the end of the file.
Visual Studio Code version: 1.18.1, 2017-11-16


Add section about Handbook management and contribution guidelines

Original meeting notes:
Date: 1/12/2020
Designated Moderator: Luis C. de Leon
Designated Note Taker: Emanuel Medrano
Attendees: Andrew Nguyen Luis C. de Leon Nelson Colon Eduardo Diaz Pabel Nuñez Otto Vargas
Meeting Objective(s):
What are the rules to update the Handbook: https://github.com/pokt-network/handbook
Discussion Notes:
Andrew:
Information dissemination across the organization is going to make us to self improve as an organization.
This is not just a conversation about modifying procedures, but to implementing procedures at the start that will make us self-improve on every iteration, resulting in a self-improving organization.
We need a supermajority review for every change.
Information dissemination was just an example of one of the high level things that we should do to improve as an organization.
Likely all documentation from here on, should all be filled and this should be happening always (in response to Ed’s doc-first comment).
Just do what we do, better, in every iteration.
Ed:
Treating the protocol of the organization as a normal project (coding project - meaning to create an issue, work on it, follow up, others).
Takeaways section is very simple, straightforward, so not able to be violated.
Agrees with Nelson on the organizational reviews motivating people to participate. Wants to make sure that incentivizes people to brainstorm and propose improvements.
As a self improving organization, engineers must have a documentation first mentality. That should be our approach. This should happen as a self starter.
All engineers should be familiar with the specs, but this doesn't necessarily mean that they should be completely responsible for updating them.
Luis:
Considering that organization DNA exists, who will run the rules of it? We need to define a mechanism or procedure for the information dissemination.
We need to define the mechanism for the handbook itself.
Treating the organization as a software. E.g. We are programming ourselves to improve, then improve as an organization.
Should we have time for organizational review? Or is it something extra? So we can do it all async.
We would need something like a template for people to speak up.
The forum to express feedback from outside will be Discourse. Agrees with Otto on having a way to receive the external feedback.
We are going to have our self-community of people interested in building pocket things that will satisfy pocket’s needs, but as an organization overall this is to meta as a simple discussion.
We are doing a great job on incentive alignment.
The value to be enforced here would be: “if you think there’s an issue, please go ahead and document it”. Documenting the problem in real time would sort things better.
Wants to align incentives in the direction of people bringing ideas of how to work better. This is one of his main focuses.
Nelson:
Believes that the organizational review is an extra, but if you set up a date to it then it becomes necessary. With this, you’re motivating the people to give up their thoughts.
If we take the time to explain and decide how things are going to be proposed, then we would be resolving the issues in this meeting.
Otto:
Maybe we should have a schedule on these organizational things. Are we going to have relations with the community or PNF? Doesn’t see if we have feedback from the outside. To be better at this, we need to first measure it. To receive feedback maybe we could use github.
Emanuel:
Maybe we could use the github discussions to gather feedback.
Thinks we should be explicit about documenting precedent for issues.
Pabel:
Think the takeaway is really straightforward. Right now those takeaways are the way we are thinking within the organisation.
Takeaways:
The Handbooks describes the DNA and Behaviours of the organization.
To update the Handbook, anyone within the organization can create an issue, which can be discussed right there in the issue.
When an update to the handbook needs to be made, then a Pull Request merging any updates to the Handbook content and/or structure is created.
Pull Requests must be approved by a Supermajority, as specified in the Decision Making Process, with the administrator having an Override vote.
Keeping up to date with changes to the Handbook are essential to every organization member, as that will allow them to be the best organization member they can be.
Documentation of ideas to improve the Handbook should be done in real time to avoid losing improvement ideas or airing grievances.
Action Items:
Luis C. de Leon Writing the Handbook section about managing, upgrading and contributing to the Handbook.

This is the Self-improving organization notes


with_temp_working doesn't appear to do anything

I'm trying to use .with_temp_working but it doesn't appear to actually do anything.
If I have a small ruby script in a directory that's a git clone, and it does:
require 'git'
g = Git.open(Dir.pwd)
g.with_temp_working do
  g.checkout('mybranch')
end

When the script exits, I would expect my directory to be untouched, i.e. exactly as it was before. However, pwd seems to have had "mybranch" checked out.
As far as I can tell, with_temp_working is either completely unfinished, or I'm very confused about how it's supposed to work...

Hi Jason,
A couple of things to have in mind:

Working Directory != Working Tree
git checkout branch_name != git checkout branch_name -- path_here

From Git Commit Docs:

If no paths are given, git checkout will also update HEAD to set the
specified branch as the current branch.

So, checking out a branch will update the index reference, no matter wher
your current working directory is.
Checking out files is a different story.
You can try to play with *with_temp_index *in you want to leave the
original index untouched.
Regards,
Roberto Decurnex
On Thu, Mar 3, 2016 at 3:28 PM, Jason Antman<EMAIL_ADDRESS>wrote:

I'm trying to use .with_temp_working but it doesn't appear to actually do
anything.
If I have a small ruby script in a directory that's a git clone, and it
does:
require 'git'
g = Git.open(Dir.pwd)
g.with_temp_working do
g.checkout('mybranch')
end
When the script exits, I would expect my directory to be untouched, i.e.
exactly as it was before. However, pwd seems to have had "mybranch"
checked out.
As far as I can tell, with_temp_working is either completely unfinished,
or I'm very confused about how it's supposed to work...
—
Reply to this email directly or view it on GitHub
https://github.com/schacon/ruby-git/issues/280.

Ok, thanks, sorry for my confusion. I'm still sort of unclear about what with_temp_working is supposed to do, but now I'm pretty clear it's not what I want.
Thanks. I'm working on an alternate solution to my problem now; I'll close this once I have it solved (and comment with a bit about what I was trying to do, and how I did it).


Fix shell script flags

@kalman TBR

Hmm, nit - but this is a shell script, right? Shouldn't you remove it?


feat: add the Loewner partial order on continuous linear maps on a Hilbert space

The (Loewner) partial order on continuous linear maps on a Hilbert space determined by f ≤ g if and only if g - f is a positive linear map (in the sense of ContinuousLinearMap.IsPositive). With this partial order, the continuous linear maps form a StarOrderedRing.

The fact that this forms a StarOrderedRing will be established in a future PR.

Thanks!
bors r+


Development: Fix string concatenations in logger calls

Checklist
Server

[x] I followed the coding and design guidelines.

Motivation and Context
Logger calls should not contain string concatenation, instead, the arguments should be passed as parameters.
Description
There have been multiple PRs like this before, e.g. #5377 and #3122. I still don't know of any tools to detect this automatically and warn the developer / fail the server style check, so for now we need to detect this in code review or regularly open PRs like this.
Steps for Testing
Code Review
Review Progress
Code Review

[x] Review 1
[x] Review 2

Codecov Report

Merging #6004 (0524839) into develop (f785b85) will increase coverage by 0.00%.
The diff coverage is 60.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #6004   +/-   ##
==========================================
  Coverage      79.90%   79.90%
- Complexity     12377    12379    +2
==========================================
  Files           2125     2125
  Lines          84499    84499
  Branches       12678    12678
==========================================
+ Hits           67517    67519    +2
+ Misses          9448     9447    -1
+ Partials        7534     7533    -1

Impacted Files
Coverage Δ

...in/www1/artemis/config/LiquibaseConfiguration.java
29.88% <0.00%> (ø)

.../java/de/tum/in/www1/artemis/domain/GradeStep.java
88.88% <0.00%> (ø)

.../www1/artemis/service/exam/StudentExamService.java
84.17% <0.00%> (ø)

...vice/scheduled/cache/quiz/QuizScheduleService.java
81.58% <0.00%> (ø)

.../www1/artemis/service/connectors/Lti13Service.java
94.30% <100.00%> (ø)

.../tum/in/www1/artemis/service/exam/ExamService.java
88.05% <100.00%> (ø)

...ervice/programming/ProgrammingExerciseService.java
88.05% <100.00%> (ø)

...s/service/tutorialgroups/TutorialGroupService.java
83.33% <0.00%> (+0.87%)
:arrow_up:

Flag
Coverage Δ

client
75.75% <ø> (ø)

server
84.50% <60.00%> (+<0.01%)
: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 f785b85...0524839. Read the comment docs.


Current PowerBI service hosted by my company - can I use embedded PowerBI with the existing license?

This sounds awesome.  I have a couple questions.  My company uses PowerBI and is hosting my service.  Can I still use PowerBI embedded , without Azure, with the license I already have?  If not, I am still unclear on the pricing to use this option.  We have a custom application using WPF that we would LOVE to use embedded power BI.

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

ID: bab0d199-c0c3-fd68-ceca-399c0b6ba3be
Version Independent ID: 3a37f14c-c454-1082-c3ae-9054a60adc52
Content: What is Azure Power BI Embedded
Content Source: articles/power-bi-embedded/what-is-power-bi-embedded.md
Service: power-bi-embedded
GitHub Login: @markingmyname
Microsoft Alias: maghan

@michelleryan If you are interested in embedding Power BI content into an application without purchasing an Azure capacity then you can use a Power BI Premium capacity - https://docs.microsoft.com/en-us/power-bi/developer/embed-sample-for-your-organization.  If you would still like to research how to use an Azure capacity to do embedding then here is that article - https://docs.microsoft.com/en-us/power-bi/developer/embed-sample-for-customers.

Hi @michelleryan - We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


v0.27.0rc0 displays the Meilisearch version as 0.26.0

Describe the bug
When running Meilisearch v0.27.0rc0 the package version is listed as being 0.26.0
To Reproduce
Run docker run --rm -it -p 7700:7700 getmeili/meilisearch:v0.27.0rc0 meilisearch --master-key=masterKey --no-analytics
Expected behavior
The package version to be 0.27.0
Screenshots

Meilisearch version: [e.g. v0.20.0]
v0.27.0rc0
Additional context
Additional information that may be relevant to the issue.
[e.g. architecture, device, OS, browser]

Ooooops 😂

FYI, I will update it to v0.27.0 and not to v0.27.0rc0. We don't write the different rc in the cargo.toml to avoid complication when releasing different RCs :)

Fixed by #2311


Docs: GitHub Pages workflow sample has indentation issues

Describe the bug
On the docs site for "Static site generation", the deploy.yml workflow sample renders with incorrect indentation: https://kit.svelte.dev/docs/adapter-static#github-pages
Though its source file is correctly indented: https://github.com/sveltejs/kit/blob/a58f0491ecbd91cc3729836b6940066b1ee7317c/documentation/docs/25-build-and-deploy/50-adapter-static.md

Reproduction

Go to https://kit.svelte.dev/docs/adapter-static#github-pages
Observe incorrect yaml indentation

Logs
No response
System Info
Tested on Chrome and Safari.

Severity
annoyance
Additional Information
No response

Syntax highlighting seems broken too for that, although both should've been fixed in site-kit 6 next 32, kit.svelte.dev is currently on 6 next 36 🤔

Looks like some cache gone wrong, the originally described issue has been resolved, I'll keep this open as a reminder to look into the cache stuff.


Timeout erros on various files

So, 2.0 version very often raises timeout error on 3ds while older 1.4 version works perfectly. I assume there was changed something in the way files are served because of addition of serving them for Switch and maybe error with timeouts exists because of that

Second this.   Transferring a gigabyte or more on 2.0 results in FBI timing out before it can even display the full size of the file.
1.4 works though.

Thirded.  I've reverted to 1.4 for large files - 2.0 works fine for smaller stuff, but singular large files makes it time out.


second run of GitHub action to deploy changes never takes effect

At the end of section 4, the user creates a GitHub action to build and deploy the app, and this works fine.
But the next step, they edit some CSS to change the background color of the header, and push that code, and let the GitHub action run again to rebuild and re-deploy the app to app service.
However, the app is never updated -- the new background color never shows up, even though the action completes successfully.

Note: when James restarted the web app the new background color still didn't show up


Is there a reason there's no Rx.now() method?

Or something equivalent to this that would let you access the Rx's value once without using side-effects?  The scala.rx library linked in the README and so does Binding.scala for Var's and within certain scopes.
In particular, I have a use case where I want to call an API using the current value.  The best solution I can think of with the methods that are currently available would be something like this:
val x: Rx = ...
var tmp = 0
x.map({tmp = _})
val value = tmp

But this relies on side effect and is very non-functional and is very clunky.

I ended up separating my solution out into a helper class which at least hides/limits the scope of the mutability:
implicit class RxHelpers[T](rx: Rx[T]) {
    private var _value: T

    rx.map(_value = _)

    def value = _value
}

I'm still curious if there's a reason this wasn't included in the original library.
I also have some concerns with whether or not his would generate a memory leak.  Granted seeing as scala is a garbage collected language, I'm not sure how memory leaks could happen, but it seems like this has been a concern in other parts of the code.

Sorry for the late answer. The idea is that in an idiomatic use case you would like calls your API to also be "reactive", that is, to trigger them again if the underlying value of your Rx changes. If that matches your use case, then you should extract the value in your Rx using .map instead.
The library test suite defines a .value method in an extension method, and that implementation should be free of memory leaks (unlike yours, which attaches a new callback on every .value call.
https://github.com/OlivierBlanvillain/monadic-html/blob/d6b5e34d8a2a414ffab20e35bd6e5f623e3fcb67/monadic-rx/shared/src/test/scala/mhtml/RxTests.scala#L7-L18


Blank otp.bin for Cubic Ninja

The guide says both to

create a blank otp.bin on the root of your SD card
copy a blank otp.bin to the root of your SD card

Obviously, these are not both necessary.

Nowhere in the guide does it say to "create" a blank otp.bin. The otp is one of the most crucial elements for this installation, and thus the reason for being told to Copy your console specific OTP.bin from the /a9lh/ folder on your SD card to a safe location on your computer and back it up to multiple locations (such as online file storage). This is to ensure that if something were to happen either during installation process or afterwards, you wouldn't need to downgrade back to 2.1 in order to dump it yet again to use.

Nowhere in the guide does it say to "create" a blank otp.bin.

https://github.com/Plailect/Guide/wiki/9.2.0-Update-(Cubic-Ninja-OTP)

Create a blank text file named otp.bin on the root of your SD card
...
Copy the 0 byte otp.bin file to the root of your SD card

fixed


Updating to ember-cli 0.1.15

@ynnoj I'd totally take a commit that updated ecli :+1:

@knownasilya Working on it! Sorry about the slightly premature PR.

@knownasilya #14


Dictionary

Description of the new feature / enhancement
hope to add a dictionary function to Powertoys Run, which can directly query the meaning of English words in the box
Scenario when this would be used?
when learninng English or other languages
Supporting information
No response

/dup https://github.com/microsoft/PowerToys/issues/3309


vue3 drag-handle _uid 的问题

设置了 drag-handle 后，控制台报 this._uid is undefined 错误。
定位到源代码是：
if (this.dragHandle && target.getAttribute('data-drag-handle') !== this._uid.toString()) {                 return;             }
can't access _uid in vue3

I have this warning when enable drag handle
[Vue warn]: Unhandled error during execution of native event handler
at <VueDragResize dragHandle=".drag" key=0 w=140  ... >
Please help.  Thanks in advance

怎么解决呢？

怎么解决呢？

我把代码拉下来，自己做了一点点小修改，然后重新build。

@imouhero 感谢您找到修复程序，但是您现在如何将 src/component/vue-drag-resize.js 编译为 dist/index.js？

the problem is this._uid is undefined in Vue 3 unlike in Vue 2 which works perfectly.
so when using the dragHandle prop this line is causing the issue dragHandle.setAttribute('data-drag-handle', this._uid);
the only solution is to modify the this.uid by your own ID generator function or a utility that does this and rebuild as you did.
unfortunately, the library is not well maintained at this point so there are some Vue 3 issues. 😞
I hope  @kirillmurashov  gets back or at least opens up the door for other maintainers.


ractive.unset(keypath) would be great!

Ractive.js is missing ractive.unset(keypath). When you have an object, you can't use delete, because binding wouldn't work. Setting the whole object again without the key is fine when you have small object, but when you have large dictionary, it gets slow..
You could use ractive.set(keypath, 'undefined'), but the key is still there, it's just undefined.

You can use `ractive.update('obj.key') with delete, and performance seems pretty quick: http://jsfiddle.net/eswmv63o/.
You could put that logic in an observer (http://jsfiddle.net/eswmv63o/2/):
r.observe('foo.*', function(n, o, k, property){
    if(typeof n === 'undefined'){
        delete r.get('foo')[property];
        r.update(k);
    }
}, { init: false });

// this now deletes the property as well and updates the view...
r.set('foo.a30');

Or you could create your own ractive.unset() (http://jsfiddle.net/eswmv63o/4/):
Ractive.prototype.unset = function(keypath){
    var lastDot = keypath.lastIndexOf( '.' ),
        parent = keypath.substr( 0, lastDot ),
	    property = keypath.substring( lastDot + 1 );

    this.set(keypath);
    delete this.get(parent)[property];
    return this.update(keypath);
}

// property is now deleted and updated...
r.unset('foo.a30');

Big +1 on @martypdx's prototype hacking solution. Based on how often I say that, I wonder if it's time we had a proper story around mixins, so that it'd be possible to do things like...
require('ractive-mixins-unset');

...rather than pasting code snippets. But I digress. It would certainly be possible to add this to the core API, but in accordance with https://github.com/ractivejs/ractive/pull/1568 I think we should hold off unless it turns out this is a common need. So I'm going to close this issue, but we can keep the discussion going here by all means - if anyone else out there wishes there was an unset() method then please weigh in.

It would be great to be able to use Ractive.js straight with MongoDB's oplog, which reports all the changes like following:
{$set: {'a.b.c': 'lorem ipsum'}, $unset: {'a.b.d': true}}
So I could use like so:
ractive.set(changes.$set)
and
ractive.unset(changes.$unset)

Actually, @Rich-Harris I just ran into this need. We've been using undefined as a sort of stop-gap in lieu of unset, but I just discovered that (strangely) (and this might need to be another ticket) setting a variable to undefined does not always work.
Specifically we've been working with video.js, and I check a player data variable, and if it exists, we'll reuse the player (instead of creating another one). On teardown, however, I make sure to actually "unset" that variable, and we've been using this.set('player', undefined) but I just now discovered that setting to undefined doesn't always work.
I verified this by changing it to null and it suddenty started working consistently. In any case, I'm probably going to use @martypdx's unset hack above, but it would be nice to actually have that built in. There are numerous instances where we've been setting things to undefined, but I'm going to be more hesitant to use that in the future, knowing that it's problematic. Let me know if you want me to open a new ticket. :+1:

+1 I have wished for unset several times.

Following the likes of other libraries and normal js convention, might make more sense to call it remove. I've been thinking more and more this should actually be a feature, not a mixin.

+1 for the feature
+1 to call it remove
+0.5 to call it del or unset

yes, this is very important option!

now I use delete for object keys:
var smto = {
a:'a',
b:'b'
}
    var ractive = new Ractive({
        el: "#ractive_change",
        template: "#ractive_change_template",
        data: {
            smto: smto
        }
    });

// then
delete smto.a;
// ok, poh

Thanks @martypdx
There is my little change of your code in case when you try to change the root and have no "." (dot)
Ractive.prototype.unset = function(keypath){
                var parent = '',
                    property = keypath,
                    lastDot = keypath.lastIndexOf( '.' );

                if(lastDot!==-1){
                    parent = keypath.substr( 0, lastDot );
                    property = keypath.substring( lastDot + 1 );
                }

                this.set(keypath);
                delete this.get(parent)[property];
                return this.update(keypath);
            }

@peterdenev and @martypdx  - thanks :)  Just what I was after.  I will be using this a lot.

Any thought on revisiting this as a part of 0.9 api? Definitely something that's been missing on my side as well as the others here.

I eventually went and did my own view library, which better suits to my needs https://redom.js.org 😎👍


Add all native border styles to generators and docs

Needed this feature and saw it wasn't in the docs or code. Didn't see an issue or PR for it, and it seemed simple enough. Hope it helps :)

Hey @damusix we left all the weird ones out to avoid bloat, but it's probably a good idea to add .border-solid as a reset, especially with a border-related change coming in 0.2.0. If you'd like to update this PR to just add .border-solid and point it at develop instead of master, I'm good to merge this.

New PR against develop


I try to replay REPLICATION.md in my env,but I got error after long time!

At first glance, it looks like peers are not connecting. Can you please share your Libp2p configuration?

Closing as inactive. Please feel free to re-open and provide any libp2p config.


contradicting file-based and project-wide licensing

The project recently added explicit per-file copyright and licensing statements. Cool!
However, the added licensing is GPL-3, whereas the project-wide metadata in setup.py and LICENSE files indicate a licensing of LGPL-3.0-only.
It smells like an error.  If it really is intentional that general licensing of LGPL-3.0-only applies where there is no explicit different licensing, then I recommend to state that e.g. at the top of LICENSE or in README.md.

Yeah, it was just a copy-paste from the etesync-dav code. I forgot this one is LGPL when doing it. Will fix now. Thanks!


Retry http POST sent without body

Hi,
Using ribbon's retry policy works perfect with GET requests.
However, for http POST, after failing the first try for routing, the request is sent without the body.
After debugging the code, the second request (HttpRequest object in AbstractLoadBalancerAwareClient.executeWithLoadBalancer) has the same "entity" object (ServletInputStreamWrapper). Since this entity was read in the first try, its index now pointing to the end of stream, resulting in an empty body transferred to the inner microservice.
Is this a bug or improper use/configuration ?
my configuration:
ribbon:
  OkToRetryOnAllOperations: true
zuul:
    microservice:
      path: /microservice/**
      serviceId: microservice
      retryable: true

Is there any comment about this issue? We're experiencing it too.
We wrote a workaround so that POST requests go through with the original body, but would prefer an official reply / fix...
Thanks

Hi guys,
what workaround did you use?
Could you please describe if you have time?
Thanks.

Yes. In general the solution is simple given that you are able to change Netflix' code. But if you can't, the workaround is a bit more involved because you don't have access to private fields and methods and thus you have to rewrite some classes. Anyway, this is what needs to be done:
1: First, create an AutoResetInputStream class, like this:
public class AutoResetInputStream extends ServletInputStream {

    private byte[] data;
    private int idx = 0;

    public AutoResetInputStream(byte[] data) {
        if (data == null)
            data = new byte[0];
        this.data = data;
    }

    @Override
    public int read() throws IOException {
        if (idx == data.length)
            return -1;
    }

    @Override
    public synchronized void reset() throws IOException {
        idx = 0;
    }
}

This is a copy of Zuul's ServletInputStreamWrapper class, but with an additional reset() method.
2: Create a filter that wraps the stream in an AutoResetInputstream and places it in the request's context.
public class AutoResetInputStreamFilter extends ZuulFilter {

    public static final Logger LOG = LoggerFactory.getLogger(AutoResetInputStreamFilter.class);

    @Override
    public String filterType() {
        return "pre";
    }

    @Override
    public int filterOrder() {
        return 1;
    }

    @Override
    public boolean shouldFilter() {
        RequestContext ctx = RequestContext.getCurrentContext();
        HttpServletRequest request = ctx.getRequest();

        return (!StringUtils.equals(HttpRequest.Verb.GET.toString(), request.getMethod()));
    }

    @Override
    public Object run() {

        RequestContext ctx = RequestContext.getCurrentContext();
        setAutoResetRequestEntity(ctx);

        return null;
    }

    protected void setAutoResetRequestEntity(RequestContext ctx) {
        HttpServletRequest request = ctx.getRequest();

        if ( request.getContentLength() > 0 ) {
            try {
                ctx.set("requestEntity", new AutoResetInputStream(IOUtils.toByteArray(request.getInputStream())));
            } catch (IOException e) {
                LOG.error("Could not get request input stream, skipping AutoResetInputStreamFilter", e);
            }

        }
    }
}

3: Create a bean out of this AutoResetInputStreamFilter:
@Configuration
public class AutoResetInputStreamFilterConfiguration {

    @Bean
    AutoResetInputStreamFilter autoResetInputStreamFilter() {
        return new AutoResetInputStreamFilter();
    }
}

4: Create a PostAwareRestClient class that actually calls the reset() method:
public class PostAwareRestClient extends RestClient {

    public PostAwareRestClient(IClientConfig config) {
        super(config);
    }

    @Override
    public HttpResponse execute(HttpRequest task, IClientConfig requestConfig) throws Exception {
        if (task != null) {
            Object entity = task.getEntity();
            if (entity != null && entity instanceof AutoResetInputStream) {
                ((AutoResetInputStream) entity).reset();
            }
        }

        return super.execute(task, requestConfig);
    }
}

5: Override Zuul's ribbonRestClient bean with a bean of type PostAwareRestClient:
@Configuration
@ConditionalOnBean(RibbonClientConfiguration.class)
public class RibbonPerClientConfiguration {

    @Value("${ribbon.client.name}")
    private String name = "client";

    @Bean
    @Autowired
    public RestClient ribbonRestClient(IClientConfig config, ILoadBalancer loadBalancer) {
        RestClient client = new PostAwareRestClient(config);
        client.setLoadBalancer(loadBalancer);
        Monitors.registerObject("Client_" + this.name, client);
        return client;
    }
}

And that's it. Everything is tied together: the new filter puts the new auto-reset stream in the context, where Zuul's RibbonRoutingFilter is looking for; The new Ribbon client will call reset() just before continuing with invoking the request.

Hello @azilbersteinSFDC, thanks for your response and your solution. I have been testing it these days and it works really well.
Let me mention just one thing about the creation of the RibbonClient. In my case (I'm using the Brixton.SR3 version for Spring Cloud) annotating the RibbonPerClientConfiguration class as @Configuration didn't work.
What I had to do was remove all the annotations from this class and in my main Spring Boot Application, add the annotation @RibbonClients pointing to this RibbonPerClientConfiguration class, like this: @RibbonClients(defaultConfiguration = RibbonPerClientConfiguration.class)
This appears to be the recommended method as we can see in RibbonConsulAutoConfiguration.class and in the next link:
https://spring.io/guides/gs/client-side-load-balancing/
What guys do you think about it?
Thanks again

Conversations about Spring Cloud aren't appropriate here.


Screen remains blank

I ordered the screen that was linked to in the README file. I set Raspiblitz up a few weeks ago and the screen just came in today, maybe there were some missing installation steps because I didn't have the screen connected during setup?
I turned the screen on in the raspiblitz config, and after a reboot it remains blank.
Sadly, the calibrate script does nothing.
The only errors I see when turning the screen on is that apt-get update seems to fail, but it seems that all of the apt packages are still installed in the following lines.
Any help you can offer would be greatly appreciated.

Reminds me of this issue: https://github.com/rootzoll/raspiblitz/issues/1992#issuecomment-790586335
you might something there which helps.

@josephtyler Was this solved? Pls close if so.

@rootzoll Please close this


WIP: Add RTD files for problem inspector

To do:

Add EULA:  update ba0002c75e45fb5ee3a360df2ba260e34d458f12
Add autodoc imports of show functions
Add RTD project

Codecov Report

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

@@           Coverage Diff           @@
##           master      #83   +/-   ##
=======================================
  Coverage   81.61%   81.61%
=======================================
  Files           6        6
  Lines         593      593
=======================================
  Hits          484      484
  Misses        109      109

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 5d215f3...17ca42f. Read the comment docs.


Go get doesn't work without libgit2 dependency

it would be nice to mention libgit2 requirement in README
My environment: macOS Big Sur, go1.16.5 darwin/amd64

Yes, this is a good point, thanks for bringing it up! We have some rather large structural changes on the way (#132) which will warrant a README update as well (some table schemas will change) - I will include an update to document the libgit2 requirement when we make those README changes 👍


S864927 update m2ee

update to m2ee-<IP_ADDRESS> (for java 8 graphs)
refactored munin.py partially so that we can reuse the functions in buildpack

LGTM!


updated repartition documentation

[ ] Closes #9276
[ ] Tests added / passed
[ ] Passes pre-commit run --all-files

Can one of the admins verify this patch?

Looking at the RTD build for this PR, I see the pandas.DataFrame.memory_usage link only in Series.repartition and not in DataFrame.repartition. Is it just me?
I see it on both pages on my local docs build though.


Fixed issue working with Laravel "enforceMorpMap".

Fixed issue working with Laravel's enforceMorphMap.

@sandervanhooft can we get this merge?


[REG2.066] Issue 14552 - SIGSEGV with compile construction nested class in predicate

https://issues.dlang.org/show_bug.cgi?id=14552
Just adding a test case so the SEGV problem was already fixed in the PR #4464.

Auto-merge toggled on


Could you please provide an example for local file playback?

It would be great if you could provide an example for a local file playback. Thanx!

oh, I see, it would be something like
let item = AudioItem(highQualitySoundURL: URL(URL(fileURLWithPath: filepath.stringValue)!))


UPSTREAM: : Downgraded actions/upload-artifact to v3

This PR downgrades actions/upload-artifact to v3 due to https://github.com/opendatahub-io/data-science-pipelines/actions/runs/11002267252/job/30548845274.
Checklist:

[x] The title for your pull request (PR) should follow our title convention. Learn more about the pull request title convention used in this repository.

Commit Checker results:
**NOTE**: These are the results of the commit checker scans.
If these are not commits from upstream kfp, then please ensure
you adhere to the commit checker formatting

commitchecker verson unknown
Validating 1 commits between ea7df04d97fcd944c594cbc2e3ddbfef0d8fc24a...fad655f5581c72b8b52d5c78293bb89e9fbf3bf7

Commit Checker results:
**NOTE**: These are the results of the commit checker scans.
If these are not commits from upstream kfp, then please ensure
you adhere to the commit checker formatting

commitchecker verson unknown
Validating 1 commits between ea7df04d97fcd944c594cbc2e3ddbfef0d8fc24a...3c1c0fcdfd79c23a7771dbef8e24a799d0e40b53

A set of new images have been built to help with testing out this PR:
API Server: quay.io/opendatahub/ds-pipelines-api-server:pr-80
DSP DRIVER: quay.io/opendatahub/ds-pipelines-driver:pr-80
DSP LAUNCHER: quay.io/opendatahub/ds-pipelines-launcher:pr-80
Persistence Agent: quay.io/opendatahub/ds-pipelines-persistenceagent:pr-80
Scheduled Workflow Manager: quay.io/opendatahub/ds-pipelines-scheduledworkflow:pr-80
MLMD Server: quay.io/opendatahub/mlmd-grpc-server:latest
MLMD Envoy Proxy: registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:2.3.9-2
UI: quay.io/opendatahub/ds-pipelines-frontend:pr-80

An OCP cluster where you are logged in as cluster admin is required.
The Data Science Pipelines team recommends testing this using the Data Science Pipelines Operator.  Check here for more information on using the DSPO.
To use and deploy a DSP stack with these images (assuming the DSPO is deployed), first save the following YAML to a file named dspa.pr-80.yaml:
apiVersion: datasciencepipelinesapplications.opendatahub.io/v1alpha1
kind: DataSciencePipelinesApplication
metadata:
  name: pr-80
spec:
  dspVersion: v2
  apiServer:
    image: "quay.io/opendatahub/ds-pipelines-api-server:pr-80"
    argoDriverImage: "quay.io/opendatahub/ds-pipelines-driver:pr-80"
    argoLauncherImage: "quay.io/opendatahub/ds-pipelines-launcher:pr-80"
  persistenceAgent:
    image: "quay.io/opendatahub/ds-pipelines-persistenceagent:pr-80"
  scheduledWorkflow:
    image: "quay.io/opendatahub/ds-pipelines-scheduledworkflow:pr-80"
  mlmd:
    deploy: true  # Optional component
    grpc:
      image: "quay.io/opendatahub/mlmd-grpc-server:latest"
    envoy:
      image: "registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:2.3.9-2"
  mlpipelineUI:
    deploy: true  # Optional component
    image: "quay.io/opendatahub/ds-pipelines-frontend:pr-80"
  objectStorage:
    minio:
      deploy: true
      image: 'quay.io/opendatahub/minio:RELEASE.2019-08-14T20-37-41Z-license-compliance'

Then run the following:
cd $(mktemp -d)
git clone git@github.com:opendatahub-io/data-science-pipelines.git
cd data-science-pipelines/
git fetch origin pull/80/head
git checkout -b pullrequest fad655f5581c72b8b52d5c78293bb89e9fbf3bf7
oc apply -f dspa.pr-80.yaml

More instructions here on how to deploy and test a Data Science Pipelines Application.

Change to PR detected. A new PR build was completed.
A set of new images have been built to help with testing out this PR:
API Server: quay.io/opendatahub/ds-pipelines-api-server:pr-80
DSP DRIVER: quay.io/opendatahub/ds-pipelines-driver:pr-80
DSP LAUNCHER: quay.io/opendatahub/ds-pipelines-launcher:pr-80
Persistence Agent: quay.io/opendatahub/ds-pipelines-persistenceagent:pr-80
Scheduled Workflow Manager: quay.io/opendatahub/ds-pipelines-scheduledworkflow:pr-80
MLMD Server: quay.io/opendatahub/mlmd-grpc-server:latest
MLMD Envoy Proxy: registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:2.3.9-2
UI: quay.io/opendatahub/ds-pipelines-frontend:pr-80

/lgtm
/approve

Commit Checker results:
**NOTE**: These are the results of the commit checker scans.
If these are not commits from upstream kfp, then please ensure
you adhere to the commit checker formatting

commitchecker verson unknown
Validating 0 commits between 0f96e42b1bd0968e898f6912a7b23f0a1285c6db...3c1c0fcdfd79c23a7771dbef8e24a799d0e40b53


APIs throwing 500 status when 4** is expected

Describe the bug
When trying to delete a  non-existing workflow using DELETE {{conductorBaseUrl}}/api/metadata/workflow/:name/:version  api
replies back with 500 status code.
{
    "status": 500,
    "message": "No such workflow definition: memes_maker version: 2",
    "instance": "1a79daf01f84",
    "retryable": false
}

Details
Conductor version: v3.19.0
Persistence implementation: Postgres
Queue implementation: Postgres
Lock: I guess redis
To Reproduce
Steps to reproduce the behavior:

Use API  to delete non existing workflow

curl --location --request DELETE 'http://localhost8080/api/metadata/workflow/memes_maker/2'

See error

Expected behavior
Status code should be 404
Additional context
Same thing happens if we try to create existing workflow with existing version.

Hi @pyarun are you using postgres as a backend?

Hi @pyarun are you using postgres as a backend?

yes

In both postgres and redis, NotFoundException is thrown, but in the redis the API gives 4XX error code. need to look what is happening wrong here.

Same issue I am checking latest version v3.21.6, expected 404 receiving 500 Http status code
#bug


Pointing ZipKin URL to APM server

Do not merge yet, this is only to start a discussion. Related to https://github.com/redhat-helloworld-msa/helloworld-msa/pull/21 . Similar changes will follow to the other modules (hola, ola, bonjour, ...)


Get local date formatting string from browser

Description

When formatting dateTime presentation, call getLocale function to compute local dateTime formatting string, e.g.

enUS: MM/dd/yyyy
zhCN: yy-mm-dd
etc

Related issue

https://github.com/Kwenta/kwenta/issues/1484
Motivation and Context

All displayed dates/times on Kwenta are displayed using a format local to the user.
How Has This Been Tested?

Screenshots (if appropriate):
Take example on futures transfer table

zhCN

enUs

It doesn't look like this function is actually implemented anywhere in the app. Most time is displayed using this component:
kwenta/sections/futures/Trades/TimeDisplay.tsx

Sorry, I don't quite follow your comment. Which function are you referring to? getLocale()? Could you elaborate a bit?
The idea is to figure out datTime formatting string based on result of getLocale().

@Xiaolei-Shawn Check the example in the description of this issue. It shows how the dates would display based on locale. Here's an example on the "trades" table:

This table would show the date based on the local format, but on your branch it will always display this time format.
I was referring to the formatTxTimestamp function in my comment. You edited this function, but this function is not implemented to actually format dates/timestamps in the app. You will need to find the functions that format these dates and add locale to those functions.

@Tburm, the function I updated is actually timePresentation but formatTxTimestamp. It's used by Transfer to format date.
https://github.com/Kwenta/kwenta/blob/fa2fa287c9e3693b2e5facc3312db876b4f799d2/utils/formatters/date.ts#L32
Thank you for pointing out about date/time formatting on Trade. It's missed by me and I will push changes to also use getLocale to resolve correct format.


Subreports are now available

Limitations: "Subreports and drillthrough reports. You may consider using URL parameters with paginated reports to achieve drillthrough scenarios, however."
Drillthrough are still not available.
https://powerbi.microsoft.com/en-us/blog/subreports-now-available-for-paginated-reports-in-power-bi/

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

ID: a720989e-e6c4-2377-e0c0-8c80d5691f46
Version Independent ID: 3c6392e8-0f91-1c9c-2c21-15291d46bfd0
Content: What are paginated reports in Power BI Premium? - Power BI
Content Source: powerbi-docs/paginated-reports/paginated-reports-report-builder-power-bi.md
Service: powerbi
Sub-service: report-builder
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks for your comment, @itsnotaboutthecell. We’ve forwarded your feedback to the writer, who should respond to this thread shortly. Thanks!

Good catch, thanks! Updating the article now.


Change default shell from bash to zsh after image creation

Is your feature request related to a problem? Please describe.
Installed zsh in docker image but have to run zsh every time I launch my csci350 image.
Describe the solution you'd like
Make it possible to change the startup shell from /bin/bash to /bin/zsh after docker image is created.
Otherwise, add some details to the readme to allow manual changes of the docker startup file so I can manually change /bin/bash to /bin/zsh.
Additional context
Tried making the startup shell for the image to be /bin/zsh but then ch shell csci350 doesn't work since it can't find /bin/zsh (since zsh is not installed by default).

Thanks for sending this! I personally think the easiest way right now to handle this is to customize the Docker image used for the environment from what's built in cs350-docker to include zsh then modifying the startup shell for ch shell csci350. Unfortunately, these ways I've thought of solving it are still pretty manual and not documented. I've included instructions below on how I tried making this change to use zsh and will work on adding to the appropriate README.
Action Items (for me):

[ ] add instructions to cs350 README on customizing the Docker image
[ ] add clarity and examples on how to build from Dockerfiles with ch

Manually build image locally
You can build and tag a custom image locally and point --image to this locally tagged image.
Build custom image
You can modify the Dockerfile in cs350-docker build locally:
# use this if you don't need to build a cross-platform image
docker build -t xv6-docker:v1 .

# use this if you're on an M1 Mac and need to explicitly build for linux/amd64 architecture
docker buildx build --platform linux/amd64 -t xv6-docker:v1 .

Point ch environment to local image
The ch command below is of course explicitly setting to /bin/zsh assuming you've installed that in your custom image. You of course can also manually edit the ~/.ch.yaml too since the only fields which should change are pullopts.imagename and shell.
# path to xv6 code
VOLUME_MNT=$HOME/workspace/csci350

ch create csci350 \
    --replace \
    --image xv6-docker:v1 \
    --volume $VOLUME_MNT:/xv6_docker \
    --security-opt seccomp:unconfined \
    --port 7776:22 \
    --port 7777:7777 \
    --port 25000:25000 \
    --cap-add SYS_PTRACE \
    --shell /bin/zsh \
    --privileged

Using ch to build custom Dockerfile

Note: this will not work if you are using cs350-docker setup on an M1 because ch will only use the default Docker engine builder which does not support cross-platform (host: linux/arm64 -> target: linux/amd64) builds.

Using ch to build the custom Dockerfile by providing --context (docker build context) and --file (path to Dockerfile, relative to context) flags instead of --image.
This will build your custom image where you can add zsh dependency and modify startup shell to /bin/zsh.
# path to where the cs350-docker lives on my macbook
CS350_BUILD_CONTEXT=$HOME/workspace/cs350-docker

# path to xv6 code
VOLUME_MNT=$HOME/workspace/csci350

ch create csci350 \
    --replace \
    --context $CS350_BUILD_CONTEXT \
    --file Dockerfile \
    --volume $VOLUME_MNT:/xv6_docker \
    --security-opt seccomp:unconfined \
    --port 7776:22 \
    --port 7777:7777 \
    --port 25000:25000 \
    --cap-add SYS_PTRACE \
    --shell /bin/zsh \
    --privileged

Thanks! I will follow up on this when I'm not so sleepy but wanted to post this before I forgot.


Add integration/e2e tests for event manager/driver

This is actually covered now, e2e tests include event emission, event driver creation/deletion, and executing functions based on events from event driver.


Limit CI runs to stable channel.

r? @dirvine
(maidsafe_highfive has picked a reviewer for you, use r? to override)

r? @rossmuir


Lifecycle hook(s) for menus

It would be interesting to have a sort of menu lifecycle hook that is triggered before this menu and any of its components (such as  menu.select) are rendered. A subset of hooks such as the lifecycle hooks of Vue could be provided.
An example - assuming we had a beforeRendered hook the following would then be possible:
const menuOfTeams = new MenuTemplate(ctx => `You have ${ctx.state.teams.length} teams. Here they are:`)

menuOfTeams.chooseIntoSubmenu('details', ctx => ctx.state.teams.map(team => team.name), teamDetailsMenu)

menuOfTeams.beforeRendered(ctx => ctx.state.teams = restApi.getTeams())

The hook could easily be used to execute API calls to populate shared state, after which menu components can then access that state during rendering.
This would be more intuitive and simpler to use than configuring separate middleware. The non-lifecycle hook approach (as of today) would require something like:
bot.action(/^\/my\/relevant\/path\//, (ctx, next) => {
  ctx.state.something = 'hello world!'
  return next()
})

const menuTemplate = new MenuTemplate(ctx => ctx.state.something)

Hooks do not seem as easy as I have hoped for. I think for now this is a bit annoying to implement.
Personally I can work without them so I think they are not a high priority currently.
When the menu is generated the first thing done is always the body so you can preload stuff at the body. For functions like do or set this is not the case as they are independent of the resulting visible menu. As interactions for example might change things the menu has to load the same stuff again to have everything up to date what changed with the interaction. That might be the same with preloading via a hook.
I would like 2 different hooks: one for going into the path and one only for the exact menu. Implementing this would requiring a different internal approach for MenuMiddleware.
The good thing here is that this will probably not be a breaking change as it only changes within the MenuMiddleware. Because of this I think I will not continue to think about this until v5 stable is released.


Notification click not working when application is in background/killed

First of all, great plugin and nice work !
When my application is in background or killed, i receive the notification, but when i click on it in the notification drawer, nothing happen. I did as you suggested, initialized the manager in the Application OnCreate(). The OnNotificationReceived in the application is not fired when the app is killed.
I tried to specify a click_action on the notification and add a filter in the manifest but it doesn't work.
Do you have an idea how to open the app, so i can handle the action properly ?

I managed to make it work.
I just noticed that i sent notifications with a click_action, that's why nothing happened.
I discovered that if you want to use multiple click_action with multiple activities, add [IntentFilter(new[] { "CLICK_ACTION_NAME"}, Categories = new[] { Intent.CategoryDefault })] in the activity class you want to start.

Notification click not working when application is in background


Create Tenant

For tenant ,create api is completed.

Check the error CodeQL gave too @Novfal-202

@Novfal-202 please correct the Git action errors

@Hari-1027 , once the test case workflow is completed, I'll raise a PR to Harish. I've also downgraded Mocha and Chai to match the versions used in OBSRV because the latest versions were causing errors with API requests.


[ffi] function call overhead?

I wanted to see if it would be possible to implement the features proposed in https://github.com/dart-lang/sdk/issues/52673 via FFI.
I've created a demo for compiling pure assembly to a dylib. (The demo can be found here. That file in that repo should be able to run on any arm/macos machine and reproduce my observations.)
I was able to make the following measurements on my arm macbook:
 - total: 9884992
   => via lookup table took: 3.816ms
 - total:<PHONE_NUMBER>00
   => via assembly took: 9.608ms
 - total:<PHONE_NUMBER>00
   => id control took: 0.473ms
 - total:<PHONE_NUMBER>00
   => id control via closure call took: 4.765ms
 - total:<PHONE_NUMBER>00
   => id control via function call took: 3.405ms

The "lookup table" part calculates popcounts via a lookup table approach in Dart.
The "assembly" part passes a single integer to Dart in assembly via a dylib.
"id control" does what "assembly" does and nothing else.
"id control via closure" does what "assembly" does via a closure.
"id control via function" does what "assembly" does via a do-not-inline annotated function.

My conclusion is that the overhead of calling some assembly via a dynamically linked library takes ~2x the time it would take to invoke a closure and ~3x the time it would take to invoke a function. Furthermore, it seems like it wouldn't make sense to use this approach for exposing ARM instructions to Dart, as the overhead of calling them is too big.
I did expect the dylib calls to have some overhead, but I don't know how much overhead to expect.
I wanted to ask the following:

Is this observation about the overhead of dylib function calls expected?
Is the overhead of calling dylib functions expected to change in the near feature?
Are native assets expected to improve the overhead of native function calls?
Would statically linked libraries (It appears like there's some work planned on that) improve the performance of native function calls?
Are there any plans to support some form of optimization (LTO?) that could inline functions found in statically linked libraries to remove the overhead of calling functions in native code?

All in all, I'd like to be able to ship custom assembly with Dart, and the above questions are meant to find out if that could become practical (in a way that does not incur any performance penalties) in some form in the near future.

cc @dcharkes

What Dart execution mode are you running the measurements on? JIT (dart run ...)? Or AOT (dart compile exe ...)?

My measurements were taken on JIT (dart run ...). I haven't tested AOT (but I should do that. However, the demo does not support that because it uses dart:mirrors).


Update Pages “TermiteTreatmentsPage”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
3d271ee32b1c5b406d1b8661d8ca67469a463479

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/6551fb93c373e10008aef06d


[Py] Python wrappers for nGraph ops.

AvgPool
Broadcast
Ceiling
Constant
Convert
Convolution

As for get_broadcast_axes function docstring - I'm not sure how axis parameter works thus I omitted it's description. I don't know how exactly nGraph Broadcast operation works and since I can't determine if this whole function is correct.

TESTNOW

TESTNOW

TESTNOW

TESTNOW

The build failed due to a style check:
~/ngraph/BUILD-CLANG/test
1 of 657 source files failed the code-format check:
    python/pyngraph/ops/constant.cpp
test/CMakeFiles/style-check.dir/build.make:57: recipe for target 'test/CMakeFiles/style-check' failed
make[3]: *** [test/CMakeFiles/style-check] Error 1

TESTNOW

the python_ci check encounters the serializer compilation problem that is due to a change that was made to the serializer api, see PR #780
maybe, need to do another merge master into the branch before doing another TESTNOW...

Please merge first #780 and then this PR.


FileSystemNotFoundException on Jenkins with parallel processing

Hello
I am experiencing the following exception when trying to perform a build on Jenkins, using parallel processing.
Caused by: java.nio.file.FileSystemNotFoundException
    at com.sun.nio.zipfs.ZipFileSystemProvider.getFileSystem (ZipFileSystemProvider.java:171)
    at com.sun.nio.zipfs.ZipFileSystemProvider.getPath (ZipFileSystemProvider.java:157)
    at java.nio.file.Paths.get (Paths.java:143)
    at com.devskiller.jpa2ddl.FileResolver.listClassNamesInPackage (FileResolver.java:79)
    at com.devskiller.jpa2ddl.SchemaGenerator.generate (SchemaGenerator.java:66)
    at com.devskiller.jpa2ddl.GenerateMojo.execute (GenerateMojo.java:115)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:200)
    at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:196)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:511)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
    at java.lang.Thread.run (Thread.java:748)

Hi,
thanks for the report. It looks like the classpath is being parsed while it's changing. However, I'm not sure why the parsing is done during the test phase. Could you provide me with more details regarding the command you use to launch Maven?

Closing. Please feel free to reopen with more details needed for analysis