Missing ContainerSetup.ps1

The installation gide for Container PowerShell Cmdlets is missing:
https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/inplace_setup
and
https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/manage_powershell
The URI for ContainerSetup.ps1: http://aka.ms/setupcontainers is also missing!
Thanks,
Chris

Where were these linked from? The table of contents on the left of the site points to https://github.com/Microsoft/Docker-PowerShell which has the right setup steps

You can found it here:
https://github.com/search?q=http%3A%2F%2Faka.ms%2Fsetupcontainers&ref=reposearch&type=Code&utf8=✓

Ah, I see. We reorganized the documentation and also deprecated that script since it was specific to the technical preview. It's best to always link to http://aka.ms/windowscontainers as a durable link because things change frequently. We're aiming to reduce duplication between that site and docs.docker.com, so links will probably break again at some point.
One of these guides should have the install steps you need:
Windows Server 2016
or
Windows 10

Hi @PatrickLang,
but the link http://aka.ms/windowscontainers do not work!
Chris

It does here


Mybranch3

The code is in CPP, but you are pushing to the C branch. Can you create a new PR pushing to the master branch (which contains C++ implementations) ?


nuxt export - generating route for a link element (a)

Version
v2.13.1
Reproduction link
https://codesandbox.io/s/github/MattixNow/mattaio-website
Steps to reproduce

git clone https://github.com/MattixNow/mattaio-website
yarn
yarn generate

What is expected ?
Log no page generation error
What is actually happening?

Additional comments?
Why ? Because i have a a element on a page Mon CV
With nuxt i cannot redirect the user to a file, so i chose to use netlify redirects. When my website is in production the user will go to mydomain.com/CV and it will be redirect to a pdf file.

mydomain.com/CV --> mydomain.com/CV_Mattèo2020.pdf

my netlify.toml file
[[redirects]]
  from = "/CV"
  to = "/CV_Matt%C3%A8oGauthier_2020_2.2.pdf"
  status = 301

Nuxt perform an automatic route generation on a element instead of generating route only for nuxt-link

This bug report is available on Nuxt community (#c10851)

It'll be difficult for the crawler to "find out" that the redirect is actually file. One option would be to mimic the production behavior on the dev server too (e.g. with a proxy). Another option would be to exclude the route via `generate.exclude´.


docs: JSON formatting and typos in README

Using json5 formatting to allow for comments inside the JSON example + fixed a few typos

Shure thing


GraphQLError: Names must only contain [_a-zA-Z0-9] when using non-latin names in select field

Link to reproduction
No response
Describe the Bug
I'm trying to use select field with a simple array of non-latin strings like ['текст1', 'текст 2']
The related config properties looks like this:
    {
      name: 'someSelectField',
      hasMany: true,
      options: ['текст1', 'текст 2'],
      required: true,
      type: 'select',
    },

but in the end I'm having this error:
unhandledRejection GraphQLError: Names must only contain [_a-zA-Z0-9] but "текст1" does not.
  at assertName (/home/node/app/node_modules/graphql/type/assertName.js:31:13)
 at assertEnumValueName (/home/node/app/node_modules/graphql/type/assertName.js:58:10)
 at /home/node/app/node_modules/graphql/type/definition.js:1223:49
  at Array.map (<anonymous>)
 at defineEnumValues (/home/node/app/node_modules/graphql/type/definition.js:1213:35)
at new GraphQLEnumType (/home/node/app/node_modules/graphql/type/definition.js:1080:20)
  at Object.type (/home/node/app/node_modules/payload/src/graphql/schema/withOperators.ts:198:11)
  at reduce (/home/node/app/node_modules/payload/src/graphql/schema/withOperators.ts:295:56)
 at Array.reduce (<anonymous>)
  at withOperators (/home/node/app/node_modules/payload/src/graphql/schema/withOperators.ts:292:28) {
 path: undefined,
  locations: undefined,
   extensions: [Object: null prototype] {}

My guess it's because payload produces an enum type like
enum Some_Select_Field_type {
  текст1
  текст2
}

But what I need is just some array of strings rather than enum so I can use non-latin array of strings in my database, like  Some_Select_Field_type: [String].
Is there a way to do that or maybe some workaround?
To Reproduce
Create a basic collection with this field
    {
      name: 'someSelectField',
      hasMany: true,
      options: ['текст1', 'текст 2'],
      required: true,
      type: 'select',
    },

Payload Version
"payload": "^2.0.13",
Adapters and Plugins
No response

You could do:
options: [
  {
    label: 'текст 1',
    value: 'tekct1',
  },
  {
    label: 'текст 2',
    value: 'tekct2',
  }
]

But as you noticed, the value will need to be able to be turned into an enum therefore characters will need to meet the criteria there. Could you store them like I did above?
I am going to close this for now as this is not something that we are going to change right now due to the benefits the enums provide in GraphQL.


Support for optional Ultra disks

Redo of https://github.com/Azure/terraform-azurerm-aks/pull/242
Sorry for the inconvenience.

Sorry @digiserg we have some issues on our self-hosted github runner, I'll run the test when we fix the runner.

Sorry for the late reply @digiserg, we've just fixed our self-hosted GH runner and we're ready to test and merge this pr. Would you please revert your change to changelog since we have conflict here? Thanks!


Not abe to Use ToDefaultExceptionTelemetry

Hi Team,
This Method was working fine with Serilog verison 2.6.0 but for Using in .Net  core I upgraded to 2.10.0 and Now I am facing above issue

Hi! Thanks for the report; if you're able to track this down to a bug in Serilog.Sinks.ApplicationInsights please let us know. Otherwise, unfortunately, we're changing maintenance teams at the moment and don't have the bandwidth to investigate further, sorry.


Enabling WordBreak on Tables causes a Stackoverflow on cells with only a single character

When you have single character CellTexts WordBreak breaks (haha.) .
How to reproduce:
Create a cell with only one single CellText. Causes this StackoverflowError:
Exception in thread "JavaFX Application Thread" java.lang.StackOverflowError
	at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
	at org.apache.pdfbox.pdmodel.font.PDType1Font.encode(PDType1Font.java:412)
	at org.apache.pdfbox.pdmodel.font.PDFont.encode(PDFont.java:324)
	at org.apache.pdfbox.pdmodel.font.PDFont.getStringWidth(PDFont.java:353)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.getStringWidth(PdfUtil.java:27)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.isLineFine(PdfUtil.java:120)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.wrapLine(PdfUtil.java:65)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.splitBySize(PdfUtil.java:87)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.wrapLine(PdfUtil.java:72)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.splitBySize(PdfUtil.java:87)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.wrapLine(PdfUtil.java:72)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.splitBySize(PdfUtil.java:87)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.wrapLine(PdfUtil.java:72)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.splitBySize(PdfUtil.java:87)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.wrapLine(PdfUtil.java:72)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.splitBySize(PdfUtil.java:87)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.wrapLine(PdfUtil.java:72)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.splitBySize(PdfUtil.java:87)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.wrapLine(PdfUtil.java:72)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.splitBySize(PdfUtil.java:87)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.wrapLine(PdfUtil.java:72)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.splitBySize(PdfUtil.java:87)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.wrapLine(PdfUtil.java:72)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.splitBySize(PdfUtil.java:87)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.wrapLine(PdfUtil.java:72)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.splitBySize(PdfUtil.java:87)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.wrapLine(PdfUtil.java:72)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.splitBySize(PdfUtil.java:87)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.wrapLine(PdfUtil.java:72)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.splitBySize(PdfUtil.java:87)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.wrapLine(PdfUtil.java:72)
	at org.vandeseer.pdfbox.easytable.util.PdfUtil.splitBySize(PdfUtil.java:87)

Quick fix is to add an empty character to the given CellText. Looks a bit off when entered or right aligned but is still better then nothing. Will next week look into this issue myself if it isnt fixed until then, but due to the lack of time im just writing an issue for now.

Thanks for pointing that out @TheSilentHorizon!
Actually I made a TODO note already in one of the tests because I stumbled across that as well: https://github.com/vandeseer/easytable/blob/develop/src/test/java/org/vandeseer/easytable/structure/cell/CellTextTest.java
Unfortunately I didn't yet fix it though ... :D
But it's on my list now (again).
PS: Also note that currently it's not possible to have line breaks for new line characters in the word break feature. That's a second thing I would like to work on but didn't yet find the time.

Could you check out the latest commit on develop? It should be fixed. If everything's alright I will merge to master soon, because some other things are also ready :)

I merged it to master now after creating a small test PDF which looked fine. Just reopen the issue in case you don't think it's fine ;)

Latest build turned my single char elements invisible. Have you tried testing it with digits?

Sorry to hear that. Could you post your code so that I could reproduce it? Thanks already :)

How it is

How it should be

The line of code responsible for the amount of products being added to the row:
                .add(CellText.builder().text(line.getAmount() + " ").horizontalAlignment(RIGHT).borderWidth(1).build())

Actually I think your table is a pretty nice example of what the library could do for you – if it only worked, dammit 😆
Would you mind creating the code for that table in this folder https://github.com/vandeseer/easytable/blob/develop/src/test/java/org/vandeseer/integrationtest in a file of its own and pull request it to the develop branch?
That would make it easier for me to trace the issue and afterwards we could add this table as a further example what shiny tables can be produced 😉

I quickly hacked together a table like the one you posted above. You can find the code here:
https://github.com/vandeseer/easytable/blob/develop/src/test/java/org/vandeseer/integrationtest/WordWrappingTest.java#L42
The output looks like this:

So could it be the case that you have an extra column that is too narrow and you place the numbers in there? Again: If you could paste the full code for a minimal non-working example that would be very helpful :)
Best,
Stefan

Will look onto it on the weekend, currently busy ;)

Had the same issue when using the first blue table shown under "Example". To reproduce, just open "org.vandeseer.integrationtest.ExcelLikeExampleText.java" and replace for example "Gin" with "Kr." or "K." (in the 2D array final Object[][] data = {). "Kr." becomes "K-" + NewLine + "r.", while "K." isn't shown at all. To fix this, I compared the maxWidth values of the private void drawCellText in "org.vandeseer.easytable.TableDrawer.java" which returns 10.223999 for "Kr." or 7.5599995 for "K."with the values of the private static float getWidthOfStringWithoutNewlines in "org.vandeseer.easytable.util.PdfUtil.java" which returns 10.224 for "Kr." or 7.56 for "K.". So there seems to be a rounding problem. To fix it, i added the following 1 line: maxWidth = (float) Math.round(maxWidth *1000) /1000; to "org.vandeseer.easytable.TableDrawer.java" to the private void drawCellText between lines float maxWidth = cell.getWidthOfTextAndHorizontalPadding() - (cell.getPaddingLeft() + cell.getPaddingRight()); and if (table.isWordBreak()) {. After this, compared values are both 10.224 for "Kr." or 7.56 for "K.". This results in expected behaviour - "Kr." is shown in 1 line and "K." isn't hidden. :-)

Thanks a lot for your comment @TheRealSourceSeeker! 👍 :)
I will definitely have a look.

It should be fine now – if you encounter any issues, please let me know and open a issue again. Thanks.

I had a look now and it seems the issue is indeed the usage of float and in particular the last line of the method getWidthOfTextAndHorizontalPadding(), which is:
return textWidth + getHorizontalPadding();

The textWidth is calculated as 7.56, but adding the padding (which is 8.0) does not result in 15.56, but 15.559999. Funnily enough the padding is subtracted later anyway, so I started by a small refactoring (see: db6c347).
This already solved the issue at least for the case you reported @TheRealSourceSeeker. Not sure though about the case of @TheSilentHorizon (could you try again with the latest develop branch?).
It may still make sense to do the comparison differently in the isLineFine(...) method in the PdfUtil class to take into account rounding issues the way you described it above. I will most probably add this as well shortly.
Again thanks a lot for your precise analysis @TheRealSourceSeeker! 👍

Is this issue fixed in latest version

Hi @ssatya21,
the problem itself should already be fixed.
Is it possible to share the code that breaks?
Thanks,
Stefan

I can't paste the code but the problem I see is- when the text is split by
size, a hyphen is getting appended and I don't want to append it
Is there a way to do that
For ex: maturity date is displayed as
Matu-
Rity
Date
Inside the textcell
This is the code from PdfUtil.splitbysize method
final String fittedNewLine = line.substring(0, i) + "-"
On Tue, Nov 2, 2021, 4:22 PM vandeseer @.***> wrote:

Hi @ssatya21 https://github.com/ssatya21,
the problem itself should already be fixed.
Is it possible to share the code that breaks?
Thanks,
Stefan
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vandeseer/easytable/issues/20#issuecomment-957327774,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWJ2PI6G6NGWPCA4QXDLLIDUJ67FHANCNFSM4GFDPA4A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Ping Pong ball

Describe the project you want to add with tech stack
Add a ping pong ball game using HTML, CSS and Javascript
Expected behavior
User can touch the ball by moving his mouse and the pod will also be moving, like a typical ping pong game
Screenshots (optional)

@MohitGupta121 @pranjay-poddar


[Bug]: App Not Running

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Name
Bobby Walters
Description of the bug?
I ran the APP to test the existing reports. Error returend  java: '}' expected" at line 35 in code. A Comma is missing.
Version
Develop Branch
Steps to Reproduce the Error
C:\Edinbuigh_Naper\Projects\SDEv\SeMethods\sem-project-group6\src\main\java\com\napier\seprojectgroup6\navigation\Navigator.java:35:91
java: '}' expected

Code of Conduct

[X] I agree to follow this project's Code of Conduct

bug has been Fixed.


Ionic2 imports (paths)

Any idea if following path issues in import can be solved somehow with this plugin:

// In<EMAIL_ADDRESS>
//Not working (From Ionic2 repository):  http://localhost:8080/ionic/gestures/gesture.js 404 (Not Found)
import {Gesture} from 'ionic/gestures/gesture';

//Working (modified by me):
import {Gesture} from './gesture';

For me up to now the only solution is to replace all "ionic/" with "relative paths"
Can resolveAmbientRefs be used for this issue ?
Here's the ionic2 code structure https://github.com/driftyco/ionic2/tree/master/ionic
Also below my config file
System.config({
  baseURL: "/",
  defaultJSExtensions: true,
  transpiler: "typescript",
  typescriptOptions: {
    "noImplicitAny": false,
    "tsconfig": true,
    //"resolveAmbientRefs": true
  },
  paths: {
    "npm:*": "jspm_packages/npm/*",
    "github:*": "jspm_packages/github/*",
    "app": "app"
  },
  separateCSS: true,

  packages: {
    "app": {
      "main": "app",
      "defaultExtension": "ts",
      "meta": {
        "*.ts": {
          "loader": "ts"
        },
        "*.css": {
          "loader": "css"
        },
        "*.html": {
          "loader": "text"
        }
      }
    },
<EMAIL_ADDRESS>: {
      defaultExtension: 'ts',
      "meta": {
        "*.ts": {
          "loader": "ts"
        },
        "*.css": {
          "loader": "css"
        },
        "*.html": {
          "loader": "text"
        }
      }
    }
  },

  map: {
    "clean-css"<EMAIL_ADDRESS>    "css"<EMAIL_ADDRESS>    "ionic2"<EMAIL_ADDRESS>    "reflect-metadata"<EMAIL_ADDRESS>    "ts"<EMAIL_ADDRESS>

I think the problem is that it is installed as 'ionic2', if it was installed as 'ionic' then these paths should resolve. You can do:
jspm install<EMAIL_ADDRESS>to alias a package under another name.

ok, makes sense, just tried that, but still getting
GET<EMAIL_ADDRESS>404 (Not Found)
for import ionic/util.ts

Ok, seems fine now, mapped that to
  map: {
    "ionic"<EMAIL_ADDRESS>

See https://github.com/vadimpopa/jspm-ionic2-starter/pull/1


Regression: Ejected build loses assets and favicon

Versions
CLI: 1.6.7
node: 8.9.4
npm: 5.6.0
typescript: 2.6.2
OS: Debian 9.3

Repro steps

ng eject
npm run build

Observed behavior
dist/assets and dist/favicon.ico don't exist.
Desired behavior

They should exist.
Mention any other details that might be useful (optional)
This definitely worked as recently as CLI 1.6.1; not 100% sure about versions in between 1.6.1 and 1.6.7.

Nice, thanks for the recommendation!


Problems with evaluation: wrong returns

First of all I would like to thank you for the incredible plugin! It has been my main means of developing with Clojure, where the speed and easy interactivity has attracted me a lot, so know that it is an incredible plugin!
Well, I'm having some problems evaluating some functions, in which they often give me a value that seems "wrong", like executing functions returning what they shouldn't, among other problems. This has been happening for a while and I would like to understand the problem and if there is any kind of solution.

The projects I use are mostly running with Leiningen, perhaps this could be a point? And yes, to run and start the REPL I have used :Lein with the vim-jack-in configuration. To configure the plugin I'm using Lazy instead of Packer!

Just guessing but are you evaluating the whole file/buffer, instead of the current definition/form?
When you evaluate the file/buffer the displayed result is the last form. Is validate-token the last form in your file?

Yes, indeed, this is the last function in my file. But, does this assessment make sense? After all, the key combination I'm using is the <leader> + e + b pattern.

Thank you very much @leafgarland for alerting me that I was evaluating the entire file! The correct key combination would be <leader> + e + e!


adding automatic build for new Umple Eclipse plugin

Hi,
I have developed a new Umple eclipse plugin which is not based on xText. It uses the basic elements of Eclipse.
Currently it works (even though it's not perfect), but we need to add its building process to the Umple's automatic building process.
I'm not so much familiar with the process so need help. I really appreciate if someone helps or takes cares of this task. I'll be able to work with that person continuously to finish the integration.

@TimLethbridge  @Nava2 @mgarzon @aforward @opeyemiAdesina

If I wasn't about to head off on vacation in two days, I might tackle this. It looks fairly simple. Note that on the cruise control server, there is the extra deployment step to move it into the cruise home directory that I will likely have to automate after the build has run.

documenting the steps

Copying the latest version of Umple from the folder dist to the folder org.cruise.umple.eclipse.plugin and then renaming it to umple.jar
Modify the version of plugin based on the current verison. we need to change the version of feature as well. ???
build the plugin with this script:
java -jar <eclipse-installation-path>\plugins\org.eclipse.equinox.launcher_<version><qualifier>.jar -application org.eclipse.ant.core.antRunner -buildfile org.cruise.umple.eclipse.plugin.build.xml
This will generate the plugin inside the folder org.cruise.umple.eclipse.plugin
Delete the files and folders from the folder org.cruise.umple.eclipse.plugin
a) file -> umple.jar
b) file -> @dot.log
c) folder -> @dot
copy the plugin inside the folder C:\umple\org.cruise.umple.eclipse.plugin.update.site\plugins

Closing this issue as per Vahdat's recommendation. It will be resolved with the transition to Gradle (https://github.com/umple/umple/issues/751) as adding it to Ant when we're going to replace Ant is unnecessary.


⚠ Spryr has degraded performance

In 3bc3164, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3526 ms

Resolved: Spryr performance has improved in 907431a after 7 minutes.


Dry run

This PR implements dry-run feature that was mentioned in #120.
I left off where a discussion in #67 has ended. Since #67 seems to be long dead and gone, I decided to start a fresh one with brand new implementation. I also introduced some basic tests that verify the project is not modified and the issues are reported.
Please note that I had no Ruby experience prior to implementing this feature, so any suggestions/comments are more than welcomed.
Last but not least, huge credits to @samdods for starting the original PR!

@turekj this looks really great! Unfortunately, this project pretty much hasn't been updated in 9 months and it doesn't look like there's any active development on it, but I know my team would love to start using this feature.
@marklarr is this still being maintained?

@noahsark769
There is a way to test this feature. I have created a v0.3 branch in the forked repository cause my other project needed that. The easiest way to give it a spin is to use bundler:

gem install bundler (if you haven't got it installed already)

Create Gemfile in your project directory with following contents:
gem 'synx', :github => 'turekj/synx', :branch => 'v0.3'

Run bundle install.

Test the setup by running bundle exec synx -w warning {ProjectName}.xcodeproj.

If you want it to be attached as a build phase add a following script:
bundle exec synx -w warning ${PROJECT_FILE_PATH}

The other project I am taking about is danger-synx plugin. Your team might be willing to take a look into that too (provided you use any CI server).

@turekj yep, I actually already checked out your branch and ran it on our project - it seems to work great. My eventual goal would be to implement a pre-commit hook that runs synx, but running it on a CI server is also a good thing to have. However, seems like the issue here is that this project hasn't been updated by Venmo in quite a while.

👍  Looking forward to see it merged

Hi @turekj ,
thanks for this wonderful addition.
I use it for our CI builds and already proposed a PR to fix a minor issue: https://github.com/turekj/synx/pull/2
Cheers

I'm also looking forward to this feature. Will it be merged soon? Seems like nothing changed for a while  in Synx ...

It's been over a year. Could we get this merged in?

I have spoken with @marklarr since he committed to the repo as the last maintainer, but nothing has happened so I think the project won't be maintained anymore. 😭 💀
I could fork it, but considering the latest changes to Xcode I don't think it's much of use for anyone.

I think the project is still pretty useful - it’s still easy to add a folder to the xcodeproj and not make a file system directory. Sad to hear that this won’t be maintained though :(

@turekj Does Xcode support syncing project with directories natively? Or do you mean it's easier to keep them in sync from scratch, now? I have a few projects that are split into groups with a giant Sources directory that would be nice to sync.


Initial commit of StructuredDataView and StructureDataValue classes

@joshwatson bugged me to try and get this merged into binaryview.py
The class represents a read-only interface into a structure mapped over memory. For example, in the API we can apply the Elf64_Header structure on an address (such as 0x400000). Then access it's members directly:
print "Analyzing {0}".format(inputfile)
bv = BinaryViewType.get_view_of_file(inputfile)
bv.update_analysis_and_wait()

structure = "Elf64_Header"
address = 0x400000
sdv = StructuredDataView(bv, structure, address)

print("ELF Machine: {:#x}".format(sdv.machine))

Will print 0x003e, the elf machine for my example binary.
The __str__ method has also been overridden to pretty print a structure:
print(sdv)

Outputs:
struct Elf64_Header 0x400000 {
	    +0 struct Elf64_Ident ident                 = 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
	   +10 uint16_t type                            = 0002
	   +12 uint16_t machine                         = 003e
	   +14 uint32_t version                         = 00000001
	   +18 void (*)() entry                         =<PHONE_NUMBER>400c90
	   +20 uint64_t program_header_offset           =<PHONE_NUMBER>000040
	   +28 uint64_t section_header_offset           =<PHONE_NUMBER>0048b8
	   +30 uint32_t flags                           = 00000000
	   +34 uint16_t header_size                     = 0040
	   +36 uint16_t program_header_size             = 0038
	   +38 uint16_t program_header_count            = 0009
	   +3a uint16_t section_header_size             = 0040
	   +3c uint16_t section_header_count            = 0024
	   +3e uint16_t string_table                    = 0021
}

Love the feature -- for reference, as we've talked about before on slack I think, we do want to integrate this into the C++ API as well or the core so that it's more broadly available but we don't want to hold up being able to use it now so we're going to accept the PR with the expectation that we'll either add similar functionality later to the C++ API or move it into the core and change this to use the core implementation.


Locals window can be crowded with return value items when stepping over complex statements

Issue Description
When stepping over complex statements, the Variables pane shows an item for every function stepped over. This can get crowded:

Steps to Reproduce

Make a statement with lots of different method calls
Step over

Expected Behavior
I don't want to see the system stuff.
Actual Behavior
Showing the system stuff.
Environment information
VSCode version: 1.60.0-insider
C# Extension: 1.23.14
Dotnet Information
.NET SDK (reflecting any global.json):
 Version:   6.0.100-preview.7.21379.14
 Commit:    22d70b47bc
** INCORRECT **
global.json exists:
{
  "sdk": {
    "version": "5.0.400"
  }
}

Runtime Environment:
OS Name:     Windows
OS Version:  10.0.19043
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\6.0.100-preview.7.21379.14\
Host (useful for support):
Version: 6.0.0-preview.7.21377.19
Commit:  91ba01788d
.NET SDKs installed:
5.0.400 [C:\Program Files\dotnet\sdk]
6.0.100-preview.7.21379.14 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.All 2.1.29 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.29 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.18 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-preview.7.21378.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.29 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.18 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-preview.7.21377.19 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.18 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.0-preview.7.21378.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

csharp
ms-dotnettools
1.23.14

git-graph
mhutchie
1.30.0

hexeditor
ms-vscode
1.8.2

hl7tools
RobHolme
1.13.2

material-icon-theme
PKief
4.10.0

msbuild-project-tools
tintoy
0.3.15

night-owl
sdras
2.0.1

quicktype
quicktype
12.0.46

TabOut
albert
0.2.1

vscode-base64
adamhartford
0.1.0

vscode-thunder-client
rangav
1.9.1

vscodeintellicode
VisualStudioExptTeam
1.2.14

Are you debugging Wasm or regular coreclr/clr code?

a .NET 5 console application.

Can you share your launch.json?
Are you running some sort of code instrumentation tool on whatever dll you are stopped in?

This is a stock .NET Core 5 console app - "dotnet new console".
launch.json is stock from what VS Code created:
{
    "version": "0.2.0",
    "configurations": [
        {
            // Use IntelliSense to find out which attributes exist for C# debugging
            // Use hover for the description of the existing attributes
            // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
            "name": ".NET Core Launch (console)",
            "type": "coreclr",
            "request": "launch",
            "preLaunchTask": "build",
            // If you have changed target frameworks, make sure to update the program path.
            "program": "${workspaceFolder}/bin/Debug/net5.0/FHIR Test.dll",
            "args": [],
            "cwd": "${workspaceFolder}",
            // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
            "console": "internalConsole",
            "stopAtEntry": false
        },
        {
            "name": ".NET Core Attach",
            "type": "coreclr",
            "request": "attach"
        }
    ]
}

Can you enable logging and grab what is logged for "command":"variables" and "type":"response" entry. Should look something like this:
<- (R) {"seq":38,"type":"response","request_seq":13,"success":true,"command":"variables","body":{"variables":[{"name":"args [string[]]","value":"{string[0]}","type":"string[]","presentationHint":{"kind":"data","attributes":["canHaveObjectId"]},"evaluateName":"args","variablesReference":0,"memoryReference":"0x0000011F3F83A3C8"},{"name":"myString [string]","value":"\"Hello World\"","type":"string","presentationHint":{"kind":"data","attributes":["canHaveObjectId","rawString"]},"evaluateName":"myString","variablesReference":0,"memoryReference":"0x0000011F3F83B3D0"}]}}

This is as I stepped over the statement:
                var request = new HttpRequestMessage
                {
                    RequestUri = new Uri("<some url>"),
                    Method = HttpMethod.Get
                };

-> (C) {"command":"variables","arguments":{"variablesReference":1000},"type":"request","seq":35}
<- (R) {"seq":173,"type":"response","request_seq":35,"success":true,"command":"variables","body":{"variables":[{"name":"System.Net.Http.HttpMethod.Get.get returned [HttpMethod]","value":"{GET}","type":"System.Net.Http.HttpMethod","presentationHint":{"kind":"data","attributes":["canHaveObjectId","readOnly"]},"evaluateName":"$ReturnValue1","variablesReference":1001,"memoryReference":"0x000001D18DF13738"},{"name":"client","value":"{System.Net.Http.HttpClient}","type":"System.Net.Http.HttpClient","presentationHint":{"kind":"data","attributes":["canHaveObjectId"]},"evaluateName":"client","variablesReference":1002,"memoryReference":"0x000001D18DF0D718"},{"name":"token","value":"{FHIR_Test.Token}","type":"FHIR_Test.Token","presentationHint":{"kind":"data","attributes":["canHaveObjectId"]},"evaluateName":"token","variablesReference":1003,"memoryReference":"0x000001D18DF7A3E0"},{"name":"request [HttpRequestMessage]","value":"{Method: GET, RequestUri: 'https://qatyk01-slave-gw-alb.m2qa.com:8181/ef-dev/firm/dotest/ema/fhir/v2/Patient?identifier=pms|365097236', Version: 1.1, Content: <null>, Headers:\r\n{\r\n}}","type":"System.Net.Http.HttpRequestMessage","presentationHint":{"kind":"data","attributes":["canHaveObjectId"]},"evaluateName":"request","variablesReference":1004,"memoryReference":"0x000001D18DFAD3C8"},{"name":"response [HttpResponseMessage]","value":"null","type":"System.Net.Http.HttpResponseMessage","presentationHint":{"kind":"data"},"evaluateName":"response","variablesReference":0},{"name":"result [FhirPatient]","value":"null","type":"FHIR_Test.FHIR.FhirPatient","presentationHint":{"kind":"data"},"evaluateName":"result","variablesReference":0},{"name":"patientId","value":"null","type":"long?","presentationHint":{"kind":"data"},"evaluateName":"patientId","variablesReference":0},{"name":"result2 [FhirCcda]","value":"null","type":"FHIR_Test.FhirCcda.FhirCcda","presentationHint":{"kind":"data"},"evaluateName":"result2","variablesReference":0},{"name":"xmlUrl [Uri]","value":"null","type":"System.Uri","presentationHint":{"kind":"data"},"evaluateName":"xmlUrl","variablesReference":1005},{"name":"xmlResponse [FhirCcdaDetail]","value":"null","type":"FHIR_Test.FhirCcdaDetail.FhirCcdaDetail","presentationHint":{"kind":"data"},"evaluateName":"xmlResponse","variablesReference":0},{"name":"xml [string]","value":"null","type":"string","presentationHint":{"kind":"data"},"evaluateName":"xml","variablesReference":0},{"name":"data [byte[]]","value":"null","type":"byte[]","presentationHint":{"kind":"data"},"evaluateName":"data","variablesReference":0},{"name":"decoded [string]","value":"null","type":"string","presentationHint":{"kind":"data"},"evaluateName":"decoded","variablesReference":0}]}}

Oh, I think I understand what is going on. Did you just step over something with a long chain of methods?

Sorry, you just answered that.

Yes. As I step through, various system variables are shown - System.Linq.Enumerable.FirstOrDefault after calling FirstOrDefault(), etc. They come and go while stepping through.
Thanks.

Thanks. I finally understand your scenario now.

@gregg-miskelly Any updates on this issue? It's still a thing...

@gregg-miskelly Still looking to see if there's any movement on this issue? Not only is the variables window stuffed with extraneous information, it takes several seconds for the mess to even show up.


Android Basics: Lunch Tray app

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-project-lunch-tray?authuser=1&continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-4%3Fauthuser%3D1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-project-lunch-tray#3
In which task and step of the codelab can this issue be found?
Task 5 :Project: Lunch Tray app Step 4: Test you app
The Problem is in the downloaded project!
Describe the problem
As I was testing the app with the provided test that came with to project, I was keep getting errors during NavigationTests like : Unresolved reference: startOrder ,  and it seems the problem was on the NavigationTests class.
I edited from startOrder to startOrderFragment and all tests work perfectly fine now.
Steps to reproduce?

Go to -  com.example.lunchtray (androidTest)
Click on - run NavigationsTests
See error - Unresolved reference: startOrder

Versions
_Android Studio version: Android Studio Bumblebee / 2021.1.1
_API version of the emulator: 31.2.6
Additional information
Include screenshots if they would be useful in clarifying the problem.

Hey, I fixed this issue by refactoring the ID.
It works fine and all the tests pass now, except `navigate_to_start_order_from_checkout_via_submit`(). This test fails sometimes and passes the other, it's very random.
If I run this test alone then it passes, but when I run the whole test suite it fails most of the times but passes in a few re-runs. What could be the issue?

Hey, I fixed this issue by refactoring the ID.
It works fine and all the tests pass now, except `navigate_to_start_order_from_checkout_via_submit`(). This test fails sometimes and passes the other, it's very random.
If I run this test alone then it passes, but when I run the whole test suite it fails most of the times but passes in a few re-runs. What could be the issue?

Hard to say. Other than startOrder problem everything works fine

Duplicate of #7, #12, #14


Added advanced retry interval computation support

Coverage decreased (-0.4%) to 93.471% when pulling<PHONE_NUMBER>7a4a6ec769a859bf40f10a9ec2257a on goldobin:feature/interval-function into b9e61a904695b06b8e25c679a127b1ccb6b1f072 on RobWin:master.

Coverage decreased (-0.3%) to 93.58% when pulling bc0b153813e34bf3fb0fd82d74443ab448401647 on goldobin:feature/interval-function into b9e61a904695b06b8e25c679a127b1ccb6b1f072 on RobWin:master.

Thx

Thx


MQTT.  host, uid, and pwd

where to set the MQTT host. UID/PASS?

In the URL you pass when starting the service. ie mqtt://user:pass@host/. Note that it needs to be properly URI encoded if you have special characters in the username or password

thank you,  i missed that


Obsidian got laggy and choked

What happened?
Sometime this week Obsidian got very laggy when typing/deleting. @Licat's helped me investigate the issue (I am a total newb) and he suggested that I send you the attached zip of a performance log from Developer Tools, whilst typing. There seems to be some CPU spikes associated with DV (he tells me). In the meantime, I have deleted a few files with dataviewjs in them and things seemed to get a little better. Disabling DV seems to return Obs to its smooth best.
Profile-20211210T232838.zip
DQL
No response
JS
No response
Dataview Version
0.4.21
Obsidian Version
0.13.8 (installer 0.12.19)
OS
Windows

I had the same issue this week. I was making a very heavy use of Dataview, with queries in every note -over a thousand. I deleted all of them and limited Dataview queries to a few meta notes that query all notes. Little changed, as I discovered later that my problem was with another plugin, Obsidian Git.
Incidentally, I wish Dataview had an active pane qurery, so that one could write something like where file.name = that.file.name in a note placed inside the side bar, and the query would be applied only to the file on the active pane. If this is feasible, it would be a way to apply powerful Dataview features to individual notes.
But I do realise the devoloper is already providing a game changing plugin. Thanks so much.

I probably need to throttle how frequently dataview is willing to re-parse files: my guess is the entire markdown document is being re-indexed every character you type, which can quickly push a CPU to 100% on a few cores if the Markdown file is non-trivial in size. Fixing a 1-2 limit before a file can be re-indexed again should space out indexing operations and fix this issue.
I'm not 100% certain on the DataviewJS views - if they are large and do a lot of calculations, it's possible that they are also a source of lag; they can refresh every 200ms if data changes frequently, though I haven't encountered many which have frozen the frontend yet. You can manually try changing the refresh interval to something like 2 seconds (2000) in the settings to see if it makes a difference.

I changed the refresh rate to 2500. This reduced the lag when typing, but did not remove it entirely.
I generally have two DV tables in the sidebar, open all the time (though often with the side panels collapsed): one showing modified docs, and created docs from the last 24 hours -- and another calculating upcoming birthdays. Closing these docs restored smooth typing. @jsmm 's suggestion above should help here, if it is possible.

This is probably related to the issue I created PR #764 for: if you have dataviews in sidebars they will be refreshed even with the sidebars closed or with the specific tab hidden.  This creates a lot of updating, which in turn causes memory churn due to frequent GC, which then slows the heck out of things.
To work around the problem, you need a higher interval, like 15000ms or more, depending on how many dataviews you keep open at once.   Also note that changing the interval will have no effect on your existing sidebars until you reload the workspace at minimum.  (It's also impossible to disable automatic refreshing entirely, due to a bug in the settings dialog.)
With PR #764, I was able to return to the default refresh rate of 250ms, because in a worst-case scenario I can always close my sidebars and maximize the current pane to hide everything that might get updated.  In the long-term, other performance-improving strategies could be added, such as a virtual DOM (or other mechanism to prevent page reflows when the query results haven't changed), or smart query objects (to avoid re-querying when the index changes couldn't affect the query results).
(Which strategy is most useful will depend on how much of the performance issues come from DOM manipulation vs. rerunning the queries themselves.)

@pjeby 's fix merged for this and will show up in 0.4.22.

Cool - many thanx


Error enabling plugin LuckPerms 5.3.0 on Waterfall

Description
Error enabling plugin LuckPerms 5.3.0 on Waterfall
Reproduction steps

Start Waterfall server using Luckperms 5.3.0

Expected behaviour

Load luckperms with no error on console
Environment details

Server type/version: Waterfall Bootstrap:1.16-R0.5-SNAPSHOT:2b1ac19:398
LuckPerms version: 5.3.0

Error on startup: https://gist.github.com/SrBedrock/4c8bf60c27177a1c02077a79f16b2ad1

Not a LP issue, seems to be an issue with the root machine, possibly permissions?

Not a LP issue, seems to be an issue with the root machine, possibly file permissions?
Version 5.2.82 works fine

Unable to create a temporary file
AccessDeniedException: /tmp/luckperms-jarinjar6361610685842350805.jar.tmp

The user you're running the server as doesn't have permissions to write in the /tmp/ folder, this is not a LuckPerms issue. Make sure the user has read/write/execute permissions for that folder.


https://appcenter.ms can not open，I can not see Analytics and Crashes info

[Enter feedback here]

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

ID: 45dd71a0-a249-a87b-e4eb-e4da0a20472f
Version Independent ID: 450c26f5-ab13-8df5-d45a-6086f5391b23
Content: App Center Support - Visual Studio App Center
Content Source: docs/general/support-center.md
Service: vs-appcenter
Sub-service: app-center-general
GitHub Login: @lucen-ms
Microsoft Alias: lucen

Hi! Thanks for getting in touch with us!
Did you try to open this link via another browser, change the internet connection or use VPN? Does it help you? What error do you get when opening the https://appcenter.ms link?

I am in Beijing, China, and I can’t use Safari or Chrome opening the https://appcenter.ms link.It was OK before, but now it can’t be opened.

Hi there, I recommend capturing your network traffic using Burp Suite/Network Monitor/Wireshark to isolate the issue better here. I'm under the impression your local network is blocking you to access the App Center portal. Check with your network administrator if there's a proxy server or rules blocking you to access certain URIs.
Otherwise, there's a known issue in China region, for some of Analytics and Diagnostics SDK data may experience significant delay or not make it to our servers based in the United States. This is due to country specific policies and laws, and our hands are pretty tied to this matter that we cannot guarantee that App Center works in all countries. Please check this doc to find more information.
https://docs.microsoft.com/en-us/appcenter/general/app-center-security#data-residency-and-sovereignty


Controlling vehicle actuation with road wheel angle and acceleration.

Hello,
Currently the only way to control the actuation of a vehicle is using a steering wheel, throttle and brake interface. This type of interface is very much tied to the exact make and model of car you're using:

The steering rack ratio of every car is different (and often not linear). The maximum achievable road wheel angle at full lock of the steering wheel also differs between cars.
50% throttle on a more powerful car is likely to result in a faster rate of acceleration. To deal with this, I have to write PID controllers that have to be tuned differently for every car I use in the simulator.

A more common interface (found on drive-by-wire systems on a real car) is to control using:

Road Wheel Angle in degrees or radians for lateral control.
Acceleration in m/s^2 for longitudinal control (positive for forward acceleration, negative for braking).

Any chance we could get this interface type of interface? I think it's a really important issue personally.

Thanks Jesse,
We can consider it.
Regarding the first point, you could get the two front road wheel angles (RWA) with something like this in Lua:
-- Get the two RWA angles from the vehicle (FL and FR).
local function getWheelAngles()
  local steeringSign = sign(electrics.values.steering_input)
  local frontLeftWheel = wheels.wheelRotators[wheels.wheelRotatorIDs["FL"]]
  local frontRightWheel = wheels.wheelRotators[wheels.wheelRotatorIDs["FR"]]
  local frontLeftWheelAngle = acos(obj:nodeVecPlanarCosRightForward(frontLeftWheel.node2, frontLeftWheel.node1)) * steeringSign
  local frontRightWheelAngle = acos(obj:nodeVecPlanarCosRightForward(frontRightWheel.node1, frontRightWheel.node2)) * steeringSign
  return frontLeftWheelAngle, frontRightWheelAngle
end

you also know the steering wheel angle (STWA) in the range [-1, 1], since it is whatever you set it to.
From there, you can compute the map between STWA and RWA, which as you say will depend on the steering mechanism of the vehicle, and will not be linear.  This may be a bit tedious, but it would only need done once per vehicle.  You could save the data to .csv or whatever.
On the second point regarding acceleration, though, I am not sure it is completely clear how to do this well.  It sounds like some kind of PID or similar.  We can either supply a gas pedal value in [0, 1] or supply the propulsion torques directly, but it sounds like we would need some kind of feedback thing where we monitor the acceleration value and adjust accordingly, which will be pretty laggy.  We would need to investigate how the drive-by-wire systems do it, then.  The relationship between acceleration and pedal/torques would be complicated, so you cant just do a look-up or have some formula, I guess.
Best regards,
Dave

Hi, the steering wheel angle is just visual, as reported in the comment. Support for RWA to control the vehicle is on our backlog, but with no ETA.

I assume steering_input is just visual, too?

Hi, steering_input is a value in the range of [-1; 1] and it is used to actually steer the vehicles.
https://documentation.beamng.com/modding/vehicle/vehicle_system/electrics/


fix deepspeed script and add a optimum-intel option

This PR introduced optimum-intel to optimize the deepspeed model, it can support high version transformers (v4.41.2), and also fixed some errors.

Hi @PenghuiCheng . Would you please help to review this PR? Thx!


Inference is extremely slow on Jetson Xavier NX

Hi everyone,
I'm currently trying to run a very basic code on my Jetson Xavier NX in order to do object detection on a video, with MMDetection. But it seems that whatever the model I test, it takes an average of 1 second to infer a single frame (0.7s for the best one I checked), which is extremely slow and under the expected inference time advertised on the mmdet website (~50 fps).
I also tested the mmdetection demo scipts (video_demo.py and video_gpuacc.py), tried to convert my mmdet model to a TensorRT model (fp16 and int8 tested), but I still have approximatively the same results.
I really don't know what I'm missing ...
Please note that I previously worked on YoloV3 with Darknet and I had no problem like this.
My code can be seen below.
Environnement
Python: 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0]
CUDA available: True
GPU 0: Xavier
CUDA_HOME: /usr/local/cuda-11.4
NVCC: Cuda compilation tools, release 11.4, V11.4.166
GCC: aarch64-linux-gnu-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
PyTorch: 1.11.0
PyTorch compiling details: PyTorch built with:
  - GCC 9.4
  - C++ Version: 201402
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - LAPACK is enabled (usually provided by MKL)
  - NNPACK is enabled
  - CPU capability usage: NO AVX
  - CUDA Runtime 11.4
  - NVCC architecture flags: -gencode;arch=compute_72,code=sm_72;-gencode;arch=compute_87,code=sm_87
  - CuDNN 8.3.2
  - Build settings: BLAS_INFO=open, BUILD_TYPE=Release, CUDA_VERSION=11.4, CUDNN_VERSION=8.3.2, CXX_COMPILER=/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow, FORCE_FALLBACK_CUDA_MPI=1, LAPACK_INFO=open, TORCH_VERSION=1.11.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EIGEN_FOR_BLAS=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=OFF, USE_MKLDNN=OFF, USE_MPI=ON, USE_NCCL=0, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF,

TorchVision: 0.11.1
OpenCV: 4.5.5
MMCV: 1.5.2
MMCV Compiler: GCC 9.4
MMCV CUDA Compiler: 11.4
MMDetection: 2.25.0+ca11860

My code
from mmdet.apis import init_detector, inference_detector
import mmcv
import cv2

config_file = 'configs/faster_rcnn/faster_rcnn_r50_fpn_1x_coco.py'
checkpoint_file = 'checkpoints/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth'
model = init_detector(config_file, checkpoint_file, device='cuda:0')
# wrap_fp16_model(model)

def main():
	video_reader = mmcv.VideoReader("/home/thalesgroup/Thales/medias/video.mp4")

	for frame in mmcv.track_iter_progress(video_reader):
		result = inference_detector(model,frame)
		frame = model.show_result(frame, result)
		cv2.namedWindow('Processed video', 0)
		mmcv.imshow(frame, 'Processed video', 1)

if __name__ == '__main__':
	main()

Any help or idea is welcomed, thanks !

Hello @YanisLax. Does the inference time only include the time of inference_detector or both codes in one iteration of frame?

Hello, thanks for your help. After printing the time between instructions, I found the following values :
inference_detector() time : 0.7s
show_result() time : 0.47s
Do you have an idea of the factors which could cause this huge latency ?


Advanced migrations - Create all the SVN branches as proper Git branches

In the Advanced migrations section, it is not clear where the script to create all the SVN branches as proper Git branches is to be run and when it is to be run.
I have tried running it in the new-bare.git folder at the end of the process after the tag migration script. Nothing is processed and the proper Git branches are not created.
Further clarification would be appreciated.
Here is the script that is supposed to be executed.
git for-each-ref --format='%(refname)' refs/remotes | % { $.Replace('refs/remotes/','') } | % { git branch "$" "refs/remotes/$"; git branch -r -d "$"; }
I am also confused on the final code block. It seems that it would create and delete the same branch.
{ git branch "$" "refs/remotes/$"; git branch -r -d "$_"; }

@sbolt1 Thanks for your feedback; we appreciate it. To make sure we have all the information needed to address your issue, please let us know which article you’re referencing.


Image for Element.getBoundingClientRect() Documentation appears wrong or confusing

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[X] Correction or update

Details
Link: https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect
Image in question:

The current image for Element.getBoundingClientRect() is fairly hard to parse if not outright incorrect.
Expected
I would expect the blue shape to be the client rectangle being described. I would also expect the top label to be on the line indicating the top of the DOMRect, the bottom at the bottom, and so on.
Actual
The current image (and accompanying description) doesn't make it clear what rectangle is being described and seems to have top-bottom swapped with left-right if I'm reading it correctly.

Hi there @bshaibu !
I've had a look at this, and the image seems correct to me, although it really could've done with a bit more explanation.
To hopefully help with this, I've added some more description to the top fo the article, and added an example to more effectively illustrate what the values mean.
Does this help?

Hi @chrisdavidmills , thank you for the quick reply and update! The example is helpful and exactly matches my understanding and testing of Element.getBoundingClientRect() and DOMRects in general.
To be honest, I still find the image a bit confusing, but I see what my misunderstanding was now.  I was interpreting the image as if it was saying that Left, Top, Right, and Bottom were signified by their closest line.
Please excuse my terrible web Paint here, but I was interpreting the image as:

which didn't align with my expectations.
I realize now that the lines are actually indicating that each respective position is that far from the origin using a line and an additional "serif" line.
It might be more clear if the lines were:

color-coded (another bad paint example)

shifted so they don't have left and top overlapping (similar to how bottom and right are currently)

or if there was a line in the Value section saying something like "In the image to the right, top is measured as the distance from the top of the viewport to blue rectangle. Similarly, left is measured as the distance from the left of the viewport. Note top, left, bottom, and right are coordinates values."

This issue should be fine to close out as a user error (this was my misinterpretation!), but just wanted to share some things for you all to consider.

Hey @bshaibu !
I totally get what you mean about the diagram being confusing now. I've replaced it with a hopefully better one: https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect
Let me know what you think!

Thank you for all the updates here @chrisdavidmills! The new image is a lot clearer on where the arrows and labels match up.
I am a little worried that now the image implies that bottom is the distance from the bottom of the viewport to bottom of the rectangle (and similar for right), but I've nitpicked on this enough already. Thanks again!

@bshaibu no, no, you are right to nitpick. My new diagram was wrong ;-)
I have update it to another new diagram. Have I got it right this time?

@chrisdavidmills I think you've hit the sweet spot - super clear diagram and correct across the board. Thank you for getting this all the way!

@bshaibu woo hoo!
And thank you for the patient, careful analysis of the problem, which led to some fun collaboration.


How to use in JetBrains

Download https://plugins.jetbrains.com/plugin/17718-github-copilot/versions/stable and unzip
Search for overrideProxyUrl in agent.js
Change it and test (checking this now, if anyone has success please let me know...)

Mac compress command does not create a valid zip file so use Keka or windows VM to compress the folder back up for installing
https://apple.stackexchange.com/questions/414947/how-to-prevent-macos-from-adding-dot-underscore-files-whatever-html-in-zip-a

Note that you need 4_0 model and manual install instructions for llama-cpp-python to use METAL https://github.com/abetlen/llama-cpp-python/blob/main/docs/install/macos.md?plain=1


Minor spelling fix: encapulate to encapsulate

@PeterSmithRedmond : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Table 2 in paper

Hello,
Thank you for releasing I2V evaluation benchmark. It is super useful for the community.
I am trying to replicate scores of Table-2 in your paper.
I had some questions:

Which dataset was used to evaluate these I2V models?
How did you extract the first frame to feed as conditioning?
Were the 1000 WebVid10M validation videos used as Reference videos?

Your inputs would be very helpful!
Thank you,
Noor

Hello, thanks for your attention.

Please refer to the https://huggingface.co/datasets/stevenfan/AIGCBench_v1.0.
We extract the 10th frame in WebVid10M dataset.
Yes, we used webvid list in https://huggingface.co/datasets/stevenfan/AIGCBench_v1.0.


call_on_name does not work for ScreensView

First: is this a bug report? A suggestion? Or asking for help?
bug report
Problem description
I was trying to use a ScreensView compontent to switch between a couple different views within some small part of a dialog box. I setup global callbacks to set_active_screen, but it seems call_on_name does not find the ScreensView component. I believe this is due to how the ViewWrapper  trait defines wrap_call_on_any. It seems forwards that call directly to the children of the ScreensView, but doesn't actually check whether the ScreensView itself matches the selector.
Environment

Cursive version - crates.io 0.15

Thanks for all your work on this crate!

Should be fixed with ad935f5126ed5ac763b57e3c08a73bd3d69676df.

I haven't had a chance to try it out yet, but will that fix the situation where the ScreensView itself is named? My reading of it suggests that change only handles the case where the screens within a ScreensView are named (due to iterating over self.screens), but I haven't studied this code base much so I could be off here.
Thanks for your quick response btw!

Hmm that should already have worked. Note that ScreensView is a generic, so you'll need to call it with the same generic type in case it isn't the default (BoxedView).

Ah, there is a good chance that was my issue. I'm not sure exactly how the default generic type vs type inference would play out in the code that I had, since I think I was doing ScreensView::new() and then adding two views which would have had the exact same type.
Unfortunately I've worked around this in another way for now so I don't have an easy way to test it, but I'll assume this is the explanation.
Thanks again for yoru quick feedback. I'll go ahead and close this now as resolved.


update missing project argument

without project:
Error: project: required field is not set

@michalswi
Thanks for the PR! 🚀✅ Lint checks have passed.


Create mohammed_imad_attendance

create attendance file
Notes for Reviewers

This PR fixes #

Signed commits

[ ] Yes, I signed my commits.

🚀 Preview for commit ad6b2f76d0498e807e3f019f243df71da1ce5958 at: https://6751f62e0f56f906c08636ec--meshery-docs-preview.netlify.app


What about CSS?

Some librairies (I'm thinking of CodeMirror here, but others apply too, I'm sure) come with large style sheets that are better loaded asynchronously too, and it is always nice to wait for the CSS to load as well as the lib itself.
I'm ignorant about the topic, but something tells me that there must be various pitfalls in that regard too...
Is it beyond the scope of little_loader?
This may end up being a slippery slope though (why not handle images, etc...), and I'd understand if you wanted to keep your lib lean and focused.

@pygy -- Offhand, JS with the tightest library is the main goal.
Curious -- what would be the likely percentage increase in size for CSS loading supporting the same browser matrix if you had to guess?

 I've don it the naive way, using onload and ignoring errors, but that's precisely what you're avoiding here :-)...
Thinking aloud:
A naive approach (which may be sufficient) would be to dispatch on the extension and create a link tag rather than a script tag. Maybe ensure that the elements are appended in order rather than backwards[0]... I don't know how the cascade works when rules are inserted dynamically. Is it the document order or the time order that prevails on rule conflict?
There may be loaded vs applied distinctions, I'm not aware of it, and I wouldn't know how to write test to look for callbacks fired too early... I guess that checking, on load, the computed style of an element modified by the sheet could do it.

[0] More generally you may want to append scripts at the end of head. Imagine a wicked script that removes all script tags... Are there issues with head.appendChild?

@alexlande @exogen -- Interested in your thoughts on this in terms of (1) size of a css implementation, (2) consistency with the "super small" aims of little-loader, (3) should it be a separate project, etc.???

I can't speak to how well CSS loading would fit into little-loader specifically. My gut instinct would be that there isn't enough commonality to make little-loader support CSS vs a separate CSS loading module.
I wouldn't expect the size of a CSS implementation to be very large, but am unaware of what potential pitfalls there are. I typically use https://github.com/filamentgroup/loadCSS for this, which is quite small. I have no idea how correct the behavior is cross-browser though.

I've done a CSS loader implementation before and my impression was that getting reliable onload and onerror handling across browsers is even more difficult than with scripts. I'm not against looking into it at all though.
If we do add CSS loading, I'd prefer it to be a separate function entirely, no checking for .css at the end or css! at the beginning like many other solutions no.

@pygy -- Based on the feedback of @exogen and @alexlande who are pretty familiar with this, I'm going to close this as wontfix as it sounds like the right thing to do would be to open a new little-loader-css project or something if needed since we wouldn't share code in the core library.
Thanks for the submission!

You're welcome. Let's keep it simple!


Questions about external objective evaluation

Hello, I have a couple of questions about external objective evaluation.

Can I control the number of next points I get in each iteration of manual loop? I can see there is batch_size argument in the GitHub code but it doesn't seem available in the version installed with pip.

Is external objective evaluation mode introduced for BO supported in Experimental Design as well?

Thank you.

I think @latmarat means slightly different thing here, not initial designs

This depends on the method you are using. Most methods we implement right now aren't batch, so they will always give you 1 points. Local penalization is the example of a batch method, where setting batch_size indeed lets you control the number of points you get out at each iteration

Yes, get_next_points is supported by all methods in emukit, including exp design ones


Add support for one-padding

This adds support for setting the attribute padding = "ONE".
The unit test for this is slightly involved because we have to manually pad the input buffer with +1s for the tflite conv.

As discussed with @lgeiger I'm fine with using SAME_ONE as attribute. (The distinction is not super important since users should never see that stuff, its only set by the converter).

I am seeing in https://github.com/larq/larq/pull/438 @lgeiger uses an additional argument to pass the padding values which is default to 0. I think for bconv we should use the same interface as well. basically in this way the padding type stays the same however, the padding default varlue for padding=SAME will be set according to our needs.

I think for bconv we should use the same interface as well. basically in this way the padding type stays the same however, the padding default varlue for padding=SAME will be set according to our needs. We can check if the default value is zero or not, it its not then we do all the extra stuff that needs to be done.

I don't have a strong opinion on that, but I think I'd prefer to stick with padding="SAME_ONE" . For larq we opted to have an additional pad_values argument in order to easily support experimentation with different padding values, where as for compute engine we'll only ever support plus or minus one padding and we don't need to add an additional kernel argument.

I think for bconv we should use the same interface as well. basically in this way the padding type stays the same however, the padding default varlue for padding=SAME will be set according to our needs. We can check if the default value is zero or not, it its not then we do all the extra stuff that needs to be done.

I don't have a strong opinion on that, but I think I'd prefer to stick with padding="SAME_ONE" . For larq we opted to have an additional pad_values argument in order to easily support experimentation with different padding values, where as for compute engine we'll only ever support plus or minus one padding and we don't need to add an additional kernel argument.

my problem with padding="SAME_ONE" is that that its not really a new padding type but its just changing the default value of padding elements in the SAME padding type. Defining it as a new padding-type is confusing and it causing hacky changes in the design of the software.

Rebased on master to be able to do the MLIR one-padding PR on top of this.


Fix tutorial button style

TextButtons aren't accessible. Use a properly backgrounded button.

https://github.com/zacharee/LockscreenWidgets/commit/dbf88f4fc78b1d84fbb1b1d512299ea488d70256


Show person who queued a song

user field was added to Song class. Maybe show it in Telegram?
However, this issue is closed for now. The rest of the work will be done over at the AndroidMusicBot repo.


handle that case with 0 images for both modal-gallery, plain-gallery and carousel

related to #209


Parse glog format for K8s Logs

My K8s logs in glog format that are ingested through Splunk Connect for Kubernetes aren't parsed.  I wanted to see if I could get some advice on parsing the glog format.  I see references to glog in values.yaml for the helm chart but it's not clear to me what that does.

SCK doesn't support glog format. If you want to use custom format, you have to modify the following part:
https://github.com/splunk/splunk-connect-for-kubernetes/blob/29ec02a96ac951a9a012f85dbd2ad53e8c8ba2b7/helm-chart/splunk-connect-for-kubernetes/charts/splunk-kubernetes-logging/templates/configMap.yaml#L57-L101
Reference: https://docs.fluentd.org/input/tail


(Not for submission yet) Changes required for GitHub org move

(I'll review these myself before assigning them. The second commit is autogenerated.)

Okay, the changes look good to me - this is based on search and replace, so there shouldn't be anything missing (within this repo). I'll need to check internal docs etc as well though.

Looks like I need to rebase this manually, but then it'll be ready to go. Chris, could you review speculatively?

(Rebased.)

I'll do another sweep to check it's exhaustive after it's merged :)


Can you add a CompletedCall method?

Similar concept as ReachedMaxCalls method:
https://github.com/Aarondorn2/CallableMessaging/blob/b5898fb053e3931f69f430ad8bbe3f3fc02a5edd/CallableMessaging/ICallable.cs#L88
Add a method to IRepeatedCallable that is called when the limit set by MaxCalls is not reached and ShouldContinueCalling is set to false. A method like CompletedCall() in reference to ICallable.CallAsync() completing. The use case is to kick off the next step in a process chain like when the repeatable code is complete and now it is time to send emails with the results. The emailing code isn't a repeatable piece of the process while polling for the results that the email is based on is a repeatable process.

Absolutely! Do you want to submit a PR and I'll merge/update nuget?

A suggestion, we should rename/repurpose "ReachedMaxCalls" and pass in a book "reachedMaxCalls".
public Task CompletedCall(bool reachedMaxCalls)

Sure, is this done by giving me permissions to push branches to this repo or some other way?

Implemented with #2


[SPARK-18774][Core][SQL]Ignore non-existing files when ignoreCorruptFiles is enabled

What changes were proposed in this pull request?
When ignoreCorruptFiles is enabled, it's better to also ignore non-existing files.
How was this patch tested?
Jenkins

Test build #69836 has started for PR 16203 at commit 0dfb31a.

Test build #69836 has finished for PR 16203 at commit 0dfb31a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69836/
Test PASSed.

Merged build finished. Test PASSed.

Merging in master/branch-2.1.

Actually this doesn't merge cleanly in branch-2.1.

Submitted #16216 to backport it to 2.1.


Subscription filtering not working

I've tried using name, subscription, path, subscriptionName with like '%...%' but I get a fail like this.
What is the correct way to set a subscription filter in Service Bus Explorer?
<11:30:24> Exception: The remote server returned an error: (400) Bad Request. Invalid Filter. The specified property 'subscriptionName' does not exist or is not allowed.
       Parameter name: propertyName TrackingId:16ff4ca9-cfb3-4e62-ae06-38be5276d9a0_B17, SystemTracker:NoSystemTracker, Timestamp:2021-06-29T16:30:23

You can set the filter either SQL style or Correlation style. These styles are the standard ones and are described here. Very similar functionality is available in the Azure Portal.
Here is an example of a filter:

Which tier is your service bus namespace in? You need the Standard or Premium tier to use topics.
Do you get the error when adding the filter?
Do you get the same error when adding the filter using the Azure Portal?

Using 'Name LIKE 'something%' on the topic to filter subscriptions gives me this error


How can I cycle trough different marker symbols?

I tried (with Makie v0.17.3 and CairoMakie v0.8.3 or GLMakie v0.6.3)
set_theme!(palette = (color = [:black], marker = [:circle, :rect, :utriangle, :dtriangle],))
scatter([1], [1])
scatter!([2], [2])

which produced at position (2, 2) also a circle marker.
Based on the docs I expected to get something similar to
scatter([1], [1], marker = :circle)
scatter!([2], [2], marker = :rect)

by default Scatter doesn't cycle markers, only colors. So in the theme you need to have Scatter = (cycle = [:color, :marker],) for example where it just says :color now.

I see now that this is not actually explained in https://makie.juliaplots.org/v0.17.3/documentation/theming/index.html#cycles


Not an issue but not sure where to ask this question

Aside from Artifactory, AWS, Slack, Stripe, Mailchimp, what else can detect-secrets detect? We have our own confidential strings that we would like to monitor. An example value would be udxID_7824252555234. Can detect-secrets be configured so that it will also detect this string? But of course, we don't want to block it if this string is found in README files.
Also, do you see any issue since I'm using detect-secrets on the server side as a git hook? This way, developers won't be able to bypass it. If there are issues, we can easily disable it on the server since we have control on our git servers.

Using detect-secrets on the server-side is a nuanced challenge. Due to expected false positives, hard blocking on identification of an issue may create more developer friction than you want. Unless of course, you enforce the use of the pre-commit hook, to make sure your blocking git hook will pass.
There are two alternatives:

Use the detect-secrets-server library to scan changes to all repositories on a regular basis, and create tickets through that.

Use the git hook as a non-blocking pre-receive hook.

I recently saw this development pattern, and it looked really promising:
$ git push origin HEAD
Counting objects: 6, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 6.21 KiB | 0 bytes/s, done.
Total 6 (delta 4), reused 0 (delta 0)
remote: Resolving deltas: 100% (4/4), completed with 4 local objects.
remote:
remote: GitHub found 2 vulnerabilities on domanchi/devtools's default branch (1 high, 1 moderate). To find out more, visit:
remote:      https://github.com/domanchi/devtools/network/alerts
remote:
To github.com:domanchi/devtools.git
   936bac2..5699a37  HEAD -> master

If you have confidential strings, my suggestion is to fork this module. We don't currently support the use of RegexBasedDetector with arbitrary user input.

Maybe instead of us devops blocking the git push right away, we'll just warn the user on the output as well as populate a database that will be executed by our server pre-receive hook. The log will contain the repo and the file that detect-secrets that generated. I can write a user interface that can be used to render the reports. From that web application, we can find out if dev teams have been committing confidential info to their repo.


More modern jdk

I was watching the DevInsideYou cast on scala-cli and the first thing I see being installed is JDK8. The current LTS is 17 and might be a bit too new for the Scala ecosystem but 11 has been around for a long time now.
https://www.oracle.com/java/technologies/java-se-support-roadmap.html

Done in #516


Integration with with uniswap

In my opinion, it's impossible to discuss DeFi without mentioning Uniswap. Creating a channel where future Ethereum developers can navigate and learn to integrate Uniswap into their contracts sounds like a fantastic idea. I believe we should opt for version 3, as Uniswap is already working on version 4. This is merely a suggestion to @solidoracle. If necessary, I'm more than willing to take the initiative in implementing this.
Todo

[ ]  Contacts
[ ]  Explian Uniswap Routing, UInswap Factory  and ERC 20 Swapping
[ ] Testing
[ ] UI
[ ] Demo

@solidoracle  i want to do a  Uniswap  v2 and v3  Challenge  what do you think , In different  branches

@Ifechukwudaniel sounds good go ahead, let me know if you need anything

Hey @Ifechukwudaniel, we're talking offline I think and getting a TG group organized for DeFi-Challenges. Let's keep talking there. In general if you're excited to build something integrating with Uniswap vs the other tasks we have for the in-progress challenges we got going on or other challenges then that's all good imo.


Clear RBUFFER when accepting output from atuin

Since we pass $BUFFER to atuin search, retaining RBUFFER (the part of the buffer to the right of the cursor) on accepting a history replacement probably doesn't make sense. The advantage of setting RBUFFER and LBUFFER separately instead of setting BUFFER is that the cursor is positioned after the end of LBUFFER instead of remaining where it was before atuin was called.
Alternatively, _atuin_search() could pass $LBUFFER to atuin instead of $BUFFER which would allow the widget to replace parts of command lines (such as the initial parts of a shell pipeline), but I would prefer the default to replace the whole command line from the history.
A widget that only replaces parts of command lines could be added separately if there's interest in it, though users could always just add it themselves (I'm not sure how many users would want such a feature).

I was thinking something like a curl <endpoint> | jq <query> pipeline in which one might want to replace e.q. the call to curl with a call to a different endpoint (potentially with other curl options) that you've used previously and would be in atuin's history, but would then want to keep the same jq query at the end.
I don't think it would be useful to the point that very many people would make use of it though. Replacing the entire command line with the match from atuin seems a lot more generally useful.


Change wording shares -> cores

The DC/OS dashboard shows overall CPU and GPU allocation but uses the word "shares" when it's actually referring to the total number of "cores". This should just say "cores".

@nLight picking this up

\o/ Hey @adityatandon007 if you need any help setting up the project just tell me

How about that 8e12789e054fe2b8057aef7aff64aa519cfb9be9?

Hey @fanich37 this one is already taken by @adityatandon007 sorry.
Though I wonder where the commit belong.  I just forked and commited directly to the forked repo. This project is too big to clone it at work )) Will delete it ))

@nLight I had successful cloned the repo but what is to be edited in  webpack/proxy.dev.js to point to the cluster address. Basically in readme I couldn't understand the part

Edit webpack/proxy.dev.js to point to the cluster address

@adityatandon007 it is about that part:
https://github.com/dcos/dcos-ui/blob/f54726949fd0c44400ba101cb1d12b317ed1193b/webpack/proxy.template.js#L26
I believe this task doesn't require a cluster at all.
Just edit your Config.dev.ts
disable auth plugin setting the respective field to false:
https://github.com/dcos/dcos-ui/blob/f54726949fd0c44400ba101cb1d12b317ed1193b/src/js/config/Config.template.ts#L22
and enable fixtures:
https://github.com/dcos/dcos-ui/blob/f54726949fd0c44400ba101cb1d12b317ed1193b/src/js/config/Config.template.ts#L39
https://github.com/dcos/dcos-ui/blob/f54726949fd0c44400ba101cb1d12b317ed1193b/src/js/config/Config.template.ts#L41

@adityatandon007 thank you I will pass the message to our design team :) UI is definitely on a heavy side as resources go... We also working on that.

It's in! 🎉


Wrong bundle order when CommonsChunkPlugin with extra bundle is used

Whe using CommonsChunkPlugins trick to get correct bundle hashes, bundles are sorted incorrectly (https://github.com/webpack/webpack/issues/2378). Looks like passing chunksSortMode: 'dependency' works, but I guess sorting by id (default) should work too as ids are provided by webpack are correct.
Probably the id sort function in chunksorter.js might be changed to
module.exports.id = function (chunks) {
  return chunks.sort(function orderEntryLast (a, b) {
    if (a.entry !== b.entry) {
      return b.entry ? 1 : -1;
    } else {
      return a.id - b.id; // <--- change from b.id - a.id
    }
  });
};

This change really sorts them in correct order when entry property doesn't differ

Sort by id is a little bit broken for webpack 1.
For webpack 2 ´chunksSortMode: 'dependency'` is already the default sorting mode


aws help does not work. missing groff dependency

Issue description
AWS cli package is missing the groff dependency
Steps to reproduce
[maarten@maarten-laptop:~/cs/weave/dcos-aws]$ aws help

Could not find executable named "groff"
[maarten@maarten-laptop:~/cs/weave/dcos-aws]$ nix-env -i groff
warning: name collision in input Nix expressions, skipping ‘/home/maarten/.nix-defexpr/channels_root/nixos’
installing ‘groff-1.22.3’
these paths will be fetched (1.16 MiB download, 11.40 MiB unpacked):
  /nix/store/bsvki7pvjb6m15na2ligjpqjda0fgd6i-groff-1.22.3-doc
fetching path ‘/nix/store/bsvki7pvjb6m15na2ligjpqjda0fgd6i-groff-1.22.3-doc’...

*** Downloading ‘https://cache.nixos.org/nar/1hq38v0733zghmv2r4ii9ggcjzvpjgw2dh6p0d9kynyf676kq30j.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/bsvki7pvjb6m15na2ligjpqjda0fgd6i-groff-1.22.3-doc’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1191k  100 1191k    0     0   831k      0  0:00:01  0:00:01 --:--:--  831k

building path(s) ‘/nix/store/2r9kylcq03kmcr5mqkqd6kmf9slmx55w-user-environment’
created 17937 symlinks in user environment

[maarten@maarten-laptop:~/cs/weave/dcos-aws]$ aws help
 -> works fine

Technical details

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)

$nixos-version
16.03.616.4ac4b35 (Emu)

$ nix-channel  --listni
nixos https://nixos.org/channels/nixos-unstable

Nix version: (run nix-env --version)
Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
"16.09pre85363.886c03a`

@moretea I can't reproduce this issue. Are you sure you just don't have a very old awscli (e.g. from pre nixpkgs 15.09) in your user profile or something?

Ah yes, you're right. I should move to 100% user declarative environments some day. One step at a time to pure functional declarative nirvana :smile:


Update alicloud-cpi.md and Add some new arguments

@xiaozhu36 Could resolve the EasyCLA issue above?

@rkoster Done. Please check it again. Thanks.

Thanks! @xiaozhu36


improve the editing experience wrt auto-indentation on enter

improve the editing auto-indent editing experience in code
improve the editing auto-indent editing experience in dartdoc comments
improve the syntax highlighting for dartdoc comments
expose more atom api in order to make changes to an editor's contents in one atomic undo transaction
fix #11, fix #12, some work towards #44


[FSDE-15181] Prepared Chi 5.9.1 release

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-330/1/. :white_check_mark:

You can check this PRs instance in https://6dfe83f76ba7c9e1cae9739a92b7e72339715b24-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-330-ux-chi.kubeodc-test.corp.intranet/ (internal)


Progress on #235, adding unaligned copy.

Adding a version of unaligned copy for little-endian platforms that
provides a single abstraction for vectorized unaligned copy. This
replaces the v0 BitStream + unalignedCopy abstractions making a v1
"bit stream" into simply an std::vector and a std::size_t bit_offset.
The abstraction allows the vector's word size to be parameterized which
could provide better optimizations where a given architecture can
perform single operations across multiple bytes instead of hard-coding
all 8-bit operations. The usefulness versus complexity of this
optimization will play out in subsequent pull-requests as we start
utilizing this copy operation in the generated dsdl types.

Sorry. Didn't have time to fix the gcc errors. Will do that tomorrow but I wanted to get the code to you sooner for review.

Okay. I think this is good. Honestly I won't know for sure till I start using it. The next step is to start building the presentation layer which will utilize this.


Add missing commas, breaking the marathon/api-console test

noticed the issue on v2/apps when POSTing
{
  "message": "Invalid JSON",
  "details": "Unexpected character ('\"' (code 34)): was expecting comma to separate OBJECT entries"
}

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Thanks!


ALPS-1815 - startTime not respected

Fix the startTime of a media not taken into account: medias were always starting at 0s, unless it was synced with another media.

 All committers have signed the CLA.


automatic camera wall does not enable properly

there have been instances where the automatic camera wall does not enable on 6 modules, and does not disable on 4 modules

I haven't heard any reports of this happening recently, so I'm going to say this issue is resolved.


Instruction of coping the service account needed to run spark jobs

Extended README with the instruction on how to copy the service account to the new namespace.
Workaround for the issue: https://github.com/canonical/spark-operator/issues/15

Hi @Barteus, thanks for the PR. This workaround happens to work just fine, the role in that ServiceAccount has permissions to manipulate all resources, but it is intended to allow the workload (spark operator) to manipulate all these resources, not really targeted at individual users. The better approach would be to have RBAC for each user in their own namespace, which is something we are still discussing (whether to create that manually or via charm code).


Manual location

When logging in, I first set the map location and then log in, but following that an error screen occurs and I wanted to see if I was doing something wrong. Thank you!

Me too, its says dat latitute and longitude are needed, even tho they are there :(

I had the same when I used the long/lat that was already in the field. If you overwrite it with your own long/lat it will work normally.

It would be nice to be able to set a default Long & Lat or better yet, have the ability to save a list or coordinates with descriptions in something like a drop down menu

You may be trying to login too quick. On the initial login screen, wait for your coordinates to fill in before you hit the button.

Having the same problem. When I try to set manual co-ordinates I get a latitude and longitude are needed error. Happened 6 times in a row so I came here to check issues and when I went back to try again it worked.

This has been resolved in Latest versions and setting LAT/LON on the login page will carry over to the Map.


Filter/Reduce/Map of data and metadata

Given data sets from the cache and translated PO.DAAC data sets, filters down info, reduces into a single format, and maps into a Clojure Map data structure.
Unit Tests

This is fully implemented.


How to use in a Elixir Mix Project Locally with out -g option ?

I am trying to use puppeteer-pdf locally in a mix project.
I installed locally by running npm install puppeteer-pdf.
This created a folder node_modules and inside it has two folders named puppeteer and puppeteer-pdf with some dependencies.
In my config.ex, I configured the executable path to  node_modules/puppeteer-pdf
config :puppeteer_pdf, exec_path: Path.join(File.cwd!(), "node_modules/puppeteer-pdf")

After compiling, I tried to check version and generate a file from string like in the following way
iex> PuppeteerPdf.get_exec_version()
""
iex> PuppeteerPdf.Generate.from_string "hello pdf", "pdfs/hello.pdf"
{:ok, ""}

I am not getting any errors nor pdf's generated.
Am I missing Something here?

BTW, I resolved by updating config with following LOC in config.ex
config :puppeteer_pdf, exec_path: Path.join(File.cwd!(), "node_modules/.bin/puppeteer-pdf")

Hi @blackode sorry for taking some time to answer.
Glad you found a solution! We will probably include this solution in the readme, thank you for the contribution

Hi @tmpduarte
Firstly, Thanks for amazing library :)
Glad to hear that..


support Python 3, fixed issues in model loading and missing images

The print and urlopen syntax has been changed to support Python 3. The loop over plots has been replaced by an iteration over figures to correctly handle single-row plots.
The 'checkpoints' directory is created if missing and the examples images are loaded from the magenta
package as they are missing in the demo repository. This solves issue #14.

@Banus Thank you for your fixing. I tackled right away, but I have not solved yet #14.
My environment is as follows:
Python 3.6.2 (tried also 2.7.13)
tensorflow (1.3.0)
magenta (0.3.1)

plz tell me your environment...

@chck, I'm using the following configuration:
Python 3.5.4 (from Miniconda)
tensorflow-gpu (1.3.0)
magenta-gpu (0.3.1)

However without fixing the issue with temporary files (tensorflow/magenta#858) I get a Permission denied error.


Design Data Exportation

In mjpeg format at 30FPS in Color:

Length
Size

1 sec
2.000 MB

1 min
120.0 MB

1 hr
7.200 GB

8 hrs
57.61 GB

Exporting 57 GB for each workday of recorded data is unviable. Develop exportation strategy to minimize.

Data is actually larger than video. Needs more thought

Correction, data size seemed to be due to corrupted file, possibly incorrect shutdown sequence.

Currently data for 4GB video is 4.4 MB, more than acceptable. Closing.


chore: add wunderstack config rfc

Checklist

[ ] run make test
[ ] PR title must follow conventional-commit-standard
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added
[ ] commit message and code follows the Code of conduct

The idea of the stack was - the user does not need to configure anything, we provide it out of the box. The only case when you need to configure storage/kV is when you need a custom solution, or if you want to disable it (tbd)

The idea of the stack was - the user does not need to configure anything, we provide it out of the box. The only case when you need to configure storage/kV is when you need a custom solution, or if you want to disable it (tbd)

Yep that is described in the RFC. You only add the stack that you need, without configuring credentials, that is automatically provisioned. You still need to configure a name, bucketName and uploadProfiles in case of the s3 integration.

I've added a few comments.
One important thing I think is missing in this RFC is that we've got to think about multiple things:

This RFC doesn't propose a full solution for supporting stacks, but it's more a solution that will work with our existing APIs in the short term and still allows us to define 'WunderGraph' primitives that auto configure s3/kv and deploy it to WunderGraph cloud, which we want to release in 2 weeks. It allows us to start testing the internal 'stacks' technology without introducing new APIs and above all start getting feedback from devs. While we work out all the details for the complete stacks spec, it's a complicated problem to solve right, and definitely we need to take the time to design it properly.


Block XSS and SQLi on AWS WAF

This is actioning a FIXME for July 2019 which was added in #1055.
At the time it was noted that the this should be left on ALLOW for a while so the potential impact can be evaluated, it's not clear if this has occurred, but it is well past the original FIXME date, so if no one has had a chance to look at this, it may be worth extending the date listed.
Unrelated, the existence of this repository is awesome!

Hi @thebeanogamer, thank you for this! We've decided these rules would not be suitable for production so have removed them in #1379.

:wave: @bilbof No problem! Happy to help, even if it is just drawing attention to things that should be removed.


Make move command less special

Right now _move is a magic hidden command that is the backbone of how movement works. Make this command not magic (i.e., rename it move, don't hide it, and make CommandParser look at a moveCommand config to send movement to. This will allow players to literally type move east in addition to just east

I'm used to see this as 'go', not 'move'... Should we catch the train and
go for a rename?
On Feb 7, 2017 23:12, "Shawn Biddle"<EMAIL_ADDRESS>wrote:

Right now _move is a magic hidden command that is the backbone of how
movement works. Make this command not magic (i.e., rename it move, don't
hide it, and make CommandParser look at a moveCommand config to send
movement to. This will allow players to literally type move east in
addition to just east
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/shawncplus/ranviermud/issues/106, or mute the thread
https://github.com/notifications/unsubscribe-auth/AACBiwANS1Z7ijaOPrJp2MPC6SvU-5Xkks5raPpmgaJpZM4L6KrX
.

Commands can be aliased just by saying aliases: ["go"] in the move command


add swir12 band common_name

Add swir12 common_name for band 1.23 - 1.25.  MODIS uses this range exactly for band 5, but it might be expanded if there are other instruments that use a similar range.

@philvarner How common is that band though? The 1.6 and 2.2 are the main atmospheric windows and most sensors with SWIR bands will be in one of those two windows.
There are lots of other bands that wouldn't have a common name, DG's Worldview 3 has 8 SWIR bands, with multiple narrower bands that fit into each window, so the common_name really wouldn't apply in that case.
I'm all for expanding common_names, but when you start dealing with hyperspectral imagery and more unusual bands I don't see them being used much.

I think common names should have at least three (or more?) products to be "common". So if this is only used in MODIS it shouldn't be a common name. Are there more examples than MODIS?

I think it depends on whether "common" is referring to it being common across many instruments, or the commonly used name for that spectra.  I think it's useful in either case.  But, if you don't think it will be useful, I'm not going to push very hard for it.

I could see common names being used for radar bands and the different polarizations. The IEEE has set some fairly common designations for specific wavelengths. For example, L, C, and X band.

Waiting on adding additional common_names until there are more examples. Closing, feel free to re-open @philvarner with additional info.
More than happy to provide a larger set of band names as it will allow algorithms to be used generally across multiple datasets.


Automaticaly shutdown support

lock && systemctl suspend

It would be nice to shutdown automatically when the battery below 5%, sometimes we fall asleep and the computer abruptly shutdown.
I don't realize that I use this script more than 5 months. this is great script, thanks.

Hi, nice to hear you like it!
I'm not aware of a fool-proof way to shutdown the computer that will work everywhere. In some cases you need superuser privileges, etc. So I may need to do a little research.
Here's an idea though: I might add an option to run a command when the lower limit is reached. You might then set this command to pm-suspend, or whatever works on your system. You might still need to fix permissions for pm-suspend.

I have try this workaround https://github.com/rjekker/i3-battery-popup/pull/9, and it works (but currently only with wish installed),
the idea is to give wish pop-up timeout so that it will close it self even the user is away/didn't click. then I put a function to check if the battery is critical it will automatically shutdown.
I use  systemctl poweroff and it doesn't need a superuser privileges.

Thank you for this great script. I use my own auto-suspend now. :)


uses webview.cspSource to support remote scenarious

Docs: https://code.visualstudio.com/api/extension-guides/webview#content-security-policy
Motivation: https://github.com/eclipse-theia/theia/issues/6578#issuecomment-555388013

closing as a dup of https://github.com/alygin/vscode-tlaplus/issues/111


changes master to main for gtest cmake dep

gtest changed master to main

the OSX build is timing out before it even gets to building the coreir repo.

Fixes #1023 #1024. Since this works in linux and is breaking the aha build, I am merging.


Make heading leaner

I'm trying to make as much space for my content by minimizing various headers, but the calendar headers are huge.
Can the default be a super lean/thin/minimal header, or at least an option to remove these elements from it?

The author has written about how they don't particularly want to invest in the trouble of modifying the core Full Calendar UI. Which is probably a good move.
My solution would be to change the layout using CSS, and Obsidian has a great way for you to do just that. There you can change the font size, and how it lays out (including making it lay out in a column instead of a row).
This is a good short article on how to do that.

This will be fixed as part of #187. You can also open a sidebar calendar if you'd like.

You can also open a sidebar calendar if you'd like.

Is there another way to open a sidebar calendar besides dragging onto the sidebar from the open calendar tab, or opening with the calendar icon above the sidebar? I tried both, and both ways it still shows the huge text for the date in the sidebar. (Using Windows and Minimal theme.)
I tried changing the date text with css, but any change to that text changes all the text in Obsidian. That bit of text doesn't appear to have its own html to style. You can't select it in developer mode - when you try, it takes you straight up to <body class=...
The important thing is the plugin works at first glance, and I think it will be extremely helpful even with this current awkwardness. Thank you for that!


Render the psuedo parameters to distinguish with normal resources

Example:

That's a great idea. Thank you.


Burrow does not detect consumer groups

We have a nightly run where we (in the following order)

install and run kafka 1.0.0
install and run burrow
creating topics in kafka
then we run our apps (and some tests) which create consumer groups which commit to kafka. The topic offsets and consumer group lags are periodically sent from burrow to grafana.
In the morning when I check grafana it shows no info about consumer groups (the topic offsets are available). When I ask burrow manually via rest api for consumer groups it returns an empty list, although kafka's kafka-consumer-groups.sh script returns all available consumer groups (and lags) created by our apps.  After restarting burrow it starts to return consumer groups too (not only topics) which appear in grafana then. What could be the problem here? Should we install and start burrow as last step in our nightly run?

I am seeing this same issue. Is there some configuration we can tweak for refreshing consumer list?

same issue here but running kafka <IP_ADDRESS>

Is this still the default Burrow behavior? What if Burrow restarts and some of the consumer groups do not have any offsets being committed for some time? Will those consumer groups show up as "not found" till they start committing offsets?

@toddpalino I'm facing the same issue(in similar use case as @lgabo ) and last messages in burrow logs are:

...Recv loop terminated...
...Send loop terminated...

I've searched for "Recv loop terminated" in source code and found that these messages belongs to https://github.com/samuel/go-zookeeper. I've even found possible cause of this issue: https://github.com/samuel/go-zookeeper/issues/133. Do you think that these issues are related?