Front end bug genesis celestia website

Summary of Bug
Console log result : [DEPRECATED] Use createWithEqualityFn instead of create or use useStoreWithEqualityFn instead of useStore. They can be imported from 'zustand/traditional'.
https://github.com/pmndrs/zustand/discussions/1937
[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use import { useStore } from 'zustand'.
Version
Latest
Steps to Reproduce
https://github.com/pmndrs/zustand/discussions/1937
For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Additional info : Genesis website has been  blocked by CORS policy
Access to XMLHttpRequest at 'https://genesis-api.celestia.org/api/v1/airdrop/eligibility' from origin 'https://genesis.celestia.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
rainbowkit.js:97 TypeError: Cannot read properties of undefined (reading 'status')
at rainbowkit.js:74:58
genesis-api.celestia…rdrop/eligibility:1
Failed to load resource: net::ERR_FAILED
DevTools failed to load source map: Could not load
There is 16 deprecated logs + 2 error logs

@DikaCream did you observe this error on https://genesis.celestia.org/ ? If so, this issue should probably be on a different GitHub repo. Since the Celestia airdrop claim period has ended, closing as won't fix for now. Please re-open with more complete Steps to Reproduce if I'm misunderstanding something.

more

Can you tag me the repo on which repo I should report about front end bug celestia Genesis website ?  For some people Website isn't response after sign metamask signature

Thanks for originally reporting but since the claim period is over I don't think you need to recreate this issue on a different repo b/c it likely won't be addressed.


Add some transformation-specific info to the transformation node

It could be, for example, the condition in a filter, the table name in a table, or the order criteria in a sort

Sort: Add the column, if it's the order criteria... Optionally the order (ASC, DESC), maybe changing the arrow.
Group: Add the column, if it is a column
Filter: Add the condition, if it's short


Add ability to type the date (enhancement)

In an app where someone has to enter old dates (for example, a birth date at 1976), it is difficult to use just the visual modal form (too many clicks to find the date).
Could you find a way to be able to also type a date?
Please check here a similar implementation:
http://react-day-picker.js.org/docs/input
Thx!

Please refer to Keyboard Input example here: https://material-ui-pickers.firebaseapp.com/demo/datepicker
Is this what you need? Something like:
<DateInput source="startDate" label="Start date" options={{ keyboard: true }} />

I just added the option but nothing happened, I cannot type inside the field. This is my code:
    <DateInput
               label="Arrival Date To"
               source="startDateTo"
               options={{format: 'DD/MM/YYYY', showTodayButton: true, keyboard: true,}}
               alwaysOn
    />

Thx!
Not sure if we need to do something with state, as in their example they use their onChange handler. If you can show an example (maybe in the README) on how this can work, that would be great!

This is fixed in the latest version, please update to 1.0.13.
I'm now using material-ui-pickers default TextFieldComponent which has the logic to handle these different modes.

Seems to be fixed indeed. Thanks.
P.S. It has some weird behavior though, when pressing ENTER. It fetches twice, once when it loses the focus and another time when clicking OK in the modal that just opened.

Not sure, does passing disableOpenOnEnter on options help with that?

Please check https://github.com/dmtrKovalenko/material-ui-pickers/issues/495 for another possible issue.

@vascofg Thanks! Will you merge their latest master to get the fix here too?

I've bumped the material-ui-pickers dependency version, please confirm this is fixed.


Can not Disable identity(Auth) for blazor client app (Elsa v3 - 3.0.0-preview-preview-3.0.0-740-hotfix-1.771)

Hi, I want to disable the login flow for the Elsa v3 client application. I use the latest package for v3. I tried disabling it with the shell option but it did not work. Maybe I missing something, do you have any advice?
Note: I disable identity flows from the server app with "EndpointSecurityOptions.DisableSecurity();" and it works well.
Client Blazor App Packages
https://prnt.sc/niY_kpStAmtr
Client App Program.cs Config
https://prnt.sc/YW9zA5b2Pj7z
Cliend App Runing Info
https://prnt.sc/ee17kFZdwdnX
Also if I delete the config line for login page "builder.Services.AddLoginModule();" it gives error
https://prnt.sc/hjt5ZAUI6jiI

This fixed in new version thank you.

This fixed in new version thank you.


can't get .with_state() to accept anything other than LeptosOptions

I am trying to modify a start-axum-workspace project to use Postgres, so I need to pass a connection pool around. I tried to follow the Axum Substate technique (as demonstrated in the session_auth_axum example) but I always get this error:
error[E0308]: mismatched types
   --> crates/server/src/main.rs:39:21
    |
39  |         .with_state(state);
    |          ---------- ^^^^^ expected `LeptosOptions`, found `AppState`
    |          |
    |          arguments to this method are incorrect

I added a server/state.rs:
use axum::extract::FromRef;
use db::Pool;
use leptos::LeptosOptions;

// Take advantage of Axum;s Substate feature by deriving FromRef.
// Leptos requires you to have LeptosOptions in your State struct
// for the Leptos route handlers; this is the only way to have more
// than one item in Axum's State.
#[derive(FromRef, Debug, Clone)]
pub struct AppState {
    pub leptos_options: LeptosOptions,
    pub pool: Pool,
}

and modified server/main.rs:
use app::*;
use axum::Router;
use db::*;
use fileserv::file_and_error_handler;
use leptos::*;
use leptos_axum::{generate_route_list, LeptosRoutes};

pub mod fileserv;
pub mod state;
use crate::state::AppState;

#[tokio::main]
async fn main() {
    simple_logger::init_with_level(log::Level::Debug).expect("couldn't initialize logging");

    // Setting get_configuration(None) means we'll be using cargo-leptos's env values
    // For deployment these variables are:
    // <https://github.com/leptos-rs/start-axum#executing-a-server-on-a-remote-machine-without-the-toolchain>
    // Alternately a file can be specified such as Some("Cargo.toml")
    // The file would need to be included with the executable when moved to deployment
    let conf = get_configuration(None).await.unwrap();
    let leptos_options = conf.leptos_options;
    let addr = leptos_options.site_addr;
    let routes = generate_route_list(App);

    let pool = create_pool(env!("DATABASE_URL"));

    let state = AppState {
        leptos_options,
        pool: pool.clone(),
    };

    // build our application with a route
    let app = Router::new()
        .leptos_routes(&leptos_options, routes, App)
        .fallback(file_and_error_handler)
        // .with_state(leptos_options)
        // .with_state(pool);
        .with_state(state);

    // run our app with hyper
    // `axum::Server` is a re-export of `hyper::Server`
    log::info!("listening on http://{}", &addr);
    let listener = tokio::net::TcpListener::bind(addr).await.unwrap();
    axum::serve(listener, app.into_make_service())
        .await
        .unwrap();
}

and modified server/fileserv.js:
use app::App;
use axum::response::Response as AxumResponse;
use axum::{
    body::Body,
    debug_handler,
    extract::State,
    http::{Request, Response, StatusCode, Uri},
    response::IntoResponse,
};
use leptos::*;
use tower::ServiceExt;
use tower_http::services::ServeDir;

#[debug_handler]
pub async fn file_and_error_handler(
    uri: Uri,
    // State(state): State<AppState>,
    State(options): State<LeptosOptions>,
    req: Request<Body>,
) -> AxumResponse {
    let root = options.site_root.clone();
    let res = get_static_file(uri.clone(), &root).await.unwrap();

    if res.status() == StatusCode::OK {
        res.into_response()
    } else {
        let handler =
            leptos_axum::render_app_to_stream(options.to_owned(), move || view! { <App/> });
        handler(req).await.into_response()
    }
}

async fn get_static_file(uri: Uri, root: &str) -> Result<Response<Body>, (StatusCode, String)> {
    let req = Request::builder()
        .uri(uri.clone())
        .body(Body::empty())
        .unwrap();
    // `ServeDir` implements `tower::Service` so we can call it with `tower::ServiceExt::oneshot`
    // This path is relative to the cargo root
    match ServeDir::new(root).oneshot(req).await {
        Ok(res) => Ok(res.map(Body::new)),
        Err(err) => Err((
            StatusCode::INTERNAL_SERVER_ERROR,
            format!("Something went wrong: {err}"),
        )),
    }
}

I also tried making file_and_error_handler() take State(state): State<AppState> and got a different error:
error[E0277]: the trait bound `fn(Uri, State<AppState>, axum::http::Request<axum::body::Body>) -> impl std::future::Future<Output = axum::http::Response<axum::body::Body>> {fileserv::file_and_error_handler}: Handler<_, LeptosOptions>` is not satisfied
   --> crates/server/src/main.rs:36:19
    |
36  |         .fallback(file_and_error_handler)
    |          -------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, LeptosOptions>` is not implemented for fn item `fn(Uri, State<AppState>, axum::http::Request<axum::body::Body>) -> impl std::future::Future<Output = axum::http::Response<axum::body::Body>> {fileserv::file_and_error_handler}`
    |          |
    |          required by a bound introduced by this call
    |
    = note: Consider using `#[axum::debug_handler]` to improve the error message

I'm sure I'm missing something terribly obvious...any clue gratefully received!
(I am following rustonnails.com, but swapping out Dioxus for Leptos.)

In server/main.rs I changed:
        .leptos_routes(&leptos_options, routes, App)

to
        .leptos_routes(&state, routes, App)

and that seems to have fixeded it. I tihnk i grasp why, but I lack the rust words to explain it ;)


Removes image from docker-compose.override.yml

The fact that docker-compose.override.yml contains an override for the web service image property may be confusing because the override file is loaded automatically by the Compose and thus until removed or commented out, if left untouched the stack will always try to load version 1.3.0 of the image regardless of the image property value at docker-compose.yml file.
I'd suggest keeping the override file in place, but commenting all the overrides out from it

But that was the intention: to fix the version used to a specific version. If we used the latest version all the time, then the user's wiki might be updated unpredictably.
Anyone else have thoughts on this?

Using specific version as default makes sense, but then it'd be better to have the specific version set at https://github.com/CanastaWiki/Canasta-DockerCompose/blob/main/docker-compose.yml#L26 instead of the override file

Vedmaka's suggestion sounds good to me.
Greg Rundlett
On Wed, May 24, 2023 at 12:41 PM Vedmaka @.***> wrote:

Using a specific version as a default makes sense, but then it'd be better
to have the specific version set at
https://github.com/CanastaWiki/Canasta-DockerCompose/blob/main/docker-compose.yml#L26
instead of the override file
—
Reply to this email directly, view it on GitHub
https://github.com/CanastaWiki/Canasta-DockerCompose/pull/44#issuecomment-1561564907,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAJLYFO2NJF5JDFIPCB4PDXHY24BANCNFSM6AAAAAAYNSYOGA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Persisting entities with detached objects

Hello again, first of all, thank you so much for your quick response to my issues. Everything works well and i m so glad about that.
But, as far as i'm concerned, for now (after recent commits) its impossible to persist objects with detached entities within.
I mean something like that:
final SampleEntity sampleEntity = new SampleEntity();

...

factory.withTransaction((session, transaction) -> session.persist(sampleEntity))
		.await().indefinitely();

and then
final SampleJoinEntity sampleJoinEntity = new SampleJoinEntity();
sampleJoinEntity.sampleEntity = sampleEntity; // sampleEntity is detached here

...

factory.withTransaction((session, transaction) -> session.persist(sampleJoinEntity))
		.await().indefinitely();

After executing session.persist(sampleJoinEntity) hibernate throws object references an unsaved transient instance - save the transient instance before flushing (but its not quite transient, its detached 🤔)
Yep, to achive expected functionality, i should use merge:
factory.withTransaction((session, transaction) ->
	session.merge(sampleEntity).invokeUni((aSampleEntity) -> {
		final SampleJoinEntity sampleJoinEntity = new SampleJoinEntity();

		sampleJoinEntity.sampleEntity = aSampleEntity;

		return session.persist(sampleJoinEntity);
	})).await().indefinitely();

Everything works fine, but in my view, its quite expensive for performance to merge all the necessary entities before persisting.
Btw some commits ago i was able to persist objects with detached instances within.
So is that a temporary restriction in your libary? Or maybe i did something wrong and there is a correct way to implement such persisting?

This is a regression. I'm already fixing it.

This is fixed in #354.


Always getting image with zero MAP after inference

I am using the library to post process road segmentation, which is just pixel-level binary classification problem, to classify each pixel as 'road' or 'no road'.
My code looks as following:
pil_im = np.asarray(Image.open('example_image.jpg', 'r'))
probs = model.predict(pil_im.reshape((1,1024,1024,3))/255)

unary = softmax_to_unary(probs)
unary = np.ascontiguousarray(unary)

d = dcrf.DenseCRF(pil_im.shape[0] * pil_im.shape[1], 1)
d.setUnaryEnergy(unary)

feats = create_pairwise_gaussian(sdims=(10, 10), shape=pil_im.shape[:2])

d.addPairwiseEnergy(feats, compat=3,
                    kernel=dcrf.DIAG_KERNEL,
                    normalization=dcrf.NORMALIZE_SYMMETRIC)
feats = create_pairwise_bilateral(sdims=(50, 50), schan=(20, 20, 20),
                                   img=pil_im, chdim=2)
d.addPairwiseEnergy(feats, compat=10,
                     kernel=dcrf.DIAG_KERNEL,
                     normalization=dcrf.NORMALIZE_SYMMETRIC)

Q = d.inference(10)
res = np.argmax(Q, axis=0).reshape((pil_im.shape[0], pil_im.shape[1]))
print(res.max())

I always get res to be matrix of 0.0 . I have tried following things:

Change it to use 2 channels with probability of foreground and background.
Changing sdims params.
Running inference longer.

Nothing helps and I always get matrix with 0.0 values.
If it helps, pil_img looks like this and probs looks like this after thresholding at 0.5.
Also I tried to print KL values at each step of inference. Doesn't seem like it's improving at all.
KL-divergence at 0: 30498.999462480373
KL-divergence at 1: 30498.999462480373
KL-divergence at 2: 30498.999462480373
KL-divergence at 3: 30498.999462480373
KL-divergence at 4: 30498.999462480373
KL-divergence at 5: 30498.999462480373
KL-divergence at 6: 30498.999462480373
KL-divergence at 7: 30498.999462480373
KL-divergence at 8: 30498.999462480373
KL-divergence at 9: 30498.999462480373
KL-divergence at 10: 30498.999462480373
KL-divergence at 11: 30498.999462480373
KL-divergence at 12: 30498.999462480373
KL-divergence at 13: 30498.999462480373
KL-divergence at 14: 30498.999462480373
KL-divergence at 15: 30498.999462480373
KL-divergence at 16: 30498.999462480373
KL-divergence at 17: 30498.999462480373
KL-divergence at 18: 30498.999462480373
KL-divergence at 19: 30498.999462480373

EDIT:
I tried with original cpp code by changing the label counts M to be 2 and making the library. I tried both dense_learning.cpp and dense_inference.cpp using following command:
./dense_learning image.ppm mask.ppm final_mask.ppm

I still get the final image as just background color.

Thanks, I'm still in the middle of a cross-country move, so it might take a little until I can have a look, but the full code and images will help a lot in helping you here :smile:

I am having the same issue… any updates?


Rename through blockwise selection triggers a move operation.

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
files
Description
As per title, renaming file(s) and/or folder(s) through blockwise selection triggers a move operation.
Neovim version
NVIM v0.10.0
Steps to reproduce

nvim -nu minimal.lua
lua require ("mini.files").setup()
lua MiniFiles.open()
Create hello/ and sync
With blockwise selection, rename hello to world and sync (broken state)

Additional notes:
Where I say to use blockwise selection, using operator instead (e.g., d as in dw) also leads to the same issue
Expected behavior
With blockwise selection, renaming hello/ to world/ should work as intended.
Actual behavior
With blockwise selection, renaming hello/ to world/ triggers a move operation.

https://github.com/user-attachments/assets/f8479897-443b-4bea-a5a2-db28ef0d7189

Thanks for the issue!
I believe there is some misalignment about terminology. Blockwise selection is a selection with <C-v>, which results in a rectangular block of text being modified. From video demo it looks like the following steps are done:

Delete name with d$. The reproduction will work with <C-v>$d also, but I don't think it is done in video.
Insert new name with i followed by world.

In this case it indeed won't work because this sequence of steps modify concealed information 'mini.files' uses to track its entries. It is described here with extra note in "Rename" section.
You can see why this doesn't work if after d$ execute :set conceallevel=0: pressing i puts cursor inside region where it is not supposed to be. Typing world leads to modifying it (you can again execute :set conceallevel=0 after typing it).
The suggested solution is to not use d$ or D followed by i. Instead use either C directly or use a to start Insert mode.
Closing as "yes, it is a little confusing, but is documented as thoroughly as is reasonable".

Thanks for the issue!
I believe there is some misalignment about terminology. Blockwise selection is a selection with <C-v>, which results in a rectangular block of text being modified. From video demo it looks like the following steps are done:
* Delete name with `d$`. The reproduction will work with `<C-v>$d` also, but I don't think it is done in video.

* Insert new name with `i` followed by `world`.

In this case it indeed won't work because this sequence of steps modify concealed information 'mini.files' uses to track its entries. It is described here with extra note in "Rename" section.
You can see why this doesn't work if after d$ execute :set conceallevel=0: pressing i puts cursor inside region where it is not supposed to be. Typing world leads to modifying it (you can again execute :set conceallevel=0 after typing it).
The suggested solution is to not use d$ or D followed by i. Instead use either C directly or use a to start Insert mode.
Closing as "yes, it is a little confusing, but is documented as thoroughly as is reasonable".

Thank for replying!

Closing as "yes, it is a little confusing, but is documented as thoroughly as is reasonable".

That's odd, I don't remember it being the case before, but maybe some false memories are at play here; that said, this is currently severely impacting our work (it basically goes against the whole premise of mini.files) - so much that we end up opening an external file explorer (e.g., Nautilus) to rename folders - is there any kind of workaround we could apply to teach d$ or D? Otherwise I'm thinking that perhaps we can remap the key to C when mini.files is open and reset it once closed

That's odd, I don't remember it being the case before, but maybe some false memories are at play here;

I don't think there was a commit that changed this behavior after 3f267f8 (which introduced the concept of "prefix").

is there any kind of workaround we could apply to teach d$ or D?

As was suggested earlier, you can use a (or A to be extra safe) instead of i to start Insert mode.

Otherwise I'm thinking that perhaps we can remap the key to C when mini.files is open and reset it once closed

Yes, this might also be doable by following similar example of adding custom buffer-local mapping.

What I did in the end is a quick PoC patch to address invalid regions on best-effort basis:
H.buffer_compute_fs_diff = function(buf_id, ref_path_ids)
  if not H.is_modified_buffer(buf_id) then return {} end

  local path = H.opened_buffers[buf_id].path
  local lines = vim.api.nvim_buf_get_lines(buf_id, 0, -1, false)
  local res, present_path_ids = {}, {}

  -- Mini.nvim uses concealed information to track its entries, typically
  -- represented as id/icon/name, each serving as its own distinct "region." An
  -- issue arises when deleting a region, such as the name, which results in
  -- id/icon/ without any safeguard for the expected separation. For example,
  -- pressing i in this scenario places the cursor incorrectly inside id/iconX/
  -- instead of id/icon/X.
  --
  -- The strategy here involves filtering out situations where users might attempt
  -- to synchronize such input and then automatically correcting said region. This
  -- is possible as icons add one extra whitespace to account for their width,
  -- which we use as a rule to capture the input we need.
  --
  local function parse (string)
    -- We use the trailing slash as a marker.
    --
    local mark = string:find("/[^/]*%s*$")

    --
    --
    if mark then
      -- Capture the substring before and after the trailing slash marker.
      --
      local capture = {
        b = string:sub(1, mark - 1),
        a = string:sub(   mark + 1)
      }

      -- Sanitize the (after) substring following the marker to ensure it does not
      -- end with a trailing slash.
      --
      if capture.a:sub(-1) == "/" then
        capture.a = capture.a:sub(1, -2)
      end

      -- Find (and transform) the last whitespace occurence to a trailing slash.
      --
      mark = capture.a:find("%s[^%s]*$")
      if mark then
        capture.a = capture.a:sub(1, mark - 1) .. "/" .. capture.a:sub(mark + 1)
      end

      -- Lastly, capture the last whitespace occurence and add the region separator. NOTE:
      -- Preserve the existing whitespace.
      --
      return capture.b:gsub(" ", " /") .. capture.a
    end

    return string -- should be unreachable.
  end

  -- Process present file system entries
  for _, l in ipairs(lines) do
    -- TODO: Sanitization is not (yet) implemented, so be mindful of potential edge
    -- cases.
    l = (l and l:sub(1, 1) == '/') and parse(l) or l

    local path_id = H.match_line_path_id(l)
    local path_from = H.path_index[path_id]

    -- Use whole line as name if no path id is detected
    local name_to = path_id ~= nil and l:sub(H.match_line_offset(l)) or l

    -- Preserve trailing '/' to distinguish between creating file or directory
    local path_to = H.fs_child_path(path, name_to) .. (vim.endswith(name_to, '/') and '/' or '')

    -- Ignore blank lines and already synced entries (even several user-copied)
    if l:find('^%s*$') == nil and path_from ~= path_to then
      table.insert(res, { from = path_from, to = path_to })
    elseif path_id ~= nil then
      present_path_ids[path_id] = true
    end
  end

  -- Detect missing file system entries
  for _, ref_id in ipairs(ref_path_ids) do
    if not present_path_ids[ref_id] then table.insert(res, { from = H.path_index[ref_id], to = nil }) end
  end

  return res
end

From b686476a63fc3bdc96d15c5982969950be49fbaf Mon Sep 17 00:00:00 2001
From: William Roy<EMAIL_ADDRESS>Date: Thu, 18 Jul 2024 13:36:36 -0400
Subject: [PATCH] fix!(files): try to handle invalid region input

---
 lua/mini/files.lua | 54 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/lua/mini/files.lua b/lua/mini/files.lua
index 8b86480..c153528 100644
--- a/lua/mini/files.lua
+++ b/lua/mini/files.lua
@@ -2066,8 +2066,62 @@ H.buffer_compute_fs_diff = function(buf_id, ref_path_ids)
   local lines = vim.api.nvim_buf_get_lines(buf_id, 0, -1, false)
   local res, present_path_ids = {}, {}

+  -- Mini.nvim uses concealed information to track its entries, typically
+  -- represented as id/icon/name, each serving as its own distinct "region." An
+  -- issue arises when deleting a region, such as the name, which results in
+  -- id/icon/ without any safeguard for the expected separation. For example,
+  -- pressing i in this scenario places the cursor incorrectly inside id/iconX/
+  -- instead of id/icon/X.
+  --
+  -- The strategy here involves filtering out situations where users might attempt
+  -- to synchronize such input and then automatically correcting said region. That
+  -- is possible as icons add one extra whitespace to account for their width,
+  -- which we use as a rule to capture the input we need.
+  --
+  local function parse (string)
+    -- We use the trailing slash as a marker.
+    --
+    local mark = string:find("/[^/]*%s*$")
+
+    --
+    --
+    if mark then
+      -- Capture the substring before and after the trailing slash marker.
+      --
+      local capture = {
+        b = string:sub(1, mark - 1),
+        a = string:sub(   mark + 1)
+      }
+
+      -- Sanitize the (after) substring following the marker to ensure it does not
+      -- end with a trailing slash.
+      --
+      if capture.a:sub(-1) == "/" then
+        capture.a = capture.a:sub(1, -2)
+      end
+
+      -- Find (and transform) the last whitespace occurence to a trailing slash.
+      --
+      mark = capture.a:find("%s[^%s]*$")
+      if mark then
+        capture.a = capture.a:sub(1, mark - 1) .. "/" .. capture.a:sub(mark + 1)
+      end
+
+      -- Lastly, capture the last whitespace occurence and add the region separator. NOTE:
+      -- Preserve the existing whitespace.
+      --
+      return capture.b:gsub(" ", " /") .. capture.a
+    end
+
+    return string -- should be unreachable.
+  end
+
   -- Process present file system entries
   for _, l in ipairs(lines) do
+    -- TODO: Sanitization is not (yet) implemented, so be mindful of potential edge
+    -- cases.
+    l = (l and l:sub(1, 1) == '/') and parse(l) or l
+
     local path_id = H.match_line_path_id(l)
     local path_from = H.path_index[path_id]

-- The strategy here involves filtering out situations where users might attempt
-- to synchronize such input and then automatically correcting said region. This
-- is possible as icons add one extra whitespace to account for their width,
-- which we use as a rule to capture the input we need.

Unfortunately, this does not generalize well because users can override prefix with content.prefix. It is more a coincidence that there is a space after an icon because this is a result of default_prefix().

-- The strategy here involves filtering out situations where users might attempt
-- to synchronize such input and then automatically correcting said region. This
-- is possible as icons add one extra whitespace to account for their width,
-- which we use as a rule to capture the input we need.

Unfortunately, this does not generalize well because users can override prefix with content.prefix. It is more a coincidence that there is a space after an icon because this is a result of default_prefix().

Correct. Still, it's definitely better than nothing (namely as it meets my needs) - there's potentially a different (more robust) approach that could be taken here, such as creating an additional (empty) region that doesn't represent anything (/id/icon/(whitespace)/name)

-- The strategy here involves filtering out situations where users might attempt
-- to synchronize such input and then automatically correcting said region. This
-- is possible as icons add one extra whitespace to account for their width,
-- which we use as a rule to capture the input we need.

Unfortunately, this does not generalize well because users can override prefix with content.prefix. It is more a coincidence that there is a space after an icon because this is a result of default_prefix().

@echasnovski Do you think it'd be worth exploring further and coming up with a solution that actually generalizes well? I wouldn't mind taking on the work and walking with you toward such;

@echasnovski Do you think it'd be worth exploring further and coming up with a solution that actually generalizes well? I wouldn't mind taking on the work and walking with you toward such;

I think I'd be OK with the solution if it is concise, universal, and efficient enough. However, I am not sure there is a good way to satisfy all three.
The best idea I have in mind for this is a 'TextChanged'/'TextChangedI' autocommand (or nvim_buf_attach() with on_lines) that verifies that all buffer lines have proper structure. Possibly even fixing fixable lines like after d$ by appending extra space. But at the moment I don't think the problem is bad enough to justify adding this (there are at least two reasonable ways to go around this).


frameit has no iPhone X / Xcode 9 support?

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I read the Contribution Guidelines
[X] I read docs.fastlane.tools
[X] I searched for existing GitHub issues

Issue Description
After getting iPhone X snapshotting to work by letting it use the device type "iPhone2017-C", frameit now appears not to have support for the iPhone X form factor, with the output
Unsupported screensize [1125, 2436] for path './en-US/iPhone2017-C-….png
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.6

Ruby
2.0.0

Bundler?
false

Git
git version 2.13.5 (Apple Git-94)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib

OpenSSL Version
OpenSSL 0.9.8zc 19 Mar 2015

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.0

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.60.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.2

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

plist
3.3.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.59.0

faraday
0.13.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

json
1.7.7

mini_magick
4.5.1

multi_json
1.12.2

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

bundler
1.14.6

faraday_middleware
0.12.2

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.1

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.3

httpclient
2.8.3

google-api-client
0.13.6

generated on: 2017-10-04

Hi, I would add deliver tool as well.
+------+------------------------+-------------+
|              fastlane summary               |
+------+------------------------+-------------+
| Step | Action                 | Time (in s) |
+------+------------------------+-------------+
| 1    | update_fastlane        | 8           |
| 2    | Verifying required     | 0           |
|      | fastlane version       |             |
| 3    | default_platform       | 0           |
| 4    | pod install            | 6           |
| 5    | increment_build_numbe  | 2           |
|      | r                      |             |
| 6    | commit_version_bump    | 0           |
| 7    | gym                    | 124         |
| 💥   | deliver                | 11          |
+------+------------------------+-------------+
[14:43:39]: fastlane finished with errors
[!] Unsupported screen size [1125, 2436] for path './fastlane/screenshots/da/iPhone X-01Media_framed.png'

Made it working with this...
`diff --git a/deliver/lib/deliver/app_screenshot.rb b/deliver/lib/deliver/app_screenshot.rb
index bd96c32..0f13cee 100644
--- a/deliver/lib/deliver/app_screenshot.rb
+++ b/deliver/lib/deliver/app_screenshot.rb
@@ -13,6 +13,8 @@ module Deliver
IOS_47 = "iOS-4.7-in"
# iPhone 6 Plus
IOS_55 = "iOS-5.5-in"

 # iPhone X

 IOS_58 = "iOS-5.8-in"
 # iPad
 IOS_IPAD = "iOS-iPad"
 # iPad Pro

@@ -64,6 +66,7 @@ module Deliver
ScreenSize::IOS_40 => "iphone4",
ScreenSize::IOS_47 => "iphone6",
ScreenSize::IOS_55 => "iphone6Plus",

   ScreenSize::IOS_58 => "iphone58",
   ScreenSize::IOS_IPAD => "ipad",
   ScreenSize::IOS_IPAD_PRO => "ipadPro",
   ScreenSize::IOS_40_MESSAGES => "iphone4",

@@ -85,6 +88,7 @@ module Deliver
ScreenSize::IOS_40 => "iPhone 5",
ScreenSize::IOS_47 => "iPhone 6",
ScreenSize::IOS_55 => "iPhone 6 Plus",

   ScreenSize::IOS_58 => "iPhone X",
   ScreenSize::IOS_IPAD => "iPad",
   ScreenSize::IOS_IPAD_PRO => "iPad Pro",
   ScreenSize::IOS_40_MESSAGES => "iPhone 5 (iMessage)",

@@ -112,6 +116,10 @@ module Deliver
 def self.device_messages
   return {

   ScreenSize::IOS_58_MESSAGES => [

     [1125, 2436],

     [2436, 1125]

   ],
   ScreenSize::IOS_55_MESSAGES => [
     [1080, 1920],
     [1242, 2208]

@@ -143,6 +151,10 @@ module Deliver
 def self.devices
   return {

   ScreenSize::IOS_58 => [

     [1125, 2436],

     [2436, 1125]

   ],
   ScreenSize::IOS_55 => [
     [1080, 1920],
     [1242, 2208]

diff --git a/spaceship/lib/spaceship/du/du_client.rb b/spaceship/lib/spaceship/du/du_client.rb
index 211ad6e..bc175e4 100644
--- a/spaceship/lib/spaceship/du/du_client.rb
+++ b/spaceship/lib/spaceship/du/du_client.rb
@@ -93,6 +93,7 @@ module Spaceship
ipadPro:      "MZPFT.SortedJ99ScreenShot",
iphone6:      "MZPFT.SortedN61ScreenShot",
iphone6Plus:  "MZPFT.SortedN56ScreenShot",

   iphone58:     "MZPFT.SortedD22ScreenShot",
   iphone4:      "MZPFT.SortedN41ScreenShot",
   iphone35:     "MZPFT.SortedScreenShot",
   appleTV:      "MZPFT.SortedATVScreenShot",

@@ -107,6 +108,7 @@ module Spaceship
ipadPro:      "MZPFT.SortedJ99MessagesScreenShot",
iphone6:      "MZPFT.SortedN61MessagesScreenShot",
iphone6Plus:  "MZPFT.SortedN56MessagesScreenShot",

   iphone58:     "MZPFT.SortedD22MessagesScreenShot",
   iphone4:      "MZPFT.SortedN41MessagesScreenShot"
 }

end
diff --git a/spaceship/lib/spaceship/tunes/device_type.rb b/spaceship/lib/spaceship/tunes/device_type.rb
index a124e49..2a721c1 100644
--- a/spaceship/lib/spaceship/tunes/device_type.rb
+++ b/spaceship/lib/spaceship/tunes/device_type.rb
@@ -1,7 +1,7 @@
module Spaceship
module Tunes
class DeviceType

 @types = ['iphone4', 'iphone35', 'iphone6', 'iphone6Plus', 'ipad', 'ipadPro', 'watch', 'appleTV', 'desktop']

   @types = ['iphone4', 'iphone35', 'iphone6', 'iphone6Plus', 'iphone58', 'ipad', 'ipadPro', 'watch', 'appleTV', 'desktop']
 class << self
   attr_accessor :types

`

Hey everyone! We pushed out a new release today that can upload iPhone X screenshots with deliver so that should be 💯 now!
Regarding frameit: you can track this issue here. Due to legal stuff, we are still in a bit of a holding pattern to support iPhone X but hopefully this will get fixed soon! 🚀  🖼 https://github.com/fastlane/fastlane/search?q=frameit+iphone+x&type=Issues&utf8=✓

@ohayon I just got an issue when trying to deliver screenshots https://github.com/fastlane/fastlane/issues/10805#issuecomment-344067466


Fix registry modal sizing when working with very long keys.

Fixes #244 where very long registry keys would scroll off the page due to the dialog not resizing properly.
This PR also fixes the unreported issue that if you pasted a long key into the new key or edit key windows, the modal window would not reposition, causing it to go off screen.
This bug was caused by an interplay of the various Polymer elements being used. The main culprit being that the iron-resize event that paper-dialog listens to so that it knows when to resize/reposition does not get fired by a iron-autogrow-textarea which is a lower level component that paper-textarea wraps.
This is resolved by first simplifying the component interaction stack by removing the use on paper-dialog-scrollable and moving the job of scrolling to the dialog itself. Secondly, the value update event on the textarea is hooked, and used to fire an iron-resize event that the dialog can catch, causing both the position and sizing to be set correctly.

@maffoo PTAL.

LGTM


fixed gcc build ptrdiff_t should be in std namespace

The compilation of pugixml started to fail for me due to prdiff_t error.
.../thirdparty/pugixml/src/pugixml.hpp:771:11: error: ‘ptrdiff_t’ does not name a type
typedef ptrdiff_t difference_type;
^
So I've checked that c++ version of ptrdiff_t should has std namespace, unless you are compiling c code. However pugi isn't c - friendly so we have to follow c++ doc.
http://en.cppreference.com/w/cpp/types/ptrdiff_t
Signed-off-by: Eugene Smirnov<EMAIL_ADDRESS>

Can you clarify which GCC version and which platform this is? pugixml intentionally includes C header <stddef.h> to get a ptrdiff_t that's not in std namespace - not all compilers have std::ptrdiff_t (I think Borland may be one that fails)

I've narrowed down the issue to following  include sequence,
#include <cxxabi.h>
#include "pugixml.hpp"

withoud cxxabi.h no problems appeared. Since this header is gcc specific, probably there problem as well.
gcc version 5.4.1 20160904 (Ubuntu 5.4.1-2ubuntu1~14.04)

I can't reproduce this on gcc 5.4.0 20160609. Let me see if I can upgrade my Ubuntu version to get 5.4.1.
FWIW setting _GLIBCXX_NAMESPACE_C define before including cxxabi.h may resolve this, but I'd like to get to the bottom of this.

Can't reproduce with gcc version 5.4.1 20160929 (Ubuntu 5.4.1-2ubuntu2) either.
What compilation flags do you use?

Thanks @zeux  for looking into this, finally I was able to find a problem in my code cxxabi.h was mistakenly included under namespace, and for some reason everything gets compiled besides pugixml,  I doubt now that this should be fixed. It is up to you. here is a reproducer. Note if to remove first line that cannot be compiled anyway.
#include <memory>

namespace MyNamespace {
	#include <cxxabi.h>
}

#include <pugixml.hpp>

int main() {
	return 0;
}

/usr/bin/c++   -g -fPIE   -fvisibility=default -std=gnu++11 -o CMakeFiles/PugiTests.dir/pugitest.cpp.o -c pugitest.cpp
In file included from pugitest.cpp:7:0:
../thirdparty/pugixml/src/pugixml.hpp:654:3: error: ‘ptrdiff_t’ does not name a type
ptrdiff_t offset_debug() const;
^
../thirdparty/pugixml/src/pugixml.hpp:771:11: error: ‘ptrdiff_t’ does not name a type
typedef ptrdiff_t difference_type;
^
../thirdparty/pugixml/src/pugixml.hpp:813:11: error: ‘ptrdiff_t’ does not name a type
typedef ptrdiff_t difference_type;
^
../thirdparty/pugixml/src/pugixml.hpp:849:11: error: ‘ptrdiff_t’ does not name a type
typedef ptrdiff_t difference_type;
^
../thirdparty/pugixml/src/pugixml.hpp:945:3: error: ‘ptrdiff_t’ does not name a type
ptrdiff_t offset;
^
../thirdparty/pugixml/src/pugixml.hpp:1050:3: error: ‘ptrdiff_t’ does not name a type
ptrdiff_t offset;

Ah, okay - this makes sense. cxxabi.h includes stddef.h which hides the ptrdiff_t symbol inside the namespace (I'm somewhat surprised the std namespace does not suffer the same issue). I believe there's no action needed on this PR then, so I'll close it. Thanks for investigation!


Method GetAuthenticationStateAsync in type 'Blazor.Auth0.ServerSide' does not have an implementation.

Under .NET Core Preview 9 the above error occurs when loading the app. The exception happens when injecting the service on startup.

Hi,
The upgrade to preview 9 is in the works, this issue will be fixed as soon as the upgrade is ready.

Or jump straight to v3.0.0-rc1, released today 👍

Was about to finish the upgrade and there's a new release, I'm getting old for this.

@henalbrod for what it's worth, I for one really appreciate your help!

v1.0.0.Preview2 Released
Overall upgrade to .Net Core 3.0 RC1
Removed Shell.razor in Example projects
Simplified App.razor in Example projects
Removed local _imports.razor in Example projects


sw: Fix snrt_dma_wait implementation

The previous implementation of snrt_dma_wait was incorrect as it had an infinite loop in the case that tid was the last completed transaction. Looking at the documentation, the snippet in custom_instructions.md shows the correct way of implementing the transaction check (get last completed tid and loop if it's less than the one we are waiting for) except it had its register operands swapped. This PR uses that implementation instead, fixes the small bug in the documentation and changes one of the waits in dma_simple.c to make sure we don't regress either.

LGTM. Thanks for the fix!

Thank you! Would you mind merging this for me as well? I do not have commit writes :)

LGTM. Thanks for the fix!

Thank you! Would you mind merging this for me as well? I do not have commit writes :)

Me neither unfortunately😉 @paulsc96 and @colluca are maintainers of the repository

Thanks for the contribution @zero9178 :)
Looking at the PR, it looks like this breaks the way zero-sized transfers are handled (return a transaction ID of -1).
I'm adding a test for these transfers and correcting the condition. Will merge as soon as I get this fixed :)

Thanks good catch I did not consider these. Could these use 0 instead or does the DMA engine return 0 for the very first transaction? Otherwise I'd just change the bltu to blt

Thanks good catch I did not consider these. Could these use 0 instead or does the DMA engine return 0 for the very first transaction? Otherwise I'd just change the bltu to blt

Zero seems to work. But actually the new DMA should support zero-sized transfers, so removing the if condition on the size altogether should work. There seems to be a bug however which I'm currently investigating.

A fix to the DMA bug is provided in https://github.com/pulp-platform/iDMA/pull/50. Till that is merged and a new release of the iDMA is created, we can merge this PR with the zero ID as suggested.


Quiche apps preferred addressing

This PR is in Draft and is for discussion of implementation

Closing due to change in direction. Will be reopening a new non-draft PR as a replacement.


No CUDA runtime is found, using CUDA_HOME='/usr'

Hello everyone, i have this error:
"No CUDA runtime is found, using CUDA_HOME='/usr' "
each time i import stuff from slayer like "import lava.lib.dl.slayer as slayer" . Asking torch.cuda.is_available() in a python3 shell inside the env does tell me that CUDA is available.
pytest pass all necessary steps.
Anyone has suggestion on how to resolve this problem?
thanks for your attention!

Objective of issue:

Lava DL version:

[ ] 0.3.0 (feature release)
[ ] 0.2.1 (bug fixes)
[x] 0.2.0 (current version)
[ ] 0.1.2

Lava version:

[ ] 0.4.0 (feature release)
[ ] 0.3.1 (bug fixes)
[x] 0.3.0 (current version)
[ ] 0.2.0
[ ] 0.1.2

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] documentation request

Current behavior:

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here

Other information:

insert the output from lava debug here

Can you post the outputs of these commands
nvidia-smi | grep CUDA
nvcc --version
python -c "import torch; print(torch.__version__)"

As long as nvcc and torch CUDA version match, it should be okay.
Can you try this:

Find cuda installation path: which nvcc
Make sure <cuda_path>/home exists (try ls ...)
export CUDA_HOME=<cuda_path>/home

and try running the unittests. python -m unittest

Hi @franzhd any progress?

Closed as STALE


jsdom-global in mocha example may break modules bundled by rollup

Version
1.0.0-beta.24
Reproduction link
https://github.com/sodatea/vue-test-utils-mocha-webpack-example
Steps to reproduce
Import prettier (>= 1.14.1) in any test file and run test.
What is expected?
No error
What is actually happening?
TypeError: Super expression must either be null or a function

In the guide it is said jsdom-global is required to simulate browser environment in Node when testing with mocha.
However, jsdom-global injects a window object to the global namespace. This window object only has DOM-related properties.
Meanwhile, rollup-plugin-commonjs uses the following snippet to infer the global object:
https://github.com/rollup/rollup-plugin-commonjs/blob/master/src/helpers.js#L4
So it will use the window object provided by jsdom-global as commonjsGlobal.
prettier depends on iarna-tomal and is bundled by rollup.
In the latest version of iarna-tomal, there's a class extends global.Date (https://github.com/iarna/iarna-toml/blob/latest/lib/create-date.js), which , after transpilation, would become something like _inherits(Date, commonjsGlobal.Date).
But as mentioned before, the window object only contains DOM-related properties, window.Date is undefined… therefore an error is thrown.
I don't think there's anything wrong with rollup's detection mechanism. And jsdom-global's development seems to be stale now.
So I think we'd better address this issue in the documentation and provide a practical workaround.
Related bugs:

https://github.com/vuejs/vue-cli/issues/2128
https://github.com/vuejs/vue-cli/issues/2300

As a temporary workaround, I fake-out the Date object on the jsdom/jsdom-global window object:
require('jsdom-global')();

window.Date = function(){};

Obviously if your code actually needs to use the Date object, it will not work - so this is by no means a long-term solution. But it can help for those tests that don't require Date functionality.
Great work on the test utils by the way - thank you!!

If someone is still experiencing this issue there is a important note: if you're using the @vue/cli-plugin-unit-mocha for vue-cli 3 you should require your setup file like this in your package.json:
{
  "test:unit": "vue-cli-service test:unit --require tests/unit/setup.js"
}

my setup.js looks like this now:
require('jsdom-global')()

window.Date = Date

If someone is still experiencing this issue there is an important note: if you're using the @vue/cli-plugin-unit-mocha for vue-cli 3 you should require your setup file like this in your package.json:
"scripts": {
  "test:unit": "vue-cli-service test:unit --require tests/unit/setup.js"
}

my setup.js looks like this now:
require('jsdom-global')()

window.Date = Date

require('jsdom-global')() window.Date = Date

Thank you! I tried all the other suggestions and this was the one that worked.

ok so what is the latest on this? Should I keep using the setup.js trick above or is a more appropriate fix along the way in vue-cli? Or by upgrading eslint-config-prettier? I am not sure if the above is a permanent fix or not

LGTM

If someone is still experiencing this issue there is an important note: if you're using the @vue/cli-plugin-unit-mocha for vue-cli 3 you should require your setup file like this in your package.json:
"scripts": {
  "test:unit": "vue-cli-service test:unit --require tests/unit/setup.js"
}

my setup.js looks like this now:
require('jsdom-global')()

window.Date = Date

Thanks

As a temporary workaround, I fake-out the Date object on the jsdom/jsdom-global window object:
setup.js
require('jsdom-global')();

window.Date = Date;

Great work on the test utils by the way - thank you!!

you saved my day, thanks

Is there any update regarding the status of this bug please?

well, but now is there a easy way to override jsdom-global options,I need url like 'http://localhost?a=1&b=2#hash'

So, I think this is not something vue-test-utils should really be taking care of - perhaps the setup guide should just include a note on this issue, why it happens, and how to work around it. I've had a similar problem (with url property, I believe) and ended up using a similar work around.
I'd say we update the docs/guide regarding this problem, and close this one once that is merged. Thoughts?

Yeah that was what I proposed for


Check for CocoaPods installation if required

Fixes #8657

@chinmaygarde

This is great.  I think we should do something more general over time.  Make commands declare their dependencies so we can check them up front, or something.  Donno.  We have the capacity to check for all these various dependencies through Flutter Doctor code, seems like we could/should use that before running (and then letting fail) various commands.  Nicer to learn that you don't have pods before we start trying to run anything for example. :)

@collinjackson migrated to a warning (which effectively gives us the old behaviour if you don't have CocoaPods installed).
@eseidelGoogle Agreed. Independent of this short-term fix. Right now the doctor validations are pretty monolithic. The right solution feels like breaking out something like a Tool class representing a tool we depend on with independent validation, error/warning message, and invocation. Doctor would provide the global overview of the state of everything we depend on, and we could avoid littering the code with these checks.


Convert all Compute deserialized enum types to StringEnumValue

Addresses #1944.

Coverage decreased (-0.01%) to 81.205% when pulling a5550f55d55f2d493c1f66f47c5ff5aa39f4d803 on tcoffee-google:string_enum_compute into ae640b7a928e235e0ba87e1a0df00ca0f495a982 on GoogleCloudPlatform:master.

For reference in case of future maintenance, the conversions here were done according to the semi-automated procedure described in https://github.com/GoogleCloudPlatform/google-cloud-java/pull/2128#issuecomment-307506513.

Changes Unknown when pulling 77571ad4212771dd96e5058f154970b985e9d022 on tcoffee-google:string_enum_compute into ** on GoogleCloudPlatform:master**.


in GMapMarker I can't set icon using a variable

this is working
 <GMapMarker
            :icon="'assets/icon/favicon.png'"
            :key="marker.id"
            v-for="marker in markers"
            :position="marker.position"
        >

I want to show a different local custom icon for each marker but I got only default marker from google
        <GMapMarker
          v-for="m in markers"
          :key="m.id"
          :icon="m.icon"
          :position="m.position"
          :clickable="true"
          :draggable="false"
          @click="center = m.position"
        >

I'm assigning like this, is it right ?
marker.icon = 'assets/icon/favicon.png';

@this1-it
Try using absolute paths (your-domain.com/assets/icon/favicon.png)
Or import the icon
import myIcon from './assets/icon/favicon.png'

and in your template :icon="myIcon"

Hi fawmi,
thank you for answering but it did not worked
In my template, I need to assign icon using a variable in v-for
I assign m.icon and m.description but I cannot these values
It seems that id, name, position are the only attributes allowed
Have you any clue ?
       <GMapMarker           v-for="m in markers"           :key="m.id"           :icon="m.icon"           :position="m.position"           :clickable="true"           :draggable="false"         >           <GMapInfoWindow>             <div>               {{m.name}}<br />               {{m.description}}             </div>           </GMapInfoWindow>         </GMapMarker>
I would like to understand why is needed to assign with double quotes and single quotes ?
 :icon="'assets/icon/favicon.png'"


Exception processing creep role claimer: Cannot read property 'substr' of undefined

Exception processing creep role: claimer in E47S25. :
TypeError: Cannot read property 'substr' of undefined
TypeError: Cannot read property 'substr' of undefined
at Object.exports.roomNameToXY (:445:28)
at new RoomPosition (:14423:82)
at Object.claimerManager [as claimer] (main:22350:32)
at CreepRoleManager.runManager (main:26669:29)
at CreepRoleManager.run (main:26656:18)
at RoomManager.run (main:26894:31)
at roomsManager (main:26919:26)
at ErrorMapper.wrapLoop (main:32300:5)
at Object.loop (main:32255:17)
at __module (__mainLoop:1:52)

I believe this was fixed with a recent claimer refactor. Please update to latest and confirm


::: Copy saved to /tmp/debug.txt
:::

Console Output of sudo iptables -t nat -S
root@DietPi:/etc/openvpn# sudo iptables -t nat -S
-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
-A POSTROUTING -s <IP_ADDRESS>/24 -o eth0 -j MASQUERADE

Console Output of sudo iptables -S
  root@DietPi:/etc/openvpn# sudo iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT

output of sudo netstat -uanp | grep openvpn
  root@DietPi:/etc/openvpn# sudo netstat -uanp | grep openvpn
udp        0      0 <IP_ADDRESS>:1194            <IP_ADDRESS>:*                           271/openvpn

I did a fresh install of dietpi and PiVPN and
I'll get on my client
Wed Jan 16 18:57:44 2019 OpenVPN 2.4.6 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 26 2018
Wed Jan 16 18:57:44 2019 Windows version 6.2 (Windows 8 or greater) 64bit
Wed Jan 16 18:57:44 2019 library versions: OpenSSL 1.1.0h  27 Mar 2018, LZO 2.10
Wed Jan 16 18:57:44 2019 MANAGEMENT: TCP Socket listening on [AF_INET]<IP_ADDRESS>:25340
Wed Jan 16 18:57:44 2019 Need hold release from management interface, waiting...
Wed Jan 16 18:57:45 2019 MANAGEMENT: Client connected from [AF_INET]<IP_ADDRESS>:25340
Wed Jan 16 18:57:45 2019 MANAGEMENT: CMD 'state on'
Wed Jan 16 18:57:45 2019 MANAGEMENT: CMD 'log all on'
Wed Jan 16 18:57:45 2019 MANAGEMENT: CMD 'echo all on'
Wed Jan 16 18:57:45 2019 MANAGEMENT: CMD 'bytecount 5'
Wed Jan 16 18:57:45 2019 MANAGEMENT: CMD 'hold off'
Wed Jan 16 18:57:45 2019 MANAGEMENT: CMD 'hold release'
Wed Jan 16 18:57:45 2019 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Wed Jan 16 18:57:45 2019 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Wed Jan 16 18:57:45 2019 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Wed Jan 16 18:57:45 2019 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Wed Jan 16 18:57:45 2019 MANAGEMENT: >STATE:1547661465,RESOLVE,,,,,,
Wed Jan 16 18:57:46 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:1194
Wed Jan 16 18:57:46 2019 Socket Buffers: R=[65536->65536] S=[65536->65536]
Wed Jan 16 18:57:46 2019 UDP link local: (not bound)
Wed Jan 16 18:57:46 2019 UDP link remote: [AF_INET]
Wed Jan 16 18:57:46 2019 MANAGEMENT: >STATE:1547661466,WAIT,,,,,,
Wed Jan 16 18:58:46 2019 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Wed Jan 16 18:58:46 2019 TLS Error: TLS handshake failed

I have a similar issue: "The server has no TLS ciphersuites in common with the client."
When I try to use iOS OpenVPN client (v3.0.2.(894)), below is the result and was hoping for someone to help me out (praying hands emoticon) :).
Feb 20 21:48:14 PiOpenVPN ovpn-server[27956]: OpenVPN 2.4.0 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 14 2018
Feb 20 21:48:14 PiOpenVPN ovpn-server[27956]: library versions: OpenSSL 1.0.2q  20 Nov 2018, LZO 2.08
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: TLS-Auth MTU parms [ L:1621 D:1156 EF:94 EB:0 ET:0 EL:3 ]
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: TUN/TAP device tun0 opened
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: TUN/TAP TX queue length set to 100
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: /sbin/ip link set dev tun0 up mtu 1500
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: /sbin/ip addr add dev tun0 <IP_ADDRESS>/24 broadcast <IP_ADDRESS>
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: Could not determine IPv4/IPv6 protocol. Using AF_INET
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: Socket Buffers: R=[163840->163840] S=[163840->163840]
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: UDPv4 link local (bound): [AF_INET][undef]:1194
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: UDPv4 link remote: [AF_UNSPEC]
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: GID set to nogroup
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: UID set to nobody
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: MULTI: multi_init called, r=256 v=256
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: IFCONFIG POOL: base=<IP_ADDRESS> size=252, ipv6=0
Feb 20 21:48:14 PiOpenVPN ovpn-server[27958]: Initialization Sequence Completed
Feb 20 21:54:53 PiOpenVPN ovpn-server[27958]: MULTI: multi_create_instance called
Feb 20 21:54:53 PiOpenVPN ovpn-server[27958]: Pub.IP.xxx.xxx:41227 Re-using SSL/TLS context
Feb 20 21:54:53 PiOpenVPN ovpn-server[27958]: Pub.IP.xxx.xxx:41227 Control Channel MTU parms [ L:1621 D:1156 EF:94 EB:0 ET:0 EL:3 ]
Feb 20 21:54:53 PiOpenVPN ovpn-server[27958]: Pub.IP.xxx.xxx:41227 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
Feb 20 21:54:53 PiOpenVPN ovpn-server[27958]: Pub.IP.xxx.xxx:41227 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1569,tun-mtu 1500,proto UDPv4,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-server'
Feb 20 21:54:53 PiOpenVPN ovpn-server[27958]: Pub.IP.xxx.xxx:41227 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1569,tun-mtu 1500,proto UDPv4,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-client'
Feb 20 21:54:53 PiOpenVPN ovpn-server[27958]: Pub.IP.xxx.xxx:41227 TLS: Initial packet from [AF_INET]Pub.IP.xxx.xxx:41227, sid=79b727ee e27aa18e
Feb 20 21:54:53 PiOpenVPN ovpn-server[27958]: Pub.IP.xxx.xxx:41227 TLS error: The server has no TLS ciphersuites in common with the client. Your --tls-cipher setting might be too restrictive.
Feb 20 21:54:53 PiOpenVPN ovpn-server[27958]: Pub.IP.xxx.xxx:41227 OpenSSL: error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher
Feb 20 21:54:53 PiOpenVPN ovpn-server[27958]: Pub.IP.xxx.xxx:41227 TLS_ERROR: BIO read tls_read_plaintext error
Feb 20 21:54:53 PiOpenVPN ovpn-server[27958]: Pub.IP.xxx.xxx:41227 TLS Error: TLS object -> incoming plaintext read error
Feb 20 21:54:53 PiOpenVPN ovpn-server[27958]: Pub.IP.xxx.xxx:41227 TLS Error: TLS handshake failed
Feb 20 21:54:53 PiOpenVPN ovpn-server[27958]: Pub.IP.xxx.xxx:41227 SIGUSR1[soft,tls-error] received, client-instance restarting

I have experimented with various cipher and tls settings in both server.conf/client.ovpn and so far I have not found a way to connect my phone to pivpn.
server.conf:
dev tun
proto udp
port 1194
ca /etc/openvpn/easy-rsa/pki/ca.crt
cert /etc/openvpn/easy-rsa/pki/issued/server_something.crt
key /etc/openvpn/easy-rsa/pki/private/server_something.key
dh none
topology subnet
server <IP_ADDRESS> <IP_ADDRESS>
# Set your primary domain name server address for clients
push "dhcp-option DNS <IP_ADDRESS>"
push "dhcp-option DNS <IP_ADDRESS>"
# Prevent DNS leaks on Windows
push "block-outside-dns"
# Override the Client default gateway by using <IP_ADDRESS>/1 and
# <IP_ADDRESS>/1 rather than <IP_ADDRESS>/0. This has the benefit of
# overriding but not wiping out the original default gateway.
push "redirect-gateway def1"
client-to-client
keepalive 1800 3600
remote-cert-tls client
tls-version-min 1.2
tls-crypt /etc/openvpn/easy-rsa/pki/ta.key
cipher AES-256-CBC
auth SHA256
user nobody
group nogroup
persist-key
persist-tun
crl-verify /etc/openvpn/crl.pem
status /var/log/openvpn-status.log 20
status-version 3
syslog
verb 4
#DuplicateCNs allow access control on a less-granular, per user basis.
#Remove # if you will manage access by user instead of device.
#duplicate-cn
# Generated for use by PiVPN.io

client.ovpn:
client
dev tun
proto udp
remote my.domain.com xxxxx
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
tls-version-min 1.2
verify-x509-name server_something name
cipher AES-256-CBC
auth SHA256
auth-nocache
verb 3
<ca>
...
</ca>
<cert>
...
</cert>
<key>
...
</key>
<tls-crypt>
#
# 2048 bit OpenVPN static key
#
...
</tls-crypt>

Additional settings on the iOS client app:

Allow compression: No
Minimum TLS version: profile default
DNS Fallback to GoogleDNS: On
AES-CBC cipher algo: on/off (neither work nor result in different log output)

Nope, I haven't tried with another device - I just want it to work on my iPhone. The end goal is using privoxy and pihole on my RaspberryPi no matter where I am - tunneled through pivpn.
I understand I could replace EC with RSA and probably get it working fine, but I was wondering whether I am missing something here.
Perhaps one thing I should mention: I have slightly adjusted install.pivpn.io to use the latest easyRSA (easyrsaVer="3.0.6"; easyrsaRel="https://github.com/OpenVPN/easy-rsa/releases/download/v${easyrsaVer}/EasyRSA-unix-v${easyrsaVer}.tgz") and unattended-upgrades (UNATTUPG_CONFIG="https://github.com/mvo5/unattended-upgrades/archive/1.9.tar.gz").
It would be so very nice if you could help me out here.

Is this still an issue? @CaptBV @hevilp
Kind regards.

i have the same problem and my openvpn dont work

@SWarrior97 Please open a new report and fill in all the required information.
Closing this topic since it has gone silent from the requester's side.


Only add cookie-session if req.session doesn't already exist

Fixes #12
One piece I'm not sure on is the socket.io handling - I can see you use some tricks to add headers to the websocket request. In my local testing I think that was okay to leave as-is, but would appreciate your input as you've clearly been down that path before.

Hey @tve - are you able to look at this PR? The issue is prevent anyone with adminAuth setup on their Node-RED from using FlexDash - would be great to unblock that.

Thanks for the nudge! I had taken a look at the changes and couldn't tell the impact. FlexDash in general doesn't require a cookie,  but as soon as the flows need to track users in any way for auth or preferences a cookie is needed. The PR removes the cookie set by FD, which means that this functionality will break as far as I can tell. If FD can't set a cookie then it would need to rely on a cookie set by FF and I don't know whether that's the case and how to hook the cookie ID into FD. That's where I left it, wondering a bit about how I was going to even dev&test that.

The PR removes the cookie set by FD,

I do not believe that is the case.
This PR prevents FD adding a second session handler if there is one already there. The FD cookie will still get set using the existing session handler.

I can't easily test this at the moment, but since it doesn't impact non-FlowForge uses of FD it seems fine to merge it. Thanks for the PR!


ionic resources 9-patch

Please add the possibility to create 9-patch android splash screens via ionic resources
http://developer.android.com/tools/help/draw9patch.html

Why would you need that if the ionic resources command already generates all possible screen sizes?

9-Patch is the recommended format for phonegap apps.
https://github.com/phonegap/phonegap/wiki/App-Splash-Screen-Sizes
Often generated images are stretched or compressed on special android screen sizes.

+1 for 9-patch Android splash screen images please

+1, testing on a Nexus 4 (15:9 aspect ratio) shows a ionic resources-generated splash screen displayed in a vertically compressed fashion.

How I'm working around this right now is:

Creating my own 9-patch versions of each density.
Manually replacing the screen.pngs for each density in /platforms/android/res/ with screen.9.png.
Updating config.xml with updated filenames.

+1

+1

+1

+1

All these +1's only add noise to the conversation.
How exactly would you expect ionic resources to generate a 9-patch image, @schnti? Generating all assets based on a high res image easily done in an automated program but generating a 9 patch image needs custom ajustments for each splashscreen. I don't see how an automated tool could do that.
You're not forced to use ionic resources -- just add your 9-patch splashscreens manually and you're good to go.

Something like this : http://community-sites.fr/9patch/ ?

I don't see why it wouldn't be possible to generate a 9 patch image with an automated tool. Assuming a splash screen with a centered logo/image and solid background color...

+1


Extend the compatibility matrix with all the missing check tools

Some of the currently integrated tools are not fully supported when it comes to advanced result visualization and compatibility matrix. Furthermore, apart from adding the tools into compatibility matrix, the output of all the checks which are not present should be parsed in order to determine the outcome: passed or problems detected.
Current progress can be summarized as follows:

This is resolved.


Revert "pkg/k8s: add k8s external IPs support"

This reverts commit 46ae5ef2be6b72a80769c7931b48fed7339113c3.
Revert k8s external IPs support due wrong implementation

This change is

test-me-please

Coverage decreased (-0.09%) to 43.908% when pulling 78c249b08c718248e89c4031c54f934fb2c0b6ef on pr/revert-external-ips into 643b5e4b60836401b60c5e7cb67fa70476f39d0b on master.

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

I think this is ready to merge - the BPF nodeport failure is a known flaky test.


CONTRIBUTING: add "Getting familiar with the project"

Following today's discussion on Zulip.

It's a good idea to add such a section to the contributing document. Hopefully we can expand on it later. Thanks!


Signature Enhancement

In some projects, there might be the situation where the server changes the image it returns, but the URL keeps being the same.
In this case, the cache Key shouldn't be based on the image URL, but instead on a separated signature passed as an extra parameter along with the URL.

After carefully inspecting the code, I realized that URLCache uses URLRequest as the KEY for the cached image, which stores a URL and policies. So the key cannot be changed to a String signature.


Chrome Preferences not passed to Selenium Driver

After trying to disable images using splinter, I discovered that the options are not properly passed to the Selenium Driver. Using the Selenium Chrome Driver works without an issue.
Specifically the experemental options are treated in an non-standard way by chrome.
Fortunatelly the issue is easy to fix.
File: /usr/local/lib/python2.7/dist-packages/splinter/driver/webdriver/chrome.py
OLD-with-Bug, line 17-20:
def __init__(self, user_agent=None, wait_time=2, fullscreen=False,
                 **kwargs):

        options = Options()

NEW-Bugfix, line 17-20:
def __init__(self, user_agent=None, wait_time=2, fullscreen=False, options=None,
                 **kwargs):

        options = options or Options()

Could you please add this fix to the main development ? Thanks a lot.

We really need such a option to passed to splinter.Browser(),  one of mine is --disable-setuid-sandbox, see stack overflow thread.

I have introduced the passing of options as a list in my dev branch if you would like to have a look.
For example:
from splinter import Browser

options = ['--start-maximized', '--disable-setuid-sandbox']
browser = Browser('chrome', chrome_options=options)

This is addressed in pull request #486


language-markdown support needs to be fixed

See burodepeper/language-markdown#83.
Should eventually be fixed.

Will be resolved as of v1.0.0.

I've looked at your code, and as far as I can see (without installing it in dev-mode) the current version on your master branch looks good to go. I'd say that you apm publish it. The less is scoped to the generic .markup class (and therefore does not rely on the base scope of language-markdown or language-gfm for that matter, so I suppose you are good to go.
When I update language-markdown to v1.0.0 I reckon you'd only gain more things that are highlighted than less. Let me know (in this issue) if you run into any other issues, and I'll be happy to take a look at them.
Also, in https://github.com/plttn/tubster-syntax/blob/master/styles/base.less, I suggest (in the spirit of the cascading philosophy of css) you move the imports (except for colors.less) to the end of the document, or at least move them after the declarations for the generic scopes. And if I can be a complete nitpicker: please nest your declarations for some extra clarity.

@burodepeper, Thanks for the heads up on import locations and nesting. I've gone ahead and done those on master, but language-markdown support in the apm version will have to wait until I can get my apm rename issue resolved.
Thanks for giving it a look!


fields/kerb: Make directionalCombo to allow optional left/right tagging

When the kerb is tagged on the highway=crossing node, it is assumed to have the same kerb left an right of the node. If that is not true, the tagging is kerb:left|right=*.
This PR changes the kerb fields for crossings to a directionalCombo in order to represent those left|right cases.
Current usage:

crossing=* has 340 208 cases with kerb
2 690 with kerb:right
2 660 with kerb:left

https://taginfo.openstreetmap.org/keys/crossing#combinations

Testing
Overpass turbo query: https://overpass-turbo.eu/?R&Q=[out:json][timeout:25];node["highway"]["kerb:left"]({{bbox}});out body;>;out skel qt;
node/9165437876

https://pr-1206--ideditor-presets-preview.netlify.app/id/dist/#background=Bing&disable_features=boundaries&id=n9165437876&locale=en&map=20.00/52.47598/13.44462

Conclusion
Looking at the numbers some more I don't think this added complexity in the UI is worth it.
I will close this PR for that reason.


Toggle terminal keybind ignores terminals in editor view

Type: Bug

Create a terminal in an editor by
setting terminal.integrated.defaultLocation = 'editor' and using the New Terminal keybind (workbench.action.terminal.new)
Open any file in another editor, the terminal open in editor will be hidden.
Use the Toggle Terminal keybind (workbench.action.terminal.toggleTerminal)
Observed: A new terminal is created in panel, ignoring the preciously open terminal in the editor, even if the terminal area of the panel was previously hidden (by rightClk panel header -> uncheck 'Terminal')

VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:02.548Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz (4 x 2197)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
7.87GB (2.93GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (43)

Extension
Author (truncated)
Version

vscode-tomcat
ada
0.11.3

github-markdown-preview
bie
0.3.0

markdown-checkbox
bie
0.4.0

markdown-emoji
bie
0.3.0

markdown-footnotes
bie
0.1.1

markdown-mermaid
bie
1.18.1

markdown-yaml-preamble
bie
0.1.0

doxdocgen
csc
1.4.0

prettier-vscode
esb
8.0.1

vscode-pull-request-github
Git
0.27.1

vscode-auto-open-markdown-preview
hnw
0.0.4

discoverpanel
Ion
0.1.0

better-cpp-syntax
jef
1.17.2

chat
kar
0.35.0

vscode-fix-checksums
leh
1.1.0

git-graph
mhu
1.30.0

dotnet-interactive-vscode
ms-
1.0.4205010

jupyter
ms-
2022.5.1001601848

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.8

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

remote-wsl
ms-
0.66.3

cmake-tools
ms-
1.12.26

cpptools
ms-
1.7.1

cpptools-extension-pack
ms-
1.3.0

powershell
ms-
2023.3.3

vsliveshare
ms-
1.0.4498

vscode-json-editor
nic
0.3.0

java
red
0.80.0

vscode-commons
red
0.0.6

vscode-xml
red
0.17.0

llvm-ir
rev
1.0.4

synthwave-vscode
Rob
0.1.15

nomo-dark-extended
Sen
1.4.2

ninja
sur
0.0.1

cmake
twx
0.0.17

vscodeintellicode
Vis
1.2.14

vscode-java-debug
vsc
0.34.0

vscode-java-dependency
vsc
0.18.5

vscode-java-pack
vsc
0.17.0

vscode-java-test
vsc
0.30.1

vscode-maven
vsc
0.31.0

(5 theme extensions excluded)

correction in my text above:  ...ignoring the previously open...
I expect the the Toggle Terminal action/shortcut to at least switch to the terminal in the editor view when a terminal is not already in focus. It would be handy if the toggle terminal action can be used to switch to and from between other non-terminal editor tabs and the terminal editor tab, just like the terminals in the panel.
Further, this switching can result in reduced function of the quick tab switch actions (ctrl+tab) which could be avoided if the terminal tabs aren't included in the recently used cache

default keybinds:
New Terminal: Ctrl+Shift+ Toggle Terminal: Ctrl+
unrelated, I noticed that Toggle Maximized panel (Ctrl+M) doesn't bring focus to the terminal input

Agree, if this setting is on "terminal.integrated.defaultLocation": "editor", then the toggle terminal command should switch to the first opened "editor terminal" instead of always opening a terminal panel.

To avoid confusion, all the terminal focus commands apply to the panel. When you move it to the editor, it's treated as an editor tab.


python3Packages.jenkinsapi: disable python 3.6 onwards

Description of changes
ZHF: #172160
Package is not intended to be built when Python > 3.6.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 172427 run on x86_64-linux 1


Stack upgrade doesn't work with v1.1.0-dev5

Rancher Version:
v1.1.0-dev5
Docker Version:
Docker version 1.10.3, build 20f81dd
OS and where are the hosts located? (cloud, bare metal, etc):
RancherOS 0.4.5, KVM VM
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node rancher, internal DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Upgrade a stack based of two containers (php-fpm with sidekick webserver). I have a global stack mariadb-galera cluster running on each host. The php-fpm is linked to MySQL/galera or the MySQL/galera LB. Stack upgrades doesn't work. Move during the upgrade to the Rancher Server running host and no error occurs.
Maybe it could be related to the host the stack is deployed to! Initial deploy seems to work (maybe service link is missing...), but ugrade fails. If I change the destination host is will be redeployed
Results:
Error message: Upgrade Error Validation failed in API: requestedHostId
Expected:
Upgrade the service
Any idea why the upgrade won't work?

Maybe it is dependent on the schedule rules. Changed from specific host to a host label rule and it seems to work.

Duplicate of https://github.com/rancher/rancher/issues/3323


Add rotateWithView option to ol.style.RegularShape

Thanks for any review

Looks good to me. Please merge.

Thanks


How do i change the delay settings

Just wondering how i change the delay setting seems like its locked to 1000

nvm i see what the script does works perfectly thank you. im closing this myself <


Design and implement the opening scene

The battles in the forest with Kath serve as an introduction to the world, these two key characters, the story, and the game mechanics.

Creating art and music to match the scene here is also an important piece of the puzzle.


Publish Site before Hosting

SpecsForMvc (http://specsfor.com/SpecsForMvc/features.cshtml) handles hosting  slightly differently to Seleno. It publishes the site and then uses IIS Express to host the published copy, rather than just hosting the project path. Among other things, this means that any Web.config transforms are applied to the host version. This is useful for acceptance testing, as connection strings and other configuration different can be applied.
I think it would be good for Seleno to adopt this approach. What do you think?

What's the progress on this? :) Is there any way to specify a Web.config transformation in Seleno at the moment?


Terminal sorting should be performed on the client-side

Currently, sorting is performed on the server. This means the item names are always sorted as if they were English, and more complex client-sided sorting (like JEI-based) cannot be done.

Testing chu

Fixed as of b8b53da7.


僅針對主要分支的提取要求執行 SonarCloud

降低 SonarCloud 的執行頻率以縮短一般 CI 組建的建置時間。

 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.:x: Fengchien sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

ok

close


Trestle stable release 1.0

Issue description / feature objectives
Before releasing Trestle 1.0, there are several steps that needs to be done and some files that needs to be updated to reflect the stable release.

Create a release branch 1.0 with the release candidate
Change development status to stable for pypi
Update README.md to reflect that Trestle is now in stable version.
Double check that docs reflect correct version of OSCAL (1.0.0)
Create a commit with breaking change to trigger semantic-versioning to release a major version of 1.0
Anything else?

Useful link
Once everything is ready, we can proceed with releasing 1.0

Done.


Less Dependencies?

Can this library have less dependencies?
I would love a cross-platform library thats just a bunch of c or c++ code that I can dump into my existing code and then have serial communication - just like that.
This library I wont even try because of all the dependencies - seems like a hazzle to ask users to install all that.

The code has no dependencies.
The build system is pretty straight forward to install, but is not required to build the code, this CMake snippet would be sufficient to build the code for internal use of another project:
cmake_minimum_required(VERSION 2.8.3)
project(my_project)

include_directories(include)

set(serial_SRCS src/serial.cc include/serial/serial.h include/serial/v8stdint.h)
if(UNIX)
    list(APPEND serial_SRCS src/impl/unix.cc)
else()
    list(APPEND serial_SRCS src/impl/win.cc)
endif()

## Add serial library
add_library(serial ${serial_SRCS})
if(UNIX AND NOT APPLE)
    target_link_libraries(serial rt)
endif()

## Build your executable
add_executable(my_program src/my_program.cpp)
## Link your executable against the library
target_link_libraries(my_program serial)

If you know it will be Linux or OS X, then you can drop the if(UNIX AND NOT APPLE) logic. If you are using Windows, there is a simple Visual Studio solution distributed with the library:
https://github.com/wjwwood/serial/tree/master/visual_studio
If that answers your question, please close the issue.

Hi,
I was looking at this post and i am planning to do the same thing (using cmake to build without ros and integrate it to another code) using the template that was given by you. I am facing the problem of my executable file not being able to detect #include <serial/serial.h>
fatal error serial/serial.h no such file or directory #include serial/serial.h
or when i change the directory name
fatal error: serial/v8stdint.h: No such file or directory
Wondering is it because i didn't add
"target_include_directories(my_program ???)"


Add version compatibility

Only download mods that are up-to-date with the selected version to prevent crashes

added in v0.1.0-beta


Cypress/E2E: Fix flaky test on MM-T1776

Summary
Use cy.uiSaveConfig for it has guaranteed saving wait mechanism before doing verification.

Ticket Link
failed on release test
Release Note
NONE

Replacing FM since he's OOO.


Add @types/react-select to allowPackageJsonDependencies

Required for https://github.com/DefinitelyTyped/DefinitelyTyped/pull/55978.

For reference:
Methuselah96 is a maintainer and react-select v5 is written in TS.

Sorry for the delay!


[Feature Request] Read Health Record

I have a smart blood pressure monitor that can upload results to Health Connect, however, using the Health Connect Toolbox > Read Aggregate Data > BloodPressure function results in "Unsupported aggregation type BloodPressure_diastolic_avg"
But if I use the Read Health Record > BloodPressure function, I can get the values.
Would it be possible to add a "Read Health Record" option to this Tasker Plugin?
Thank you!

Hey there, sure I'll have a look into adding single health record fetching when I have some time

Hey @eliasacab question about your use-case, which of these options seems most convenient

Input a startTime and endTime (as a unix timestamp / epoch milliseconds, such as Tasker's %TIMEMS)
Input a startTime only, so it's assumed that the endTime will always be "now"
Input a daysBack number, so it will fetch all records from midnight at "daysBack" days ago, until now

Yeah, number 2 makes sense, that should be able to pull the latest value(s), which is what I was hoping to do. Thanks!

Added in release 0.0.3, let me know how it works 😄

Hmm I'm getting an error when using BloodPressureRecord. I do get data when using the Toolbox app.

Oops, seemed ok when I was debugging, will take a look

app-release.zip
Ah might be something with obfuscation in the release version and I was using the debug version, can you try this APK?

It works with that apk! Thanks so much!

Great!


GetRequirements API call does not return version in case of maven

As per the documentation https://docs.deps.dev/api/v3alpha/#getrequirements , this API should return
maven.dependencies[].version: string
The version requirement of the dependency.

When calling https://api.deps.dev/v3alpha/systems/maven/packages/org.apache.httpcomponents.client5:httpclient5/versions/5.3.1:requirements , version is always empty:
{
    "maven": {
    "parent": {
    "system": "MAVEN",
    "name": "org.apache.httpcomponents.client5:httpclient5-parent",
    "version": "5.3.1"
    },
    "dependencies": [
        {
            "name": "org.apache.httpcomponents.core5:httpcore5",
            "version": "",
            "classifier": "",
            "type": "",
            "scope": "",
            "optional": "false",
            "exclusions": []
        },
        {
            "name": "org.apache.httpcomponents.core5:httpcore5-h2",
            "version": "",
            "classifier": "",
            "type": "",
            "scope": "",
            "optional": "false",
            "exclusions": []
        }, ...

Hello, thanks for getting touch!
This is potentially a confusing situation, but in this case I believe it is working as intended. For Maven the GetRequirements API returns exactly what is in the POM file for the particular version. As you're probably aware, Maven itself does quite a bit of work to determine the actual set of requirements by recursively merging parent POMs, interpolating variables and so on.
In this particular case:

the POM for httpclient5 does not have version strings for any of the dependencies
the parent, httpclient5-parent has a dependencyManagement section that provides some of the httpclient dependencies with explicit versions, specified via the properties section
the API response from https://api.deps.dev/v3alpha/systems/maven/packages/org.apache.httpcomponents.client5:httpclient5-parent/versions/5.3.1:requirements matches this as far as I can tell

We're currently working on publishing some helper code in this repo for merging POMs and performing the variable interpolation which should be available soon, I'll update here once that's done.
Finally, there is a fair question about whether our API responses should contain empty strings when the value is entirely absent from the POM (the alternative would be omitting the key from the JSON), so I would be interested to hear any opinions about that.

Oh, now I understand, thanks for the detailed answer.

Finally, there is a fair question about whether our API responses should contain empty strings when the value is entirely absent from the POM (the alternative would be omitting the key from the JSON), so I would be interested to hear any opinions about that.

Hmm, good question, I think I'd prefer an empty string over an absent key. But elsewhere, folks seem to have a different opinion.


Mark fields of user_options as optional

Checklist

[X] Have you tried updating the plugin to the latest version?
[X] Have you checked the Breaking Changes issue?
[X] Have you read through :h nvim-surround to see if there might be any relevant information there?

Neovim Version
0.9.5
Plugin Version
Tagged (Stable)
Minimal Configuration
N/A
Sample Buffer
N/A
Keystroke Sequence
N/A
Expected behavior
Providing just the surrounds field to buffer_setup should type check.
Actual behavior
Providing just the surrounds field to buffer_setup triggers a warning diagnostic from LuaLS.

Additional context
The user_options annotations is at https://github.com/kylechui/nvim-surround/blob/84a26afce16cffa7e3322cfa80a42cddf60616eb/lua/nvim-surround/annotations.lua#L56. Could you either mark fields as optional (with a question mark) or change the type annotation of buffer_setup?

Seems related to #305 ?

Indeed, it’s a duplicate.

Do you mind checking out the PR and seeing if the question marks are in the right place?

I checked it. Looks good.


Live Server doesn't work

Current behavior
Hi, I have promblem with live server extension. I don't have an icon 'Go Live' downstairs and when I click on file rigth button choosing Open with Live Server - nothing happens.
Browser:
Firefox version 85.0.1
For Tooling issues:

Live Server: v5.6.1
Platform:   Windows_NT x64 10.0.18363
Visual Studio Code: 1.52.1

In VSC next to the Live Server icon, there was info that I have installed extension but it wasn't(?). That helped me: when I opened VSCode and type ctrl+P, type ext install ritwickdey.liveserver. 'Go Live' button appeared and everything is working now.


Set streaming log level

Set streaming log level.

lgtm, barring run name that has streaming logs

DMed manual test


New maintainer needed

I started using Emacs, so I'm not interested in maintaining or using this project anymore.
So I'm willing to transfer giving maintainership to anybody willing.
Mikhail Elhimov actually volunteered, but he has not done any work what so ever.
So please write on this thread, if you are interested in maintaining this project.

That's unfortunate.
I am no Python programmer, and my project list is already too long for my limited spare time.
So I will fork it, but won't be able to take official maintainership, sorry. (At least at the moment)

If you could at least merge PRs, that would be great!


Converting to use BLOCKs results in bazel looking for Liberty file in wrong location

In https://github.com/The-OpenROAD-Project/megaboom/pull/91, I've done the following:

Updated orfs to v3.0-1160
Updated BUILD.bazel to extract the RAM names and pass them to ORFS using the BLOCKS variable

It looks like the RAM names are passed correctly, since I see:
[INFO][FLOW] Invoked hierarchical flow.
Block ebtb_128x40 needs to be hardened.
Block array_256x128 needs to be hardened.
Block dataArrayB_256x64 needs to be hardened.
Block regfile_128x64 needs to be hardened.
Block regfile_128x65 needs to be hardened.
Block tag_array_64x184 needs to be hardened.
Block tag_array_64x168 needs to be hardened.
Block table_256x48 needs to be hardened.
Block table_128x52 needs to be hardened.
Block table_128x44 needs to be hardened.
Block btb_128x56 needs to be hardened.
Block meta_128x120 needs to be hardened.
Block lb_32x128 needs to be hardened.
Block sdq_17x64 needs to be hardened.
Block data_2048x8 needs to be hardened.
Block mem_256x4 needs to be hardened.
Block meta_40x240 needs to be hardened.

But, the bazel build BoomTile_floorplan fails with:

Error: read_liberty.tcl, 25 cannot read file ./results/asap7/BoomTile_ebtb_128x40/base/ebtb_128x40.lib.

The correct lib location is

bazel-bin/results/asap7/ebtb_128x40/base/ebtb_128x40.lib

I also see lots of warnings before we get to the failure point like:

external/bazel-orfs~~orfs_repositories~docker_orfs/OpenROAD-flow-scripts/flow/Makefile:379: target 'bazel-out/k8-fastbuild/bin//objects/asap7/BoomTile/base/lib/ebtb_128x40.lib' given more than once in the same rule

But, I'm not sure if that's getting in the way, so sharing this info in case @oharboe has an intuition on the issue.
@maliberty FYI.

See update to PR, "BLOCKS" is a Makefile only construct in ORFS, bazel-orfs sets MACROS, so simply remove the code that sets "BLOCKS".
What motivated you to set "BLOCKS"?


Example 1 modification

Example 1 shows use of the -SiteSystemServerName parameter, which is not a valid parameter for this commandlet. Recommend removing from the example.

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

ID: e978a3de-aab2-033e-df51-2c1733adba61
Version Independent ID: 116cf063-4163-e1c2-e78c-e56ef8528711
Content: Set-CMAssetIntelligenceSynchronizationPoint (ConfigurationManager)
Content Source: sccm-ps/ConfigurationManager/Set-CMAssetIntelligenceSynchronizationPoint.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @NEllis280 for the feedback. The example was a bit of a mess in general. I replaced it with a more practical example. The change will go live soon with the 2006 content release.

No worries. I came across it while writing the DSC resource for this
commandlet and figured I would give you a heads up!
On Fri, Jul 31, 2020, 17:11 Aaron Czechowski<EMAIL_ADDRESS>wrote:

Thanks @NEllis280 https://github.com/NEllis280 for the feedback. The
example was a bit of a mess in general. I replaced it with a more practical
example. The change will go live soon with the 2006 content release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/issues/164#issuecomment-667358323,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANQIUAZP7VDL5W5Q3V3UXNTR6MXO3ANCNFSM4M77LTMA
.


testing org level secret

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Only use service clients from narrative-utils

There's a few that are hacked together in this repo that shouldn't be.

Can't completely do this right now, at least not for the dynamic service clients. Those use a configuration in narrative-utils to hit the service wizard, which is hard-coded to CI.
The other service clients should be doable, though.


csrss

like if in csrss show a string like /??/ that means the users delete the archive? and csrss cant found it?¿????¿?¿?¿?

csrss cant found it?

Yep 😜


Static files localization in RCL

RCL with static files with "localizable" names (like messages.en.js) throws 500 error.
What happens: in RCL static files are included as embedded resources. And compiler includes localized files in separate dlls. And when you try to get them, you get an error:
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/2.0 GET http://localhost/Test/js/messages.en.js
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
      An unhandled exception has occurred while executing the request.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Extensions.FileProviders.Embedded.Manifest.ManifestFileInfo.EnsureLength()
   at Microsoft.Extensions.FileProviders.Embedded.Manifest.ManifestFileInfo.get_Length()
   at Microsoft.AspNetCore.StaticFiles.StaticFileContext.LookupFileInfo()
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Sample project with tests: https://github.com/meancrazy/LocalizationInRCL/

cc @javiercn

Ah, RCL = Razor Class Libraries?

Just to clarify, did you want to serve the file in the RCL using the StaticFiles middleware? Or you got this error by accident?

So the sample project (https://github.com/meancrazy/LocalizationInRCL/) has two tests. First with test.js passed and second with messages.en.js fails

@meancrazy You can exclude those with
<ItemGroup>
  <EmbeddedResource Update="*.js" ExcludeFromManifest="true" />
<ItemGroup>

@meancrazy Thanks for contacting us.
There are two issues happening here. One is in your sample, you have to setup the culture for the request.
The other one is in the manifest embedded file provider. We don't do anything special to support localization scenarios. What we could do is:
Call Assembly.GetManifestResourceStream and if that returns null, call Assembly.GetSatelliteAssembly(CultureInfo.CurrentCulture) and then call GetManifestResourceStream on the result.
For that to work, the current culture needs to be setup appropriately.

@javiercn as for me – do not localize (in dlls) any static files 😄js libs should do it as yourself

For example: in devextreme<EMAIL_ADDRESS>localization will be changed on the fly by calling
DevExpress.localization.locale("ru");

We could actually do what I described above but with the culture coming from the manifest, that way we are not bound by having to setup the culture in the context appropriately.

I'm experiencing the same issue.
If I rename my file to dx.messages_fr.js the problem goes away and the file is successfully returned.

The recommendation here is to use the static web assets feature that shipped in 3.0. Closing this issue as there's no more action.


Remove "debug" operator docs for now

What's Changing
The user-facing debug operator docs are being hidden for now.
Why
We're planning to put out a new set of GA releases soon. The debug operator currently feels a little hazardous to expose because of open issue #5230 and lack of support for its output in Zui. Current consensus is to just hide the docs for now on the assumption we'll wrap up those loose ends and reveal it in another release in the near future.

@philrz: I changed the title since this removes rather than hides the debug docs.


iterator1

Now the exercise (hopefully) makes sense ;-)

Thank you so much!!! This is awesome!! I've merged it in, and I did make a few changes-- hope that's ok. Namely:

I decided not to have solutions in the tree right now; I need to figure out a more general way to handle that. It was super useful for me though!!
The assertions work really great as tests, actually! So I changed from the main function to just having tests.
I simplified a few of the side points-- I think they deserve their own exercises :)

And yeah, I agree this is more complex than others that are the first ones in their section-- so I decided to name this one iterator3 to leave space for a few exercises to build up to this one.
Thank you so much!!! :heart: :heart: :heart: