[tunein] Fix existing extractors and add playlist (closes #20252)

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Seems tunein have changed their APIs, so the extractors needed to be updated.
I removed the TuneInClipIE extractor because these seem to have been deprecated for the following reasons:

Almost all non-live content seems to served as a Program of Topics
Even on pages with clips, you cannot select the one you want to listen to (e.g https://tunein.com/radio/College-Sports-Now-s254142/?audioclipid=12617)

Previously the TuneInProgramIE extractor extracted a live stream. These live streams can be accessed through their own station page. For e.g the program page https://tunein.com/radio/Jazz-24-p2506/ extracted the station https://tunein.com/radio/WUKY-HD2-913-s67052/. As a result I have changed the extractor to extract a playlist of Topics so in the case above it would raise an error but you can still use the easily accessible station link and it will extract using the TuneInStationIE extractor like before.

I have tested this branch on a few tunein stations and confirm that it works properly.

@dstftw @remitamine Hi, is there anything I can do to help getting this PR reviewed?

Is there a reason why this hasn't been merged yet?

@dstftw or @remitamine
This fixes TuneIn which is currently completely broken. Can you please merge it?


feat: panic on sync.

introduce an option to panic in the middle of a sync: after updating the
manifest but before writing out the bucket and meta pages.

#362
#361  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @pepyakin and the rest of your teammates on  Graphite

Merge activity

Aug 28, 10:58 AM EDT: @rphmeier started a stack merge that includes this pull request via Graphite.


[Feature Request] Add TS4TIB Ontology server

Hi,
Is your feature request related to a problem? Please describe.
https://service.tib.eu/ts4tib/ is a Terminology Service (TS) building on the OLS software system, including an API that is OLS compatible.
While OLS is mainly targeting the life-sciences, the ts4tib provides a Terminologies for many more disciplines.
Describe the solution you'd like
It would be great if Swate would support multiple backends, including online queries to OLS and TS4TIB.
The API descriptions are at https://service.tib.eu/ts4tib/swagger-ui.html and https://www.ebi.ac.uk/ols4/help
Additional context
This might also reduce the maintenance burden if the TS4TIB and OLS could serve what currently needs SWOBUP.
Yours,
Steffen

Hi,
we had a few discussions about it during the CorDI.
It would be cool to consider it for our DataPLANT ontologies. I would suggest to discuss this in more detail in meeting(s).

Yes we already got in contact!

handled in: #332


Trouble with   const Dash = require('dash');

Trying to use the Dash SDK, I run into trouble at the very start. There is probably something really obvious I'm doing wrong...
Execution of const Dash = require('dash'); throws the following error:
Exception has occurred: Error: The gRPC binary module was not installed. This may be fixed by running "npm rebuild"
Original error: Cannot find module 'c:\Users\(...)\node_modules\grpc\src\node\extension_binary\node-v93-win32-x64-unknown\grpc_node.node'
Require stack:
- C:\Users\(...)\node_modules\grpc\src\grpc_extension.js
- C:\Users\(...)\node_modules\grpc\src\client_interceptors.js
- C:\Users\(...)\node_modules\grpc\src\client.js
- C:\Users\(...)\node_modules\grpc\index.js
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- C:\Users\(...)\node_modules\dash\build\src\SDK\Client\Client.js
- C:\Users\(...)\node_modules\dash\build\src\SDK\Client\index.js
- C:\Users\(...)\node_modules\dash\build\src\SDK\SDK.js
- C:\Users\(...)\node_modules\dash\build\src\SDK\index.js
- C:\Users\(...)\node_modules\dash\build\src\index.js
- C:\Users\(...)\connect.js
    at Object.<anonymous> (C:\Users\(...)\node_modules\grpc\src\grpc_extension.js:43:17)
    at Module._compile (node:internal/modules/cjs/loader:1109:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
    at Module.load (node:internal/modules/cjs/loader:989:32)
    at Function.Module._load (node:internal/modules/cjs/loader:829:14)
    at Module.require (node:internal/modules/cjs/loader:1013:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (C:\Users\(...)\node_modules\grpc\src\client_interceptors.js:144:12)
    at Module._compile (node:internal/modules/cjs/loader:1109:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10) {
  code: 'MODULE_NOT_FOUND'
}

npm rebuild doesn't fix it, and re-installing grpc doesn't seem to either.
--
Node version: v16.2.0
Installed (npm ls):
└──<EMAIL_ADDRESS>And after re-installing grpc (same error occurs):
└──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>--
The original installation log for npm install dash:
npm WARN deprecated<EMAIL_ADDRESS>This library will not receive further updates other than security fixes. We recommend using @grpc/grpc-js instead.

added 283 packages, and audited 284 packages in 2m

19 packages are looking for funding
  run `npm fund` for details

6 moderate severity vulnerabilities

To address all issues, run:
  npm audit fix

Run `npm audit` for details.

I tried the following too, none of which made a difference:
npm audit fix
npm audit fix --force
npm install @grpc/grpc-js

With nvm use 16.2.0, with a npm install dash, I wasn't able to reproduce the issue.
However I'm using OS X.
@jawid-h, could you look at this under windows ?
@Santiago-R could you confirm doing a fresh npm install that you indeed have that problem still today ?

@Alex-Werner sure, I'll try to reproduce it.

Thanks. Closed


Update alm-api-for-spfx-add-ins.md

clarified to support scope for app-only operations
Category

[x] Content fix
[ ] New article

What's in this Pull Request?

We had several incidents (e.g. https://icm.ad.msft.net/imp/v3/incidents/details/155468115/home) due the fact that app only API was used for add-ins. App only usage of ALM APIs was intended and tested for SPFx solutions only. This PR addresses the lack of documentation on this limitation.

Good clarification on what's supported, thanks for sorting that thing out.


Emmet balance not working with PHP files

VSCode Version / OS Version:

Version: 1.43.2 (system setup)
Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50
Date: 2020-03-24T07:38:38.248Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

Steps to Reproduce:

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

This should be done by a PHP extension. Emmet does not understand PHP.

This should be done by a PHP extension. Emmet does not understand PHP.

Hmm, ok, but it's not inside a php tag.
I mean, it's in a php file, but outside of the php tag.
Note that Emmet tagging works well there, eg: div>p*10


Disable axis environment

I have seen it is possible to disable the surrounding tikz environment using wrap=False.
But it would be nice to be able to disable the axis environment, too.
With this one would be able to include the file in a groupplot environment.
Also I would try to implement it in the next few days, if this is all right?
Thank you for this nice library

Let's discuss over at the PR #194.


3.8.0 Tests Error - FetchError: [GET] "/_nuxt/builds/meta/test.json": 404 Cannot find any path matching /_nuxt/builds/meta/test.json.

Environment

Operating System: Darwin
Node Version:     v18.18.0
Nuxt Version:     3.8.0
CLI Version:      3.9.1
Nitro Version:    2.7.0
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
https://github.com/components-web-app/cwa-nuxt-module
run pnpm test
Describe the bug
I'm getting errors originating from nuxt/dist/app/composables/manifest.js::fetchManifest after upgrading to 3.8.0 when running tests for my module using vitest.
I've also got nuxt-vitest installed. vitest is locked to 0.31.1 as any other versions cause errors currently. (Or still did a month or so ago when I tried to update).
Is there an update that I need to be doing to run tests in my module that runs 3.8.0?
Additional context
No response
Logs
No response

What version of nuxt-vitest are you on?

For now, mitigation is to include
experimental: {
  appManifest: false
}

in the nuxt config. Looks like the buildId is set to test because of the test option being set by nuxt-vitest
I'm sorry I didn't include the full path of the 404 error:
FetchError: [GET] "/_nuxt/builds/meta/test.json": 404 Cannot find any path matching /_nuxt/builds/meta/test.json.

It appears this is an issue in any file sorry, it was not just 1 test file - but I can no longer mock the vue watch or onMounted implementation.
I'll go and check any updates that may have happened in nuxt-vitest.
Thanks Daniel


PolyData from vertices and faces not working - either crashes or shows nothing

Windows 10
python 3.6.4 (anaconda)
VTK version 8.1.1 (pip)
vtkInterface 0.9.3 (pip)

When I attempt to use PolyData with vertices and faces I either get a segfault style crash or for some simple demos I get an empty VTK render window.
For example, the code on this page: https://vtkinterface.readthedocs.io/en/latest/polydata.html:
import numpy as np
import vtkInterface

# mesh points
vertices = np.array([[0, 0, 0],
                     [1, 0, 0],
                     [1, 1, 0],
                     [0, 1, 0]])

# mesh faces
faces = np.hstack([[4, 0, 1, 2, 3],  # square
                   [3, 0, 1, 4],     # triangle
                   [3, 1, 2, 4]])    # triangle

surf = vtkInterface.PolyData(vertices, faces)

# plot each face with a different color
surf.Plot(scalars=np.arange(3))

Just gives me an empty render window.
The following example segfaults:
import vtkInterface
import numpy as np
from vtkInterface import PolyData

verts = np.array([[0, 0, 0],
                  [0, 0, 1],
                  [0, 1, 0],
                  [1, 0, 1]], dtype=np.float64)
faces = np.array([[0, 1, 2],
                  [1, 2, 3]], dtype=np.int64)
pd = PolyData(verts, faces)
pd.Plot()

When I follow the debugger it's the PolyData.SetPolys() line that causes the crash.
Just to be clear... if I instead build the triangles one at time using pure vtk it works fine.
import numpy as np
import vtk

verts = np.array([[0, 0, 0],
                  [0, 0, 1],
                  [0, 1, 0],
                  [1, 0, 1]], dtype=np.float64)
faces = np.array([[0, 1, 2],
                  [1, 2, 3]], dtype=np.int64)

points = vtk.vtkPoints()
triangles = vtk.vtkCellArray()

for i, tri in enumerate(faces):
    p1 = verts[tri[0]]
    p2 = verts[tri[1]]
    p3 = verts[tri[2]]
    points.InsertNextPoint(*p1)
    points.InsertNextPoint(*p2)
    points.InsertNextPoint(*p3)

    triangle = vtk.vtkTriangle()
    triangle.GetPointIds().SetId(0, 3 * i + 0)
    triangle.GetPointIds().SetId(1, 3 * i + 1)
    triangle.GetPointIds().SetId(2, 3 * i + 2)
    triangles.InsertNextCell(triangle)

polydata = vtk.vtkPolyData()
polydata.SetPoints(points)
polydata.SetPolys(triangles)

mapper = vtk.vtkDataSetMapper()
mapper.SetInputData(polydata)
actor = vtk.vtkActor()
actor.SetMapper(mapper)

renderer = vtk.vtkRenderer()
renWin = vtk.vtkRenderWindow()
renWin.AddRenderer(renderer)
iren = vtk.vtkRenderWindowInteractor()
iren.SetInteractorStyle(vtk.vtkInteractorStyleTrackballCamera())
iren.SetRenderWindow(renWin)
renderer.AddActor(actor)
renWin.SetSize(640, 480)
renWin.Render()

renWin.Render()
iren.Start()

Any ideas?

Figured it out!
When I separated things out and used SetNumpyPoints and SetNumpyFaces, I got a useful error:
Exception: First column should contain the number of points per face
...which I wasn't doing with my faces array.  The following now works as expected:
import vtkInterface
import numpy as np
from vtkInterface import PolyData

verts = np.array([[0, 0, 0],
                  [0, 0, 1],
                  [0, 1, 0],
                  [1, 0, 1]], dtype=np.float64)
faces = np.array([[3, 0, 1, 2],
                  [3, 1, 2, 3]], dtype=np.int64)

polydata = PolyData(verts, faces)

polydata.Plot()

As for the example code, which of course does do the faces correctly, the faces refer to a vertex #4 that doesn't exist... adding that 5th vertex allows the example to not crash:
import numpy as np
import vtkInterface

# mesh points
vertices = np.array([[0, 0, 0],
                     [1, 0, 0],
                     [1, 1, 0],
                     [0, 1, 0],
                     [0.5, 0.5, 1.0]])

# mesh faces
faces = np.hstack([[4, 0, 1, 2, 3],  # square
                   [3, 0, 1, 4],     # triangle
                   [3, 1, 2, 4]])    # triangle

surf = vtkInterface.PolyData(vertices, faces)

# plot each face with a different color
surf.Plot(scalars=np.arange(3))

Thanks for pointing this out.
I probably should add some error checking code that gives the user a useful error rather than just crashing the interpreter.  Doing this check will probably be slow, so I might just implement it in Cython.  There's a bunch of other functions that I've been meaning to move over from some of my internal work into vtkInterface, so maybe this is a good chance for me to do it.
Any other recommendations?

Finally cleaned up the code.  Thanks for pointing this out.


[Documentation] revokeAuthorizationCode argument should be named code.authorizationCode, not code.code

Specify your setup
N/A -- purely a documentation issue
Describe the bug
View the documentation here:
https://node-oauthoauth2-server.readthedocs.io/en/latest/model/spec.html#revokeauthorizationcode-code
Snapshot of how it looks now:

There is one thing that is confusing about this, and one thing that I believe might be incorrect.
Confusing:

The code argument is described as The return value (I think this means it's identical to the value returned by getAuthorizationCode, but it is a bit confusing in the context of describing a function parameter)

Possibly incorrect:

The code.code argument does not match the return value of getAuthorizationCode, which would be code.authorizationCode instead.

Below, when a sample implementation snippet is provided, it actually uses authorizationCode and not code:

Also, when I look at an example of a consumer of this library (@leaonline/oauth2-server), I see that in fact the field used does appear to be named authorizationCode, not code:
https://github.com/leaonline/oauth2-server/blob/master/lib/model/meteor-model.js#L118
So I believe it is just a typo in the docs.
Expected behavior
Ideally, the docs should be updated for clarity.
The description for the code argument overall could be updated to something like "The code to be revoked," mirroring the description for saveAuthorizationCode.
And the code.code field could be renamed in the docs to code.authorizationCode.
Additional context
I'd be happy to submit a small documentation fix PR if maintainers agree that what I'm suggesting makes sense. :)
Just sending an issue first to comply with the "No PR without issue" rule in the Contributing guidelines:
https://github.com/node-oauth/node-oauth2-server/blob/074e3921edb41763999df4ad1c95e9c029675318/CONTRIBUTING.md#no-pr-without-issue

Actually, as I read the docs more, I'm a little unsure that it's true that it should be authorizationCode, as the documentation for getAuthorizationCode does in fact use code.code, even though saveAuthorizationCode uses code.authorizationCode. Maybe the intentional was always to use code.
Either way, the docs for revokeAuthorizationCode are internally inconsistent, though, since the field documentation says code.code but the example snippet shows code.authorizationCode.
It is interesting to me that the consumer I looked at saves and returns authorizationCode instead of code:
https://github.com/leaonline/oauth2-server/blob/master/lib/model/meteor-model.js#L98
...but, maybe it doesn't actually matter what it's called, as long as it is consistent between getAuthorizationCode and revokeAuthorizationCode? (i.e., we always use code or always use authorizationCode?)

Hi @menewman thanks a lot for pointing this out! Since we forked the project and inherited the docs there may be details we simply missed during reviews. Generally, we are very thankful for every PR that fixes issues with code and docs! I
will take a look at things and come back to you.

You are right:

The code.code argument does not match the return value of getAuthorizationCode, which would be code.authorizationCode instead

This is wrong in the current documentation of revokeAuthorizationCode

Actually, as I read the docs more, I'm a little unsure that it's true that it should be authorizationCode, as the documentation for getAuthorizationCode does in fact use code.code, even though saveAuthorizationCode uses code.authorizationCode. Maybe the intentional was always to use code.

This seems to be a typo, too. We did a rewrite and renamed code.code to code.authorizationCode to avoid confusing namespaces but this seems to be slipped when reviewing the docs.
The return type of getAuthorizationCode is simply what the Model returns and if your Model saved the code with the same structure as proposed in saveAuthorizationCode it is likely to be code.authorizationCode rather than code.code.
I also searched the tests and none of them used code.code or { code: ... } in any responses anymore.
Summarized, yes the docs are wrong and there should nowhere be a code.code parameter anymore.

Thank you for reviewing, @jankapunkt!
In that case, I'd be happy to submit a PR to clean up the docs so they consistently say code.authorizationCode 👍
[off-topic] I found all of your work on this OAuth library (and on the Meteor package that consumes it) to be very, very helpful in understanding and working with OAuth within a Meteor application that I'm working on. So even though we haven't met, I wanted to say that you rock and I really appreciate your work and knowledge-sharing. I'm a fan! 🙏 🙌


Add Java PVR Flink Batch action

The following jenkins jobs have been migrated:
https://ci-beam.apache.org/job/beam_PreCommit_Java_PVR_Flink_Batch_Commit/
https://ci-beam.apache.org/job/beam_PreCommit_Java_PVR_Flink_Batch_Cron/
https://ci-beam.apache.org/job/beam_PreCommit_Java_PVR_Flink_Batch_Phrase/
How has it been tested?
The job has been tested on Self-hosted GKE runners ubuntu 20.04.
The following test cases are passed:

by creating pull requests with changes in trigger paths
by adding a comment to the PR
by making a push

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

LGTM, but I'll wait on approval from @andreydevyatkin


SyntaxError: Unexpected token 'export'

🐞 Bug report
Command (mark with an x)

[x] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[x] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[x] version
[ ] doc

Is this a regression?
Yes.
Description
Update Angular CLI from version 9.1.7 to 11.
When executed following command had following error message
ng --version
Unknown error: SyntaxError: Unexpected token 'export'
I am using Windows 10
🔬 Minimal Reproduction
c:\Users\xxx\Desktop>npm uninstall -g @angular/cli
removed 284 packages in 3.995s
c:\Users\xxx\Desktop>npm cache verify
Cache verified and compressed (~\AppData\Roaming\npm-cache_cacache):
Content verified: 2647 (118926161 bytes)
Index entries: 4128
Finished in 5.221s
c:\Users\xxx\Desktop>npm install -g @angular/cli@latest
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
C:\Users\xxx\AppData\Roaming\npm\ng -> C:\Users\xxx\AppData\Roaming\npm\node_modules@angular\cli\bin\ng

<EMAIL_ADDRESS>postinstall C:\Users\xxx\AppData\Roaming\npm\node_modules@angular\cli
node ./bin/postinstall/script.js

<EMAIL_ADDRESS>added 253 packages from 201 contributors in 19.587s

c:\Users\xxx\Desktop>ng
Unknown error: SyntaxError: Unexpected token 'export'
🔥 Exception or Error

Unknown error: SyntaxError: Unexpected token 'export'

🌍 Your Environment
Windows 10
c:\Users\xxx\Desktop>npm --v
6.14.9
c:\Users\xxx\Desktop>node -v
v13.6.0

Hi @vtfrancefil, can you try to use a supported Node.JS version? (10, 12 or 14)
Note: Node.JS version 13 is no longer supported by the Node.JS team.
See:
https://nodejs.org/en/about/releases/
https://angular.io/guide/setup-local#prerequisites

Thanks, after update of NodeJs, it worked.


Unable to access vuex-orm $db variable from store in nuxt

Using nuxtjs with vuexorm & vuexorm-axios plugin.

/pages/index.vue

computed: {
  users() {
 // this works as expected
  return User.all()
  }
    }

plugins/vuex-orm-axios.js

import { Model } from '@vuex-orm/core'

export default ({ $axios }) => {
  Model.setAxios($axios)
}

store/index.js

import VuexORM from '@vuex-orm/core'
import VuexORMAxios from '@vuex-orm/plugin-axios'
import User from '@/models/user'

VuexORM.use(VuexORMAxios)

// Create a new database instance.
const database = new VuexORM.Database()

// Register Models to the database.
database.register(User)

export const plugins = [
  VuexORM.install(database)
]

Above all works. But in vuexorm docs it says to always fetch model from injected database instance for nuxt/ssr apps.
But if I try to access the $db variable from store it wont work as there is no $db variable inside store.

/pages/index.vue

computed: {
  // this wont work as $db is undefined
    User () {
     return this.$store.$db().model('users')
    },
    users () {
     return this.User.all()
    }

    }

In short calling this.$store works. But there is no $db instance in store variable. this.$store.$db() returning undefined
What am I doing wrong here?

By way of update @flyingboy007, there is a known issue when using Vuex ORM 0.35.x with Nuxt so it may be this is a conflicting issue with #544
Will keep you posted.

@flyingboy007 #544 is fixed with Vuex ORM 0.36.1. Could you try this one and see if it fixed this one as well?

@kiaking Great I will try and update

Thank you for the fix. It is working now.

@flyingboy007 Wonderful to hear that!!! Thank you for confirming 👍


Support sign/verify in options

It would be nice if a consumer of this library could pass some version of sign and verify in as options.  I think that would remove the hard dependency on ghsign.  Also it would help make the scheme more generic per the comments in #4.  If this sounds okay I can probably put together a PR.

Sounds good!
On Sun 6 Sep 2015 at 19:56 omphalos<EMAIL_ADDRESS>wrote:

It would be nice if a consumer of this library could pass some version of
sign and verify in as options. I think that would remove the hard
dependency on ghsign. Also it would help make the scheme more generic per
the comments in #4 https://github.com/mafintosh/webcat/issues/4. If
this sounds okay I can probably put together a PR.
—
Reply to this email directly or view it on GitHub
https://github.com/mafintosh/webcat/issues/11.


Generate type and type IDs for event logging in a JSON file

In a separate JSON file (called *-types.json, we can emit all the types used by a contract and assign them IDs. When logging events, the log<T>() call can be modified to include an intrinsic that would help point to the right type that's being logged so that the SDK can pick that up from the JSON file and interpret the data being logged and display it properly.

This needs spec work as well.


Sync docs with gh-pages

Adds introduction.md as well as syncs all the documentation from /docs
to gh-pages.

I'm going to merge this in and see if it correctly syncs!


Use PSR-4

symfony/symfony#11189 for Symfony Standard

:+1:

-1 for including src/ in the psr-4 autoloading. We should leave that in psr-0 imo

@WouterJ please explain negative votes.

@Tobion Is there any functionality difference at all with this? It seems like I'd still be able to put anything into src/ and have it auto-loaded just like now.
I guess I'm asking, what's the motivation for this? But at the same time, what's the motivation against this if it keeps the same functionality as now?

Hmm, seems like I understood PSR-4 wrongly. As it turns out, empty namespaces will work just like empty namespaces in PSR-0.
However, still having src/Acme/Bundle/BlogBundle instead of src/BlogBundle seems more "PSR-0" than "PSR-4". I'm wondering if we aren't learning people wrong things if we tell them src/Acme/Bundle/BlogBundle is PSR-4.
However, the remaining doubt won't stop me from changing my -1 into a neutral vote.

IMO  , the "pros" are that PSR-4 is loaded faster than PSR-0, the "cons" are that PEAR-like structures will be no longer supported with PSR-0.

I'm wondering if we aren't learning people wrong things if we tell them src/Acme/Bundle/BlogBundle is PSR-4.
If PSR-4  is target as "": src/, then src/Acme/Bundle/BlogBundle.php will still be Acme\Bundle\BlogBundle and it won't change.

Btw, PSR-0 is deprecated by now anyway.

Deprecated - As of 2014-10-21 PSR-0 has been marked as deprecated. PSR-4 is now recommended as an alternative. - http://www.php-fig.org/psr/psr-0/

Merged #796 into 2.7 as this is also the branch where we adjusted symfony itself to use PSR-4. So this is consistent.

The lock file needs to be updated so the warning about out-of-sync does't appear. This will be done with the next beta release anyway.


unknown keyword "errorMessage"

Schemas using "errorMessage" or "message" keywords fail validation/compilation with the above error.  Of course you can get past it by disabling strict mode (--strict=false), but it seems like you shouldn't have to give up strict mode to make it accept valid keywords.  I tried -c ajv-errors to no avail.
Am I missing something obvious, or does the CLI just not have any way of loading the ajv-errors package (or others)?

Is there a means of adding a keyword in the CLI version, so that I might add the "errorMessage" keyword in order to at least ignore the errorMessage in the schema so that I can still use 'strict' mode?


RowListFields are not being serialized by row.ToJson() method. How to achieve that?

Suppose, I need to serialize OrderRow with OrderDetailsRow. But when I call orderRow.ToJson() it does not give me the detail records. It gives only table fields may be.
Could anybody help me, please?

Thank you.
Yes, I am also thinking that the master-detail works fine, but in order repository I have write the following
        private class MySaveHandler : SaveRequestHandler<MyRow> {
            protected override void PerformAuditing()
            {
                base.PerformAuditing();

                var rowJson = Row.ToJson();

            }
        }

while I am debuging Row has 5 detials

but the rowJson give me the following
{
  "CustomerID": "BONAP",
  "EmployeeID": 1,
  "OrderDate": "2016-11-06T00:00:00.000",
  "RequiredDate": "2016-12-03T00:00:00.000",
  "ShipVia": 2,
  "Freight": 38.28,
  "ShipName": "Bon app'",
  "ShipAddress": "12, rue des Bouchers",
  "ShipCity": "Marseille",
  "ShipPostalCode": "13008",
  "ShipCountry": "France"
}

On that stage non table fields are not Assigned, so any such field wont be serialized, including foreign fields.

That is to generate a proper SQL insert statement. Assign Row.DetailList = Row.DetailList so it will be serialized

Got it.
At BeforeSave() it works as expected.
Thank you very much.


Add Batches Details in Indicator Group Page

Add details about batches execution in the indicator group detailed page (similar to session info in the indicator page)

Done


[Editor] Resource/Vector support for thumbnails

Continuing from #143 and #155, this pr implements general resource support for thumbnails and swapped the folder icon format from raster to vector.
No visual changes when compared to #155.
Thank you @0xaryan for pointing me in the right direction, the rest just wrote itself.

I'm not too keen on removing that piece of code since it could really help if you change the icon back to raster, but alright.

@Eideren That's what version control system (such as git) are good at, you can always revert (or look at) past history. On the other hand, commented out code is not maintained and make the overall code less readable.

I was following the document's existing format, should I verify the other xaml files in the repo to convert them to the current convention ?

@Eideren Indeed not all files follow the correct formatting. I'd prefer to only touch the files that are actually changed by the PR. Or do a PR specifically to reformat all files.

Thanks!

@Eideren where did you get the folder icon from? it looks different than the one i made for #155, where i adjusted the icon to look like the ones in the solution explorer. the on in this PR looks like an older draft. would be cool to have the one from #155. is it now a vector icon? if yes, where is it located?

@tebjan Looks like the last version to me.

@Kryptos-FR the aspect of the folder tab is different, the ones in the solution explorer have a wider tab. it took me a while to make the icons look the same, would be nice if the work is not lost.
this is how it looks when i build the solution:

this is the icon i commited with #155:

@tebjan My bad, I didn't see any vector files in pushed to the repo' on your PR so I searched for the guy you credited and downloaded his version.
Wpf cannot display common vector files natively, it must first be converted to their format, the file containing this icon's vector data is ImageDictionary.xaml
If you give me your version of the vector file I can convert it and push it if you want.

@Eideren  no prob, but i was not working with vectors. i just changed the icon pixel based with Gimp. but if you have the vector file at hand i can change that and send it back to you. otherwise i try to find my way around with the xaml stuff.


HTTP driver's exported Response type incomplete

The interface Response from the HTTP driver doesn't seem to reflect all of what superagent provides on the response object.
This results in type errors like Property 'ok' does not exist on type 'Response'..
To best reflect what is on superagent's response, perhaps it would be best to import the type from superagent, correct?
But superagent does not seem to contain type definitions.
Is it possible to import from its @types package and use that, instead of our current Response type?
Or is it the case that the HTTP driver does not provide the superagent response object as a whole? It seems that it is indeed the response from superagent, with the addition of the .request.
So, how about it?

Is it possible to import from its @types package and use that, instead of our current Response type?

Yes this would be the correct way to proceed. Thanks for raising this issue.

HTTP v13.2 is being released with this fix.


Light dependency option?

Hi,
I really like the idea behind this project - something that lets me target DX/OGL with a common API. However I noticed there are quite a few required dependencies. Is it possible to make these things optional? Ideally compiling on Windows wouldn't require Cygwin tools etc.
Thanks.

Compiling on Windows does not require Cygwin. You use the genie tool to generate Visual Studio project files and then you build those.

Yeah no Cygwin dependency. Only thing you need is make from GnuWin32 https://github.com/bkaradzic/bgfx#prerequisites-for-windows, and even that is avoidable, just I use it in project as cross-platform batch file.

Yeah, I don't use make when I work with bgfx. I just build through VS.

Hmm but the readme states:
Prerequisites for Windows
Windows users download GnuWin32 utilities from:
http://gnuwin32.sourceforge.net/packages/make.htm
http://gnuwin32.sourceforge.net/packages/coreutils.htm
http://gnuwin32.sourceforge.net/packages/libiconv.htm
http://gnuwin32.sourceforge.net/packages/libintl.htm

Yeah, that's because somewhere else I state that you need to run make to generate project files. It works on Linux, OSX, and Windows. But you can avoid it.

Would you consider patches for using CMake?

Nope. But you can create separate repo that contains it and builds bgfx with CMake. I'll add info about it.
Something like this:
https://github.com/floooh/fips-bgfx/#fips-bgfx


Update the Changelog to be powered by Sitecore Search

This PR updates the Changelog to be powered by Sitecore Search, instead of directly from CH-ONE.
Some notes on functionality.....

This is not implemented using  the Search SDK as at the time of creating this it wasn't possible to implemented 'infinite scroll' with the SDK. This feature is being developed so we can revisit this at a later date.
The main changelog page (for both full listing and product specific), including listing, faceting & listing by month is now powered by Sitecore Search
Some elements have remained working against CH-ONE as I didn't see the benefit of moving those over yet, this can be revisited if we decide to move those as well. The main areas still running directly from CH-ONE are the RSS & Atom feeds, and also the ChangeLog [Entry] page.
There have been no changes to the API wrapper used to get the data from CH-ONE, that is used by the indexing in Search and the features still using it mentioned above. Any changes that were required have already been completed and merged in other previous PRs.

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation update (non-breaking change; modified files are limited to the /data directory or other markdown files)

Checklist:

[x] I have read the Contributing guide.
[x] My code/comments/docs fully adhere to the Code of Conduct.
[x] My change is a code change.
[ ] My change is a documentation change and there are NO other updates required.
[ ] My change has new or updated images which are stored in the /public/images folder that need to be migrated to Sitecore DAM

@markvanaalst - I've updated this to now index the product slugs, so we can filter by them as well.
You should now be able to use the URLs with the slugified product names again


Parser experiments

Looks good to me now.

Great! Thanks a lot! The felix bundle issue can wait, I'm pretty sure.

Please close the PR yourself as soon as you have merged back to trunk.


Build errors while building RxBluetoothKit with Swift 5.1/XCode 11 beta

Describe the bug
Getting compilation errors while trying to build RxBluetoothKit with Swift 5.1
error: module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1 compiler:
To Reproduce
Steps to reproduce the behavior:
Cleared XCode DerivedData,  set command line tools to XCode 11.0, ran "rm -rf ~/Library/Caches/org.carthage.*"
My cartfile has the following:
github "ReactiveX/RxSwift" "5.0.0"
github "Polidea/RxBluetoothKit" "5.2.0"
along with other stuff such as AlamoFire, Reachability, SnapKit etc
If I comment out RxBluetoothKit on cartfile, "carthage update --platform iOS --no-use-binaries" goes through just fine. However if I include  RxBluetoothKit, I see this "error: module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1 compiler:"
I already have RxSwift rebuilt using Swift 5.1, "swift --version" shows "Apple Swift version 5.1"
I think RxBluetoothKit picks up its own version of an older RxSwift.
Is there a workaround ? I can't use an older version of XCode because of an XCode bug
https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_release_notes - #47598583
Expected behavior
RxBluetoothKit compiles successfully on "carthage update  --platform iOS --no-use-binaries" with Swift 5.1/XCode 11
Environment:

Device: [Macbook Pro]
OS: [macOS 10.14.6]
Library version [RxBluetoothKit 5.2.0]
Swift version [5.1]
XCode Version 11.0 beta 6 (11M392r)

I am experiencing the same thing. I tried removing RxSwift package to from Carthage to have it managed by the new Xcode 11 Swift Package Manager but same result. I'd like to continue to have this package managed by Carthage if possible.


Error tensorRt Deploy

Converted to model_trt.engine, the following warning is issued：
2021-08-11 16:47:25.934 | INFO     | main:main:54 - loaded checkpoint done.
Warning: Encountered known unsupported method torch.nn.functional.interpolate
Warning: Encountered known unsupported method torch.nn.functional.interpolate
[TensorRT] WARNING: Tensor DataType is determined at build time for tensors not marked as input or output.
[TensorRT] WARNING: Half2 support requested on hardware without native FP16 support, performance will be negatively affected.
[TensorRT] INFO: Detected 1 inputs and 1 output network tensors.
2021-08-11 16:50:56.930 | INFO     | main:main:67 - Converted TensorRT model done.
2021-08-11 16:50:58.672 | INFO     | main:main:75 - Converted TensorRT model engine file is saved for C++ inference.
Execute cpp file, test result：
49 = 0.82881 at 0.00 0.00 -nan x -nan
29 = 0.82851 at 0.00 0.00 -nan x -nan
2 = 0.82849 at 767.00 0.00 0.00 x -nan
12 = 0.81879 at 0.00 0.00 -nan x -nan
64 = 0.81870 at 216.00 575.00 9.60 x 0.00
33 = 0.81747 at 291.50 0.00 9.60 x -nan
6 = 0.81694 at 0.00 432.00 0.00 x 0.00
41 = 0.81583 at 0.00 0.00 -nan x -nan
61 = 0.81479 at 767.00 0.00 0.00 x -nan
44 = 0.81433 at 767.00 0.00 0.00 x -nan
66 = 0.80904 at 767.00 575.00 0.00 x 0.00
76 = 0.80504 at 0.00 575.00 -nan x 0.00
18 = 0.80151 at 0.00 0.00 -nan x -nan
save vis file
How can I solve it and look forward to your reply, Thanks! @nihui @steinmann @xxr3376 @zengarden @zhiqwang

Your TensorRT seems doesn't support the 'nearest' upsample in FPN. So you may replace this line with 'bilinear' mode and try to converting again.

Your TensorRT seems doesn't support the 'nearest' upsample in FPN. So you may replace this line with 'bilinear' mode and try to convert the model again.

Change to "self.upsample = nn.Upsample(scale_factor=2, mode="bilinear")", the same problem occurs
2021-08-11 17:36:43.260 | INFO     | main:main:54 - loaded checkpoint done.
Warning: Encountered known unsupported method torch.nn.functional.interpolate
Warning: Encountered known unsupported method torch.nn.functional.interpolate
[TensorRT] WARNING: Tensor DataType is determined at build time for tensors not marked as input or output.
[TensorRT] WARNING: Half2 support requested on hardware without native FP16 support, performance will be negatively affected.
CUDA-10.1
cudnn <IP_ADDRESS>
TensorRt 6.0.1
Is my TensorRt version too low? Is there a custom layer?  Or our trt.py can't convert the model
Look forward to your reply, Thanks!


don't crash when refraction pass is empty

Please make sure to cherry-pick this into the rc/1.10.7 branch as well.


Update fsnotify dependency

Fix #https://github.com/istio/istio/issues/29194
github.com/howeyc/fsnotify is not maintained, and has some issues
https://github.com/istio/istio/issues/29194#issuecomment-734121421

@hzxuzhonghu: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
0d984fa64f486ded5045ad38430289af5448e2af
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
0d984fa64f486ded5045ad38430289af5448e2af
link
/test release-notes_istio

gencheck_istio
0d984fa64f486ded5045ad38430289af5448e2af
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hzxuzhonghu: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-mc-k8s-tests_istio
1aafd17477ac0e27001cd177501bee25864ad858
link
/test integ-telemetry-mc-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


⚡ feat: add neovim config

wip, I will edit this message better a bit later, but roughly:

[x] propose a minimal neovim config à la kickstart.nvim (aka that you can copy paste) with a minimal setup to make nushell work a bit better with neovim.

[x] Syntax Highlighting using treesitter
[x] LSP using nu --lsp
[x] Basic vim.opts to play nicely with nushell

cc @amtoine if you can stress test it I'm sure you'll find issues :)

I'm not seeing nu --lsp in the code. What am I missing?

The config is less then 150 lines of code so that it can be read...

Also you can literally test it in seconds if you follow the readme

I can't get this to work the way I thought it would. The syntax highlighting and nushell lsp seem to work fine (congrats!), but I think it's loading cached files because even though I followed the readme, I still have my lunarvim colors. I wonder if there are some other env vars that it may be using or other folders?
My lunarvim setup does this
$env.XDG_DATA_HOME = $env.APPDATA
$env.XDG_CONFIG_HOME = $env.LOCALAPPDATA
$env.XDG_CACHE_HOME = $env.TEMP

$env.LUNARVIM_RUNTIME_DIR = $'($env.XDG_DATA_HOME)\lunarvim'
$env.LUNARVIM_CONFIG_DIR = $'($env.XDG_CONFIG_HOME)\lvim'
$env.LUNARVIM_CACHE_DIR = $'($env.XDG_CACHE_HOME)\lvim'
$env.LUNARVIM_BASE_DIR = $'($env.LUNARVIM_RUNTIME_DIR)\lvim'

I can't get this to work the way I thought it would.

If you use APPNAME it should use a separate dir for both the config file and the data so it's pretty strange, if you did not use APPNAME that's normal your data folder already has your old plugs and it create strange conflicts like this

Lastly, I still don't understand how it even knows about nu --lsp since you removed it from the init.lua. This is part of the reason why neovim is a pain for me.

Let me correct that to make it clearer it relies on too much magic currently.
I've since fully switched to neovim, something clicked

That should have created an isolated nvim-nu-data directory for you in LOCAPAPPDATA (or XDG on Unix)

That should have created an isolated nvim-nu-data directory for you in LOCAPAPPDATA (or XDG on Unix)

It did but there's also a C:\Temp\nvim-nu and a C:\Users\username\AppData\Roaming\nvim-nu-data and my regular lvim/lunarvim folders

I think this should instead be a markdown documentation of just the relevant bits.
I will propose something later this week.

Let's go with this for now. We can always change it later if we don't like it. At least there is much less magic going on now. Thanks @melMass!

Small note for windows users:
Because of how the os lock files, TSUpdate will fail if you have an opened buffer using the lang compiled ts definition.
For instance, updating TreeSitter-nu with a nushell file open will result in this:

solution: close nvim, reopen it without any file/session, TS should fire on its own, if not run :TSUpdate

would be good to have that in the readme for this functionality.


Bump package.json signer version

Resolves package.json version
Summary
Change to increment Casper Signer version from 1.4.26 to 1.4.27 in package.json and package-lock.json
TODO

[x] N/A.

Checklist

[x] Code is properly formatted - Yes
[x] Tests included/updated or not needed - Not needed
[x] Documentation has been updated or is not required - Not required

Build artifact for QA: Please refer commit details.

@devendran-m What about the version field in the manifest.json?

@devendran-m What about the version field in the manifest.json file?

Hi @mrkara , thanks for highlighting this. I have pushed another commit to this PR, to bump the version in manifest.json

@devendran-m I verified that the new Signer build is correct.
I would like to propose that you should add a Release Checklist in the wiki section and put there all steps related to versioning so we don't have to spend time on again figuring out the process of bumping a package version on release.


[Anushiya] Add Images Part-1

Task Summary
Add the images features to the site.

Closing, since this is completed.


Crash every 2 mins ?

`>lt -p
your url is: https://.localtunnel.me
/usr/local/lib/node_modules/localtunnel/bin/client:58
throw err;
^
Error: connection refused: localtunnel.me:46437 (check your firewall settings)
at Socket. (/usr/local/lib/node_modules/localtunnel/lib/TunnelCluster.js:47:32)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at emitErrorNT (net.js:1265:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)`
Whats going ?

I have same problem.

i have similer problem, i turned my firewall off, still happens

Ok so I find a working replacement - finch (meetfinch.com) (ngrok has 20 connections / min limit and bans after it)

yea but 60 min/month is way to little

No, it's unlimited. So my connection working non-stop for a day now.

Same issue

Am aware of stability issues and am trying some things to figure out why. If this is a show-stopper for you, there are a number of other similar projects or hacks around this that have been pointed out in this issue and other similar issues.


Building Permit Exploration

Figure out what how best to get building permit data.
Data sources:

https://eservices.dcra.dc.gov/OBPAT/Default.aspx
(non-intuitive error message -rejects request if data download is too large) http://data.octo.dc.gov/NewCalendar.aspx?datasetid=5
http://opendata.dc.gov/datasets/5d14ae7dcd1544878c54e61edda489c3_24
http://opendata.dc.gov/datasets/930907e0c08843c8b30ab36a29b8ff0e_4

Questions:

How can we filter out only the 'big investment' types of permits (condo conversion, big retail rehabs, etc.)
How can we pull systematically while still having a long enough history to account for the lifetime of major projects (e.g. just the 30 day version isn't enough, but maybe we can combine sources and/or maintain a cache ourselves).
Make sure we have geocode data available for each permit, joining appropriate tables as needed (if not in source data, first place to look would be the MARS - Master Address Repository for DC)

Location Team:
-Using geocoded permit location data to return a list of all building permits within X miles of a specific affordable building.

Hey Neal,
A couple of items:

I emailed<EMAIL_ADDRESS>for the data here. We'll see if they get back to me.

In the meantime, I'm trying to load the 2016 data into the database from opendata.dc.gov. I know you mentioned a few issues with it, but it seems like a good starting point. However, when I load the CSV data and run the Python script, I get the following error:

sys:1: DtypeWarning: Columns (29,33) have mixed types. Specify dtype option on import or set low_memory=False.
in memory...
Traceback (most recent call last):
File "//anaconda/envs/housing-insights/lib/python3.5/site-packages/sqlalchemy/pool.py", line 1122, in _do_get
return self._pool.get(wait, self._timeout)
File "//anaconda/envs/housing-insights/lib/python3.5/site-packages/sqlalchemy/util/queue.py", line 145, in get
raise Empty
sqlalchemy.util.queue.Empty

This message is followed by a lot of other exception errors.
The first line says that there are conflicting data types in columns 29 and 33.  Checking the column values, there are no weird characters that would obviously be throwing everything off. This thread recommends specifying the data type.
Following the documentation here and here, I modified this line of the processing script to specify the dtype, but it didn't seem to work.
The docs also say you need the StringIO class from the io module, which I'm not sure is configured right now.
Any insight would be appreciated here.

cool, let me know
My only issue with the opendata.dc.gov data is update frequency - they are unreliable with how often data is updated. Clicking on the metadata link](https://www.arcgis.com/home/item.html?id=5d14ae7dcd1544878c54e61edda489c3) it says it was last updated Jan 20 2016; I think that if we just check the date stamp of the permits it will tell us how out of date it actually is.

I have not encountered that error before. I'll dig into it. I'll probably also migrate over those other changes I made to the code in the housing-risk project that make the upload scripts more robust, so watch for a pull request with notes describing the changes.

p.s. the way I wrote the script, I deliberately used this method because I didn't have to specify the data type - i.e. it's a quick and dirty method that makes it easy to add new files to the upload. But especially with large files it does have the limitations noted in that thread. The fix will likely require optionally specifying some data types. I will probably do that by incorporating it into the json file that deals with columns that have dates.

@salomoneb First note, [this line] is the one that would need to be modified to fix the error you noted, as it is the one that reads the actual file. The line you pointed to (52) is the one that just reads the manifest file, not the file itself.

Thanks. I noticed that line after I sent my message and was wondering about it. I'll play around with the load some more when I have time tonight and this weekend. I agree that opendata.dc.gov may not be our best choice if the data's not current or complete; however, when you open the file, it seems to have permits going all the way through 12/30/16. I wonder if the metadata link refers to when the page was initially created, or if the file is being updated in a way that's not reflected in that date.
If the data is complete, it'll serve as a good set of foundational/historical information to start from. We can then figure out a better real-time source to tap into for 2017 and beyond.
I also noticed that the metadata link lists octo.dc.gov as well as dcra.dc.gov under Credits (Attribution) in the lower right sidebar. If it's actually pulling from the octo address, we may have the most complete info.

Ok, I just merged a hotfix into dev, and ran the code.
In the medium term, we should rewrite the whole loading function. There's a few issues:

The benefit of our current method is you don't have to add custom configuration for newly added data sources, because Pandas parses data types automatically. For long term stability this is a downside, because we risk our updated data sources changing format and breaking other stuff down the pipeline.
Pandas to_sql is super slow when connecting to a remote server
Pandas is generally not recommended in production code - although its ease of use might outweigh that for this particular project, TBD.

I added a new issue with some notes on this refactor, which we should discuss: https://github.com/codefordc/housing-insights/issues/54

FLAG we need to reload this table and parse the issue_date as date field. Should check the others too...

@salomoneb if you're at the session tonight, we should coordinate on this issue too so I know where it stands. As with zoning, we should contact OCTO or whoever to find out what's up with this data. Did you ever hear back from your email?

I'll be at the session. Looks like there's a separate source for 2017 data now, too. When/if I get a hold of the map specialist today, I'll ask them about this info.

Looking into this again. As of now, the 2017 data set does not appear to be updating (only a handful of permits last modified around Jan 1) . Things we need to do:

Find how to get access to the live update version if opendata.dc.gov is not going to cooperate.
Figure out if we need to deduplicate the annual data versions. On Opendata.dc.gov, each of the annual data sets says that it is all permits applied for or issued in that year, meaning there may be duplicate records first int he year it was applied for and then if it was approved the next calendar year.

I sent a note on 4/10/2017 to<EMAIL_ADDRESS>asking for info on why the building permits data is not updating. It looks like both the opendata dataset and the octo data catalog data set are both failing to include new permits. I think we will be able to use the opendata.dc.gov version once this is fixed - hold off on integrating updated data until we find out the reason for this issue.

Didn't ever receive response from<EMAIL_ADDRESS>Sent second inquiry 5/5/2017

Response from<EMAIL_ADDRESS>"You are correct, the most recent data available for building permits is January 2017. This is what you are seeing within the dataset. Open Data DC is not receiving updates from DCRA at this time. Although, we are working with DCRA to re-establish the live feed but do not yet have a timeline. The date seen in the details page is actually a date where we made an edit to the description. In this case, we added a note regarding the break in data (see attached).
...
Understandably, timely data is a must. Therefore suggest reaching out to DCRA’s FOIA officer, Runako Allsopp. "
@emkap01 Are you up for bugging some government officials? Maybe start w/ their suggested DCRA contact and reach out to Traci Hughes for help if needed?

Sure, I will reach out.

Flagging the ESRI geojson limit on this ticket too, which came up in tax ingestion. The json api's have a default limit of 1,000 records. Looks like the best solution is using the 'geojson' api endpoint, but swap .geojson for .csv to get a bulk download of all the api already in csv format.

Hey @NealHumphrey and @emkap01, any word from DCRA on updated building permit data? I've been playing around with some of the data in Tableau and would like to use it but don't want to make it a point of emphasis if it's not accurate.

@louvis It looks like opendata.dc.gov still does not have access to current data. @emkap01 did you ever reach out to the DCRA FOIA officer? Let me know if you're able to or want me to help.
@louvis I'm pretty sure this data should be reinstated at some point. Data is definitely valid through 2016, so you could do analysis that ends in that calendar year and I think it would be valuable both on its own and as a template for when data access is restored.

Sorry for the delay on this - I emailed Runako and copied you on it, once we hear back from him I will follow up as appropriate.

Hey @NealHumphrey and @emkap01 it looks like the 2017 building permit dataset has been updated through the end of June based on opendata.dc.gov. Issue dates run up into July as well so we might be able to add it to our existing 2016 data.


UI performance is slow on Windows 11

Type: Performance Issue
The UI performance has degraded significantly in some recent version. I don't know exactly when it started, but it affects everything in the workbench.
Scrolling, hover effects, tab switching and more are all very sluggish. It's like watching a "cinematic" movie at 24 fps. On a 160Hz monitor it's very noticeable and distracting.
VS Code version: Code 1.76.2 (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884, 2023-03-14T17:55:54.936Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
AMD Ryzen 9 5900X 12-Core Processor             (24 x 3700)

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

Load (avg)
undefined

Memory (System)
63.92GB (52.42GB free)

Process Argv

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	   103	  6464	code main
    0	   113	  3308	   shared-process
    0	    86	  2256	     fileWatcher
    0	    78	 23572	     ptyHost
    0	   267	 11144	   window (settings.xml - GTA V - Visual Studio Code)
    0	   298	 12352	   window (undefined)
    0	    40	 12776	   utility-network-service
    0	    92	 15132	   issue-reporter
    0	   157	 21576	   gpu-process
    0	   151	 22816	   utility-process
    0	    91	 21076	     electron-nodejs ("C:\Users\zstun\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\zstun\.vscode\extensions\streetsidesoftware.code-spell-checker-2.20.0\packages\_server\dist\main.js --node-ipc --clientProcessId=22816)
    0	    81	 21332	     electron-nodejs ("C:\Users\zstun\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\zstun\.vscode\extensions\ms-azuretools.vscode-docker-1.24.0\dist\compose-language-service\lib\server.js --node-ipc --node-ipc --clientProcessId=22816)
    0	    83	 21676	     electron-nodejs ("C:\Users\zstun\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\zstun\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=22816)
    0	    82	 22320	     electron-nodejs ("C:\Users\zstun\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\zstun\.vscode\extensions\ms-azuretools.vscode-docker-1.24.0\dist\dockerfile-language-server-nodejs\lib\server.js --node-ipc --node-ipc --clientProcessId=22816)

Workspace Info
|  Window (settings.xml - GTA V - Visual Studio Code)
|    Folder (GTA V): 27 files
|      File types: dat(2) bak(2) gitignore(1) bin(1) xml(1)
|      Conf files:;

Extensions (9)

Extension
Author (truncated)
Version

vscode-tailwindcss
bra
0.9.8

vscode-eslint
dba
2.4.0

EditorConfig
Edi
0.16.4

todo-tree
Gru
0.0.224

Angular2
joh
13.0.0

vscode-docker
ms-
1.24.0

vscode-edge-devtools
ms-
2.1.1

LiveServer
rit
5.7.9

code-spell-checker
str
2.20.0

https://user-images.githubusercontent.com/40335772/225458050-aa35726f-fc88-4a43-b17f-87daf873336e.mp4

Tried the following, none of which fixed the issue:

restarting the system
disabling all extensions

Attaching a profile: Profile-20230316T004058.zip

After looking at the profile, I noticed that frames were being dropped for no reason. Digged around a little bit and found the culprit: NVIDIA Control Panel settings.
If others experience this issue, "Background Application Max Frame Rate" setting under "Manage 3D settings" page caused this. Turning it off and restarting VS Code solved the issue.

Why Nvidia treats VS Code as a "Background application" is anybody's guess. Might be a driver issue, not sure.
Maintainers can close this :)

Looks like this was reported way back in July 2022 https://github.com/microsoft/vscode/issues/107016#issuecomment-1193143661


Renaming proxy schema fields to avoid name collisions in the future

Making the names to use camelCase instead of underscore. (this is pure personal taste)

@bdmason FYI

It's much better, I'll do the others too


Flow could not be retrieved from deployment.

Hi,
I'm trying perfect out and found your repository. I was able to start everything and deploy following the README.
But during the deployment execution, I can see that the agent triggers things correctly, without issues.
20:17:06.294 | DEBUG   | prefect.agent - Checking for flow runs...
20:17:06.308 | INFO    | prefect.agent - Submitting flow run '837896b9-42a7-4a51-a539-bf685acc38e9'
20:17:06.433 | INFO    | prefect.infrastructure.docker-container - Creating Docker container 'pi97-meduseld-v'...
20:17:06.974 | INFO    | prefect.agent - Completed submission of flow run '837896b9-42a7-4a51-a539-bf685acc38e9'
20:17:06.987 | INFO    | prefect.infrastructure.docker-container - Docker container 'pi97-meduseld-v' has status 'running'
20:17:09.299 | INFO    | prefect.infrastructure.docker-container - Docker container 'pi97-meduseld-v' has status 'exited'

But looking at the log from the run it outputs
Loading flow for deployment 'docker-example'...
Flow could not be retrieved from deployment.
Traceback (most recent call last):
  File "<frozen importlib._bootstrap_external>", line 839, in exec_module
  File "<frozen importlib._bootstrap_external>", line 975, in get_code
  File "<frozen importlib._bootstrap_external>", line 1032, in get_data
FileNotFoundError: [Errno 2] No such file or directory: '/flows/test_flow/test_flow.py'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/prefect/engine.py", line 254, in retrieve_flow_then_begin_flow_run
    flow = await load_flow_from_flow_run(flow_run, client=client)
  File "/usr/local/lib/python3.8/site-packages/prefect/client.py", line 104, in with_injected_client
    return await fn(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/prefect/deployments.py", line 73, in load_flow_from_flow_run
    flow = await run_sync_in_worker_thread(import_object, str(import_path))
  File "/usr/local/lib/python3.8/site-packages/prefect/utilities/asyncutils.py", line 56, in run_sync_in_worker_thread
    return await anyio.to_thread.run_sync(call, cancellable=True)
  File "/usr/local/lib/python3.8/site-packages/anyio/to_thread.py", line 31, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "/usr/local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
    return await future
  File "/usr/local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 867, in run
    result = context.run(func, *args)
  File "/usr/local/lib/python3.8/site-packages/prefect/utilities/importtools.py", line 193, in import_object
    module = load_script_as_module(script_path)
  File "/usr/local/lib/python3.8/site-packages/prefect/utilities/importtools.py", line 156, in load_script_as_module
    raise ScriptError(user_exc=exc, path=path) from exc
prefect.exceptions.ScriptError: Script at '/flows/test_flow/test_flow.py' encountered an exception

Looking at the docker that the agent created I can see more information
20:17:08.529 | DEBUG   | prefect.client - Connecting to API at http://prefect-server:4200/api/
20:17:08.848 | DEBUG   | Flow run 'pi97-meduseld-v' - Loading flow for deployment 'docker-example'...
20:17:08.850 | ERROR   | Flow run 'pi97-meduseld-v' - Flow could not be retrieved from deployment.
Traceback (most recent call last):
  File "<frozen importlib._bootstrap_external>", line 839, in exec_module
  File "<frozen importlib._bootstrap_external>", line 975, in get_code
  File "<frozen importlib._bootstrap_external>", line 1032, in get_data
FileNotFoundError: [Errno 2] No such file or directory: '/flows/test_flow/test_flow.py'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/prefect/engine.py", line 254, in retrieve_flow_then_begin_flow_run
    flow = await load_flow_from_flow_run(flow_run, client=client)
  File "/usr/local/lib/python3.8/site-packages/prefect/client.py", line 104, in with_injected_client
    return await fn(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/prefect/deployments.py", line 73, in load_flow_from_flow_run
    flow = await run_sync_in_worker_thread(import_object, str(import_path))
  File "/usr/local/lib/python3.8/site-packages/prefect/utilities/asyncutils.py", line 56, in run_sync_in_worker_thread
    return await anyio.to_thread.run_sync(call, cancellable=True)
  File "/usr/local/lib/python3.8/site-packages/anyio/to_thread.py", line 31, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "/usr/local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
    return await future
  File "/usr/local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 867, in run
    result = context.run(func, *args)
  File "/usr/local/lib/python3.8/site-packages/prefect/utilities/importtools.py", line 193, in import_object
    module = load_script_as_module(script_path)
  File "/usr/local/lib/python3.8/site-packages/prefect/utilities/importtools.py", line 156, in load_script_as_module
    raise ScriptError(user_exc=exc, path=path) from exc
prefect.exceptions.ScriptError: Script at '/flows/test_flow/test_flow.py' encountered an exception
20:17:08.880 | DEBUG   | prefect.client - Connecting to API at http://prefect-server:4200/api/

Should I open a bug report on Prefect?
Seems like this was fixed on https://github.com/PrefectHQ/prefect/pull/6554

Hello!
Yeah, It is a Prefect bug and they are going to do a new release this week that will include the fix: https://github.com/PrefectHQ/prefect/pull/6554
To get my local environment working I manually patched my docker image with the fix (it is only 2 lines). As soon as the new release is out I will update this repo.


Add missing PrivateAssets for Microsoft.CodeAnalysis dependency

Hi,
The lack of PrivateAssets="all" results in infecting all the consuming projects with Microsoft.CodeAnalysis as a runtime dependency. I found it in the bin directory and I was very surprised 😄

Hi @mjsabby
Any perspective for merging this PR and releasing a fixed NuGet package?

@cezarypiatek I no longer work at Microsoft, my best contact within the .NET team for this kind of stuff is @davidfowl who can potentially help on who should maintain this project and/or bring this PR in.

Can anybody handle this?


Bug 2027681: [release-4.11] Sync all the libsonnet changes to metrics deploy files

Ran make gen-latest-prometheus-rules-yamls to sync the changes in libsonnet files to metrics/deploy
Signed-off-by: Arun Kumar Mohan<EMAIL_ADDRESS>(cherry picked from commit 50f09cbeb565fa7ea88ae89a7de04fffa02254a7)

/bugzilla refresh

/bugzilla refresh

/retest

/retest-required

/retest-required

/retest-required


Upgrade to Phoenix 1.7

Overview
First off of all, thank you for making and maintaining this project! It's extremely useful to me. I'm really happy that it's written in Elixir because I can actually help out 😄
I noticed that the project is still using Phoenix 1.6. I followed the upgrade guide and it was very simple.
I also made a bunch of changes to get rid of all the compile-time warnings.
Testing
I'm not quite sure how to QA these changes. Maybe we could come up with a checklist together?

Please format the file correctly, see https://github.com/teslamate-org/teslamate/actions/runs/7523079638/job/20657593930?pr=3615#step:12:9

Thanks for reviewing @JakobLichterfeld
CI is passing now.

CI is passing now.

Unfortunately not, https://github.com/teslamate-org/teslamate/actions/runs/7602510278/job/20718030463?pr=3615#step:10:10

@brianmay can you help with the outdated pot file? https://github.com/teslamate-org/teslamate/actions/runs/7767265925/job/21183920267?pr=3615#step:10:11
Running mix gettext.extract --merge manually works fine.

I am not going to be able to update this PR as is, I probably don't have access to the source repo.
Apologies if I misunderstood something here :-

I am not going to be able to update this PR as is, I probably don't have access to the source repo.
Apologies if I misunderstood something here ;-)

Do you have a hint how to solve the outdated pot warning?

The mix gettext.extract --merge command is probably a good start... Looks like some new messages have been added.
But I am a bit puzzled why we aren't getting errors from the master branch. Unless something is wrong with the pot checks there.

I linted the files correctly.
@marvelm please fix the test: https://github.com/teslamate-org/teslamate/actions/runs/7789209181/job/21240291062?pr=3615#step:10:73
Not sure, why it is expecting 4.32kWh instead of 4.32 kWh
and the Linting warning about the uncalled function: https://github.com/teslamate-org/teslamate/actions/runs/7789209181/job/21240291393?pr=3615#step:16:34

I think that uncalled function warning is a false warning, fetch_settings is used as a plug. Not sure how to make it happy here. Maybe I missed something.

The other error, I think there is a missing space in the template:
diff --git a/lib/teslamate_web/live/car_live/summary.html.heex b/lib/teslamate_web/live/car_live/summary.html.heex
index 70d0b72f..ae9632b1 100644
--- a/lib/teslamate_web/live/car_live/summary.html.heex
+++ b/lib/teslamate_web/live/car_live/summary.html.heex
@@ -272,7 +272,7 @@
             <%= unless<EMAIL_ADDRESS>do %>

                 <%= gettext("Charged") %>
-                <%= @summary.charge_energy_added %>kWh
+                <%= @summary.charge_energy_added %> kWh

             <% end %>
             <%= unless<EMAIL_ADDRESS>do %>

This appears to have happened in the "mix format" commit. I can't reproduce this, but something we may need to watch out for.

Possible solution to the unused function problem, just make the function public:
diff --git a/lib/teslamate_web/router.ex b/lib/teslamate_web/router.ex
index 246b47fa..f00d9ea0 100644
--- a/lib/teslamate_web/router.ex
+++ b/lib/teslamate_web/router.ex
@@ -54,7 +54,7 @@ defmodule TeslaMateWeb.Router do
     put "/car/:id/logging/suspend", CarController, :suspend_logging
   end

-  defp fetch_settings(conn, _opts) do
+  def fetch_settings(conn, _opts) do
     settings = Settings.get_global_settings!()

     conn

Giving up on this. A whitespace result in test failing, using the unicode character result in failed lint. Assume we need to adopt the test to use the whitespace

Using whitespace in html and in test instead of nbsp unicode finally works.


form empty after infyom:scaffold

Hello !
I used php artisan infyom:scaffold etc ...
All ok, migration ok, data table ok .. but when I try to add something ... the form is empty. I can see only the submit and cancel buttons.
Ideas ?
Thx !

Sorry .. I passed wrong parameters ....

i am facing the same issue , can you tell me how you resolved that ?


export pipe for upbge to android?

UPBbge is a really nice game engine - is there anyway we could make a exporter for it to send projects into this framework?

Not sure what's question here... You can make whatever you want. You have my permission.


Missing dependency in script 2.2

Error in library(org.Hs.eg.db) :
  there is no package called ‘org.Hs.eg.db’
Execution halted

Is this because the dependency wasn't written on the readme?

it's there in the description ..

Because I added it in 69bcb6efef57fd7511e876aab46dea383c4c38dd lol. Is that enough to solve the problem?


adding spell fields

@murdybirdy I rebased the changes off my server changes and added the missing new bits that were needed because of my changes
This is good to merge


Derive from broccoli-plugin base class

LVGTM

I have some more work landing, but this will be a major version bump.


Fixing spelling of 'stats'

'stats' is missing the final 's.' Including this makes it easier for
users to follow and reproduce the demo properly.

Good catch!  I had no idea anyone else in the universe would ever find this repo worth looking at -- I love Github :)

Actually, I found it very helpful.
Thanks,
Will
From: Justin Ellison<EMAIL_ADDRESS>Sent: Wednesday, December 28, 2016 12:36 PM
To: justintime/vagrant-haproxy-demo<EMAIL_ADDRESS>Cc: willauld<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [justintime/vagrant-haproxy-demo] Fixing spelling of 'stats' (#1)
Good catch! I had no idea anyone else in the universe would ever find this repo worth looking at -- I love Github :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/justintime/vagrant-haproxy-demo/pull/1#issuecomment-269536909 , or mute the thread https://github.com/notifications/unsubscribe-auth/AJhyOUa5bSX_69aR830fHJgQsO9rlnb7ks5rMshMgaJpZM4LXJ9e .


Tidied up README.md post merging @Hilmerc's changes into master

Thanks @Hilmerc for your contribution, merged and formatted into the README.md


Ability to flatten JSON objects during ingestion

This would probably make sense as additional options on the JSONParseSpec. Maybe something that lets people say they want "foo.bar" to mean pulling the "bar" key out of the "foo" object rather than pulling the root key "foo.bar".
It should also still be possible for someone to have a root key that is actually called "foo.bar".

+1
This is great.
On Mon, Oct 19, 2015 at 6:07 PM, Gian Merlino<EMAIL_ADDRESS>wrote:

This would probably make sense as additional options on the JSONParseSpec.
Maybe something that lets people say they want "foo.bar" to mean pulling
the "bar" key out of the "foo" object rather than pulling the root key
"foo.bar".
It should also still be possible for someone to have a root key that is
actually called "foo.bar".
—
Reply to this email directly or view it on GitHub
https://github.com/druid-io/druid/issues/1839.

Would be good to support stuff like:
foo.bar - bar key of the foo object
foo[0].bar - bar key of the first element of the foo array
Anything that doesn't exist should become null. If anything resolves into an object, it should probably also be null? I guess? (what do we do now?)

Fixed by https://github.com/druid-io/druid-api/pull/65


DRILL-6685: Fixed exception when reading Parquet data

Fixed a regression when addressing DRILL-6570:

When fixing DRILL-6570, we unified a bulk entry's max-values so that a false-positive (from fixed length to variable length) could happen smoothly
The regression was that the fixed length algorithm was relying on the previous bulk-entry max-value constraint

Fix -

I have re-introduced the constraint within the fixed-length reader
Added a test-suite using @robert Hou parquet data to prevent such regressions

@Ben-Zvi and @ilooner can either of you review this PR?
Thanks!

@ilooner, I already brought down the size from 26MB to 1MB; what is an acceptable size?

It would be ideal if we could get it down on the order of 10 kbs or less, or generate it.

@Ben-Zvi , refactored the getFixedLengthMaxRecordsToRead() method to take the entrySz as input
@ilooner re-generated the file and now the size is ~100kb

Thank you @ilooner and @Ben-Zvi  for the review!

@arina-ielchiieva,

Agreed, but I liked better the pattern used in the sample test (that you have sent) as it provides more flexibility
Each test can invoke separate flags without increasing complexity
Combining global settings along with overrides can become tricky (an override needs to ensure that all global settings are restituted to their original state after the test finishes)

@sachouche I don't have strong opinion of that, so PR can go as is, though since all your tests using the same options, before / after could save you from logic duplication.


Solution
#4101 added a depth_bias field to bias the sorting of meshes, but this does not affect the depth buffer. So I modified the StandardMaterial vertex shader to use this value to bias the Z component in clip space.
Changelog
Changed: Use StandardMaterial::depth_bias to bias clip space depth.

I want this, but it appears to have gone stale while waiting on author. I propose we close this an open an issue for the feature. Shame, since the change is very small.


Kubelet errors during startup - on vagrant single node

Using the current master code, I see a number of errors in my kubelet log. I presume they are benign but some are a little scary. I'm trimmed out everything except the errors. There are also quite a few warnings.
Apr 19 18:21:00 localhost kubelet-wrapper[1332]: E0419 18:21:00.106876    1332 kubelet.go:956] Image garbage collection failed: unable to find data for container /
Apr 19 18:21:00 localhost kubelet-wrapper[1332]: E0419 18:21:00.169021    1332 event.go:202] Unable to write event: 'Post http://<IP_ADDRESS>:8080/api/v1/namespaces/default/events: dial tcp <IP_ADDRESS>:8080: connection refused' (may retry after sleeping)
Apr 19 18:21:05 localhost kubelet-wrapper[1332]: E0419 18:21:05.121773    1332 kubelet.go:2307] error getting node: node '<IP_ADDRESS>' is not in cache
Apr 19 18:21:05 localhost kubelet-wrapper[1332]: E0419 18:21:05.122524    1332 kubelet.go:2307] error getting node: node '<IP_ADDRESS>' is not in cache
Apr 19 18:21:05 localhost kubelet-wrapper[1332]: E0419 18:21:05.122598    1332 kubelet.go:2307] error getting node: node '<IP_ADDRESS>' is not in cache
Apr 19 18:21:05 localhost kubelet-wrapper[1332]: E0419 18:21:05.122651    1332 kubelet.go:2307] error getting node: node '<IP_ADDRESS>' is not in cache
Apr 19 18:21:05 localhost kubelet-wrapper[1332]: E0419 18:21:05.128437    1332 kubelet.go:1764] Failed creating a mirror pod for "kube-apiserver-<IP_ADDRESS>_kube-system(d4b2e7b4f5597f42d686569db2ddf1a1)": Post http://<IP_ADDRESS>:8080/api/v1/namespaces/kube-system/pods: dial tcp <IP_ADDRESS>:8080: connection refused
Apr 19 18:21:05 localhost kubelet-wrapper[1332]: E0419 18:21:05.131274    1332 kubelet.go:1764] Failed creating a mirror pod for "kube-controller-manager-<IP_ADDRESS>_kube-system(0a873c976919e756744d4ab037131676)": Post http://<IP_ADDRESS>:8080/api/v1/namespaces/kube-system/pods: dial tcp <IP_ADDRESS>:8080: connection refused
Apr 19 18:21:05 localhost kubelet-wrapper[1332]: E0419 18:21:05.132491    1332 kubelet.go:1764] Failed creating a mirror pod for "kube-proxy-<IP_ADDRESS>_kube-system(648adac475c04ee43a42f90e1ea5a06e)": Post http://<IP_ADDRESS>:8080/api/v1/namespaces/kube-system/pods: dial tcp <IP_ADDRESS>:8080: connection refused
Apr 19 18:21:05 localhost kubelet-wrapper[1332]: E0419 18:21:05.133681    1332 kubelet.go:1764] Failed creating a mirror pod for "kube-scheduler-<IP_ADDRESS>_kube-system(020e00bcc1a0934d1a0d41993a605d25)": Post http://<IP_ADDRESS>:8080/api/v1/namespaces/kube-system/pods: dial tcp <IP_ADDRESS>:8080: connection refused
Apr 19 18:21:07 localhost kubelet-wrapper[1332]: E0419 18:21:07.020456    1332 event.go:202] Unable to write event: 'Post http://<IP_ADDRESS>:8080/api/v1/namespaces/default/events: dial tcp <IP_ADDRESS>:8080: connection refused' (may retry after sleeping)
Apr 19 18:21:17 localhost kubelet-wrapper[1332]: E0419 18:21:17.022579    1332 event.go:202] Unable to write event: 'Post http://<IP_ADDRESS>:8080/api/v1/namespaces/default/events: dial tcp <IP_ADDRESS>:8080: connection refused' (may retry after sleeping)
Apr 19 18:21:27 localhost kubelet-wrapper[1332]: E0419 18:21:27.029460    1332 event.go:202] Unable to write event: 'Post http://<IP_ADDRESS>:8080/api/v1/namespaces/default/events: dial tcp <IP_ADDRESS>:8080: connection refused' (may retry after sleeping)
Apr 19 18:21:37 localhost kubelet-wrapper[1332]: E0419 18:21:37.039810    1332 event.go:202] Unable to write event: 'Post http://<IP_ADDRESS>:8080/api/v1/namespaces/default/events: dial tcp <IP_ADDRESS>:8080: connection refused' (may retry after sleeping)
Apr 19 18:21:47 localhost kubelet-wrapper[1332]: E0419 18:21:47.040732    1332 event.go:202] Unable to write event: 'Post http://<IP_ADDRESS>:8080/api/v1/namespaces/default/events: dial tcp <IP_ADDRESS>:8080: connection refused' (may retry after sleeping)
Apr 19 18:21:48 localhost kubelet-wrapper[1332]: E0419 18:21:48.527296    1332 kubelet.go:1764] Failed creating a mirror pod for "kube-apiserver-<IP_ADDRESS>_kube-system(d4b2e7b4f5597f42d686569db2ddf1a1)": namespaces "kube-system" not found
Apr 19 18:21:49 localhost kubelet-wrapper[1332]: E0419 18:21:49.581641    1332 kubelet.go:1764] Failed creating a mirror pod for "kube-apiserver-<IP_ADDRESS>_kube-system(d4b2e7b4f5597f42d686569db2ddf1a1)": namespaces "kube-system" not found
Apr 19 18:21:50 localhost kubelet-wrapper[1332]: E0419 18:21:50.569058    1332 kubelet.go:1764] Failed creating a mirror pod for "kube-scheduler-<IP_ADDRESS>_kube-system(020e00bcc1a0934d1a0d41993a605d25)": namespaces "kube-system" not found
Apr 19 18:21:51 localhost kubelet-wrapper[1332]: E0419 18:21:51.598441    1332 kubelet.go:1764] Failed creating a mirror pod for "kube-proxy-<IP_ADDRESS>_kube-system(648adac475c04ee43a42f90e1ea5a06e)": namespaces "kube-system" not found
Apr 19 18:21:51 localhost kubelet-wrapper[1332]: E0419 18:21:51.608501    1332 kubelet.go:1764] Failed creating a mirror pod for "kube-scheduler-<IP_ADDRESS>_kube-system(020e00bcc1a0934d1a0d41993a605d25)": namespaces "kube-system" not found
Apr 19 18:21:52 localhost kubelet-wrapper[1332]: E0419 18:21:52.592686    1332 kubelet.go:1764] Failed creating a mirror pod for "kube-proxy-<IP_ADDRESS>_kube-system(648adac475c04ee43a42f90e1ea5a06e)": namespaces "kube-system" not found

These should all be transient errors during startup.
Almost all of the errors are related to the apiserver isn't running yet, so it's trying to get status about itself, or post status to a not-yet-running apiserver. The one exception is the GC error (also should be transient, as there is nothing running yet).
Then the apiserver starts running, but the kube-system namespace hasn't been created yet (the user-data should be polling the api-server until it responds, then creates it).


🐛 [firebase_messaging] Isolates are registering all plugins when launching

Hey Guys,
I Am opening the issue here because we pinpointed the error on isolates to be generated by this plugin.
This issue should be a continuation from https://github.com/flutter/flutter/issues/97840
We should be able to allow/disallow certain plugins from initializing in firebase isolate. I Don't want all 90 plugins that i use to be initialized twice only the 1 or 2 that I need in my background handler.
This can easily lead to hard to debug bugs when an isolate is registered first or second and then we are not able to access that isolate anymore because there was another initialization and the variable where we keep reference was updated and i have no way to find out which isolate reference i should keep.
@darshankawar if you could pinpoint to someone from the team this issue would be great!
Thanks

@darshankawar

Thanks for filing this issue here.
/cc @russellwheatley The background of this issue is described here: https://github.com/flutter/flutter/issues/97840 and per this issue comment from Flutter team member, this could potentially a plugin issue.

Hi @russellwheatley  have you taken a look here?
Thanks

@russellwheatley updates on this issue?

My app got the same issue, please check it. My app's plugins cannot send events because of two plugins initialized due to this plugin.

Hi, @russellwheatley now that Dart support isolates with plugins, can we check this issue again?

Hey @atrope, I followed your reproduction here using  firebase messaging example + path provider dep + local notifications dep but I didn't see the duplicate logs that you observed. Is this still an issue for you?


Add button to go to the top of the list

I know you can press the "Home" key, but it only works if you select a package. Example:

Obs: I believe this button should only appear after the user scrolled
TODO:

[ ] add go to the top button
[ ] make the button disappear if the user hasn't scrolled yet

Actually yes

make home go to the top even without selecting a package

Is this possible?

Yeah, I understand you meant something like return to top button, right?

Yeah, I understand you meant something like return to top button, right?
On the package lists, right?

That's correct. And also, if possible, make the "Home" key able to return to the top even without selecting a package

Yes, I reckon an issue about keyboard navigation would be more adequate. More things like intro key binding should also be added

That's correct

Yes, this is easily doable

Yes, I reckon an issue about keyboard navigation would be more adequate. More things like intro key binding should also be added

I've created it: https://github.com/martinet101/WingetUI/issues/275


It closes by itself after a while of not using it (Win11).

Hi. It works correctly but if I am not using WireGuard for a few minutes WS4W closes itself and the vpn does not work until I enter the pc and open it again. Does anyone know why?

Hi @Paulorg95, I'm sorry to hear you're experiencing this issue! WS4W doesn't need to be running in order for the WireGuard VPN to function. It only exists to help with configuration. What needs to be running is the WireGuard server.

Check that you have the WireGuard app running in your system tray.

Check that the WireGuard process is running.

Check that there are some logs in the UI.

Is it possible that your PC is going to sleep or some other app is killing WireGuard?

Hi. I checked the service and It was stopped, now everything works.
Thank you for your help :)

Great, glad to help!


Custom function extension

Implement a helper Extension that makes it easy to create a custom Extension that takes no manager as an argument and executes a pure custom function controlled by a trigger.
Custom functions that do not take manager as an argument can perform two main operations

Side-effect operations on arguments
report on execution ppe.reporting.report()

As for side-effect operations, it is not possible to control them as a function of PPE due to the python specification, so no specific action is taken.
The report function would be more convenient if it could report on values returned by dict, following the PPE's handler module.
Therefore, I would implement it with the following interface
class UserFunctionExtension(Extension):
    priority = PRIORITY_WRITER
    def __init__(self, fn: Callable[..., Dict[str, Scalar]], args: Sequenc[Any], kwargs: Mapping[Any], report_prefix: str = None, priority: int = PRIORITY_WRITER) -> None:
        ...

https://github.com/pfnet/pytorch-pfn-extras/blob/c5b4d58c16667d60e980ca96c5839416d63d50f2/pytorch_pfn_extras/training/extension.py#L191
There is a need to clarify that it is easy to report() the results of the execution to avoid confusion caused by duplication of functionality with the conventional make_extension().


remove redundant null suppressions

ahhh. that would be because sometimes it get confused between the nullability of different runtimes


Resistors?

I notice that the Blue Pill adapter has some resistors while the direct connection page has no resistors. Are the resistors needed?

They're actually optional but so simple to add on the adapter board that I've decided not to mention this fact any longer.


Missing brands.txt

Can I ask why was this removed? I was looking around on how to add to the list.
I cloned your repo and installed it to test. How did that 👇 that line work when you removed brands.txt?
https://github.com/chris-mosley/AmazonBrandFilter/blob/6f434c9b2c1f73326e92ada2b5a8091110b58377/background.js#L32

I replaced that list with the list here:
https://github.com/chris-mosley/AmazonBrandFilterList
Ah I think  this also explains the other issue you created.  I moved the brand list and version out of the addon's repo so that it could be updated independently.  I should probably put some work into the README...

Sorry to clarify.  Are you wondering where the data is stored after it's downloaded?  Or are you having trouble hitting that URL?
It might be the same between this one and the other issue created for version.  Those are stored in the browser storage here:
https://github.com/chris-mosley/AmazonBrandFilter/blob/6f434c9b2c1f73326e92ada2b5a8091110b58377/background.js#L19C30-L19C31
and here:
https://github.com/chris-mosley/AmazonBrandFilter/blob/6f434c9b2c1f73326e92ada2b5a8091110b58377/background.js#L40

Ohhh.  I think I know what's happening here.
The list is in a separate Repo here:
https://github.com/chris-mosley/AmazonBrandFilterList
I did this to decouple the list from the addon itself.  So that I could push list version updates without having to update the add-on itself.
Does that help?

Yes.... suddenly my eyes could see List all over and I realized it wasn't all in one place....
I appreciate your patience as I stumble around your project 🤣


Generate archive for support scaffolding command

How do you think about making package for scaffold support? For example, phoenix are supporting phoenix_new command by installing their package for simple scaffold.
I just tested by installing archive file. It shows command like this.
$ mix --help
...
...
mix sugar.gen.controller # Creates Sugar controller files
mix sugar.gen.router     # Creates Sugar router files
mix sugar.gen.view       # Creates Sugar view files
mix sugar.init           # Creates Sugar support files
mix sugar.scaffold       # Creates Sugar controller, model, and view files for a resource
...

I could see command update like above.
As you know I'm still new in sugar/elixir so I'm not sure this suggestion has been discussed before or not. Could you let me know how you think?
Thanks.

It's a possibility.  I personally gravitated to Sugar instead of Phoenix precisely because (among other reasons) I didn't have to install some extra package first before I could generate a Sugar app.
Of course, back in those days Phoenix didn't have its current mix archive.install $SOME_URL_ON_THE_WWW installation method; instead, you had to clone Phoenix's GitHub repo, then build Phoenix and run a Mix task from within the repo to generate a Phoenix-enabled application.  In that context, Sugar was actually easier (since you just had to add the dependency to an existing project and run mix do deps.get, deps.compile && mix sugar.init).
Nowadays, it's still easier in some respects, particularly if you're adding Sugar to an existing application.  In fact, Sugar is sufficiently-minimal that I typically don't even feel the need to use the existing scaffolds; defining a new controller, for example, is still just a matter of adding use Sugar.Controller to a module, and views are just ordinary EEx or Calliope/HAML templates.  For that reason, it's not an especially high priority for me personally (@slogsdon might disagree here, though; can't speak for him).
That said, it would still be a welcome addition, and would be an excellent learning opportunity if you're up for it.  The Phoenix installer and Sugar's scaffolding tasks would be a good starting point for creating a new Mix application that could be globally installed via mix archive.install.
Pinging @slogsdon for yea/nay on this, but if you were willing to give this a whirl, I'd be in favor of incorporating it into the "sugar-framework" org and mentioning it as the "quick and easy" installation method (alongside the current process, which would still be recommended for those looking to add Sugar to an existing application or for those like me who prefer a more do-it-yourself approach).

@YellowApple Thanks for quick response! I could understand what you are meaning of.
Actually, the motive part that I become interest in sugar is it is minimal and light framework. I am thinking relation of phoenix and sugar as django and flask in python, so it is great to make this project more lighter.
Reason I thought about this is, I was thinking of way to make it more easy and accessible, and one of it is offering simple scaffolding.
Let's think about this. Thanks!

To add to what @YellowApple mentioned, I had initially created the sugar.init Mix task to reduce the complexity of getting started. Before Mix's archive's received some love, building and installing one meant creating a local copy of the archive's project and pushing the responsibility of building the archive on the developer wanting to use it. Leveraging a Mix task like sugar.init to scaffold an existing project by adding a dependency a developer would need to add anyways was a simple and effective compromise.
That being said, I wouldn't be opposed to having a Mix archive to expose the project scaffolding globally, as long as the Mix archive only contained project scaffolding tasks. Are there ways of hosting these through Hex yet, or would we be required to self host these archives + updates (e.g. through GitHub releases)?

If Phoenix's implementation is anything to go by, we'd need to host such an archive ourselves.  Hex ain't quite like, say, CPAN or RubyGems in the sense that we can install things globally through that mechanism (at least AFAICT).  Certainly something we should monitor in case they add similar functionality in the future, but until then, using GitHub releases seems to be the most viable approach.

Apparently there's some support in Mix for installing an archive from a Hex package.  If that does what I think it does, then we could distribute a sugar_installer application or somesuch on Hex and make it installable that way.
Else, using GitHub releases seems to be the most viable approach, and is in line with how Phoenix does it.

@slogsdon @YellowApple While I'm reviewing documents for starting and working on samples, it looks like it is enough for now to let in current state about this. Going with sugar init seems not quite bad.
Maybe we could think about it again while this project is going on, and I'll re-open again.
Thanks for conversation.


Fontawesome icons

This is  a bug.

Prerequisites

[ ] Are you running the latest version?
[ ] Are you reporting to the correct repository?
(This project is made of many specialized packages: https://github.com/modularsoftware)
[ ] Did you check the documentation?
[ ] Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

Successfully followed upgrade guide for Fontawesome to 5.1 and builds but no icons still.


Not able to solve premium problems

green colour is showing on premium problems but after opening it indicate to buy premium subscription to solve .

@subho7365 Did you follow the tutorial video correctly? https://www.youtube.com/watch?v=5oZMsPbBljo


When I add Synapse to my server - it starts to lag a lot

There's a problem that I still haven't managed to fix yet. When I add your plugin to my server, it becomes so laggy and unplayable. Hope to fix the issue :)

Does this occur when only having Synapse installed or when using plugins?
If the latter, which plugins did you have?

Does this occur when only having Synapse installed or when using plugins?
If the latter, which plugins did you have?

There's a problem that I still haven't managed to fix yet. When I add your plugin to my server, it becomes so laggy and unplayable. Hope to fix the issue :)

What do you mean by "your Plugin" Synapse is not Plugin it's a Plugin Loader
So just to be clear did you ment that if you install Synapse your server Starts to lag or tryed you to install synapse in an other loader like Exiled?

There's a problem that I still haven't managed to fix yet. When I add your plugin to my server, it becomes so laggy and unplayable. Hope to fix the issue :)

What do you mean by "your Plugin" Synapse is not Plugin it's a Plugin Loader
So just to be clear did you ment that if you install Synapse your server Starts to lag or tryed you to install synapse in an other loader like Exiled?

@MehoiL can you please Answer or Questions so that we can start to test and try to resolve that issue?

@MehoiL can you please Answer or Questions so that we can start to test and try to resolve that issue?

@GrafDimenzio You can Close this Issue
Reason: No Response


Potential extract_path issue

Describe the bug
Weird URL and request patterns while running basic TestScripts
#1
To Reproduce
Execute: ruby driver.rb general_test_script.json
Action: Read the patient resource on the test server using the id from fixture-patient-create. Prevent URL encoding of the request..
Result
I, [2022-07-22T15:08:18.429515 #47099]  INFO -- : [.execute_operation] ERROR: no implicit conversion of Hash into String while executing Operation [unlabeled].
Comment
This could be an issue of missing "targetId" while extracting path
#2
To Reproduce
Execute: ruby driver.rb http://hapi.fhir.org/baseR4 search_test_script.json
Action: Search for Patient resources on the destination test system..
Result
I, [2022-07-22T14:50:41.717993 #44470]  INFO -- : GETTING: http://hapi.fhir.org/baseR4/Patient?family=${PatientSearchFamilyName}&given=${PatientSearchGivenName}
Comment
This could be an issue of converting "params" while extracting path
#3
To Reproduce
Execute: ruby driver.rb update_test_script.json
Action: Update patient resource on test server using the contents of fixture-patient-update.
Result
I, [2022-07-22T15:07:19.231608 #46947]  INFO -- : PUTTING: http://server.fire.ly/Patient/example&_format=application/fhir+xml
Inside the response code is '308'

Addressed


add prefixCompressedPostings

prefixCompressedPostings corresponds to the roaring16postings in this doc.

once this is ready lets run a Prombench test and add some relevant dashboard to the Prombench grafana dashboards to see the difference in size and performance.
Ping if you need help with adding these dashboards.


[Bug] Uses URL with "main--" at the start resulting in invalid URL

The plugin is generating images via https://main--whatever.netlify.app instead of the correct https://whatever.netlify.app resulting in cloudinary rejecting the image and returning 401.
Please correct this to use either the custom domain or the domain minus main--.

hey @L8X apologies on the delay, but this should now be addressed in the upcoming release!

actually looking at my demo build it doesnt look like it resolved it