[v3] Errors occured while trying to save

Trying to upload a rather large changeset with v3 (version ef3ccca in the status bar, whatever that means), I got an "Errors occured while trying to save", with no hint what went wrong. Now, I'm not sure if I hit some API limit (I've split a highway and disturbed a few large route relations) or if I discovered a bug in iD. Here's an osmChange file I downloaded:
changes.osc.xml.zip

API limit would be a maximum of 10'000 changes per changeset. I think your changeset is smaller than that.

When I undid the operations multiple times, iD started validating against conflicts, which took quite a while (so it might be related with #3155 - Conflict resolution at save time is slow). I managed to save about half of the changeset after I exited and re-entered iD and restored the changes (redo is not available after unsuccessful saving so those are lost for good).
Still, I would be interested how I can debug the issue when it happens on an API level as here. Further, is there a tool other than JOSM (that I don't fancy exploring) that I can feed the osmChange file and try to upload it?

Well, simply trying to upload will not work here because of the conflicts, in which case the api will reject this file. You need some tool to do the conflict resolution, like josm.

By now, I salvaged what I could from the original changeset, and recreated the rest manually. Oh well, half an hour of work or so lost, my insurance will reimburse. :)
I'm not sure what caused the original problem: it was not #3155 in its pure form, when I tried to save I received "Errors occurred" immediately.
Anyway, I realize this is a messy report, since it's hard to reconstruct what went wrong. If devs want to investigate whether iD  generated a bad changeset, it's attached; otherwise, I don't mind if this issue is closed.


await session.save() fails to set cookie if cookies.set() is used after

I tested this in middleware and any invocation of response.cookies.set() on a NextResponse after saving the session with await session.save() will not set the new session as a cookie.

Same here, cookie won't update on session.save() if another cookie has been set using document.setCookie()

I can confirm this issue. We are chaining middleware functions together.
Simplified examples:
function setCookieMiddleware(req, res, ctx) {
  res.cookies.set('foo', 'bar', { httpOnly: false })
  return res
}

async function saveSessionMiddleware(req, res, ctx) {
  ctx.session.foo = 'bar'
  await ctx.session.save()

  return response
}

// DOES NOT WORK: session cookie is not set in response headers, only foo cookie is present
const middlewares = [
  saveSessionMiddleware,
  setCookieMiddleware,
]

// DOES WORK: both session cookie and foo cookie Set Cookie header present in response headers
const middlewares = [
  setCookieMiddleware,
  saveSessionMiddleware,
]

Hey there, can someone create a very minimal example that I can run? It would be the best way to solve this issue, thanks!

@vvo, I don't have an example, but I encountered a somewhat similar issue recently. In fact, if you update the session in the middleware and try to read it in a server component, it's not in sync and you have to refresh the page again for it to work. However, I solved it by doing this:
import { parseSetCookie } from 'next/dist/compiled/@edge-runtime/cookies'

const options = {
  cookieName: '_mySessionCookie',
}

await session.save()

// `parseSetCookie` only reads the first cookie so probably not 100% safe to use
const { name, value } = parseSetCookie(response.headers.get('set-cookie')) ?? {}

if (name === options.cookieName) {
  response.cookies.set(name, value)
}

return response

Now when updating the session in middleware, it's reflected in the server components as well. This might be Next.js doing some magic behind the scenes (looks like it) when response.cookies.set(…) is called because it doesn't feel like they're taking the set-cookie header into account fully. Even though it's a Next.js bug, this feels like something that we should handle in this module.

I've try that on a codebase affected by this bug, and it does not works.
At the moment, I am trying this patch which is a really ugly approach.
      await session.save();

      // Until the bug below is not solved, we redirect to the same url
      /// to ensure the session is saved before continue. (session is log)
      // https://github.com/vvo/iron-session/issues/684#issuecomment-2208886058
      // Perform a 307 redirect to the same URL
      const url = req.nextUrl.clone();
      return NextResponse.redirect(url, 307);

@kevva it looks like you found the root cause, do you think there's a way to fix this in iron-session? If so send a PR, thanks a lot 🙏

@vvo, will submit a PR tomorrow.

I'm getting this issue as well. @kevva I'll be on the lookout for your PR.

The suggested solution from @kevva did not seem to work for us. The session cookie was still not set on the first load within the server component using cookies() from 'next/headers'.
However, we managed to read the session cookie on the first load by looking at the set-cookie header in the server component:
import { getIronSession, unsealData } from 'iron-session'
import { cookies, headers } from 'next/headers'

const sessionOptions = {
  cookieName: '_mySessionCookie',
}

async function getSession() {
  const sessionSetCookie = parseCookieHeader(headers().get('set-cookie'), sessionOptions.cookieName)

  if (!sessionSetCookie) return getIronSession<Session>(cookies(), sessionOptions)

  return unsealData<Session>(sessionSetCookie, sessionOptions)
}

Our custom parser which finds the last cookie in the set-cookie header with the latest (session) changes.
function parseCookieHeader(header: string | null, key: string) {
  const cookieHeader = header
    ?.split(',')
    .findLast(c => c.includes(key))
    ?.split(';')[0]
    .split('=')[1]

  return cookieHeader ? decodeURIComponent(cookieHeader) : null
}

Here's how supabase are doing some cookie setting voodoo in the suggested middleware function for supabase auth, take note on the cookie setting, that's probably to handle this exact problem being discussed here above
middleware.ts:
import { type NextRequest } from 'next/server'
import { updateSession } from '@/utils/supabase/middleware'

export async function middleware(request: NextRequest) {
  return await updateSession(request)
}

export const config = {
  matcher: [
    /*
     * Match all request paths except for the ones starting with:
     * - _next/static (static files)
     * - _next/image (image optimization files)
     * - favicon.ico (favicon file)
     * Feel free to modify this pattern to include more paths.
     */
    '/((?!_next/static|_next/image|favicon.ico|.*\\.(?:svg|png|jpg|jpeg|gif|webp)$).*)',
  ],
}

supabase/middleware:
import { createServerClient } from '@supabase/ssr'
import { NextResponse, type NextRequest } from 'next/server'

export async function updateSession(request: NextRequest) {
  let supabaseResponse = NextResponse.next({
    request,
  })

  const supabase = createServerClient(
    process.env.NEXT_PUBLIC_SUPABASE_URL!,
    process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
    {
      cookies: {
        getAll() {
          return request.cookies.getAll()
        },
        setAll(cookiesToSet) {
          cookiesToSet.forEach(({ name, value, options }) => request.cookies.set(name, value))
          supabaseResponse = NextResponse.next({
            request,
          })
          cookiesToSet.forEach(({ name, value, options }) =>
            supabaseResponse.cookies.set(name, value, options)
          )
        },
      },
    }
  )

  // IMPORTANT: Avoid writing any logic between createServerClient and
  // supabase.auth.getUser(). A simple mistake could make it very hard to debug
  // issues with users being randomly logged out.

  const {
    data: { user },
  } = await supabase.auth.getUser()

  if (
    !user &&
    !request.nextUrl.pathname.startsWith('/login') &&
    !request.nextUrl.pathname.startsWith('/auth')
  ) {
    // no user, potentially respond by redirecting the user to the login page
    const url = request.nextUrl.clone()
    url.pathname = '/login'
    return NextResponse.redirect(url)
  }

  // IMPORTANT: You *must* return the supabaseResponse object as it is. If you're
  // creating a new response object with NextResponse.next() make sure to:
  // 1. Pass the request in it, like so:
  //    const myNewResponse = NextResponse.next({ request })
  // 2. Copy over the cookies, like so:
  //    myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())
  // 3. Change the myNewResponse object to fit your needs, but avoid changing
  //    the cookies!
  // 4. Finally:
  //    return myNewResponse
  // If this is not done, you may be causing the browser and server to go out
  // of sync and terminate the user's session prematurely!

  return supabaseResponse
}

Having the same issue.
await session.save() seems to do nothing.
I can access the session object and show the content inside by console.log, but it just fails to set it in cookie. And also Set-Cookie is not in the headers.

Having the same issue. await session.save() seems to do nothing. I can access the session object and show the content inside by console.log, but it just fails to set it in cookie. And also Set-Cookie is not in the headers.

same here


Offline Installer?

Hi,
We work entirely internally, using private package servers, and not having access from our servers to access the public NuGet servers.
This is making it pretty-much impossible to build NuKeeper, or to install it.
Is there any chance of a packaged-up version of the application being made available?

Can you download the nupkg file, then run dotnet tool install --global --add-source <NUPKG DIRECTORY> dotnet-outdated-tool?


initial Graphprot branch integration

contains:

graphprot model driver scripts
graphprot input prep scripts
additional tests
improved trapezoidal reweighting

Coooool, will review today!

All done, thanks a lot for the review!

Awesome! This looks great.
I have added https://github.com/fabriziocosta/EDeN/issues/58 to track the random-seed issue.


Binding input value to a property of nullable

Consider the following view:

      ${item.name}

      unselect

value.one-way

  <input type="text" value.one-way="selectedItem.name" />

With one-way binding this works as expected: if we click "unselect" setting selectedItem to null, selection div is hidden. However if we uncomment the "selection2" part with two-way value.bind, upon unselecting neither of two "selection" divs disappears. No errors thrown in the console.
Demo: http://plnkr.co/edit/vbiYJmRjGL4K9r8r3ctG?p=preview

Tracked this down, I don't know if this is a bug or an unsupported scenario.
First I set a breakpoint in the if behavior.  When "unselect" is clicked, the divs are removed as expected.  Immediately afterwards, the breakpoint is hit again and the value is { name: '' }.  In other words, after setting selectedItem to null it somehow became { name: '' }.  The call stack didn't show why due to the micro-task queuing so I changed your selectedItem property to a getter/setter style property:
  _selectedItem = null;
  get selectedItem() {
    return this._selectedItem;
  }
  set selectedItem(newValue) {
    this._selectedItem = newValue;
  }

After setting a breakpoint in the property setter I could see the empty object was coming from here:
https://github.com/aurelia/binding/blob/master/src/ast.js#L241
AccessMember is creating an object on the fly in situations where the binding expression is attempting to assign a property of a null/undefined object value.
Another part of the problem is the value binding:  value.bind="selectedItem.name".  This is a PathExpression and when selectedItem is assigned null, the entire expression evaluates to null which then gets assigned to the input's value property which only accepts strings, so the value becomes empty string ("").
cc @EisenbergEffect

Thank you. It could be by design - this behaviour might be useful. It still doesn't seem intuitive to me - i'd expect binding to not change selectedItem in any case, and either throw an error or silently do nothing as in the case of one-way - it ignores the member access of null-valued selectedItem.

Well, I understand the mechanism of the bindings and what is happing but I can't agree that this should be the default behavior.


Git log with graph of branches

GitLens is becoming my favorite Git GUI client, probably the only major feature that I still go to other clients is a visual log of the repository, incl. a graph of all branches.
GitKraken has a great branch visualization, IMO (image from their docs):

For VSCode, Git History extension but I generally prefer your approach of either using the quick pick UI or the sidebar. Having a tree graph in the sidebar would be greatly useful.
For reference, this Stack Overflow question lists a lot of graphical examples, incl. CLI (git log --graph).

Unfortunately vscode won't allow anything but a tree in the sidebar currently, so any implementation would need to be in a editor tab (like Git History). While I would love to see this feature land, I don't envision getting to something like this anytime soon, but I would LOVE a PR 😉

@borekb The screen capture you show is what I've been searching for in a VS Code extension for a while.

Could this just be a live preview for now? This would work, allow the useful graph to be rendered, and when the support is added to VSCode (see here: https://github.com/Microsoft/vscode/issues/68266), could most likely easily be moved from a preview to the sidebar. Thoughts?
https://marketplace.visualstudio.com/items?itemName=hdg.live-html-previewer

Also, I currently have zero time, but when my time does free up I would love to help with this feature. I will watch it closely to monitor progress and status, and input where I can be helpful

It looks as if a graphical sidebar is possible ?

Git Graph is another example of graphical visualization of branches and history (IMHO even better than Git History).
From what I see, it's a pretty new project, but I fin this extension easier and faster than other solutions.

Git Graph is another example of graphical visualization of branches and history (IMHO even better than Git History).
From what I see, it's a pretty new project, but I fin this extension easier and faster than other solutions.

Thanx for the tip! Looks very good

Would be perfect if we could just merge git graph and git lens.

Is anyone working on something like this? I'd like to help contribute to creating a feature like this

@zaboyle I'm not aware of anyone working on this. I'm working on a feature somewhat related (but different) -- a new Timeline view. You can see the code in the feature/timeline branch
@yunti if git graph or another extension does this well (I'm assuming) -- without GitLens duplicating that functionality is there a set of things to make the integration between the 2 better?

After a few months experience with Git Graph, I have to say that it works well and I use it besides GitLens, for different kinds of use cases.
Just to reiterate from the original feature request, I was wondering whether a graph-like UI could be integrated into GitLens' sidebar – instead of seeing a flat list, there would be "rails". But I'm not sure if that's possible or easy enough to implement. If not, that's fine, we now have Git Graph.

It looks like webviews work in VS Code now (https://github.com/microsoft/vscode-extension-samples/tree/master/webview-view-sample)? Any update on adding a history graph to GitLens?

This isn't something that I will likely add myself, but if the community wants to champion it and provide a PR (after discussing) I'm certainly open to it -- of course, depending on the complexity and scope of the changes required.

I know you said you wouldn't work on this, but I hope someone at least works on this feature. I really want this in my VS Code without having to install Git Graph. For now, I have git graph installed. The reason I want this to be in the GitLens extension is because I like having the number of extensions installed at a minimum (meaning below or equal to 20). Right now, I have twenty-one installed and so if Git Graph gets merged into GitLens I can reduce it to twenty.

@whippingdot Any specific reason why you want to keep your number of extensions to a minimum?
If the total code loaded is the same, then it doesn’t matter if it’s split between two extensions or is contained in a single one? So from a user perspective it shouldn’t really matter?

Really if I think about it, I realize it is because I don't want my computer filled with extensions from VS Code. The more extensions I download, the more space VS Code takes on my computer, right?

The more features are there in the existing extensions the more space they take up too. But the extensions size is negligible as long as you have a node_modules somewhere on your disk.

What Git Graph and in general visual graphs help me with is that I can easily see where a feature branch diverges from master or how behind/ahead is it from master and/or other branches. I am a visual type of person.
Git Lens is huge, maybe I am missing this visual feedback feature, please correct me if something like this already exists.

@eamodio do you know if there are any timelines on this feature?
From what I can see it's going to be a GitLens Plus paid feature.
Had to switch from GitKraken to GitLens for my current project, because GitKraken was way too slow (40 mil lines of code...).
And visual git graph is something I really miss, have to use another VS Code extension for it now.

@vadviktor

Git Lens is huge, maybe I am missing this visual feedback feature, please correct me if something like this already exists.
This one is good enough:
https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph

Using it with GitLens, however, would be great to switch to a graph that is integrated into GitLens (e.g. clicking on commit in the commit list would navigate the graph).

Released with v13.0.0


Support the latest version of typescript

Resolves #1

Thank you so much! The outdated TypeScript dependency has been bugging me for a long time, but there was no time to fix it. You just made my day.

New version 0.2.0 of both this package and docts are now on NPM.

Happy to help, and thanks for releasing it so fast!


Create Remove_easily_Remote_branch_from_local

How to Remove a Specific Remote Branch Locally
git push origin --delete <specify-the-branch-name>

To delete a remote branch, we use:

git push origin
(--delete) to specify the action
last parameter is the name of the branch.

I use this one line command a lot !!

Thanks sir, deployed here: https://onelinerhub.com/git/remove_easily_remote_branch_from_local


End modal final button should take up full width if it's alone

When there's a lone button at the bottom of the end modal, it should take up the full width instead of crowding the side.

@soniakandah what is the feedback here?

@kiki-lee  is this still an issue? I don't think I've seen this many buttons at the end of any skill map

It is. We do buttons at the end of all skillmaps (with the trophy).  Hopefully, your redesign will handle it, but until we get a chance to implement that, it's weird to have a right-justified half-button when the others are full-width.


Restyle table

I took the liberty to restyle the tables a little bit in this PR.
My initial intention was to make the full and daily report tables consistent (as the former clears it's styling in it's initialization).

Remove unnecessary separator ':' in the left-hand column.
Merge the first two columns in the full report table, as they are not used as such.
Use parenthesis to visually separate the default end-date.
Similarly separate a note's timestamp from it's text. (This can also be done by making the table 3 columns wide and using { colSpan: 2 } attribute on the non-note data and the second column as the note timestamp/third column as note text. But I think this is sufficiant and looks nice.)
Remove the table-style clearing in it's initialization.

This is an unsolicited PR, so you can decide, whether and if so, what to merge of this PR. I was just irritated by the unconsistendly styled tables. :sweat_smile:

No I like the changes, let's merge :)


Made doc links use https

The chronos docs look strange on http because of a lack of js on one of the cdns. This fixes that.
Also https is good.

Thanks a lot!


Dataframe.rank()

add rank parameter for koalas.

Nice. is it possible to fix Series.rank and use it instead in DataFrame.rank? maybe by iterating each column?

            if method == 'first':
                window = Window.orderBy(index_columns + [column_name],
                                        ascending=[ascending, ascending])\
                    .rowsBetween(Window.unboundedPreceding, Window.currentRow)
                sdf = sdf.withColumn(column_name, F.row_number().over(window))
            elif method == 'dense_rank':
                window = Window.orderBy(column_name, ascending=ascending)\
                    .rowsBetween(Window.unboundedPreceding, Window.currentRow)
                sdf = sdf.withColumn(column_name, F.dense_rank().over(window))
            else:
>               window = Window.orderBy(column_name, ascending=ascending)\
                    .rowsBetween(Window.unboundedPreceding, Window.currentRow)
E               TypeError: orderBy() got an unexpected keyword argument 'ascending'

databricks/koalas/frame.py:5070: TypeError
=============================================

Can you help me fix the problem?

@HyukjinKwon  Can you help me add how to implement ascending parameter in window function?

https://issues.apache.org/jira/browse/SPARK-18818

@RainFung, we don't neccesrailly need ascending in orderBy. You can Window.orderBy(F.col(column).desc()) or Window.orderBy(self[column].asc()).

Codecov Report

Merging #530 into master will decrease coverage by 3.1%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##           master     #530      +/-   ##
==========================================
- Coverage   93.85%   90.75%   -3.11%
==========================================
  Files          31       31
  Lines        4263     4314      +51
==========================================
- Hits         4001     3915      -86
- Misses        262      399     +137

Impacted Files
Coverage Δ

databricks/koalas/missing/frame.py
100% <ø> (ø)
:arrow_up:

databricks/koalas/frame.py
91.61% <84.61%> (-2.71%)
:arrow_down:

databricks/koalas/usage_logging/__init__.py
23.14% <0%> (-74.08%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
76.31% <0%> (-7.9%)
:arrow_down:

databricks/conftest.py
90.69% <0%> (-6.98%)
:arrow_down:

databricks/koalas/utils.py
97.29% <0%> (-2.71%)
:arrow_down:

databricks/koalas/namespace.py
88.23% <0%> (-1.69%)
:arrow_down:

databricks/koalas/testing/utils.py
76.72% <0%> (-0.63%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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

@ueshin
Can u cc this build errored ? Thanks.
The command "sudo apt-get update" failed and exited with 100 during .

Tests were fixed. @RainFung, can you resolve the conflcits? Let me review quickly.

Is it necessary to modify the some spark origin code directly in order to support koalas better ?

Hey, https://github.com/databricks/koalas/pull/530#discussion_r301013063 isn't resolved yet ...
We can fix Spark if it's a bug or it makes sense within Spark; otherwise, we shouldn't. I don't know how to handle those cases yet. So let's don't fix such cases for now. We can avoid to support such cases here and then revisit later.

OK. I'll modify series.rank code today. I hope you can code review it tomorrow.

Can't pass test_series.py? Can you help me check it ?I think left is same as right
Failure
Traceback (most recent call last):
  File "/Users/fengyurun1/anaconda3/envs/koalas-dev-env/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/Users/fengyurun1/anaconda3/envs/koalas-dev-env/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/Users/fengyurun1/Desktop/koalas/databricks/koalas/tests/test_series.py", line 462, in test_rank
    self.assert_eq(pser.rank(na_option='keep'), kser.rank(na_option='keep').sort_index())
  File "/Users/fengyurun1/Desktop/koalas/databricks/koalas/testing/utils.py", line 246, in assert_eq
    self.assertPandasEqual(lpdf, rpdf)
  File "/Users/fengyurun1/Desktop/koalas/databricks/koalas/testing/utils.py", line 181, in assertPandasEqual
    self.assertTrue((left == right).all(), msg=msg)
  File "/Users/fengyurun1/anaconda3/envs/koalas-dev-env/lib/python3.6/unittest/case.py", line 682, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true : Series are not equal:

Left:
0    1.5
1    NaN
2    3.0
3    4.0
4    1.5
Name: x, dtype: float64
float64

Right:
0    1.5
1    NaN
2    3.0
3    4.0
4    1.5
Name: x, dtype: float64
float64

Ran 1 test in 9.317s

FAILED (failures=1)
sys:1: ResourceWarning: unclosed file <_io.BufferedWriter name=5>

In that case, you can do:
self.assertEqual(repr(pser.rank(na_option='keep')), repr(kser.rank(na_option='keep').sort_index()))

Create new PR which update series.rank()
https://github.com/databricks/koalas/pull/546

Let's track it there


Allow skipping yarn install

Add ENV of SHAKAPACKER_YARN_INSTALL == false to skip the yarn install when precompiling.
Relates to https://github.com/shakacode/shakapacker/issues/125#issuecomment-1379992982

@ahangarha @Judahmeek please add a test, readme doc, changelog and merge, and I'll release.

With https://github.com/shakacode/shakapacker/pull/238, this PR should be closed.


Update figure and fix minor typos

Hi @gbouras13! I did some minor placing adjustments in the figure and fixed some minor typos in the paper.
Great work on the tool and paper! :)

Thanks @Vini2 !


[BUG] Non-square icons are stretched out

:information_source: Info

**Version: 3.1.0
:speech_balloon: Description
My app icon looks like this:

It is a 256x256 png image. When the MSIX file is built, the resulting icon is stretched out to fill out the space available, thus modifying the aspect ratio of the icon. See below.

Hi, thanks a lot for the ultrafast fix. I just tested it and it solved the problem!


fix for repo changing

This changes the repo in the aci deploy file to point to the new repo

I have also added a fix for issue #18


Benchmark TEMML against wikitexvc

It would be interesting to benchmark TEMML against wikitexvc.
It was almost ten years ago that I developed an evaluation framework https://github.com/MaRDI4NFDI/mathpipe, and I'm a bit afraid of the effort it might be to update that.
Maybe one can cooperate on extending https://temml.org/docs/en/comparison instead?

It sounds interesting, but there are limits on how much effort I will be willing to contribute. I would, for instance, be willing to write up something that would automate what is currently shown in https://temml.org/docs/en/comparison. I might even be willing to extend that automation with examples from https://temml.org/tests/wiki-tests and https://temml.org/tests/mhchem-tests.
That's about as far I am willing to go. Comparisons to LaTeXML or WikiTexVC would be useful but someone else would have to do it.

@ronkok one of the low hanging tasks would be to name the test cases and make the result computer readable.
For us
https://gitlab.wikimedia.org/repos/mediawiki/services/mathoid/-/blob/main/test/files/mathjax-texvc/mathjax-texvc.json?ref_type=heads
and
https://github.com/wikimedia/mediawiki-extensions-Math/blob/master/tests/phpunit/unit/WikiTexVC/ParserTest-Ref.json
as well as hash based identifiers were a starting point. However, we have not settled on a particular test case naming convention. However, this might be really helpful to keep an overview of how the different solutions compare. Do you have a naming convention for the test cases you linked above?

Do you have a naming convention for the test cases you linked above?

No, I wrote the Temml comparisons page to provide people with a way to visually compare various libraries. That page was not meant to serve as a formal set of unit tests. Temml's unit tests are elsewhere.
If we want to do library comparisons more formally, then, yes, I agree with you that a good first step would be to name the tests and perhaps rewrite them in a manner similar to unit tests.
I will caution that the criteria for acceptance will get ambiguous. Temml tries to provide good rendering for all three of the major browser engines and all math fonts. To do that, Temml often applies a class that a CSS rule can select and apply the style corrections needed to overcome one browser's shortcomings or one font's shortcomings. Other libraries will likely have no such class name, and I don't know if that should be considered a failure.
Also, the change in MathML core from attributes to CSS styles has made the MathML more verbose. In particular, Temml's matrices and arrays have a good deal of CSS applied in an effort to match LaTeX spacing and margins. Other libraries will likely output a similar set of elements but will style them differently. Does that constitute a failure? Do we need a sliding scale of criteria?

I will caution that the criteria for acceptance will get ambiguous. Temml tries to provide good rendering for all three of the major browser engines and all math fonts. To do that, Temml often applies a class that a CSS rule can select and apply the style corrections needed to overcome one browser's shortcomings or one font's shortcomings. Other libraries will likely have no such class name, and I don't know if that should be considered a failure.

I don't see the main value in passing or failing tests, but rather to understand what possibilities exist to convert TeX to MathML. For us as developers when looking at bugs, I think it can be very helpful to see how other implemented that.

I'm still trying to understand just what you are looking for. If no acceptance criteria are contemplated, then it seems that you are requesting the MathML of the comparison page to be labeled and written into JSON instead of being written into HTML.
That is certainly doable. Am I beginning to understand you?

Yes.

That's about as far I am willing to go. Comparisons to LaTeXML or WikiTexVC would be useful but someone else would have to do it.

To do that, JSON would be helpful.
In addition, naming the samples would be helpful for discussions and comparison. For example
https://github.com/wikimedia/mediawiki-extensions-Math/blob/8d522c40227dd01a10dfe3d0dab8c882b130004d/tests/phpunit/unit/TexVC/ParserTest-Ref.json#L99
is the same example as https://temml.org/tests/wiki-tests test 9. I don't have a solution, but I think it would be good to discuss this problem. However, I understand that this was unclear and confusing. So maybe this can be put off to another issue.


Added image URL to snippet data

Issue #, if available:
https://github.com/aws-samples/serverless-snippets/issues/78
Description of changes:
Added Image
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@boyney123 Please merge when you get a chance. Thanks


Feature request : Ability to serve other ports than 80 or 443

My problem is the following: I'm using Spring Boot Applications in Docker containers, successfully exposed through the 80 and 443 ports with nginx-proxy. This works very well, but I need more :)
Spring boot app can expose 2 more ports, each : a management port, and a debug port.
I'd like to be able to expose those 2 ports, as well as the common one, through nginx-proxy. What I actually need is the reverse-proxy capability, so I can a have unique DNS for my container, and access multiple ports from it.
For explanation' sake, that would enable me to:

use the same port for multiple applications (has they're not directly exposed to the host
avoid having to manually map all needed ports to the host
keep my firewall rules simple (only 3 ports to open for all the application, rather than 3 for each)

I hope that's clear enough. One way to do that in the container configuration would simply be to have something like:
[environment]
VIRTUAL_HOST: bar.foo.com
VIRTUAL_PORTS:
  - "443:8080"
  - "18080:18080"
  - "18000:8000"

Then, the following URL could be used and point to the right container:

https://bar.foo.com : external port 443 -> internal port 8080
https://bar.foo.com:18080 : external  port 18080 -> internal port 18080
https://bar.foo.com: 18000 : external  port 18000 -> internal port 8000

This actually related to #173

Handled by nginx-proxy since https://github.com/nginx-proxy/nginx-proxy/pull/2434


fix(body, font): Broken images

Fixed the mentioned issue
https://github.com/resendlabs/react-email/issues/625

thanks @Aswanth-c

thanks @Aswanth-c

No worries
sorry for the late reply was recovering from fever.
The product is  excellent, and looking forward to contributing more 🙌🏻


Use Sentry instead of Bugsnag

@nedbat @sarina review?

docs/install.rst:14:* Bugsnag <https://addons.heroku.com/bugsnag>_

I'm OK with this change, but I'd like to hold off on it until we're sure the other changes are working. I'm anxious about merging a complete change to our bug manager at the exact same time we've made major, potentially breaking, changes.

@sarina good catch. I've updated the docs.
I understand the concern about changing the bug manager right now, but the reason I'm doing it is because it simplifies the function signatures (no more passing around a bugsnag_context dictionary), which will be important for taking these functions and running them as worker processes. The simpler we can make this code, the less likely it is that anything will go wrong.

Hmm well I'm ok if Ned's ok.
On Tue, Sep 1, 2015 at 1:20 PM, David Baumgold<EMAIL_ADDRESS>wrote:

@sarina https://github.com/sarina good catch. I've updated the docs.
I understand the concern about changing the bug manager right now, but the
reason I'm doing it is because it simplifies the function signatures (no
more passing around a bugsnag_context dictionary), which will be
important for taking these functions and running them as worker processes.
The simpler we can make this code, the less likely it is that anything will
go wrong.
—
Reply to this email directly or view it on GitHub
https://github.com/edx/openedx-webhooks/pull/40#issuecomment-136801792.


RELAI Network

RELAI Network
RELAI (Reliable AI) Network is a decentralized platform that aims to help setting foundations to build a secure, transparent, and reproducible environment for AI development and deployment.
Grant level

[x] Level 1:  Up to $10,000, 2 approvals
[ ] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[x] Payment details have been provided (bank details via email or BTC, Ethereum (USDC/DAI) or Polkadot/Kusama (USDT) address in the application).
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[ ] I prefer the discussion of this application to take place in a private Element/Matrix channel.

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

@semuelle Thank you for the feedback:

*Since the pallet will be the core contribution of this grant, could you add more details about the function(alitie)s and data structures it will implement and how they interact with other components?

The MLOrg pallet will be responsible for creating and managing Organizations and access for the users
As for now the following functionalities will be created:

Create organization
Add/Remove users
Assign roles to users (eg: Admin, AI engineer, MLOps, Stakeholders,…)

The ModelBase pallet will be responsible for managing models and will allow to:

Create/Update project
Create/Update model artifact
Remove model artifact
Create/Update model version
Store/Update model experiment
Create/Update model review

There will be data structures for the :
Projects, ProjectPurpose, Model, ModelVersion, ModelArtifact, ModelExperiment, ModelReview as well as  Organizations and Roles
Extrinsics cited above will be possible to call accordingly to the role of the user calling. The MLOrg pallet will be loosely coupled to the ModelBase pallet for checking users and roles.

*You mention four main actors. Are they differentiated by the system, e.g. through access control?

Indeed the actors will be differentiated by roles and the MLOrg pallet will one part for this.

In the project details, you mention multiple pallets. If you are planning to fund those through the grant, could you list them in the milestone table as well and add the details I mentioned above?

Sure, the application have been updated with the pallets and functionalities list

Thank you @keeganquigley
Angular will be the fronted framework. For the sdk, initially it will support  the following functionalities

Interacting with the RELAI Network (manage the lifecycle of AI models),
Identity control and governance
APIs for getting proof of authenticity for AI model provenance and history.

HI @randombishop Thanks for asking for clarifications.

From my understanding, you are requesting a grant to create the first layer for a transparent AI framework, and this layer will only manage organization and model metadata in-chain.

At this stage the layer will manage organizations and model metadata onchain and provide interfaces to check validity of Models (could be thought like the lock sign for https website). Model consumers can easily verify informations about them.

But where does the data come from and how are the models actually trained?

At this current stage, the models are trained by the organizations themselves  and use the layer alongside interfacing the web app and/or the SDK to pass inputs(metadata, hashes, proofs,...).

Can you please elaborate on how this system will look like after this first layer?

The layer will basically be «A Truth Machine for AI» . It will act like a tether for AI Systems. It will be added  to AI Pipeline stack and runs alongside existing systems for organizations that use it and provide control points for AI. The control points would be.

Pre-establishing identity and workflow : Blockchain can be used with AI to make sure that the right people, systems, or intelligent agents (participants)—with the right authorization— are the only ones that take part in governance of or modification to the AI.

Distributing tamper-evident verification: Blockchain can be used with AI to verify that data and algorithms have not undergone tampering or corruption,

Governing, instructing, and inhibiting intelligent agents : will become very important when wanting to trace or reverse AI, or prove in court that the output of AI is traceable to certain people or organizations.

Useful when using branded AI that has underlying components that come from distributed marketplaces. A consumer of AI should be able to test AI to determine whether they trust it before deploying it.

The system will also serve as foundation for the next phases.

The RELAI Network aims to be a AI hub,  decentralized machine learning, AI compute platform, data storage, AI DAOs, Model Marketplace… So individuals, organizations (centralized or DAOs) that will train their models on it will directly benefits of the system and will have full control on AI lifecycle.

Thanks for the clarifications @morgueye4 can you add the Angular framework into the application deliverables? As well as the details about the SDK?

Welcome @keeganquigley . The informations have been added and the  on Milestone 2 updated as well

Welcome @Noc2.

do you already have some mock-ups or designs which you can share?

I have in this link some raw mockup where it can be found the informations about what will be displayed on the UI with use case diagram and small design about the look and feel of the frontend app. Here is the Link: https://docs.google.com/document/d/17xa2NWYbqphEXV1-Cw1t_IFryk-E3Nui8QuvTTenunA/edit?usp=sharing

Regarding "validity of Models", how do you ensure this with your solution, and how do you ensure that only the "right people" contribute to a model?

Via the UI each action is allowed accordingly to the control level. To access the web app, the user must login via it's wallet address and informations and accesses are given according to the role of the user (managed by the MLOrg pallet).

Thanks for the update. Could you integrate the link into the application?

Welcome @Noc2 , the link has been added

@takahser @Noc2 @semuelle I think it will be easier to demonstrate you the utility of this part of the project once the compute / storage layer is built so you can see components works together even though this audit trail layer is independent and can used separately.
I can close the PR for now and may be it can be integrated in other phases to come. Thank you all for your time and feedback.

@morgueye4 great to hear, best of luck! Looking forward to seeing a new grant proposal once you've demonstrated the utility of this project with the compute/storage layer in place.


FileName use template string

For FileName, consider using template strings, such as foo-${date}.log.gz, which makes the file suffix reasonable.
It's strange to force a TimeTag spliced to the end of FileName.
Last, thanks for your components, which helped me a lot~

or Printf

Hi, @yuefei7746
Glad to see it really helps, and PR is welcomed. You can add features by contributing to this repo.


Move tests of vm to the root of the package folder.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2436   +/-   ##
=======================================
  Coverage   72.16%   72.16%
=======================================
  Files         334      334
  Lines       18741    18741
  Branches     2772     2772
=======================================
  Hits        13524    13524
+ Misses       4350     4348    -2
- Partials      867      869    +2

Impacted Files
Coverage Δ

...dback/azure/cli/command_modules/feedback/custom.py
34.69% <0%> (ø)
:white_check_mark:

src/azure-cli-core/azure/cli/core/_util.py
66.66% <0%> (ø)
:white_check_mark:

Continue to review full report at Codecov.

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

There are modules owns by the other teams. I'd like to have them informed of the change.


Catalina Support?

I'm not sure if it's just an individual problem, but when I try to open the Hermes App nothing happens.  I'm on Catalina right now but it seemed to be an issue for me on Mojave as well.  Are these versions supported or is it to be expected that it's not working?

I discovered from reading other issues that it was not running due to not having accessibility permissions.  Enabling them in System Preferences resolved the issue.
Refer to https://github.com/HermesApp/Hermes/issues/342


Unique ID Generation

Sqlite3 for C bindings doesn't come with a unique id generation tool set. We'll either need to create a unique ID generator using <uuid.h> or see if we can make use of UNIQUE keyword in SQL.

Used libuuid to solve this. Refer to documentation/audioplayer


Use and doc the default input UI of maplibre-js

To welcome the maplibre community to the Rust version, we should offer the same controls as they used to.
So we have to check, what controls are used, document and code them in our input control.
🔦 Context
The input controls are not documented. Here one can try them: https://demotiles.maplibre.org/terrain-tiles
There is the code (with some doc to): https://github.com/maplibre/maplibre-gl-js/tree/main/src/ui/handler
1st-mousekey, arrow-keys: shift=move=slide=pan the map 100 pixels. (No ADWS-kleys are used)
2nd-mousekey, arrow-keys+shift: rotate the camera-viewangles: direction (15) and up/down (10 degrees)
mousewheel,   plus-key=equal-key/minus-key:  zoom in/out 1 level, or 2 if shift is pressed
1-fingerr-tab:  zoom in, double-tab: zoom out
1-finger-touch: shift
2-finger-touch: shift(move) + zoom(pinch) + rotate-direction(twist)
2-finger-touch: rotate-up/down(move)  *)
*) This mode gets only active if the 2-finger-move-up/down is used first! It blocks pinch and twist and shift-left/right.
💻 Examples
We could document the default input UI in https://github.com/maplibre/maplibre-rs/tree/main/docs/src

I would love to see an RFC for input handling for maplibre-rs.
RFC would serve as a design foundation. They would describe what we want maplibre-rs to be like on a high level. Here is the RFC for the "RFC Process" of Rust: https://rust-lang.github.io/rfcs/0002-rfc-process.html
I would very much like to see us documenting how maplibre-rs works in the style of RFCs.
RFCs can be documented in the maplibre-rs book: https://maplibre.org/maplibre-rs/book/
What do you think?

This would be an excellent first try for that!

Oh I just saw that you opened this issue as RFC! Excellent!
Should we turn this into a PR right away and create an RFC section in the Rust book for that? (I have to look again into Rust's process)

Sounds good, go ahead. So I will see the process working.
Do I always have to start with an Issue/PR if I intend to add a chapter like "Appreciations" to the Doc?
Or is the RFC only used for new features?
In a Wiki multiple contributors could just edit a draft, how to do it, a pull request with many merges into it?
Pleas just start and show my the steps.

So RFC would probably not use Github Issues, but only Github PRs:

Fork the RFC repo https://github.com/rust-lang/rfcs
Copy 0000-template.md to text/0000-my-feature.md (where 'my-feature' is descriptive. don't assign an RFC number yet).
Fill in the RFC
Submit a pull request. The pull request is the time to get review of the design from the larger community.
Build consensus and integrate feedback. RFCs that have broad support are much more likely to make progress than those that don't receive any comments.

(from the RFC RFC)
Usually only a single person edits an RFC and others comment. If working in a team on a PR then people can create suggestions in the PR and the PR owner or admins can accept them.
The Wiki is a Github only feature and I would like to avoid using more proprietary features of Github and lock ourselfes in. Also the Wiki lacks a way of doing a proper review process.

Possibly duplicate of https://github.com/maplibre/maplibre-rs/issues/186.
The two issues can probably be merged.
@DerKarlos can you copy all the important things over to #186? Then close this one.

Possibly duplicate of https://github.com/maplibre/maplibre-rs/issues/91.
The two issues can probably be merged.
@DerKarlos can you copy all the important things over to https://github.com/maplibre/maplibre-rs/issues/91? Then close this one.

Closing as the controls for the UI will likely change a lot


How to recognize one only wav file but don't use runtime style?

I just want to recognize one wav file . I try to  use recognize_deprecated.py (now deleted) but it can't work (some params miss). And I don't want to use runtime style because I use my finetune checkpoint model in offline env .What should I do?  3ks!

Please just follow the recipes of standard datasets. such as aishell/librispeech, and pay attention to the testing stage. Then you could figure out what are required and what's the format.
However, it is not recommended to test single wav file in recognize.py

Please just follow the recipes of standard datasets. such as aishell/librispeech, and pay attention to the testing stage. Then you could figure out what are required and what's the format.
However, it is not recommended to test single wav file in recognize.py

Thanks for your reply。I am interesting in your wenet source code not the stages written by shell and  I have modified the recognize.py file to fulfill my tasks。3ks again!


es6-->es5 refactor for node 4 support

Hey I published this change to v1.5. I tried to reinstall while using node v6 and it threw an error, although it did not throw an error when I installed it with node v4.


License information missing

Hi again, @lh3!
In the same vein as https://github.com/lh3/unimap/issues/5 :
I'd like to package up dipcall for Bioconda, but I couldn't find any license information in the repository.
Would it be possible for you to add a license file here?
Cheers,
Marcel

Thank you, much appreciated!

Thank you for the help!


Fixed issues for Xcode 8 Beta 4 and new Swift 3 changes

Thanks for the PR, but I've already merged another PR with the same changes.


Wine Installation Error

I am  greatly appreciate of this work! However, I am facing a problem installing wine. Here is the error that I can't seem to fix --
 sudo dpkg --add-architecture i386 && apt-get update && apt-get install wine32`
leads to --
Hit:1` http://us.archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease
Ign:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Err:4 http://us.archive.ubuntu.com/ubuntu jammy-security Release
  Could not open file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_jammy-security_Release - open (13: Permission denied) [IP: <IP_ADDRESS> 80]
Err:5 http://us.archive.ubuntu.com/ubuntu jammy-updates Release
  Could not open file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_jammy-updates_Release - open (13: Permission denied) [IP: <IP_ADDRESS> 80]
Reading package lists... Done
W: Problem unlinking the file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_jammy_InRelease - PrepareFiles (13: Permission denied)
W: chmod 0600 of file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_jammy_InRelease failed - Item::QueueURI (1: Operation not permitted)
W: chmod 0644 of file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_jammy_InRelease failed - 201::URIDone (1: Operation not permitted)
W: Problem unlinking the file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_jammy-security_InRelease - PrepareFiles (13: Permission denied)
W: Problem unlinking the file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_jammy-updates_InRelease - PrepareFiles (13: Permission denied)
W: Problem unlinking the file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_jammy-security_Release - PrepareFiles (13: Permission denied)
E: The repository 'http://us.archive.ubuntu.com/ubuntu jammy-security Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Problem unlinking the file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_jammy-updates_Release - PrepareFiles (13: Permission denied)
E: The repository 'http://us.archive.ubuntu.com/ubuntu jammy-updates Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

Can anyone help me?

Hello, can you send the full output please

Maybe this will works
sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install wine32

After attempting, here is what came about -
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease [109 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu jammy/main i386 Packages [1040 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu jammy/universe i386 Packages [7474 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu jammy/multiverse i386 Packages [112 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu jammy-security/main i386 Packages [63.7 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [11.4 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu jammy-security/universe i386 Packages [34.8 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu jammy-security/multiverse i386 Packages [1032 B]
Get:11 http://us.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [140 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata [90.7 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [62.7 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [93.3 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu jammy-updates/multiverse i386 Packages [1032 B]
Fetched 9344 kB in 5s (1775 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 apt : Depends: libapt-pkg6.0 (>= 2.4.5) but it is not going to be installed
       Depends: libsystemd0 but it is not installable
 bsdutils : PreDepends: libsystemd0 but it is not installable
 init : PreDepends: systemd-sysv
 util-linux : PreDepends: libsystemd0 but it is not installable
              PreDepends: libudev1 (>= 183) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

You have the answer here.
https://askubuntu.com/questions/1410718/cannot-install-wine32-in-jammy-22-04

thanks!


User Data Not Saved to DynamoDB

First time I am trying to use DynamoDB integration and save user info.
I am running lambda locally with: bst proxy lambda index.js
Configuration is:
    app.setConfig({
        requestLogging: true,
        responseLogging: true,
        saveUserOnResponseEnabled: true,
        i18n: {
            resources: languageResources,
            returnObjects: true,
        },
        db: {
            type: 'dynamodb',
            tableName: 'myskill-users-default',
            awsConfig: {
                region:  'us-east-1'
            }
        }
    });

And some handlers:
const handlers = {

    'NEW_USER': function () {
        app.user().data.launchCount = 0;
        app.toIntent(app.getIntentName());
    },

    'LAUNCH': function () {
        app.user().data.launchCount += 1;
        if (app.user().data.launchCount === 1) {
...
} else { }

An entry is added to DynamoDB but there is no launchCount variable:
{
  "userData": {
    "data": {},
    "metaData": {
      "createdAt": "2017-11-29T00:04:19.384Z",
      "lastUsedAt": "2017-11-29T00:07:18.534Z"
    }
  },
  "userId": "amzn1.ask.account.AE..."
}

Do I need to do anything else to persist and retrieve user data?

Thanks for the detailed descriptions. This all seems correct at first look, and the metaData gets stored, so it doesn't seem to be the connection to DynamoDB.
Will investigate!

Worked after moving setConfig out of exports.handler and resetting the DynamoDB table.


UI: fix create l2 network offering with userdata

Description
This PR fixes the UI issue that creating network offering for L2 networks fails with error "Service UserData is not enabled for the network offering, can't add a provider to it"

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[x] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan ui

@nvazquez a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6174 (SL-JID-1307)


Polygon selection

Basic selection tool + save to & render from an SVG Selector.

Update: basics for this (rendering SVG from annotation + recording polygon shapes via a 'rubberband' tool, similar to rectangles) are now pretty complete. However, I still want to have functionality for modifying existing polygon shapes before releasing this officially.


Peddy fails with gvcf data

Hi,
I encountered a similar issue to https://github.com/bcbio/bcbio-nextgen/issues/3506
peddy fails when running tools_on: gvcf. I repeated the run on the same data without tools_on: gvcf and with jointcaller: gatk-haplotype-joint, without specified bulk name (so that it only jointcalls on that sample). Both times peddy successfully finished.
My goal is to obtain gvcf data with a peddy analysis, to be latter used in custom downstream pipelines.
Any ideas on solving the problem?
Thanks!
Version info

bcbio version: 1.2.9
OS name and version: Ubuntu 18.04.5 LTS

To Reproduce
Exact bcbio command I have used
bcbio_nextgen.py ../config/GVCF_analysis.yaml -n 20

My yaml configuration file:
details:
- algorithm:
    aligner: bwa
    archive: cram-lossless
    recalibrate: gatk
    variant_regions: /data/xgen-exome-research-panel-v2-targets-GRCh37-50-flanking.bed
    variantcaller:
    - gatk-haplotype
    tools_on:
    - gvcf

  analysis: variant2
  description: data-wgs
  files:
  - /data/wgs_fastq/data_R1.fastq.gz
  - /data/wgs_fastq/data_R2.fastq.gz
  genome_build: GRCh37
  metadata:
    batch: data_wgs
    phenotype: unknown
    sex: unknown

fc_name: GVCF_analysis
upload:
  dir: ../final_gvcf

bcbio-nextgen.log
[2022-02-09T14:40Z] multiprocessing: run_peddy
[2022-02-09T14:40Z] Uncaught exception occurred
Traceback (most recent call last):
  File "/home/user/BCBIO/bcbio_dir/anaconda/lib/python3.6/site-packages/bcbio/provenance/do.py", line 26, in run
    _do_run(cmd, checks, log_stdout, env=env)
  File "/home/user/BCBIO/bcbio_dir/anaconda/lib/python3.6/site-packages/bcbio/provenance/do.py", line 106, in _do_run
    raise subprocess.CalledProcessError(exitcode, error_msg)
subprocess.CalledProcessError: Command 'set -o pipefail; export LC_ALL=C.UTF-8 && export LANG=C.UTF-8 &&  /home/user/BCBIO/bcbio_dir/anaconda/bin/peddy -p 10  --plot --prefix /data/GVCF_analysis/work/bcbiotx/tmpx4n_kp8v/data_wgs /data/GVCF_analysis/work/gatk-haplotype/data_wgs-effects-annotated-nomissingalt-filterSNP-filterINDEL.vcf.gz /data/GVCF_analysis/work/gatk-haplotype/data_wgs-effects-annotated-nomissingalt-filterSNP-filterINDEL.ped 2> /data/GVCF_analysis/work/bcbiotx/tmpx4n_kp8v/run-stderr.log
' returned non-zero exit status 1.
[2022-02-09T14:40Z] Skipping peddy because no variants overlap with checks: GVCF_analysis_wgs

Hi @HudoGriz !
Thanks for reporting and sorry about the issue!
It finished ok for me with gvcf on and peddy with bcbio 1.2.9, peddy 0.4.8.
Could you please make sure that you are running the 1.2.9 bcbio? Because in the trace there is python3.6. bcbio1.2.9 has python3.7...
Sergey

Hi @naumenko-sa !
The fix works fine.
Much obliged,
Blaž


Only allow owners to overwrite slice

Issue: https://github.com/airbnb/superset/issues/2122
Before:

Allow Admin users or slice_creator to overwrite any slice
Save Modal action is set to overwrite by default, but it's disabled when user doesn't have permission

After:

Only allow owners to overwrite slice
Save Modal set saveas instead of overwrite as default action

@mistercrunch

LGTM, merging into my branch now


v1.6 backports 2020-03-04

#10388 -- test: Avoid using global map for Cilium configuration (@brb)
#10262 -- [CI] Replace jenkinsfiles with symlinks (@nebril)

Not backported as they're handled by #10638:

#10218 -- cilium: encryption + tunnel improvements and fixes (@jrfastab)
#10268 -- cilium: encryption, segfaults if existing non-Cilium xfrm policy without mark set exists (@jrfastab)

Once this PR is merged, you can update the PR labels via:
$ for pr in 10388 10262; do contrib/backporting/set-labels.py $pr done 1.6; done

This change is

never-tell-me-the-odds

never-tell-me-the-odds

never-tell-me-the-odds

test-me-please

test-me-please

test-me-please

never-tell-me-the-odds

The test K8sDatapathConfig Transparent encryption DirectRouting Check connectivity with transparent encryption and direct routing seems to be reliably failing:
https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/17774/
Given that this is related to a PR that's being backported as part of this PR, I think it's likely to be related and we should dig into this further before merging this PR.

I presume that @mrostecki @jrfastab will co-ordinate on moving forward on this PR (whether by dropping the backport or figuring out how to address it on v1.6).

I just dropped the encryption backport commits in light of https://github.com/cilium/cilium/pull/10638 .

never-tell-me-the-odds

test-me-please


Not able to expand storage accounts after installing version 1.4.3

Storage Explorer Version: 1.4.3
Platform/OS Version: Windows 10
Architecture:
Regression From: it was working on 1.4.1
Steps to Reproduce:

I have updated my app to version 1.4.3 after the prompt and afterwards I can not expand my storage accounts anymore even though I do sign in again. Then I checked the activities panel and there it shows me the following sign in error:
Unable to sign in: ERR_NOT_IMPLEMENTED

Expected Experience:
Expand a storage account and see the containers
Actual Experience:
App does nothing when I expand the storage account.

@JakeRadMSFT , could this be a result of the API roll back?

@khosrojerdi  if you are blocked, you can revert back to v1.4.2 which is available on storageexplorer.com. Go to the bottom of that page and you can download it from the "Previous Version".  Meanwhile we will look into the cause of this issue.  Thanks for the report.

@khosrojerdi , this should be fixed in 1.4.4 (we just shipped it). Please try again and let us know how it goes.

@MRayermannMSFT Sorry for my late reply. As you mentioned it was fixed with new version. Thanks for your support


When the service shutdown, remov it from the selector

Fixes #3017

Codecov Report

Merging #3035 (c08298a) into master (9ecf8a8) will decrease coverage by 0.31%.
The diff coverage is 30.00%.

@@             Coverage Diff              @@
##             master    #3035      +/-   ##
============================================
- Coverage     58.88%   58.56%   -0.32%
+ Complexity     4363     4339      -24
============================================
  Files           690      690
  Lines         19859    19893      +34
  Branches       1788     1794       +6
============================================
- Hits          11693    11650      -43
- Misses         7182     7253      +71
- Partials        984      990       +6

Impacted Files
Coverage Δ

...uptor/executor/RegisterServerConsumerExecutor.java
14.70% <0.00%> (+0.42%)
:arrow_up:

...henyu/loadbalancer/cache/UpstreamCacheManager.java
0.00% <0.00%> (ø)

...er/server/nacos/NacosServerRegisterRepository.java
58.65% <0.00%> (-0.57%)
:arrow_down:

...apache/shenyu/admin/utils/CommonUpstreamUtils.java
64.70% <50.00%> (-26.97%)
:arrow_down:

...egister/ShenyuClientRegisterDivideServiceImpl.java
95.45% <100.00%> (-0.55%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
68.75% <0.00%> (-31.25%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
56.38% <0.00%> (-6.39%)
:arrow_down:

...org/apache/shenyu/admin/model/dto/AuthPathDTO.java
58.82% <0.00%> (-5.89%)
:arrow_down:

... and 26 more

Continue to review full report at Codecov.

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

@jerbo99  you can add my wechat ：xixy199195，i will join you to contributor group


⚠ Bofrost.nl has degraded performance

In 2c6a2ae, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 2073 ms

Resolved: Bofrost.nl performance has improved in d4156b2.


add compile instructions?

Can you add compile instructions? Thank you

Sure. I am planning to add the README and compile instructions after I finishing tests in /test.
For now, you can try to compile this with:
Linux kernel: > 5.6
Compiler: gcc10.1 or gcc10.0.1 with libstdc++
Dependencies:
OpenSSL for SHA-1 in WebSockets. (It should be removed later by implementing SHA-1 directly)
Liburing-0.6 for io_uring utilities https://github.com/axboe/liburing
doctest for tests https://github.com/onqtam/doctest
g3logger for logging https://github.com/KjellKod/g3log (This is for debugging the coroutine stack and will be removed later. GCC now has many subtle bugs when using the cppcoro with it )
clang10 with libc++ is not supported because clang still uses the  <experimental/coroutine> instead of <coroutine> and also lacks the <ranges>, which is essential to xynet/buffer_seqneuce.h.
If you have any trouble in compiling it, please let me know!


Error to update firmware

librealsense
2.55.1 RELEASE

OS
Linux

I am working with a realsense D457 camera, it was working fine but at one point it stopped reading the port as 3.2 and changed to 2.1, a firmware update message appeared in relasense Viewer to which I accepted, now it no longer recognizes the camera tells me that I do not have a device connected. I hope for your valuable help, greetings!!

Hi @ibarramiguel119  Could you first try unplugging the micro-sized end of the USB cable from the base of the camera, reversing the connector's orientation and plugging it back into the camera, please (USB-C cables are two-way insertion at the micro-sized end). Does  doing so make any difference?

No, I try to do it like that but it doesn't work. I get those errors

I'm switching to Windows 11 to check what happened and the drivers. and I get the following

I will discuss your problem with my Intel RealSense colleagues.  May I ask which country you are located in, please?

Thank you very much, I appreciate it very much, I'm from Mexico.

Thank you very much, and thanks for your patience.

Hi @ibarramiguel119  Thanks very much again for your patience.  Please send me an email at the address below so that we can discuss the next step in restoring your D457 camera.
<EMAIL_ADDRESS>

Hi @ibarramiguel119  Please email me at the address in the comment above if you require further assistance with restoring your D457 camera.  Thanks!

Hi @ibarramiguel119  Please send me an email at the address at https://github.com/IntelRealSense/librealsense/issues/12922#issuecomment-2140246238 if you would like to continue the process of having your D457 restored.

Case closed due to no further comments received.


Updated chip-cert-bins Dockerfile

This PR was copied from https://github.com/project-chip/connectedhomeip/pull/33015, since it was not merged into master branch.
Fixes https://github.com/project-chip/connectedhomeip/issues/32989
Changes

Do not needlesly clear apt update results, as it is reused and a build image will not copy over their contents anyway

Update compile of bloaty to use ninja, so we do not hardcode -j8

Install openjdk8 before installing chip whl, since apparently we depend on mason which depends on the jdk

@andy31415 @cecille Can you guys take a look please ? Just to make sure our docker images from mainline also don't run into the same issue we faced on the 1.3 branch .


can not install js-ng in ubuntu 20.4

installed in ubuntu 20.4 in-system
by following https://threefoldtech.github.io/js-ng/wiki/#/./devsetup
# apt install python
# apt install python3-pip
# curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
# source $HOME/.poetry/env
root@Bishoy:~/js-ng# poetry install
/root/.poetry/lib/poetry/_vendor/py2.7/subprocess32.py:149: RuntimeWarning: The _posixsubprocess module is not being used. Child process reliability may suffer if your program uses threads.
  "program uses threads.", RuntimeWarning)
The currently activated Python version 2.7.18 is not supported by the project (^3.6).
Trying to find and use a compatible version.
Using python3 (3.8.2)
Installing dependencies from lock file

Package operations: 94 installs, 0 updates, 0 removals

  - Installing pycparser (2.20)

[OSError]
[Errno 2] No such file or directory: 'pip'
root@Bishoy:~/js-ng#

can you make sure you do rehash or hash -r after your apt installations first?

still same

root@Bishoy:~/js-ng# hash -r
root@Bishoy:~/js-ng# poetry install
/root/.poetry/lib/poetry/_vendor/py2.7/subprocess32.py:149: RuntimeWarning: The _posixsubprocess module is not being used. Child process reliability may suffer if your program uses threads.
  "program uses threads.", RuntimeWarning)
The currently activated Python version 2.7.18 is not supported by the project (^3.6).
Trying to find and use a compatible version.
Using python3 (3.8.2)
Installing dependencies from lock file

Package operations: 94 installs, 0 updates, 0 removals

  - Installing pycparser (2.20)

[OSError]
[Errno 2] No such file or directory: 'pip'

only pip3 exist

root@Bishoy:~/js-ng# python --version
Python 2.7.18rc1
root@Bishoy:~/js-ng# python3 --version
Python 3.8.2

I think
# curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
should be replaced with
# curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3

root@Bishoy:~/js-ng# curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3
Retrieving Poetry metadata

Latest version already installed.
root@Bishoy:~/js-ng#

do i need to remove it and re-install ? if yes how ?

fixed by sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1


This problem must be solved in the bloc please.

======== Exception caught by widgets library =======================================================
The following StateError was thrown building InheritedProvider<AppCubit>:
Bad state: Tried to read a provider that threw during the creation of its value.
The exception occurred during the creation of type AppCubit.

══╡ EXCEPTION CAUGHT BY PROVIDER ╞═══════════════════════════════
The following LateError was thrown:
LateInitializationError: Field
'_currencySellFieldPining@59465044' has not been initialized.

When the exception was thrown, this was the stack:
#0      _currencySellFieldPining (package:eqmoney/helper/setting_helper.dart)
#1      SettingHelper.currency_sell_currency1 (package:eqmoney/helper/setting_helper.dart:842:12)
#2      new AppCubit (package:eqmoney/cubit/cubit.dart:1784:34)
#3      MyApp.build.<anonymous closure> (package:eqmoney/main.dart:177:16)
#4      _CreateInheritedProviderState.value (package:provider/src/inherited_provider.dart:736:36)
#5      _InheritedProviderScopeElement.value (package:provider/src/inherited_provider.dart:590:33)
#6      Provider.of (package:provider/src/provider.dart:303:37)
#7      ReadContext.read (package:provider/src/provider.dart:649:21)
#8      _BlocListenerBaseState.initState (package:flutter_bloc/src/bloc_listener.dart:143:36)
#9      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5101:55)
#10     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#11     SingleChildWidgetElementMixin.mount (package:nested/nested.dart:222:11)
...     Normal element mounting (7 frames)
#18     _InheritedProviderScopeElement.mount (package:provider/src/inherited_provider.dart:411:11)
...     Normal element mounting (7 frames)
#25     SingleChildWidgetElementMixin.mount (package:nested/nested.dart:222:11)
...     Normal element mounting (7 frames)
#32     SingleChildWidgetElementMixin.mount (package:nested/nested.dart:222:11)
...     Normal element mounting (7 frames)
#39     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#40     Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#41     RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1176:16)
#42     RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1145:5)
#43     RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:1092:18)
#44     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2682:19)
#45     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1091:13)
#46     WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:926:7)
#47     WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:906:7)
#51     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)
(elided 3 frames from class _Timer and dart:async-patch)
═════════════════════════════════════════════════════════════════

The relevant error-causing widget was:
  InheritedProvider<AppCubit> InheritedProvider:file:///C:/Users/alaad/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_bloc-8.1.3/lib/src/bloc_provider.dart:126:11
When the exception was thrown, this was the stack:
#0      _CreateInheritedProviderState.value (package:provider/src/inherited_provider.dart:709:7)
#1      _CreateInheritedProviderState.debugFillProperties (package:provider/src/inherited_provider.dart:806:44)
#2      _InheritedProviderScopeElement.debugFillProperties (package:provider/src/inherited_provider.dart:631:20)
#3      DiagnosticableNode.builder.<anonymous closure> (package:flutter/src/foundation/diagnostics.dart:2958:17)
#4      DiagnosticableNode.builder (package:flutter/src/foundation/diagnostics.dart:2961:8)
#5      DiagnosticableNode.getProperties (package:flutter/src/foundation/diagnostics.dart:2975:105)
#6      TextTreeRenderer._debugRender (package:flutter/src/foundation/diagnostics.dart:1278:63)
#7      TextTreeRenderer.render (package:flutter/src/foundation/diagnostics.dart:1151:14)
#8      DiagnosticsNode.toStringDeep.<anonymous closure> (package:flutter/src/foundation/diagnostics.dart:1816:9)
#9      DiagnosticsNode.toStringDeep (package:flutter/src/foundation/diagnostics.dart:1823:6)
#10     DiagnosticsNode.toString.<anonymous closure> (package:flutter/src/foundation/diagnostics.dart:1734:18)
#11     DiagnosticsNode.toString (package:flutter/src/foundation/diagnostics.dart:1746:6)
#12     Diagnosticable.toString.<anonymous closure> (package:flutter/src/foundation/diagnostics.dart:3131:78)
#13     Diagnosticable.toString (package:flutter/src/foundation/diagnostics.dart:3133:6)
#14     _StringBase._interpolate (dart:core-patch/string_patch.dart:851:19)
#15     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4998:44)
#16     Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#17     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#18     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#19     _InheritedProviderScopeElement.mount (package:provider/src/inherited_provider.dart:411:11)
...     Normal element mounting (7 frames)
#26     SingleChildWidgetElementMixin.mount (package:nested/nested.dart:222:11)
...     Normal element mounting (7 frames)
#33     SingleChildWidgetElementMixin.mount (package:nested/nested.dart:222:11)
...     Normal element mounting (7 frames)
#40     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#41     Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#42     RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1176:16)
#43     RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1145:5)
#44     RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:1092:18)
#45     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2682:19)
#46     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1091:13)
#47     WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:926:7)
#48     WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:906:7)
#52     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)
(elided 3 frames from class _Timer and dart:async-patch)
====================================================================================================
E/flutter ( 4979): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 2685 pos 20: '_debugCurrentBuildTarget == context': is not true.
E/flutter ( 4979): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
E/flutter ( 4979): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
E/flutter ( 4979): #2      BuildOwner.buildScope.<anonymous closure> (package:flutter/src/widgets/framework.dart:2685:20)
E/flutter ( 4979): #3      BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2689:12)
E/flutter ( 4979): #4      RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1091:13)
E/flutter ( 4979): #5      WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:926:7)
E/flutter ( 4979): #6      WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:906:7)
E/flutter ( 4979): #7      Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18:15)
E/flutter ( 4979): #8      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
E/flutter ( 4979): #9      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
E/flutter ( 4979): #10     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)
E/flutter ( 4979):
W/Gralloc3( 4979): mapper 3.x is not supported
D/OpenGLRenderer( 4979): makeCurrent EglSurface : 0x0 -> 0x79a2cf2100

======== Exception caught by widgets library =======================================================
The following assertion was thrown building BlocProvider<AppCubit>:
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4692 pos 14: 'owner!._debugCurrentBuildTarget == this': is not true.

This is likely an issue with how you are using your cubits, not a flutter issue. You should visit other flutter communities or post on StackOverflow so that others can help you as this is not a forum for that.
Closing from here.
Thank you


In function block intellisense not show return keyword

VS Code version: <1.21 >
Extension version: < 2018.2.1 >
OS and version: < Manjaro 17.1.6 >
Python version: <3.6.4>
Type of virtual environment used (if applicable): < pyenv virtualenv >
Relevant/affected Python packages and their versions: < numpy latest >

Actual behavior
When press 'r' key in function block, intellisense not show return keyword
Expected  behavior
After press r key intelisense show return keyword
Greetings,
Paul

Works for me:

Please could you provide a screenshot of the issue at your end.
Please confirm the extension is installed and working as expected. To do so, just check the bottom of the VS Code status bar, and confirm the details of Python are displayed there.

Thanks for response,
Sorry, I'm reflecting on my mistake. I check intelisense after definition of function, and i don't wrote any line of code between.
Regards,
Paul


Added a dot slide effect modeled on instagram.

Is it a bugfix ?

Yes or No ?
If yes, which issue (fix #number) ?

Is it a new feature ?

Yes or no ?
Include documentation, demo GIF if applicable

Describe what you've done:
How to test it ?

This method can be used when the number of dot is greater than or equal to 7, and the loop must be set to false。
For some reason, the size change logic is not a problem, and this feature is not added。


add ability to use label interpolation

Hi thanks for the PR! Can you exclude the dist files? The rest looks great.

Sure, like this? :)

Yep :-) thanks! Ill build it and push a new release this weekend. Cheers


Changes port number to 11024 in Azure

After connection is established the original connection string (config) is modified, config.options.port is set to 11024 thus all subsequent connections using this config var fail with a timeout.
This only happens when code is executed in Azure Web App. Wasn't able to reproduce in locally a local environment, connecting to the exact same database.
Perhaps it's related to re-route which may work differently when connection is established from Azure datacenter vs from outside network.

We shouldn't modify options objects when passed in, I've seen the same thing happen as well.

Hi Guys, I have a production application in Azure that is down due to the port number being overridden to 11085. After the override all subsequent connections fail with a timeout.
Is there a quick work around?
Was it caused by the recent Azure SQL Server V12 upgrade?

I'm using this workaround for now:
let config = () => Object.assign({}, {/* connection string */});
let connection = new sql.Connection(config());

If you're getting the error all the time, perhaps you could do some Object.observe() magic to figure out where in the tedious code is overwriting the passed-in config? (Unless the Tedious guys already know where it's happening, in which case ignore me.)

@lee-houghton I have tried your solution, it prints:
config.options.port overwritten:
Trace
    at D:\home\site\wwwroot\server.js:51:13
    at runMicrotasksCallback (node.js:337:7)
    at process._tickCallback (node.js:355:11)

As far as I can tell, the only place we would reassign the config port is if we receive a ENVCHANGE:Routing token from the server. That's probably still the wrong thing to do since all future connection attempts will go there instead of the originally provided details. However, what is provided back from the server should be a valid re-route.
Not sure if this is what's happening here. It looks like the Tedious implementation of the re-route is correct, but it's hard to know for sure. Perhaps @christopheranderson would be able to help track this down to assess whether the port change is due to an ENVCHANGE token.

I'm seeing the exact same thing.  I upgrade my Azure database to v12, and now only the first connection works in my application running on an Azure Website.  When I run the application locally connected to the production Azure database, it works fine.

I modified Tedious to add some extra logging, I can confirm that the source of the port change is in connect.js line 134.  On the initial connection to the database on my Azure Website, the REROUTING reconnect function fires.  Here is the contents of this.routingData (with personal data removed, replaced with all CAPS text)
{ protocol: 0,
  port: 11125,
  server: '12HEXDIGITS.tr6.southcentralus1-a.worker.database.windows.net' }

And my config after the change:
{ driver: 'tedious',
  user: 'clientportal',
  password: 'PASSWORD',
  server: 'DBSERVER-server.database.windows.net',
  database: 'DBSERVER-db',
  options:
   { encrypt: true,
     connectTimeout: 30000,
     database: 'DBSERVER-db',
     port: 11125,
     requestTimeout: 15000,
     tdsVersion: '7_4',
     rowCollectionOnDone: false,
     rowCollectionOnRequestCompletion: false,
     useColumnNames: false,
     appName: 'node-mssql',
     textsize: '2147483647',
     cancelTimeout: 5000,
     packetSize: 4096,
     isolationLevel: 2,
     cryptoCredentialsDetails: {},
     useUTC: true,
     connectionIsolationLevel: 2,
     readOnlyIntent: false,
     enableAnsiNullDefault: true },
  port: 1433,
  stream: false }

One thing that stands out is the this.routingData has a different server name, however that server name never makes it back into the config object.

I'm now 90% sure the problem is actually that the updated server name is not persisting but the updated port is, but I'm not sure why this doesn't work.
this.config.server = this.routingData.server;
this.config.options.port = this.routingData.port;

I'm wondering if it's some weird thing where primitives at the root of this.config are being treated as pass-by-value where this.config.options is being treated as pass-by-reference (effectively)?

I was right about the issue.  The most straightforward way to fix it seems to be to persist the redirection server name in the options object and to use that server name if it is set.  I'll work on a pull request.

Fixed by #309 and #310. Will be released in 1.11.5 and 1.12.3.


Documentation for adding Google Fonts

📚 Documentation
Documentation is needed for how to add a Google Font (or other custom webfont) to a site.

What doesn't work: Using @import in CSS
What does work: Adding the stylesheet href from the Google Fonts link copy-paste block to the stylesheets array in siteConfig.js. Perhaps the option should also have a default value to make it easier to discover.

  stylesheets: [
    "https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700",
    "/css/code-block-buttons.css"
  ],

Have you read the Contributing Guidelines on issues?
Yes

Obrigado, deu certo,
no siteconfig adicione como o amigo disse:
fonts: {
  myFont: [
    "https://fonts.googleapis.com/css?family=Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=cyrillic,cyrillic-ext,latin-ext,vietnamese",
    "/css/custom.css"
  ],
  myOtherFont: [
    "https://fonts.googleapis.com/css?family=Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=cyrillic,cyrillic-ext,latin-ext,vietnamese",
    "/css/custom.css"
  ]
},

No custom.css ex assim:

.navPusher{
  font-family:  Montserrat;
}
.fixedHeaderContainer{
  font-family:  Montserrat;
}

I'm interested in contributing, could you provide me with more information?

thank you, I'm glad you are interested in this subject, think so, I want to
integrate the facebook messager on the platform where quickly through the
config site we put the id code of the facebook fanpage and of course.
[image: Mailtrack]
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
Remetente
notificado por
Mailtrack
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
05/07/19
13:54:50
Em qua, 3 de jul de 2019 às 12:09, Saiharsha B<EMAIL_ADDRESS>escreveu:

I'm interested in contributing, could you provide me with more information?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/docusaurus/issues/1169?email_source=notifications&email_token=ABDGVCJPIGGIKISJRTNJL4LP5TFMFA5CNFSM4GMTLIYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZE57TI#issuecomment-508157901,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABDGVCPVKCCIXEK522FSWUTP5TFMFANCNFSM4GMTLIYA
.

--
Quaisquer dúvida estou à disposição.
Atenciosamente,
Thiago Vieira
Dir. de Tecnologia e Inovação UworK
67.9.9265-6589
R. Conde de Porto Alegre, 80.
Campo Grande - MS
www.uworkpro.com
"Nossa Política da Qualidade: Garantir a satisfação dos clientes, com a
entrega de projetos criativos e inovadores, de alto valor competitivo, por
meio de uma equipe capacitada e infraestrutura adequada, focando na
melhoria contínua e atendimento aos requisitos do sistema de gestão da
qualidade."

Hey @thewhitewolf17 Thank you for contributing!
I think the content fits into a styling guide (i.e., a Styling section under Guides in the doc site), which we currently don't have. Would you like to add a guide to styling?
If you are interested, you can add your doc under /docs/ and follow other doc pieces' configurations. You may need to add the piece under /website-1.x to make sure that versioning works.

Yeah, I'd like to add a guide to styling!

I'll add the guide soon, where should I need to add it under /website-1.x?? I'm a beginner btw :)
,

First you need the doc under root /docs/. Then, you'll also need to copy it over to /website-1.x/versioned_docs/version-1.0.x. Correct me if I'm wrong please @yangshun

I created a section on Google Documents.

I don't see any google font documentation when I search.

I don't see any google font documentation either

This issue is for v1. In v2+, you add Google fonts just by editing the CSS and/or the config. For example, via https://docusaurus.io/docs/api/docusaurus-config#headTags


Add activity bar location settings

The activity bar takes up an huge amount of space in the UI especially when working with the explorer tab open.
Many users were using the Customize UI Plugin to get around the issue with so much joy but it seems to have been Microsoft'd 😿.
Willing to buy a beer, sponsor, or donate to a charity of choice of the contributor that get's this done. Please don't let us down like this Microsoft 🙏
Is there any way to implement the same solution using something like a workbench.activityBar.location with the following options:

default: Current default location
bottom: Activity bar located on the bottom for screen real estates on laptops, monitors, etc.

Screenshot for design reference:

Did you try this extension?
https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.activitusbar

Did you try this extension?
https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.activitusbar

Just downloaded, installed, and configured it to match my extensions. It's a descent solution but I really think VSCode would be more pleasant with the location option. I wanted to say thank you for a great temporary solution.

All kudos to the author @Gruntfuggly

could be merged with https://github.com/microsoft/vscode/issues/141391

@sbatten I was trying to test the insider build but wasn't able to find anything in #141391 or related issues that point a "workbench.activityBar.position" setting. I would love to see how it done and would be happy do do some testing but don't see anything related to this.