Chaincode

I created the chaincode. plz review the code and let me know

I modified the code. but I have a doubt while updating the medical info. And I created a separate function for removing consent.

I'll create a new one


Minor code cleanups

Remove an unnecessary call .toMap
Rename region -> regionSetting to avoid naming conflicts

Thanks for the submission! Looks good :cake:


Question about the dataset simulation name

Hello, this dataset lib is quiet helpful.
But the simulation name makes me confuse.
For example, https://github.com/Extrality/airfrans_lib/blob/1e7823bc079c2e645a5f8e32179c014df529aec6/README.md?plain=1#L44
According to your another code https://github.com/Extrality/NACA_simulation, the first digit 57.872,and the second one 7.314 is the AOA. But the last three digits 5.454_3.799_13.179, I only know it is represent a 4-digit NACA airfoil.
Could you please explain which arifoil of 5.454_3.799_13.179 reprensent. And on the contrary, how to represent NACA0112 by the above method.

Hi!
I am so sorry to answer you that late...
So for the name, when 'airFoil2D_SST_57.872_7.314_5.454_3.799_13.179' is given it means, SST turbulence model (SA for Spalart-Allamaras), 57.812 meters per second for the magnitude of the inlet velocity, 7.314 is the angle of attack, 5.454 is the first parameter of the airfoil, 3.799 the second and 13.179 the last. It is a NACA 4 digits in this case, it would have 4 parameters after the angle of attack for a 5 digits NACA (the last two digits are the thickness of the airfoil and it is given at a single parameter).
For example, a simulation with k-omega SST turbulence model, 30 meters per second, 10 degrees of angle of attack and for the NACA 0112 will give 'airFoil2D_SST_30_10_0_1_12'
Best,
Florent

Thank you so much to answer my question!
Previously, I thought the NACA number only could be integer, such as NACA 0012, not realize it could be float too.


Poor font rendering on Firefox

I'm using ttyd in a project for my students (FYI see https://github.com/fpom/cow) and it's default font renders very poorly on Firefox while it is perfectly readable under Chrome. See the two screenshots below.
Firefox:

Chrome:

My current workaround is to increase font size so the problem is less disturbing but it's still there.
I'm running Linux with Firefox 88.0.1 and Chrome 86.0.4240.183.
I've tried to change Firefox font setting but it did not help.
Thanks in advance for any help!

Could it be that you have some add-on installed in Firefox that you don't have in Chrome?
It looks pretty much like what a colleague of mine experienced recently. Some add-on (privacy badger or something like it) was causing it. Either after an update of the add-on or Firefox itself. He didn't have that issue until a few weeks ago. And there was no change in ttyd on the server he was accessing.
So try disabling add-ons until you find the culprit.

Indeed, I've disabled add-blockers and it works fine now!
Thanks a lot!


DOC: Explain constraints on blas module functions with ovewrite option

Turns out the overwrite option, when provided, does not work in all cases. So, it would be nice to clarify that this requires a Fortran array of the right type.

It only means the arrays may be overwritten (usually if memory order and data type allows it).

I guess a warning with some explanation as to why would be helpful as well.

Should we include a hard coded explanation for these keyword usage?

I guess here:
https://docs.scipy.org/doc/scipy/reference/linalg.blas.html
https://docs.scipy.org/doc/scipy/reference/linalg.lapack.html

Yes. That's what I had in mind.


Pre-Render Waveform from server - Angular

I'm working on a soundcloud like app where the user will see a playlist full of waveforms. I want to render all the peak data on the server to avoid having the user load all the songs at once just to display the waveforms.
Is there any solution??

sure, see bottom of FAQ on how to render the peak data using an node.js script that you can run on the server: https://wavesurfer-js.org/faq/

i have tried creating peaks with
wavesurfer.exportPCM(1024, 10000, true, 0);
and storing in on server, i got some array of data but when i a trying to load this generated peaks array with
wavesurfer.load( this.song, peakData);
it does not create peaks, it shows data something like this

seems the peaks are not normalized, have you set this option in Wavesurfer.create to true?

Every thing is working fine now except, event after
waveform.play()
wave take around 3 - 10 sec to play in all cases, and if peaks are already drawn  why is playing it takes so much time and is there any way to reduce this time to zero??

on waveform.play() the audio is loaded and the peaks redraw
i use waveform.loadMediaElement() on play, if not already loaded, to minimize this redraw


Ghost image offset on iOS when page zoomed

Testing version 1.8.3 on iOS 12.1.4:
Ghost is positioned wrong (both horizontally and vertically) when the page is zoomed-in and scroll-position is not in top-left corner. If the zoom factor is large enough the ghost image may be totally offscreen.
This occurs both in Safari and in Chrome.
This occurs both with and without forceFallback.
On Android/Chrome there is no issue with ghost position for me.

Please test out the ios-ghost branch to see if the issue is still present on there. I do not have an IOS device so I unfortunately cannot test this.

@owen-m1 Thanks for the work and sorry for the late reply!
I've tested your patch. It doesn't seem to fix the issue.
Using _css(ghostEl, 'position', 'absolute') actually changes the position of the ghost. But again it's positioned wrong, now even with a zoom factor of 100%.
BTW, your code for browser detection may not be as intended. I guess the strings with the browser names should start upper-case: 'Safari' ... 'Chrome' ... 'Android'

@ThomasWeiser Hi,
I am aware the patch does not work. I can now test on IOS thanks to BrowserStack. I am working on a solution currently that emulates position: fixed on IOS, which does not allow for fixed positioning. The solution should be complete within the week and I will have you test it then.
Thanks

@ThomasWeiser I have updated the ios-ghost branch. Please test to see if it is working properly for you, and let me know what you find.

Thank you for the quick reply!
Currently being out of office. Will check when I'm back in some days.

Working great now. I see the fix is already released. Thank you very much!


Added v2 endpoint to request a dryrun (#3744)

Pull request opened by the merge tool on behalf of #3744

Merged in 1a8a7ee10022b96eba2694f965f539ebc8cc6811


Add .rustfmt.toml configuration

This PR configures the formatting with a few defaults that aid readability, in my opinion. One drawback of adding this file is that rustfmt uses unstable features, now, and you have to use nightly to run it:
cargo +nightly fmt --all

This PR is quite opinionated. It's totally OK if you don't like it or if you would use other settings. :)

I like it, just hope it won't make things too difficult for contributors. Well, we'll see. Thanks!


Can rarely become "stuck" at war with an AI

 Issue by JHCD
Monday Mar 06, 2017 at 09:48 GMT
Originally opened as https://github.com/CQUI-Org/cqui/issues/371

Initial position:
I had an alliance with two AI player.
After a third AI player (Japan) declared war, the game was unstable. So it looked like I was in war with one of the AI players (China) too. But there was no declaration of war from China.

China was no agressor, but was defending when I moved units through his country.
That was not the first time I saw this issue and only when I played games mit CQUI enabled.

 Comment by JHCD
Monday Mar 06, 2017 at 09:55 GMT

Could there be a dependency to issue #372?

 Comment by chaorace
Monday Mar 06, 2017 at 23:31 GMT

I think this issue is actually happening because the game's "hostile" tag is quite generous and includes certain units always, like spies. This coloration is still a bug though since it's quite misleading. I'll add a check for this case

 Comment by JHCD
Tuesday Mar 07, 2017 at 18:51 GMT

Thats not enough...

I could kill all units from that country
Hostile units and cities try to kill my units (defence)

There is only no active war...

 Comment by JHCD
Monday Mar 13, 2017 at 05:37 GMT

You got savegame and logs by eMail

 Comment by chaorace
Monday Mar 13, 2017 at 17:57 GMT

Yep, message received, I'll be testing it soon as a batch with a bunch of other saves I've been sent for other issues

 Comment by ricanuck
Thursday Apr 06, 2017 at 07:11 GMT

Cannot replicate. Never saw it happening.

 Comment by SpaceOgre
Thursday Apr 06, 2017 at 07:13 GMT

Saw the opposite happening yesterday on Quill18's stream. Sumeria declared war on him but not all enemy units where red tinted.

 Comment by JHCD
Thursday Apr 06, 2017 at 12:51 GMT

Chris has the relevant savegame... so he could check it too.

 Comment by ricanuck
Thursday Apr 06, 2017 at 16:44 GMT

Because he is using an old version of the mod. I fixed this last week, working perfectly now. Somebody should tell him to update, he will be a good promoter of the mod, and now that it has some more nice perks, he will love it.
From: Daniel Nordström
Sent: Thursday, April 06, 2017 12:13 AM
To: CQUI-Org/cqui
Cc: Aristos ; Comment
Subject: Re: [CQUI-Org/cqui] Certain units are red-tinted even if not at war with the owner (#371)
Saw the opposite happening yesterday on Quill18's stream. Sumeria declared war on him but not all enemy units where red tinted.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

 Comment by chaorace
Saturday Apr 08, 2017 at 03:21 GMT

@quill18 Heyo, you may want to considering updating to the latest CQUI release to fix that hostile unit highlighting issue you've been experiencing. There's also a workshop version available now for keeping up to date automatically!
As for the issue in the topic, I'll test the save soon to see if I can replicate

 Comment by AtomicDeke
Saturday May 06, 2017 at 09:48 GMT

I'm running into this same issue now. I was allied with Gorgo, Saladin declared war on me, and then Gorgo was registering as hostile. I have since peaced out with Saladin, but Gorgo will still attack me if I wander near her territory, and every time I become a city-state's new suzerain, both Saladin and Gorgo will declare war on it.
There's another wrinkle that seems to be related. When I first discovered that Gorgo was treating my units as hostile, she bombarded my battleship. I haven't been able to repair it in my own territory since then. I'm guessing the game's not recognizing it as hurt since the UI's not showing any hostilities between me and Gorgo?

 Comment by chaorace
Saturday May 06, 2017 at 17:08 GMT

@AtomicDeke I suspect that this may be a rare vanilla issue, could you provide a save file so I can test this?

 Comment by AtomicDeke
Sunday May 07, 2017 at 03:35 GMT

Sure thing, I emailed you the save file.


Discord One-Click Registration

This allows users to register by only clicking one button to be invited to our server and given all the relevant permissions in one go.
This is off of the back of some user feedback and some issues with people having multiple Discord accounts getting confused (i.e. joining one server but OAuthing against another).

:tada: This PR is included in version 6.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


yabai: 3.3.3 -> 3.3.4

Motivation for this change
New release :)
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 104192 run on x86_64-darwin 1

1 package built:

yabai


Fixed Login and Registration

-Fixed bug with front-end form payload
-Fixed bug with incorrect redirect after login
#94

Need to reroute to the app page instead of chat page. I will close this PR and open a new one after fixing it.


README.md: fixes minor documentation errors

including formatting issues and code example errors.
Also I added a couple of TODO items to clarify the documentations
that can be easily fixed once the spec for stats is published.

Can you wait for @jcd2 review before checking-in? As I said he will own this project by the end of the week.

Can you resolve the conflicts?

merge was nontrivial. Please take another look.
I will submit it.


Threadsafe and consistent delta triples

The already existing DeltaTriples class maintains a dynamically changing set of insertions and deletions relative to the original input data, together with a (single) local vocab. The class is not threadsafe and has to be used with care. In particular, concurrent update queries have to be serialized, and while a query makes use of the "delta triples", it has to be made sure that they are not changed over the course of the processing of that query.
Both of these problems are solved by the new DeltaTriplesManager class. The index has a single object of this class. It maintains a single DeltaTriples object, write access to which is strictly serialized. Each new query gets a so-called snapshot of the current delta triples. This is a full copy (of the delta triples located in each of the permutations and of the local vocab). These snapshots are read-only and multiple queries can share the same snapshot. A snapshot lives as long as one query using it is still being processed.

Some SPARQL operations may result in Quad insertions and deletions. Is it possible that operations acquire the lock in between these two parts of a single update?

@hannahbast I have also looked at the lines, but they are either completely unrelated to this PR, or they will be adressed anyway in one of the follow-up PRs.


feat: Array indexing

This is the feature branch for array indexing. Tracked by #253.
The goal is to allow array indexing in @inout positions that ignores linearity constraints in the indices:
qs: array[qubit, 42]
cx(qs[0], qs[1])  # Ok
cx(qs[0], qs[0])  # Compiles, but will panic at runtime
q = qs[0]  # Error: Indexing only allowe in inout position

This is achieved by lowering array[qubit] to array[qubit | None] and making array.__getitem__ and array.__setitem__ swap in None whenever a qubit is taken out or put back in. The functions array.__getitem__ and array.__setitem__ take the array as @inout, so it suffices to apply the following desugaring:
cx(qs[expr1], qs[expr2])

# Desugars to
idx1 = expr1
idx2 = expr2
tmp1 = qs.__getitem__(idx1)
tmp2 = qs.__getitem__(idx2)
h(tmp2)
qs.__setitem__(tmp1, idx1)
qs.__setitem__(tmp2, idx2)

This also means that arrays containing structs might behave slightly unexpectedly:
@guppy.struct
class QubitPair:
    q1: qubit
    q2: qubit

ps: array[QubitPair, 42]
cx(ps[0].q1, ps[0].q2)  # Panics at runtime :(

# Since it desugars to
idx1 = 0
idx2 = 0
tmp1 = ps.__getitem__(idx1)
tmp2 = ps.__getitem__(idx2)  # Panic: Struct at index 0 has already been replaced with None
cx(tmp1.q1, tmp2.q2)
...

To solve this, we need to change the Hugr lowering of arrays to structually replace any occurrence of qubit with qubit | None, i.e. instead of doing array[QubitPair | None], we would need to do array[tuple[qubit | None, qubit | None]]. I'll leave this to a future PR in case we are interested in that.
The following feature PRs target this branch:

#420
#421
#422

h(tmp2)

This should be cx(tmp1, tmp2)


SpringBoot application crashes with null pointer error when running locally without SAM local

The problem is that this variable is a null value, when running locally with a manifest file.
A manifest file should be added to folder META-INF called MANIFEST.MF in package com.amazonaws.serverless.sample.springboot
The contents of the manifest file MANIFEST.MF should be as follows:
Manifest-Version: 1.0
Main-Class: com.amazonaws.serverless.sample.springboot.Application
The problem with this rest service, is that it creates a NULL value and crashes when running the Application.java locally within Intellij.
https://github.com/awslabs/aws-serverless-java-container/blob/06756285a14c3917a1799c85213d0c4c9fdb449f/samples/springboot/pet-store/src/main/java/com/amazonaws/serverless/sample/springboot/controller/PetsController.java#L48
Question, what significance does the Principal variable have?  If it runs locally, and that System.out.println has been deleted, the program runs with flying colors as expected.
Does the AWS gateway require a variable Principal as an argument, and if so, what purpose does it serve?
Note: I have been able to run without reference to that variable, and have deleted it, and added a manifest file and everything runs great locally with SpringBoot, and also with SAM local.

I've removed the principal log line in all spring samples. Closing this issue.


Add cert pem option to tls

It would be useful to be able to pass a cert PEM to the TLS transport to add to the rootCA.

Adding an option to pass a certPool would also suffice. I can help with this.


feat: add configurable ellipsis symbol for text truncation

Allow to customize the ellipsis symbol. I make it optional to not introduce a breaking change in user's theme.
Fallback to ....

We should handle the text truncation in the others panes/columns since this is only enabled in queue for now.
Also I notice the truncation trigger a bit late (see selected song above).
In any case, what do you think?

What else could the ellipsis be realistically configured to? I have never seen anything other than ...

This is indeed the convention, but for instance if you have Nerd Fonts, you would want to use a glyph instead ⋯ or …. It subtle, I grant you that.

does not take into account the length of the configured value when calculating when to display ellipsis.

Good catch too. I just wanted to know if you were interested before polishing this a bit.

Sure, go ahead, I would use the nerd font symbols myself if you finish this!

Hmm need some guidance here, is there some padding lying around cells in queue pane?
Because the reported cell width from ratatui needs to be substracted by 4 to be "ellipsized" correctly.
Sounds too magic that I feel I'm missing something...
If you want to test directly from master branch, the following hack gets ellipsis trigger correctly:
diff --git a/src/ui/panes/queue.rs b/src/ui/panes/queue.rs
index 81f2937..45d7db1 100644
--- a/src/ui/panes/queue.rs
+++ b/src/ui/panes/queue.rs
@@ -99,7 +99,11 @@ impl Pane for QueuePane {
             .map(|song| {
                 let is_current = status.songid.as_ref().is_some_and(|v| *v == song.id);
                 let columns = (0..formats.len()).map(|i| {
-                    song.as_line_ellipsized(formats[i].prop, widths[i].width.into())
+                    let mut max_len: usize = widths[i].width.into();
+                    if max_len > 10 {
+                        max_len -= 4;
+                    }
+                    song.as_line_ellipsized(formats[i].prop, max_len)
                         .unwrap_or_default()
                         .alignment(formats[i].alignment.into())
                 });

This is most likely due to compounding error with the table having spacing of 1 between columns, so the max width should be something like widths[i].width - i. There is also a mess of areas/blocks in there which could use some cleanup, sorry for that. The table also loses one column from each side on line 155
let table_area = table_block.inner(queue_section);

when it really needs to lose one on the right side to make space for the scrollbar. I think all these add up to the weirdness you are seeing.

Thanks for your prompt reply!
I've come up with 65243f3. Might not be ideal but more concise without refactoring the whole logic. Let me know if it fits for you.

This config results in panic on your branch and is fine on master, this should be easily fixable by using saturating_sub() though.

song_table_format: [
    (
        prop: (kind: Property(Other("albumartist")), default: (kind: Property(Artist), default: (kind: Text("Unknown")))),
        width: "20%",
    ),
    (
        prop: (kind: Property(Title), default: (kind: Text("Unknown"))),
        width: "35%",
    ),
    (
        prop: (kind: Property(Album), style: (fg: "white"), default: (kind: Text("Unknown Album"), style: (fg: "white"))),
        width: "45%",
    ),
    (
        prop: (kind: Property(Duration), default: (kind: Text("-"))),
        width: "5",
        alignment: Right,
    ),
],

But I am still getting weird behavior especially on the last column with fixed length and the first column sometimes has two columns spacing, which is weird.
Take a look at this solution, maybe its good enough or maybe you can get some ideas from it:

diff --git a/src/ui/panes/queue.rs b/src/ui/panes/queue.rs
index bb35725..a3c5e59 100644
--- a/src/ui/panes/queue.rs
+++ b/src/ui/panes/queue.rs
@@ -32,10 +32,11 @@ use crate::{
 };
 use log::error;
 use ratatui::{
+    layout::{Flex, Margin},
     prelude::{Constraint, Layout, Rect},
     style::Stylize,
     text::Line,
-    widgets::{Block, Borders, Padding, Row, Table, TableState},
+    widgets::{Block, Borders, Row, Table, TableState},
     Frame,
 };

@@ -82,31 +83,49 @@ impl Pane for QueuePane {
         } = context;
         let queue_len = queue.len();

+        let title = self
+            .filter
+            .as_ref()
+            .map(|v| format!("[FILTER]: {v}{} ", if self.filter_input_mode { "█" } else { "" }));
+        let table_block = {
+            let mut b = Block::default().border_style(config.as_border_style().bold());
+            if config.theme.show_song_table_header {
+                b = b.borders(Borders::TOP);
+            }
+            if let Some(ref title) = title {
+                b = b.title(title.clone().blue());
+            }
+            b
+        };
+
+        let margin = Margin {
+            horizontal: 1,
+            vertical: 0,
+        };
         let header_height = u16::from(config.theme.show_song_table_header);
         let [table_header_section, mut queue_section] =
-            *Layout::vertical([Constraint::Min(header_height), Constraint::Percentage(100)]).split(area)
-        else {
-            return Ok(());
-        };
+            Layout::vertical([Constraint::Min(header_height), Constraint::Percentage(100)]).areas(area.inner(margin));
+        let mut table_area = table_block.inner(queue_section);
+
+        table_area.width = table_area.width.saturating_sub(1); // make one column space between table and scrollbar
+        let mut scrollbar_area = table_area;
+        scrollbar_area.width += 2; // add the two columns that were subtracted from table area

         self.scrolling_state.set_content_len(Some(queue_len));

-        let widths = Layout::horizontal(&self.column_widths).split(table_header_section);
-        let formats = &config.theme.song_table_format;
+        let widths = Layout::horizontal(self.column_widths.iter())
+            .flex(Flex::Start)
+            .spacing(1)
+            .split(table_area);

-        let table_padding = Padding::new(1, 2, 0, 0);
-        let table_padding_leftright = 3;
+        let formats = &config.theme.song_table_format;

-        let ellipsis_len = config.theme.symbols.ellipsis.chars().count();
         let table_items = queue
             .iter()
             .map(|song| {
                 let is_current = status.songid.as_ref().is_some_and(|v| *v == song.id);
                 let columns = (0..formats.len()).map(|i| {
-                    let mut max_len: usize = widths[i].width.into();
-                    if max_len - i + table_padding_leftright > ellipsis_len {
-                        max_len -= i + table_padding_leftright;
-                    }
+                    let max_len: usize = widths[i].width.into();

                     song.as_line_ellipsized(formats[i].prop, max_len, &config.theme.symbols)
                         .unwrap_or_default()
@@ -135,31 +154,14 @@ impl Pane for QueuePane {
                 })))
                 .style(config.as_text_style())
                 .widths(self.column_widths.clone())
-                .block(config.as_header_table_block().padding(table_padding));
+                .block(config.as_header_table_block());
             frame.render_widget(header_table, table_header_section);
         }

-        let title = self
-            .filter
-            .as_ref()
-            .map(|v| format!("[FILTER]: {v}{} ", if self.filter_input_mode { "█" } else { "" }));
-        let table_block = {
-            let mut b = Block::default()
-                .padding(table_padding)
-                .border_style(config.as_border_style().bold());
-            if config.theme.show_song_table_header {
-                b = b.borders(Borders::TOP);
-            }
-            if let Some(ref title) = title {
-                b = b.title(title.clone().blue());
-            }
-            b
-        };
         let table = Table::new(table_items, self.column_widths.clone())
             .style(config.as_text_style())
             .row_highlight_style(config.theme.current_item_style);

-        let table_area = table_block.inner(queue_section);
         self.table_area = table_area;
         frame.render_stateful_widget(table, table_area, self.scrolling_state.as_render_state_ref());
         frame.render_widget(table_block, queue_section);
@@ -171,7 +173,7 @@ impl Pane for QueuePane {
         self.scrolling_state.set_viewport_len(Some(queue_section.height.into()));
         frame.render_stateful_widget(
             config.as_styled_scrollbar(),
-            queue_section,
+            scrollbar_area,
             self.scrolling_state.as_scrollbar_state_ref(),
         );

In short I tried to mimick the way rataui's table splits the widths with flex and spacing and then juggled some blocks around. Seems to work nicer this way.

That's strange for the panic because I tested it with a similar config (with fixed duration col) and it was ok. Speaking of duration column, might be good to suggest in default theme the fixed width of 5 cols instead.
And thanks so much for the heavy lifting, I took your solution and reworked it a bit the layout to get a nicer alignment with the scrollbar and removed all the weirdness of adding and removing cols either side. Tested with and without header.
Let me know what you think and thanks again for your patience.

Yeah, you can change the default theme if you want, but dont forget about the one in the docs if you do.
Looks good to me now, we can merge after the small change i noted above.
Thanks for taking the time to fix this!

you can change the default theme if you want, but dont forget about the one in the docs if you do.
this involve to update the screenshot i think so i'd rather not to change for now, however this could be the subject of another theme.

Anyway, ready to merge!

done, thanks!


Intellisense doesn't find variable in tsconfig's "paths" directory in parent folder

TS Template added by @mjbvz
TypeScript Version: 4.1.0-dev.20200818
Search Terms

tsconfig
auto import

VSCode Version: Insiders
OS Version: macOS 10.15.6

Steps to Reproduce:

Clone this repo: https://github.com/Floriferous/paths-resolution
Try to use intellisense to import someVar in the test.js file
Notice that it does not work, even though paths is properly declared in tsconfig.json

Does this issue occur when all extensions are disabled?: Yes

Looks like both constants.js is being put into implicit an project:
Info 324  [16:14:0.597] Open files:
Info 324  [16:14:0.597] 	FileName: /Users/matb/projects/san/paths-resolution/apps/app1/src/components/test.js ProjectRootPath: /Users/matb/projects/san/paths-resolution
Info 324  [16:14:0.597] 		Projects: /Users/matb/projects/san/paths-resolution/apps/app1/tsconfig.json
Info 324  [16:14:0.597] 	FileName: /Users/matb/projects/san/paths-resolution/shared/constants.js ProjectRootPath: /Users/matb/projects/san/paths-resolution
Info 324  [16:14:0.597] 		Projects: /dev/null/inferredProject1*


Some cleaning up

Signed-off-by: Max Lambrecht<EMAIL_ADDRESS>
Pull Request check list

[ ] Proper tests/regressions included?
[ ] Documentation updated?

Affected functionality
Description of change
Remove some binaries that should not be committed and IDE related folder and files.
Remove commented code.
Cleanup .gitignore.
Which issue this PR fixes

Needed to rebase and solve conflicts, thus lost all the approvals. 😮💨
@mchurichi @jufantozzi @n-th


Django Admin: fix creating new notifications

This is a fix for #9340. It enables User and Product fields in Add notifications editor in Django Admin interface, so new notifications can be set up for any Product and User combination.
Test results
Tested manually. Screenshot:

Hi @tomaszn, is it possible to incorporate these changes into notfications rather than admin? We're trying to keep people away from django admin for data integrity purposes.

@devGregA, I fully understand your concern about data integrity. On the other hand, the alternative for now is editing the database records.
I can imagine such a rework of the View User page. Maybe two new sections, one for user's general notification settings, and another for per-product notifications. Plus a nice wizard that sets up notifications for all products that match some criteria like tags or Product Type. This could be also accessible for regular users to set up and review their notifications.
But that would be a bigger feature. As the code freeze is in progress, what do you think about tackling it after DefectDojo 3.0 is released, and proceeding with this for now?


maybe parsing error of md5 file

Hi while checking my file, i came over some files which resulted in an error. It looks like a error in parsing/reading the md5 checksum file.
The pars of the checksum file which did not work correctly.
...
a29a34b26687829858c30b74f7b8b786  7eventy 5ive (2007)\7eventy 5ive (2007)-fanart.jpg
4b2d5e570f34387d65334616639a75fa  7eventy 5ive (2007)\7eventy 5ive (2007).jpg
20c8a4b8ed350a62a0a8e3344da36af7  7eventy 5ive (2007)\7eventy 5ive (2007).mkv
7b25aaa9d6b20125eeb29ff8c55676b7  7eventy 5ive (2007)\7eventy 5ive (2007).nfo
4b2d5e570f34387d65334616639a75fa  7eventy 5ive (2007)\7eventy 5ive (2007).tbn
...

Which lead to the result:
...
5ive (2007)/7eventy 5ive (2007)-fanart.jpg          No such file or directory
5ive (2007)/7eventy 5ive (2007).jpg                 No such file or directory
5ive (2007)/7eventy 5ive (2007).mkv                 No such file or directory
5ive (2007)/7eventy 5ive (2007).nfo                 No such file or directory
5ive (2007)/7eventy 5ive (2007).tbn                 No such file or directory
...

It seems that the parsing of the direcotry / filename has a problem here.
The md5 file as created with the newest rhash on windows and read and check on linux.

What command line did you use to create the hashes?
What command line did you use to check the hashes?
The opening "7eventy 5ive (2007)" is a directory?
Your results do not show the "7eventy " part, only starting with the "5ive" part.
Also the slashes are reversed (from \ to /).
C:\TMP\BRU>rhash --md5 -r 7e*
d41d8cd98f00b204e9800998ecf8427e  7eventy 5ive (2007)\7eventy 5ive (2007)-fanart
.jpg
d41d8cd98f00b204e9800998ecf8427e  7eventy 5ive (2007)\7eventy 5ive (2007).mkv
d41d8cd98f00b204e9800998ecf8427e  7eventy 5ive (2007)\7eventy 5ive (2007).nfo

C:\TMP\BRU>rhash --md5 -r 7e* >777

C:\TMP\BRU>rhash -c 777

--( Verifying 777 )-------------------------------------------------------------

7eventy 5ive (2007)\7eventy 5ive (2007)-fanart.jpg  OK
7eventy 5ive (2007)\7eventy 5ive (2007).mkv         OK
7eventy 5ive (2007)\7eventy 5ive (2007).nfo         OK
--------------------------------------------------------------------------------

Everything OK

Yes 7eventy 5ive (2007) is a directory.
Created the file on windows (RHash v1.4.3) used this command line:
rhash -rM --percents --speed . > directory.md5

copied the file over to linux (RHash v1.4.1) (that may explain the reversed slashes)
and used the following comandline in the directory containing the direcotry.md5 file
rhash -cr -M --crc-accept=md5 . | tee result.txt

this gives me the error on the files in this directory with the odd (partially missing) directory name. All other directories and files got checked ok.

Duplicate of #139 and #148, fixed in v1.4.2.


double check interface for null

Overview
This is a band-aid because the bug is annoying.
As mentioned in the the issue this fixes, checking interfaces for null is not sufficient in the case they were implemented by a UnityEngine.Object. This needs a more profound solution (maybe #5981) though.
Changes

Fixes: #6587.

/azp run


Don't use exceptions as flow control in for_clause

Hi, this is @nateberkopec's alternate account.
I was noticing ~half a dozen exceptions per page being silently raised and rescued on an app. Raising exceptions is pretty slow, much slower than just asking if the object responds or not.

Codecov Report

Merging #1627 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1627   +/-   ##
=======================================
  Coverage   93.91%   93.91%
=======================================
  Files         126      126
  Lines        5735     5735
=======================================
  Hits         5386     5386
  Misses        349      349

Impacted Files
Coverage Δ

lib/active_graph/node/query/query_proxy_link.rb
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

@speedshopnate thanks for that!


[PROPOSAL] Move config descriptions from falco.yaml to Falco documentation

What to document
At every new config added, the falco.yaml becomes bigger, this is because we add very detailed descriptions...this is good of course but it decreases the readability of the falco.yaml. What about moving the config descriptions inside our documentation and removing them from falco.yaml. Maybe we could just leave a brief description of 2 lines... WDYT? @falcosecurity/falco-maintainers ?

How can we keep them in sync during the 4 months dev cycles?
(just thinking out loud)
Perhaps we can create a .MD file in the Falco repo, and sync to the website close to the release :thinking:

While i definitely agree that the falco.yaml is growing way too big, i think that having the descriptions separated (even worse, on a website, not locally) from the local config file is a bit messy and would waste quite a bit of adopters' time.
I would love to hear what other maintainers think about this one though!

we could move all configs up and instead have all descriptions in the same order following the configs?

I like this; simple and effective! Perhaps we can also re-organize top level keys (eg: the new falco-libs top level key proposed here: https://github.com/falcosecurity/falco/pull/3071)

we could move all configs up and instead have all descriptions in the same order following the configs? Would this address the primary concerns raised?

Yeah, probably it could improve the readability!

Maybe we can have just a short description close to the settings, and long descriptions at the end of the file

Maybe we can have just a short description close to the relevant setting, and long descriptions at the end of the file

Works, a one-liner TLDR and the more verbose description below. SGTM!

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

/remove-lifecycle stale

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

/remove-lifecycle stale

An idea: we could add a man page for Falco and move there all the config options + CLI options descriptions.

An idea: we could add a man page for Falco and move there all the config options + CLI options descriptions.

@FedeDP could you give us an example, please? :pray:

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

/remove-lifecycle stale


Place reference above or after any commas, periods or other punctuation marks

Thanks for this fantastic (+ beautiful) plugin. I love it!
I was just wondering whether references could be made to look more natural when accompanied with punctuation, such as by making the reference appear directly above the punctuation or immediately afteer that. As you can see they currently add a big gap between the punctuation which looks awkward. Usually in academic work, for example, footnotes are placed after any punctuation because they look better.

Basically SNW is detecting the location of links and doesn't analyze the surrounding text. Too much of a performance hit. If you now CSS thought, these elements can be moved around with experimentation.

I also love the plugin and support this suggestion/ feature request.

Too much of a performance hit.

Assuming that this is about regular expressions, does it really make much of a difference whether you do
\[\[.*\]\]

or something like
\[\[.*\]\]\S?\S?

?

Thank you for this recommendation, but I will not be implementing it. The parser and UI layouts are complex and challenging to manage in terms of performance. Alternatively, you could put together some CSS that repositions the block counter to float above the link, or another adjustment you would prefer.
Again, I do appreciate the recommendation.


Enable lasso selection of disjoint sets in scatterplot

allow to select disjoint sets in the scatterwidget
allow to pass different labels to those (?)

Will be tackled with #270


Remove Ruby's garbage collection config option

Removing Ruby's garbage collection config option since the feature still requires some work.

@shairyar Is this something that came out of a discussion within the Integrations team? I don't know enough about the integration to be able to say "Yes this needs more work" I'll add @tombruijn to this; He knows more about this.

@shairyar Is this something that came out of a discussion within the Integrations team? I don't know enough about the integration to be able to say "Yes this needs more work" I'll add @tombruijn to this; He knows more about this.

@thijsc and I were discussing this in the slack today

@thijsc and I were discussing this in the slack today

I am guessing if it is only the dashboard changes that are pending we can leave it in otherwise remove it?

I am guessing if it is only the dashboard changes that are pending we can leave it in otherwise remove it?


Score for rows

how do I know the score for each row?

Getting a score for a row is pretty Postgres specific. It looks like it could be calculated with ts_rank() or ts_rank_cd(), but I'm not sure how you work that into the model or eloquent query.
https://www.postgresql.org/docs/9.5/textsearch-controls.html#TEXTSEARCH-RANKING
https://bigmachine.io/2019/10/29/fine-tuning-full-text-search-with-postgresql-12/


chore: add e2e tests

This ensures the lib keeps working with a real GCP HSM going forward.
Quite similar to the unit test, so you may see some duplication in the structure of the test.
Which is fine/expected I think.
Fixes RET-1037

Yes with yarn test:e2e


support scroll interaction on fixed rows/cols

this PR provides opt-in support for scroll interaction on Grids that have fixed columns or rows.
here is a live demo of it working: https://goo.gl/xKCYBk
use Chrome DevTools device toolbar to view the site on a smaller device to try it out
please remember that this is just a POC to move the discussion forward for those who need this type of functionality.
enjoy all the scrollbars

please remember that this is just a POC to move the discussion forward for those who need this type of functionality.

Is there a reason this is just a POC and not something you would want merged and released?

Not really, haven't thought too hard about it, waned to spur some discussion around it first. I'm totally ok with it being merged and released.

On Jul 8, 2017, at 18:55, Brian Vaughn<EMAIL_ADDRESS>wrote:
please remember that this is just a POC to move the discussion forward for those who need this type of functionality.
Is there a reason this is just a POC and not something you would want merged and released?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Gotcha. Thanks for the update.
I have noticed one issue (which I edited my previous comment to mention). I'll take a stab at resolving it. If it doesn't turn out to be too complicated. If it does, I may pass this PR back to you to look into it.

Thank you for this contribution. I'm really glad to see how well this feature works. It's been requested a few times.
I'm sorry it took me so long to review it. I've been busy.
This feature has just been released in version 9.9.0 of the library and I've given you credit in the CHANGELOG.


Extend deposit with missing optional fields

Codecov Report

Merging #64 (6834725) into main (8609966) will decrease coverage by 0.47%.
The diff coverage is 75.20%.

@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
- Coverage   85.27%   84.81%   -0.47%
==========================================
  Files          13       14       +1
  Lines        2900     3009     +109
==========================================
+ Hits         2473     2552      +79
- Misses        427      457      +30

Impacted Files
Coverage Δ

src/lib.rs
100.00% <ø> (ø)

src/zks_wallet/wallet/deposit_request.rs
51.72% <51.72%> (ø)

src/zks_wallet/wallet.rs
84.33% <96.82%> (+0.70%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Task 3 - Python

In my opinion, this is not a very good solution, because it only covers the search for the file of which extension is added in the code. Also, when I add the path directly to the file, it is displayed 'Incorrect path in config file or final path is a file' . That is, if I want to check whether my file with such an extension exists in the directory.

The task says that the path should be only to the folder, I can change the program so that when specifying the path to the file, the program outputs the name of the file. But I thought that isn't correct. File extension you can change in config file. TXT extension by default wrote in file.


No longer able to generate cubelights from units w/ supported lighting type

Describe the bug
Previously, the editor was able to generate cubelights from units that had a supported lighting type (such as 'units/world/props/airport/lamppost_four_lights/lamppost_four_lights'), and while the correct prompt will still appear when these units are selected, the cubelight generation will never proceed.
Overkill uses this a few times on retail heists (and some newer ones?), such as the aforementioned lights on Firestarter Day 1, Rats Day 2 (the lightbulbs), and more.
Steps to reproduce the issue
Simply attempt to generate cubelights from a supported unit type.  While the prompt recognizes that lighting can be generated from it, and editor units and contour visibility may get disabled for the generation process, the process never progresses farther than that.
Log file
No response
Minimal reproduction
No response

Issue resolved!  Closing.


sway-audio-idle-inhibit: init at 0.1.1

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This package already exists https://github.com/NixOS/nixpkgs/pull/265755 , consider making a PR to the existing one if something needs to be changed

Thanks, don't know how I missed that. I pulled the latest master and searched for it. Must have been tired or something :sweat_smile:
Looks like it could use a bump though so I'll do another PR.


convert price to lunc

closes: https://github.com/classic-terra/core/issues/213
current edition of oracle-feeder fetches price in usd, not lunc. This leads to mismatch with terra classic mainnet oracle feeder

fixed with https://github.com/classic-terra/oracle-feeder/commit/5c1d31805cda44a4aae8e478d05c8483ded24fe6


Normalize values schema

Towards https://github.com/giantswarm/roadmap/issues/2098
This PR applies schemalint normalize to the schema. The effect is that key order and white space get normailzed and subsequent PRs will not contain such purely cosmetic changes.

thanks for tidying this up!


provide built artifacts on npm

it would be awesome if I could just get it from build/ on npm instead of having to do other weird workarounds.

Can you describe the problem you are having? What workarounds do you have to perform?
Builds can currently be found on the releases page. for example, here is v2.0.2.

I use npm to manage my dependencies, so if I npm install phaser-tiled I get only the source code and no gulp file or anything I can use to build. To build a version, I would have to download and do so myself, or get from the releases page. Either of those means I'm pulling in scripts to my project.
If you provide the built artifacts on npm, I can import/require those through my normal build process, instead of sidestepping it.

The npm package is meant to be included in your build process and built by your packager (browserify/webpack). Are you not using one of those?
I've included the built file, but the recommended usage is still to build the source files.

Thanks.
I am using one of those, but it doesn't seem to work for me. Based on the readme, I need to add it to .angular-cli.json's external scripts block after phaser (since I have to load phaser that way as well), and it did not seem to be building anything.

You either include it on your page or require it into your bundle with a normal require. The assumption of the npm package, is that if you are installing via npm you probably want to just require it normally and let the builder build it.
Either way, it is there for you now. Do whatever you think is best for your app.


Email forwarded from Cpanel and parsed by Sendgrid is not captured email channel

Self-hosted digital ocean, Caprover. (Chatwoot version v1.21.1 )
Emails forwarded to email channel address from Cpanel, with 'Forwarder' as well as 'Global Filter' feature of Cpanel. Email arrives in Chatwoot as evident from the app log. Conversation is not created with many tries.
No difference with Sendgrid SPAM check on or off.
No difference from different mail clients like gmail web, 'Mail' on iPhone, etc.
However sending directly to the cryptic address of the email channel works okay.
Problem is only when Cpanel forwarder is involved.
App log excerpts:
...
2021-10-21T03:41:29.098915585Z I, [2021-10-21T03:41:29.098802 #1] INFO -- : [7840f094-e28d-4480-b7e9-6675fa47e63d] Processing by ActionMailbox::Ingresses::Sendgrid::InboundEmailsController#create as HTML
....
2021-10-21T03:41:29.134000382Z I, [2021-10-21T03:41:29.133834 #1] INFO -- : [7840f094-e28d-4480-b7e9-6675fa47e63d] S3 Storage (17.1ms) Uploaded file to key: 0udzyf9hwx4hw2x4le7eg5n42eef (checksum: GgDmIgk8BgwQN0pFrVegPg==)
2021-10-21T03:41:29.136376300Z I, [2021-10-21T03:41:29.136234 #1] INFO -- : [7840f094-e28d-4480-b7e9-6675fa47e63d] [ActiveJob] Enqueued ActionMailbox::RoutingJob (Job ID: de834955-b287-4ccd-9f53-5631917755c5) to Sidekiq(action_mailbox_routing) with arguments: #<GlobalID:0x00007f4b716e5938 @uri=#<URI::GID gid://chatwoot/ActionMailbox::InboundEmail/74>>
2021-10-21T03:41:29.141726324Z I, [2021-10-21T03:41:29.141581 #1] INFO -- : [7840f094-e28d-4480-b7e9-6675fa47e63d] No template found for ActionMailbox::Ingresses::Sendgrid::InboundEmailsController#create, rendering head :no_content
2021-10-21T03:41:29.142128850Z I, [2021-10-21T03:41:29.142007 #1] INFO -- : [7840f094-e28d-4480-b7e9-6675fa47e63d] Completed 204 No Content in 42ms (ActiveRecord: 6.7ms | Allocations: 7512)

Even succeeded emails shows log entries lik:
INFO -- : [2331cdf5-b406-4221-8931-39f4b00466a1] No template found for ActionMailbox::Ingresses::Sendgrid::InboundEmailsController#create, rendering head :no_content
And the agent dashboard show this message as attached image.

thanks a lot for reporting back


Scene sync seems not to work with interpolate:true

I have enabled scene sync and it seems to not work if within an interpolation window defined with interpolate:true. Example:
Office  sunrise     bri:100%  ct:2700  tr-before:nautical_dawn
Office  22:00       bri:80%   ct:2500  tr-before:sunset
Office  01:00       bri:1%    ct:2200  interpolate:true

Between 22:00 and nautical_dawn, the resulting scene has all lights turned off completely.

Could you share your full configuration? Do you have any schedules that turn off your lights? I'm asking because scene sync doesn't look at individual states in isolation; instead, it computes a "full picture" of your configuration. This is necessary since scenes always control all lights in a zone or room, meaning there's no way to control only a few lights via scenes and leave the others as is.
Hue Scheduler tries to be smart about this "full picture", but it gets tricky for overlapping zones. Currently, it handles these cases by prioritizing states based on the zone size: states for smaller zones are treated as more specific and therefore override the light states of larger zones. It's a bit hard to explain without an example, but I hope this provides some insight.

I had a closer look and actually found a sync issue with interpolate:true and cross-over states. Those have always been the trickiest to get right. I've pushed a fix with version 0.12.1; please give it a try and let me know if it resolves the issue.
Thanks for bringing this to my attention!


Reference each parameterized test argument via a unique ID and allow running specific arguments

Introduce support for referencing each argument of a parameterized test via a unique ID, and specifying cases to run based on those IDs.
Motivation:
This facilitates allowing (re-)running specific argument(s) of parameterized test functions.
Modifications:

Add an id property to Test.Case.Argument containing the unique ID of a particular argument passed to a parameterized test.
Add a CustomTestArgument protocol, which types can optionally conform to in order to provide a stable, unique ID for test arguments.
Add a Test.Case.ID consisting of an array of argument IDs, referencing the value of Test.Case.Argument.id for each argument.
Add conformance to Identifiable protocol to Test.Case.
Add Test.ID.CaseSelection and Test.Case.ID.Selection types which compose together to allow specifying test case to run, stored via a new Configuration.selectedTestCases SPI property.
Modify Runner and its related types to support filtering out non-selected test cases.
Add testCaseID SPI property to Event.

Checklist:

[x] Code and documentation should follow the style of the Style Guide.
[x] If public symbols are renamed or modified, DocC references should be updated.

Resolves rdar://117535243

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test


Fusebox Dependancies Don't Pay Nice Running on (Ubuntu) Vagrant With Windows Host Machine.

So far this only sprouts up trying to run fusebox on a Vagrant machine instance, but it appears the dependancies that fusebox uses generate random errors. I don't see many people on here using Vagrant + Windows. So perhaps I'm the only one expirencing these issues.
How To Generate Errors

Copy/Paste the code below into Vagrantfile.

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|

  config.vm.box = "hashicorp/precise64"
  config.vm.network "private_network", ip: "<IP_ADDRESS>"
  config.vm.hostname = "fusebox-test"
  config.vm.synced_folder ".", "/var/www", :mount_options => ["dmode=777", "fmode=666"]
end

Run $ vagrant up in Windows commandline.
SSH into the VM and install node/git/etc...
Git Clone any fusebox examples in SSH where /var/www is.
Run $ npm install --no-bin-links. (Obvously Linux/Windows syms don't play nice.)
Run $ node fuse.js

Now you should be greeted by error messages like these.
02:15:13 : Launching dev server on port 4444
/var/www/react-example/node_modules/regenerator-transform/lib/emit.js:88
  return t.

SyntaxError: Invalid or unexpected token
    at Object.exports.runInThisContext (vm.js:78:16)
    at Module._compile (module.js:543:28)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/var/www/react-example/node_modules/regenerator-transform/lib/visit.js:13:13)
    at Module._compile (module.js:571:32)

/var/www/node_modules/postcss/lib/map-generator.js:210
        if (typeof th

SyntaxError: Invalid or unexpected token
    at Object.exports.runInThisContext (vm.js:78:16)
    at Module._compile (module.js:543:28)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/var/www/node_modules/postcss/lib/lazy-result.js:9:21)
    at Module._compile (module.js:571:32)

I assume you could fix this by moving the location of node_modules outside of the shared folder scope. I'm still sort of new to npm. So correct me if I'm wrong. I'm just going on based on my expirence with gulp.js.

@ajm113
we got a new undocumented feature, that allows you to point fuse to a custom location for node_modules folder , sometihng like below
process.env.PROJECT_NODE_MODULES = `C:/projects/fuse-box-random-tests/node_modules`;
const fsbx = require('fuse-box');

could you try it please and tell us if it helps at all :)

Of course! :) If that works, IMO I would try to at least note that somewhere in the docs, since a good chunk of people who are forced to use Windows will more than likely be using Vagrant. ;) I'll update my status as soon as I can test this.

Sorry for the delay. I've attempted to run that line with the react example and receive the following error:
SyntaxError: Invalid or unexpected token
    at Object.exports.runInThisContext (vm.js:76:16)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/var/www/react-example/node_modules/proxy-addr/index.js:22:14)
    at Module._compile (module.js:570:32)

@ajm113  you need to transpile your code with babel or typescript :)

We will close this now for being inactive. by the way, check the new version 2.0, let us know otherwise :)


invertMessagesOrder isn't working when inboxName is null

Hi, thank you for such a useful plugin.
Bug report: when inboxName is set to null, invertMessagesOrder setting is not respected: messages are added to the top of my daily page, not to the bottom. Restarting the plugin didn't help. Would it be possible to fix this?

Can you check v1.0.5? Did it fix this issue?

Not really. Here is what I see in 0.1.5, after adding test and test2 messages:

I was able to fix it locally, please see my fork here: https://github.com/shady2k/logseq-inbox-telegram-plugin/compare/master...goldan:logseq-inbox-telegram-plugin:master
But I think the code needs to be refactored before merging.


fix: unlimit concurrent creating streaming jobs for parallel e2e tests

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

 It should works. It might be because the environment was dirty when I was testing locally before, I thought it wasn't set.


feat: add function StateStorage in backend, and implement it

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

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

Additional documentation e.g., design docs, usage docs, etc.:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

25 of 32 (78.13%)  changed or added relevant lines in 7 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.1%) to 73.399%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/engine/state/storages/util.go
0
1
0.0%

pkg/backend/storages/completion.go
6
8
75.0%

pkg/backend/backend.go
7
11
63.64%

Files with Coverage Reduction
New Missed Lines
%

pkg/engine/operation/watch.go
1
85.93%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
7701

Relevant Lines:
10492

💛  - Coveralls


[Linux+Windows] allow dialogs without a parent window.

Part of andlabs/libui#375

untested
macOS missed

Well since none of these melonDS PRs seem to have macOS implementations, they will all have to wait until I get to writing that.. Unless you're working on the macOS code?

you're working on the macOS code?
No, I do not have access to a Mac.

they will all have to wait until I get to writing that
Of course.

uiDrawBitmap will be first, unless someone points out another one that is a higher priority.

Replaced by #267.


Use a buffered writer for writing images

This uses less write syscalls.

Can you give a rough benchmark of what the savings are?

@tbu- thank you for adding this


Using an async method inside an anonymous middleware causes a nuxt instance unavailable

Environment

Operating System: Darwin
Node Version:     v18.9.0
Nuxt Version:     3.0.0
Nitro Version:    1.0.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      workspaceDir, vite, server, runtimeConfig, hooks, router, head, css, buildModules, render, build
Runtime Modules:  -
Build Modules<EMAIL_ADDRESS>

Reproduction
https://stackblitz.com/edit/nuxt-starter-beockb?file=pages%2Findex.vue
Describe the bug
This simple example as seen in #14269 still does not work and nuxt instance unavailable is thrown on the server.
<script setup>
definePageMeta({
  middleware: defineNuxtRouteMiddleware(async () => {
    await new Promise((resolve) => setTimeout(resolve, 200)); // having await in
    return navigateTo('/auth');
  }),
});
</script>

Additional context
No response
Logs
No response

This should be resolved in the edge channel, or in the next release.
Let me know if not and I'll reopen.

This is still a problem: https://stackblitz.com/edit/nuxt-starter-lpbyvt?file=pages%2Findex.vue


Showing error message of failed tasks on notebook interface.

When a job fail, it would be helpful for the notebook frontend to show the error message.
Right now the task engine only gets the status through sos status and there is no way to get the exact error message.

The refresh button shows the details of the task, we can just let the status text act as the status button (clicking the text will execute sos status).


Port from main to RB-2.1 - Python 3.10 macOS wheels

Disable Wheel build on OCIO forks
Enable mac OS Python 3.10 wheels

Signed-off-by: Rémi Achard<EMAIL_ADDRESS>

Note that this pull request is a part of #1515 to only bring the Python Wheel enhancement to RB-2.1.


Google Home News App Sample?

Are there any plans for there to be a news app sample? I can't find any documentation on how to make one.

Hey @mjsevilla I'll bring up the idea with the team. It isn't really any different from any other conversational app and you can look at other samples to learn more about the platform in general.
However, this doesn't relate to the Smart Home project, so I will close the issue.


Add files via upload

https://saintbenoitangers.org
https://saintbenoitangers.org/parcours-de-formation/lycee-saint-benoit/lycee-premiere-et-terminale-voie-generale/

@Tywitoto First stage of verification passed, official domain is saintbenoitangers.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://saintbenoitangers.org/connexion/

@Tywitoto Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Add  map-bridge proposal

Grant Application Checklist

[x] The application-template.md has been copied, renamed ( "project_name.md") and updated.
[x] A BTC address for the payment of the milestones is provided inside the application.
[x] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.
[x] The total funding amount of the project is below CHF 30k at the time of submission.

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

Thanks for the application. You still needs to sign the terms via the cla assistant

Thanks for the application. You still needs to sign the terms via the cla assistant

Hello， we have signed the terms via the cla assistant. Thank you for you review!

@zcheng9 Thanks for the application. We are looking into it.

@zcheng9 Could you please specify the method signatures for each of the deliverables that you've included in the
milestones? Note that we require proper unit test coverage for any logic written - please also include a point regarding this for each milestone.
What exactly are you planning to develop as part of Substrate module: MMR Trie Structure? Are you aware of the existing MMR implementation (here)? I've looked at their code and it seems pretty feature-complete, as far as MMRs are concerned. Let me know your thoughts.

Thank you for your reply for our proposal. We have included the method signatures for each of the deliverables and unit test in our milestones.
And for the MMR Implementation, we have checked the code you referred. It seems they have done a quite good job. However, there is some functionality we might need while they do not provide. Fox examples, we need a customized field for each node(time stamp, difficulty, counter, etc.), as well as we need a customized method to merge two child nodes and construct a parent node(not simply hash them together, we need to handle the the customized filed when merging). Furthermore we need to construct merkle proof for a bunch of leaf nodes, some of the branch nodes maybe exist in multiple times, we can use one single merkle proof for a list of leaf nodes. We have a Go implementation for this case. So we might implement MMR Trie based on the code you referred and extend some more functionality we need based on their code.

@zcheng9 I don't see the method signatures anywhere.
So are you planning to use (&extend) the existing MMR implementation?

Hello, we have added the method signatures for each milestone.
And for MMR implementation, we indeed plan to extend the existing MMR implementaion.

@zcheng9 I still do not see signatures anywhere - perhaps you misunderstood what I was asking for, maybe also because I was using the Java-borrowed naming (method signature vs type signature?). Here is an explanation.
Anyway, would you mind jumping on an introductory call with us? Could you reach out to me on Element at @marcin:web3.foundation so we can coordinate better, please?

@zcheng9 I still do not see signatures anywhere - perhaps you misunderstood what I was asking for, maybe also because I was using the Java-borrowed naming (method signature vs type signature?). Here is an explanation.
Anyway, would you mind jumping on an introductory call with us? Could you reach out to me on Element at @marcin:web3.foundation so we can coordinate better, please?

Sorry for the misunderstanding, I have added you on Element and we can make talk about MAP Bridge on Element.

@zcheng9 - your milestone 3 includes a cross-chain asset exchange demo, but you do not provide any details on how this magically follows from implementing FlyClient. Are you proposing HTLC atomic swaps or something else?

@zcheng9 - your milestone 3 includes a cross-chain asset exchange demo, but you do not provide any details on how this automatically follows from implementing FlyClient. Are you proposing HTLC atomic swaps or something else?

@Lederstrumpf We will borrow the idea from pegged sidechain partially. The difference is we will use Flyclient(as reference as ULVP in proposal)  for cross chain transaction verifying instead of SPV. The demo would involve two blockchain(A and B), if user locked some token in A chain, B chain could verify such locked transaction through a reference contract deployed in chain B(this step is what ULVP or Flyclient is involved). And a mint contract in chain B could call this reference contract to mint same amount token in chain B once such transaction passed the contest period. Thus the token transfer is complete. Here is a demo  we developed earlier for two testchain (mouse and duck).

Thanks for the application. A few questions/comments from my side:

What are your future plans with the project? Do you have a concrete network you want to bridge? Do you want to become a parachain?
The price of the milestones needs to be in BTC instead of fiat.
Could you reduce the price of milestone 1, given that it’s already implemented?
Could you comment on your connection to softbank?

@Noc2  Thank you for your comment.

We plan to extend our bridge to most POW and POS type blockchains in the future. And at this moment, we plan to bridge Ethereum first. We ineed want to become a parachain.

We have changed it in BTC.

The implemented MMR could not satisfy our demand. For example, we need retrieve the whole MMR based on the given root, which means we need to manipulate MMR dynamiclly(this case is similar to MPT, there should a way to retrieve history MMR when given the block header). Thus we need to think about how to store the MMR in memeory and in persistent database.  Besides, merging two node in MMR is not simply hash two node together. It is something like the graph  below. And this can not be done using the current implemetation. Thus it would involve a lot more jobs.   And we think the fund should not be reduced since we think we will put equally effort to the milestone 1.  However, we reduce the total cost because we compress our work into 2 milestones.

We were invested by Softbank Investment Pte Ltd（singapore）before.

@zcheng9 Thanks for adjusting the application. Regarding the existing MMR library:

we need retrieve the whole MMR based on the given root

From my understanding of the existing MMR implementation, the MMR data structure can be stored as a vector of hashes, as shown in the tests. If you want to get a subtree based on a certain hash of a node, you could use:

find_node_index
Get the subtree up until that node index: subtree = hashes[0:desired_node_index]

Wouldn't that work?

Besides, merging two node in MMR is not simply hash two node together

As I understand, you need to define your own fields for the node, right? (e.g. counter)
Could you not extend the existing implementation and, for example, add a counters field to the MerkleMountainRange struct?

@zcheng9 Thanks for adjusting the application. Regarding the existing MMR library:

we need retrieve the whole MMR based on the given root

From my understanding of the existing MMR implementation, the MMR data structure can be stored as a vector of hashes, as shown in the tests. If you want to get a subtree based on a certain hash of a node, you could use:

find_node_index
Get the subtree up until that node index: subtree = hashes[0:desired_node_index]

Wouldn't that work?

Besides, merging two node in MMR is not simply hash two node together

As I understand, you need to define your own fields for the node, right? (e.g. counter)
Could you not extend the existing implementation and, for example, add a counters field to the MerkleMountainRange struct?

@mmagician  Thank you for your comments. I will answer your questions as follows:

This stratege you mentioned  is what we use for our current Golang demo. However we find this is not optimal when the retrieve operation is frequent. Every time you need to make a copy of MMR and then get the subtree. We plan to use the design similar to MPT in Ethereum, which can extract the whole MMR based on a given root. Also we need a cache mechnism for all MMR generated.

We need a field we define, as well as the merging method.  It's not as simple as adding a couters field. The generate MMR proof and verify MMR proof would use the same merging method we provide too.

As a conclusion, we need do some extra work to make the MMR fit our ULVP. And this is what milestone 1 would do. Besides, milestone 1 would do some jobs other than MMR. For example, after sampling blocks in ULVP, we need to generate MMR proof for a bunch of leaf nodes(not a single leaf node as the implementation you refer).  Notice that these proof might have a lot of ovelapped intermediate nodes. Instead generating an array of proofs, we wouldd combine all these proofs into one hybrid proof(overlapped nodes would appear only once in hybrid proof).

@mmagician We have added some more details of our MAP bridge, could you please check it? Thanks.

In general, it looks also interesting to me, but I like to get some additional feedback from our researchers first and have shared the application again with them. Also are you aware of https://github.com/Snowfork/polkadot-ethereum?

In general, it looks also interesting to me, but I like to get some additional feedback from our researchers first and have shared the application again with them. Also are you aware of https://github.com/Snowfork/polkadot-ethereum?

Thanks! We are aware of Snowfork. The different between these two bridge is we do not require  trustness on the relayer group to deliver block headers. The way to verify the validity of a block header in our program is based on flyclient paper.

Thank you for all the updates, it looks good to me!

Thanks.

As I understand it, you want to construct an MMR of every block hash on Ethereum in any Ethereum smart contract. Wouldn't this be quite expensive in terms of gas?

Thanks! We are aware of Snowfork. The different between these two bridge is we do not require trustness on the relayer group to deliver block headers. The way to verify the validity of a block header in our program is based on flyclient paper.

Thanks for the reply. Would you be interested in starting potentially with a different network initially other than ethereum (given that we already have an ethereum bridge under development)? Independent of it I’m happy to go ahead with it.

As I understand it, you want to construct an MMR of every block hash on Ethereum in any Ethereum smart contract. Wouldn't this be quite expensive in terms of gas?

@AlistairStewart  It would be epoch-based MMR, not every block hash. We could set a epoch with 512 blocks or 256 blocks, Each epoch would generate a small MMR and be represented as a MMR root.

Thanks! We are aware of Snowfork. The different between these two bridge is we do not require trustness on the relayer group to deliver block headers. The way to verify the validity of a block header in our program is based on flyclient paper.

Thanks for the reply. Would you be interested in starting potentially with a different network initially other than ethereum (given that we already have an ethereum bridge under development)? Independent of it I’m happy to go ahead with it.

@Noc2 Thanks for comment. As we mentioned in the future plan, we indeed would promote our work to other network later. And could we start with Ethereum first since we have done a lot of preparation work for it.

Thanks! We are aware of Snowfork. The different between these two bridge is we do not require trustness on the relayer group to deliver block headers. The way to verify the validity of a block header in our program is based on flyclient paper.

FYI Snowfork's bridge will not require trust in the relays either - we're building an Ethereum Light Client into our parachain and an MMR/FlyClient-like Polkadot Light client into our smart contracts based on the MMR proofs created by thisgadget.

Thank you

#59


Command suggestion

It's a nice touch for the usability if we can suggest next useful commands.
Right after upload-file output we can display a message showing how tx-status can be useful to track your last transaction.

Tracking this one internally.


Do Calendar and Periodic Notes plugins need to be disabled?

Do the Calendar and Periodic Notes plugins need to be disabled for this plugin to work?
Or can they coexist?

This plugin is a completely separate entity from the built-in daily notes plugin, on top of which I believe the Calendar and Periodic Notes plugins operate. They don't need to be disabled per se, but they will only operate on the core plugin and not this plugin, so they won't be of any use. I have updated the Readme to better reflect that.
Co-existing with the core plugin will require perpetual synchronisation between it's files and the single file provided by this plugin, which I don't think would be ideal. Instead, I might look into implementing some kind of one time import/export to switch between the two systems.


Programatic registration of local dependencies?

Is there a way to register local dependencies in one of the lifecycle hooks (e.g. in beforeCompile)?
That would let me pass dependencies down via props and use it in the child
parent:
<child-component custom-component-dependency="$options.components.componentA" />

child:
<template>
  custom component that was passed in:
  <custom-component/>
</template>
<script>
  export default {
    props: {
      customComponentDependency: Function
    },
    created: {
      // do something to register <custom-component> using the passed in prop
    }
  };
</script>

Yes, just do this.$options.components.xxx = this.customComponentDependency should work.

One small thing to watch out for is that component linkers are cached after first compilation, so if the first occurrence of your child component failed to locate the component at compile time, it will affect all later instances. This can be circumvented by making the component prop required.

Thanks! That works perfectly :)
I'll close the ticket


Latest SDK need firmware 5.9.14 but only 5.9.13 is available ?

I'm using a D435 and the latest SDK seems to required a firmware that is not release yet. Is this a typo ?

Hi @solairx
That's exactly the reason latest release is marked as pre-release.

Good point. Thanks :) :)

I believe the new firmware should be available soon. Please follow realsense.intel.com


Training Duration

Hi, your work seems quite interesting and original. I am curious about the training duration of DualRL training, given the hyper-parameter you mentioned, how long did it take to finish the training for Yelp ?

Pre-training will take 1 hour and dual training will take a few hours on single GPU (1080 Ti).


Update the webhooks bot message to tell people how to get help

Note: Different teams for different problems. eg. @test-approval vs @cla-problems

https://github.com/openedx/openedx-webhooks/pull/202 updates the CLA message.

The change has been deployed to production.


replaced boost logo in nav, color updates

from the ticket:
Replace boost logo in nav bar with "B" icon. - completed
change nav bar bottom border to give depth - completed
in dark theme, change body text color to #e6e6e6 - added offwhite color to root color vars,and included in dark body, but there needs to be extensive work done with the classes and pulling out unneeded tailwind commands.
Additionally, included #1152 into this as well.

Addresses https://github.com/boostorg/website-v2-docs/issues/285


(WIP) Porting to CoreCLR

Right off the bat, this is my first PR of this magnitude like... ever. So I wanted to open a PR asap to get the discussion going.

Yeah, I didn't mean for it to target master right away. Perhaps someone more fluent with GitHub can fix that for me.

Thanks for opening the PR!
The only way to re-target it to develop is to close this PR and create a new one. Select develop in the left-hand branch selector. It should be fine to PR from your master branch to the Sprache develop one.
Cheers!

Closing this one.


[minor] remove absolute paths for executables in config

/usr/local seams hardcoded in the code generating the config file. It's not a big deal, you can always edit it manually. It could be a difficulty for less sophisticated users.
I would propose to remove the absolute paths by default.

Absolute paths are used by default for better security when the user has . in their $PATH and they execute pipe-viewer in a folder that contains a malicious ffmpeg or yt-dlp executable, in which case pipe-viewer would execute the malicious executable. But when the absolute paths are specified, this security issue is mitigated.
See also: https://tldp.org/HOWTO/Path-12.html


Only output shared fields in merged table

Checklist

[x] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[x] Any modified or new methods or classes have helpful JavaDoc and code is thoroughly commented
[x] The description lists all applicable issues this PR seeks to resolve
[x] The description lists any configuration setting(s) that differ from the default settings
[ ] All tests and CI builds passing

Description
This change checks for shared fields between all feeds being merged and filters the output fields in the merged table to include only those shared in common. This contains an alternative approach to #234 in order to fix #233.

Codecov Report

Merging #235 into dev will increase coverage by 0.1%.
The diff coverage is 88.88%.

@@             Coverage Diff             @@
##                dev     #235     +/-   ##
===========================================
+ Coverage     19.83%   19.94%   +0.1%
- Complexity      361      365      +4
===========================================
  Files           149      149
  Lines          7462     7472     +10
  Branches        996      994      -2
===========================================
+ Hits           1480     1490     +10
- Misses         5850     5852      +2
+ Partials        132      130      -2

Flag
Coverage Δ
Complexity Δ

#unit_tests
19.94% <88.88%> (+0.1%)
365 <7> (+4)
:arrow_up:

Impacted Files
Coverage Δ
Complexity Δ

...conveyal/datatools/manager/jobs/MergeFeedsJob.java
71.26% <88.88%> (+0.86%)
83 <7> (+4)
: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 568af07...6456150. Read the comment docs.

:tada: This PR is included in version 3.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Upgrade to v3.7.2

Pull Request Test Coverage Report for Build #234

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.294%

Totals

Change from base Build #233:
0.0%

Covered Lines:
422

Relevant Lines:
425

💛  - Coveralls


Toggle specifier error in spec

https://tabatkins.github.io/css-toggle/#typedef-toggle-specifier  should say that if a single numeric argument is provided it is the max state. As it is currently it would imply that most of these examples won't work as they seem to be setting the default state and implying that the max is also the default (thus kind of a no-op)

Fixed at some point in the past; it's now clearer that the first (initial value) number is optional, and the second (max value) is required.


typescript

Issue Type: Bug
typescript/lib doesn't point to a valid tsserver install
VS Code version: Code 1.42.0 (ae08d5460b5a45169385ff3fd44208f431992451, 2020-02-06T10:51:33.119Z)
OS version: Darwin x64 19.3.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
13, 7, 4

Memory (System)
8.00GB (0.62GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

markdown-mermaid
bie
1.4.2

simple-react-snippets
bur
1.2.2

vscode-eslint
dba
2.0.15

gitlens
eam
10.2.1

prettier-vscode
esb
3.20.0

vscode-fileheader
mik
0.0.2

vetur
oct
0.23.0

minapp-vscode
qiu
2.2.2

vscode-todo-highlight
way
1.0.4

/needsMoreInfo
Is it reproducible with all extensions disabled?
You can try this with F1 and >Developer: Reload Window With Extensions Disabled
Do you have custom value for typescript.tsdk in User or Workspace settings?
If it's "typescript.tsdk": "node_modules/typescript/lib" make sure that you installed packages with  npm install or yarn?

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!


Kubelogin error inside a container while trying to use managed identity

I am inside a pod of Cluster A
then I did
az login --identity --username xxxxx-xxx-xxx-xxxxx managed identity
az aks get-credentials --resource-group [Resource group Name] --name [ClusterB] --overwrite-existing
kubelogin convert-kubeconfig -l azurecli
Kubectl get namespaces
Error: failed to get token: expected an empty error but received: AzureCLICredential: ERROR: az: error: unrecognized arguments: --tenant 4b36e3d2-ce8b-409d-a538-f1da61732b5f
usage: az [-h] [--verbose] [--debug] [--output {json,jsonc,table,tsv,yaml}]
[--query JMESPATH]
{account} ...
Can someone please help

what image are you using?


OU-269: Add TempoStack Dropdown

Background
Issue: https://issues.redhat.com/browse/OU-269
Any number of TempoStack instances may exist within a cluster, including those in different namespaces or with the same name. This PR looks to add a dropdown to allow the user to select which TempoStack instance they would like to have apply to the rest of the tracing UI components.
Implementation
Once selected the namespace and name are added to the URL as query parameters for reproducibility as is standard within the OpenShift Observability ecosystem. A new useTempoStack hook has been provided to retrieve the various tempo instances.
Image

/jira refresh


Showing current collaborators of pages

This PR uses websockets to show a list of editors, who are currently editing a page in the edit form.
Tasks

[x] rebase
[x] Use a real user object instead of only ID
[x] Extract building of messages from MessageDispatcherApp into own service
[x] Implement keep-alive signal to read-repair later
[x] Make Cache implementations interchangeable by DI configuration
[x] Make the websocket serialization work
[x] Label should not disappear
[x] Add changelog
[x] Make the feature disablable

informations:

q
a

Fixed tickets
none

Related PRs
https://github.com/massiveart/husky/pull/594 https://github.com/sulu-io/sulu-standard/issues/592

BC breaks
none

Documentation PR
none

@wachterjohannes I have extracted the collaboration stuff from the ContentBundle, so this PR is ready to merge.

when i leave the page the yellow warning still is there. i think it should disappear.

when the websocket is used the same happens when all other leave the page you dont recognize it.

the preview only uses websocket if the following config is added to the config file:
sulu_content:
    preview:
        websocket: true

Personally i dont like this coupling can we change that?

@wachterjohannes I know that the preview setting is a bit cumbersome, but changing that would be a BC break now, wouldn't it? There is also already an issue for that: https://github.com/sulu-io/sulu/issues/1232

when i use websocket should i then update an already opened form?


Split IO Driver

Before starting with the PR, I'm just wondering if anyone is interested in the Split io driver?

@Algeneralo, I would recommend making a package for a Split driver at the moment.


[Runtime] Fix warnings in CustomRRABI when building for ARM64_32.

Pointers are 32 bits there, so we need to use the 'w' modifier on our register substitutions.

@swift-ci please test and merge


Add possibility to set npm flags

Add possibility to set npm flags

Something went wrong.

Build started sha1 is merged.

Something went wrong.

Build triggered. sha1 is merged.

Build started sha1 is merged.

Something went wrong.

Build triggered. sha1 is merged.

Build started sha1 is merged.

Something went wrong.

Build started sha1 is merged.

Something went wrong.

Build triggered. sha1 is merged.

Something went wrong.

Build triggered. sha1 is merged.

Build started sha1 is merged.

All is well


Add thumbnail feature

Feature Request
Why it is needed
It's great to see a thumbnail of images from the repo inline. The directory used to have this feature, but it was removed when refactoring/redesigning. This tweet also requested it.
Possible implementation

Add icons that are clickable/hoverable that display a thumbnail from the repo.
There's a fetchReadmeImages in build-and-score-data.js that can be used to fetch images again.

Design
Here's a mock up of what this could look like:

And here's an svg for the icon:
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M14 2H2v12h12V2zM0 0v16h16V0H0z" fill="#82889E"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7 7.586l3 3 2-2 3.707 3.707-1.414 1.414L12 11.414l-.586.586 2.293 2.293-1.414 1.414L7 10.414l-5.293 5.293-1.414-1.414L7 7.586z" fill="#82889E"/><path d="M12 5.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z" fill="#82889E"/></svg>

hi @jonsamp, thanks for your fast respond and opening up an issue for it.
i was thinking of adding a new field in the json schema thumbnails < an array of image urls, the reason why not scraping images from the readme, because that not all the time readme will include a previews of the library itself, there might be a tutorial , logo and sponsors images.
let me know what do you think ?

I think that's a great idea, and would really make the thumbnails valuable! When we had them before many of them were sponsor logos etc. Sounds like this would fix that!


Windows CI: Bump timeout for tests

Signed-off-by: John Howard<EMAIL_ADDRESS>Several of the windowsTP4 nodes are pushing very close to 120m for a CI run, and there's been a few timeouts this week. Simply due to the increasing number of tests. (TP5 will be much faster). So bumping the timeout to keep CI more reliable.

LGTM

LGTM


Fix scrolling of long query in input field

How to reproduce:
echo | pick -q $( seq -s ":" 1 $COLUMNS )

and pressing left arrow key several times: nothing happens ... at some point the input field scrolls, but cursor position is out of sync and entering new characters messes up the query ...

Nice catch. Can we do something simpler like the diff below, lightly tested:
diff --git a/pick.c b/pick.c
index 768c075..41ddba0 100644
--- a/pick.c
+++ b/pick.c
@@ -276,8 +276,7 @@ eager_strpbrk(const char *string, const char *separators)
 const struct choice *
 selected_choice(void)
 {
-	size_t	cursor_position, i, j, length;
-	size_t	xscroll = 0;
+	size_t	cursor_position, i, j, length, xscroll;
 	char	buf[6];
 	int	choices_count, word_position;
 	int	selection = 0;
@@ -290,10 +289,10 @@ selected_choice(void)
 	for (;;) {
 		tty_putp(cursor_invisible, 0);
 		tty_putp(carriage_return, 1);	/* move cursor to first column */
-		if (cursor_position >= xscroll + columns)
+		if (cursor_position >= (size_t)columns)
 			xscroll = cursor_position - columns + 1;
-		if (cursor_position < xscroll)
-			xscroll = cursor_position;
+		else
+			xscroll = 0;
 		print_line(&query[xscroll], query_length - xscroll, 0, -1, -1);
 		choices_count = print_choices(yscroll, selection);
 		if ((size_t)choices_count - yscroll < choices.length

Indeed simpler and works also great ...

Great, merged as 1ef7970.


Ensuring bosh-dns query for tservers is working with drivers, peers table replicating, etc.

some client-side logging that a trial user is seeing:
2020-03-12T08:02:26.635-05:00 [APP/PROC/WEB/0] [OUT] 🦖 [main] WARN com.datastax.driver.core.Cluster:2323 - You listed q-s0.tserver.dev-services-network.yugabyte-instance-f19c1f496b63.bosh/<IP_ADDRESS>:9042 in your contact points, but it wasn't found in the control host's system.peers at startup

2020-03-12T08:02:26.636-05:00 [APP/PROC/WEB/0] [OUT] 🦖 [main] WARN com.datastax.driver.core.Cluster:2323 - You listed q-s0.tserver.dev-services-network.yugabyte-instance-f19c1f496b63.bosh/<IP_ADDRESS>:9042 in your contact points, but it wasn't found in the control host's system.peers at startup

2020-03-12T08:02:26.636-05:00 [APP/PROC/WEB/0] [OUT] 🦖 [main] WARN com.datastax.driver.core.Cluster:2323 - You listed q-s0.tserver.dev-services-network.yugabyte-instance-f19c1f496b63.bosh/<IP_ADDRESS>:9042 in your contact points, but it wasn't found in the control host's system.peers at startup

2020-03-12T08:02:26.636-05:00 [APP/PROC/WEB/0] [OUT] 🦖 [main] WARN com.datastax.driver.core.Cluster:2323 - You listed q-s0.tserver.dev-services-network.yugabyte-instance-f19c1f496b63.bosh/<IP_ADDRESS>:9042 in your contact points, but it wasn't found in the control host's system.peers at startup

2020-03-12T08:02:26.637-05:00 [APP/PROC/WEB/0] [OUT] 🦖 [main] WARN com.datastax.driver.core.Cluster:2323 - You listed q-s0.tserver.dev-services-network.yugabyte-instance-f19c1f496b63.bosh/<IP_ADDRESS>:9042 in your contact points, but it wasn't found in the control host's system.peers at startup

...

2020-03-12T07:55:19.689-05:00 [APP/PROC/WEB/0] [OUT] 🦖 [cluster1-worker-41] WARN com.datastax.driver.core.ControlConnection:559 - No row found for host /<IP_ADDRESS> in q-s0.tserver.dev-services-network.yugabyte-instance-f19c1f496b63.bosh/<IP_ADDRESS>:9042's peers system table. /<IP_ADDRESS> will be ignored.
2020-03-12T13:20:19.698-05:00 [APP/PROC/WEB/0] [OUT] 🦖 [cluster1-worker-567] INFO com.datastax.driver.core.Cluster:2327 - Cassandra host /<IP_ADDRESS>:9042 removed

see:

https://github.com/yugabyte/yugabyte-db/issues-- 856
https://github.com/yugabyte/yugabyte-db/issues-- 285
https://github.com/yugabyte/yugabyte-db/issues-- 2390
https://docs.datastax.com/en/developer/java-driver/3.7/manual/address_resolution/
https://docs.datastax.com/en/developer/java-driver/4.5/
https://stackoverflow.com/questions/54282262/how-does-one-add-a-node-or-nodes-to-an-existing-yugabyte-db-ce-cluster/54314712

from gh issue:

The 'system.local' query reveals that the `broadcast_address' column doesn't seem to have the desired IP address.
Looks like the default option of --rpc_bind_addresses (<IP_ADDRESS>) is causing YB to be non-deterministic when there are multiple options to bind, and it is picking to bind an ipv6 address, and this could be causing the warning you are seeing in the client logs.
For your case, where the IP you want to use is <IP_ADDRESS>, could you update your yb-master & yb-tserver conf files to also pass?
--rpc_bind_addresses <IP_ADDRESS>
Note: The rpc_bind_address is also used as the indentity of the entity (yb-tserver/yb-master). So for this change, it is better to do a clean-slate creation/fresh install of the environment. So you would want to wipe out your old data directory - guess that's OK as this is a test deployment.

Not actually a bug. This is fine.


Populate Branch 3

Closes #129

2021-11-30.21-08-15.mp4
i'm having enemies phase through walls in this branch

Have you rebaked the navmesh?


Add fix for camera in nuc

Linux has a startup script. Add sudo chmod 777 /dev/videox to it so that we don't have to fix that. Actuality a crons jobs is better suited

closes #180


about 2d points fine-tuned in stacked hourglass network~

Hello!
Sorry to bother you.
I have tried and failed several times in fine-tuning 2d points on human3.6 dataset with stacked hourglass network.Could you please tell me how to do it , I don't have the center, scale etc, reference to https://github.com/umich-vl/pose-hg-train.

Hi!,
Please see issue https://github.com/una-dinosauria/3d-pose-baseline/issues/20.
Cheers,

Closing for lack of activity. Please reopen if the issue is still ongoing.


local storage key for credits is not unique across elections

This is not actually true, because the local storage is indexed by appid.


Rewrite computation of max and min in dataframe editor

The main goal for this PR is to fix an unhandled exception in update_min_max_col() in the dataframe editor, which is triggered by dataframes with either categorical data or with timezone-aware timestamps.
I ended up completely rewriting the function so that it only compute the max and min of columns where the results are actually used (in order to set the background colour), because there were some details of the old implementation that I did not quite understand (handling of complex numbers). I also added tests, expanded the docstring, and did some clean-up in related routines.
Fixes #2940 and #3308.

@jitseniesen, this is a terrific job!! Thanks a lot for it! :-)
I especially liked your new max_min_col_update method (it's so much clearer now!) and your tests, which are very well written.
Since everything is green, there's only one thing for me to do: press the Merge button ;-)

Indeed, great addition :-) :+1:


⚠ Bofrost.lu has degraded performance

In 63a989c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1356 ms

Resolved: Bofrost.lu performance has improved in d7e5430 after 9 minutes.


Add a slider for zooming TileMap preview icons.

Fixes #2413
Can also be used for scaling down large tilesets.
16x16 tiles, default scale:

16x16, scaled:

Ahh wait, noticed I forgot to initialize the icon_stretch variable, needs a rebase.

Refs #4412 -- I'll add my columns changes after this PR is merged.

The columns are the same as before, so still a bit messed up. Especially when the length of the tile names differ.. I just named my tiles "Tile XY" so it looks nice :P

Awesome, thanks!