feat: support for denormalized response from server

[ ] I have added automatic tests where applicable
[ ] The PR title is suitable as a release note
[ ] The PR contains a description of what has been changed
[ ] The description contains manual test instructions

Changes

Adds support for denormalized response from server
Test

Make sure the response is denormalized, that decoding is skipped as expected, and that there cannot be any cyclical references in the output.

Curious. What does this do? Seems interesting.

Curious. What does this do? Seems interesting.

by default our API returns results in a normalized manner, e.g. this query:
[
  {
    "action": "query",
    "expression": "select project.full_name from Task limit 2"
  }
]

would result in this:
[
  {
    "action": "query",
    "data": [
      {
        "__entity_type__": "Task",
        "id": "19d33e8e-8bff-11eb-b5d3-c2ffbce28b68",
        "project": {
          "__entity_type__": "Project",
          "id": "33b1e354-8b3d-11eb-8e99-c2ffbce28b68",
          "full_name": "Sync"
        }
      },
      {
        "__entity_type__": "Task",
        "id": "2b5dda84-8b4f-11eb-b695-c2ffbce28b68",
        "project": {
          "__entity_type__": "Project",
          "id": "33b1e354-8b3d-11eb-8e99-c2ffbce28b68",
          // NOTE - NO FULL_NAME HERE
        }
      }
    ],
    "metadata": {
      "next": {
        "offset": 2
      }
    }
  }
]

We are then in the javascript client recursively merging all entities with same ID to ensure all attributes are available where expected. This can in some cases lead to cyclical object references, meaning that we cannot JSON.stringify them, and things like hashing the result become a problem.
We have just added support for a denormalized response in the api which will return the result in a more expected manner:
[
  {
    "action": "query",
    "data": [
      {
        "__entity_type__": "Task",
        "id": "19d33e8e-8bff-11eb-b5d3-c2ffbce28b68",
        "project": {
          "__entity_type__": "Project",
          "id": "33b1e354-8b3d-11eb-8e99-c2ffbce28b68",
          "full_name": "Sync"
        }
      },
      {
        "__entity_type__": "Task",
        "id": "2b5dda84-8b4f-11eb-b695-c2ffbce28b68",
        "project": {
          "__entity_type__": "Project",
          "id": "33b1e354-8b3d-11eb-8e99-c2ffbce28b68",
          // NOTE - FULL NAME HERE AS EXPECTED
          "full_name": "Sync"
        }
      }
    ],
    "metadata": {
      "next": {
        "offset": 2
      }
    }
  }
]

this in turn means we don't need to recursively merge all entities, and the result is thus serializable.
Hope this explains it!

The default behavior of the server is to not return duplicates of the same object in the response, and instead let the API client handle the denormalization to make for example Task.User.Name be callable on all the tasks in the request.
This has two side effects, that depending on the use case are bugs or features:
All the "User" with the same ID is the same javascript object
That javascript object might contain more properties than has been asked for in that specific query.
The main downside to this is that the result isn't serializable, since it might contain circular references to the javascript objects.

Thank you for that elaboration! We didn't know this, and we'd definitely prefer the non-circular one.
Very nice feature! Thanks for keeping the library up to date regularly! 😍


Shorter assertions for require

To shorten my imports, a nice-to-have might be to take advantage of the fact that assert() returns the asserted value if it doesn't error.
This might be out of scope for Luau-LSP.
local replicated_storage: ReplicatedStorage = game:GetService("ReplicatedStorage")

local folder = assert(replicated_storage:FindFirstChild("folder"), "")
local module_script = assert(folder:FindFirstChild("module"), "")
local _module = require(assert(module_script:IsA("ModuleScript") and module_script, "")) -- This currently errors with `TypeError: Unknown require: unsupported path`.

(I recognize that asserting that the object is a ModuleScript is not necessary.)
This is what I do currently. The difference adds up once there are several imports, some a few levels deep.
local replicated_storage: ReplicatedStorage = game:GetService("ReplicatedStorage")

local folder = replicated_storage:FindFirstChild("folder")
assert(folder, "")
local module_script = folder:FindFirstChild("module")
assert(module_script, "")
assert(module_script:IsA("ModuleScript", "")
local _module = require(module_script)

I think the best we can probably handle is
local module = require(assert(folder:FindFirstChild("module")))

but the assert(modulescript:IsA("ModuleScript") and module_script) call is more challenging as that requires actual evaluation of the code. This should all be running statically

Turns out this is slightly more difficult than expected.
Require tracing is done internally by Luau: https://github.com/Roblox/luau/blob/master/Analysis/src/RequireTracer.cpp
It doesn't pick up the expression inside of assert so doesn't correctly trace the require

Unfortunately, I am going to close this for now as I don't think its something we can do currently.
It might turn out though that your assertions aren't actually necessary? If you are trying to please the diagnostics, using game:GetService() will resolve to any - you won't get any typing issues here, and you should still get good autocompletion


unable to see that kuberhealthy stats are coming to prometheus

I have pulled the code from
https://github.com/helm/charts/tree/master/stable/kuberhealthy
deployed the helm chart using
helm install stable/kuberhealthy --set prometheus.enabled=true
I have verified the prometheus labels too, everything looks good I am able to runt he curl and get the stats, but
when I try to see these stats on prometheus, I noticed that they are not getting pushed.
are there any other changes that I need to do ?
can someone please help here

@immusk which type of prometheus are you using?
The operator or the scraper?

@ihoegen apologies for late reply
I am using scrape

prometheus.io/scrape: "true"

@immusk I haven't personally tested using scrape, only operator. I'll give it a try sometime this week

@ihoegen chart approved!

Thanks @ihoegen its is working now, now I am able to see the kuberhealthy stats coming to prometheus


In Windows receive cmd fails in input_code_with_completion()

On Windows with WinPython under cmd.exe or in ConsoleZ cannot run the wormhole receive command
due to the following error:
(wormhole send runs OK)
> wormhole receive
Traceback (most recent call last):
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\internet\defer.py", line 651, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\internet\defer.py", line 1355, in gotResult
    _inlineCallbacks(r, g, deferred)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\internet\defer.py", line 1297, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\python\failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\wormhole\cli\cli.py", line 103, in _dispatch_command
    yield maybeDeferred(command)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\internet\defer.py", line 1297, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\python\failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\wormhole\cli\cmd_receive.py", line 72, in go
    yield d
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\internet\defer.py", line 1297, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\python\failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\wormhole\cli\cmd_receive.py", line 76, in _go
    yield self._handle_code(w)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\internet\defer.py", line 1297, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\python\failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\wormhole\cli\cmd_receive.py", line 131, in _handle_code
    self.args.code_length)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\internet\defer.py", line 1297, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\python\failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\wormhole\wormhole.py", line 458, in _API_input_code
    code = yield self._input_code_waiter
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\internet\defer.py", line 1297, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\python\failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\wormhole\wormhole.py", line 128, in go
    self._code_length)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\python\threadpool.py", line 246, in inContext
    result = inContext.theWork()
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\python\threadpool.py", line 262, in <lambda>
    inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\python\context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\twisted\python\context.py", line 81, in callWithContext
    return func(*args,**kw)
  File "d:\apps\winpython-64bit-<IP_ADDRESS>qt5\python-3.5.2.amd64\lib\site-packages\wormhole\codes.py", line 90, in input_code_with_completion
    if "libedit" in readline.__doc__:
builtins.TypeError: argument of type 'NoneType' is not iterable
ERROR: argument of type 'NoneType' is not iterable

Command interrupted: please press Return to quit

My relevant installed packages:
$ pip list| grep -E 'magic-wormhole|hkdf|Twisted|humanize|pynacl|spake2|pypiwin32|autobahn|zope.interface|constantly|incremental|pyopenssl|service_identity|idna|cryptography|pyasn
1-modules|attrs|pyasn1|six|click|tqdm|cffi|setuptools|pycparser'

argon2-cffi (16.3.0)
attrs (16.3.0)
autobahn (0.17.0)
cffi (1.8.3)
click (6.6)
constantly (15.1.0)
cryptography (1.7.1)
hkdf (0.0.3)
humanize (0.5.1)
idna (2.1)
incremental (16.10.1)
magic-wormhole (0.8.2)
pyasn1 (0.1.9)
pyasn1-modules (0.0.8)
pycparser (2.17)
pypiwin32 (219)
setuptools (28.7.1)
setuptools-git (1.1)
six (1.10.0)
spake2 (0.7)
tqdm (4.8.4)
Twisted (16.6.0)
zope.interface (4.3.3)

I understand that this cryptic error happens because I did not specify the code on the command-line.
You may close this issue, (or preferably, improve a bot the exception by explaining what happened).

This is failing for me as well, in both Python 2.7 and 3.5 on Windows.
If this is a known issue only in Windows it should be noted in the readme... though this seems more like a bug to me.

Yeah, that sounds like there's something funny about the readline library on windows, and it's missing the docstring that we use to distinguish between the OS-X "libedit" replacement for readline (which uses a different syntax to set up tab completion) and the real GNU readline.
Could somebody on windows try the "111-windows-readline" branch that I just pushed to this repo? I think it might fix the problem, but I don't have a good way to test it myself.

Yes, I confirm it runs OK. Thanks!

Great, thanks, I'll land that.


Dataflow mapping to multi-choice instructions incorrect

Under Known limitations in Field mapping considerations for standard dataflows - Power Query, the instructions to map a column to a Choices data type are unclear and appear not to work.
I have tried using a comma separated list of values as both a List type and as a concatenated comma separated string type in Power Query but neither work. The instructions were added with this commit. by @bensack.
Other users are also unable to map to Multi-select / Choices data types using the method described in these docs. See suggestion here https://powerusers.microsoft.com/t5/Microsoft-Dataverse/Dataflow-standard-v2-Integration-of-multiple-choices/td-p/872942

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

ID: 402b18e7-5542-37ae-08dd-f526c2d2b9c7
Version Independent ID: c0ce55d5-81d3-04b5-170d-c3ca2fec48a2
Content: Field mapping considerations for standard dataflows - Power Query
Content Source: powerquery-docs/dataflows/get-best-of-standard-dataflows.md
Service: powerquery
GitHub Login: @bensack
Microsoft Alias: bensack

Hi, as a follow up on this issue, the instructions for mapping a standard, OOB column are also incomplete / incorrect.
Example field is the Contact.Account lookup, which is possibly the most mapped OOB lookup in data migrations, but it appears is not readily mapped using dataflows.  The lookup field simply doesn't show up, even after adding an alternate key to the account table. A newly created lookup field however, does. How can one update the OOB Contact.Account lookup field definition to ensure it sees the alternate key and can be mapped, or otherwise make it appear in the mapping interface, as to be able to associate a contact with an account?

Hi @YesWeCandrew @ryanperrymba
Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


chore: update generator usage

Codecov Report

Merging #176 (cf306e1) into master (df4fc5b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #176   +/-   ##
=======================================
  Coverage   81.59%   81.59%
=======================================
  Files          36       36
  Lines        3054     3054
  Branches      853      853
=======================================
  Hits         2492     2492
  Misses        506      506
  Partials       56       56

Continue to review full report at Codecov.

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


Ignore folder inside of Archive folder

Hi, sorry to do this as an issue. I couldn't figure out how to do it properly by myself.
I have an Archive folder that I have on my machine that I use as a reference for something but I don't wanna projects inside of this folder to show up on the projects list. Is there a way to remove projects from the list or ignore everything inside of Archive?

Duplicate of #17


Object references need to be killed to avoid outside mutation

In the following code the object that is passed to the Javascript SDK via something like this Flexio.pipe(my_task_obj).toCode() is being copied instead of deep cloned. This keeps the object reference open, which causes any mutation to that object in the Javascript SDK (such as delete params['op']) to propagate back to code which called the Javascript SDK.
https://github.com/flexiodata/flexio-sdk-js/blob/475e3dd7adc4769a9e02c96da4c1a7cbdfe54a38/src/pipe.js#L221-L223

Thanks. This is the biggest issue I need fixed. Right now anytime I call Flexio.pipe(...).toCode() in the webapp code, I am doing the clone deep myself. It's in about 15 places in my code, so it'll be nice to have that fixed.
I thought about doing it myself, but I figured I'd go this route instead.

Fixed


[Un-revert][Glibc] Configure modulemap for target, not host

What's in this pull request?

This reverts commit f2154ee94d, which reverted 04e1cd5bda. The original commit needed to be reverted because of an issue in which install targets were added to OS X builds that did not target Linux. This addresses that issue by guarding all the Linux-only CMake logic with a check for the SDK being built.
/cc @gribozavr @jrose-apple
Resolved bug number: None

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci wasn't able to catch the failure in https://github.com/apple/swift/pull/1679 because it doesn't trigger a build that uses --install-swift=1. I just ran utils/build-toolchain locally (which uses that parameter) with this patch, and everything worked! :100:

@swift-ci Please test

@gribozavr Looks like the tests passed! Is this good to merge?

Yes, LGTM, thanks @modocache!

Thanks! :wave:

This change looks like it might be causing the package job to fail:
/tmp/swift-package-tests/test-multi-compile-glibc/Output/swift-multi-compile-glibc.py.tmp.dir/hello.swift:1:8: error: missing required module 'SwiftGlibc'
import Glibc
Could you please take a look:
https://ci.swift.org/view/Packages/job/oss-swift-package-linux-ubuntu-14_04/800/console
https://ci.swift.org/view/Packages/job/oss-swift-package-linux-ubuntu-15_10/792/console

Thanks for the heads up, @najacque. The failing jobs are using the buildbot_linux_1404 and buildbot_linux_1510 build script presets, which include the --test-installable-package flag. That flag isn't included in utils/build-toolchain, which I used locally to verify this pull request was OK. That explains why I missed this problem.
I'm looking into why the tests are failing now. The changes in #1757 seem relevant to this discussion as well...

@najacque I just finished a clean build of the buildbot_linux_1510 preset on an Ubuntu 15.10 machine, using the tip of master from about an hour ago (b094e776b559ae2e6b40314743404cc604ac2b30), and everything passed, including the package tests:
+ cd /home/modocache/GitHub/apple/swift-integration-tests
+ python /home/modocache/GitHub/apple/llvm/utils/lit/lit.py . -sv --param package-path=/home/modocache/GitHub/apple/build/buildbot_linux/none-swift_package_sandbox --param filecheck=/home/modocache/GitHub/apple/build/buildbot_linux/llvm-linux-x86_64/bin/FileCheck
lit.py: lit.cfg:101: note: 'pexpect' module unavailable, skipping related tests
lit.py: lit.cfg:117: note: testing package: '/home/modocache/GitHub/apple/build/buildbot_linux/none-swift_package_sandbox'
lit.py: lit.cfg:144: note: testing using 'FileCheck': '/home/modocache/GitHub/apple/build/buildbot_linux/llvm-linux-x86_64/bin/FileCheck'
lit.py: lit.cfg:147: note: testing using 'swift': '/home/modocache/GitHub/apple/build/buildbot_linux/none-swift_package_sandbox/usr/bin/swift'
lit.py: lit.cfg:150: note: testing using 'swiftc': '/home/modocache/GitHub/apple/build/buildbot_linux/none-swift_package_sandbox/usr/bin/swiftc'
lit.py: lit.cfg:153: note: testing using 'lldb': /home/modocache/GitHub/apple/build/buildbot_linux/none-swift_package_sandbox/usr/bin/lldb
Testing Time: 9.80s
  Expected Passes    : 11
  Unsupported Tests  : 5

I wonder if maybe this problem is now fixed, perhaps thanks to #1757. I'll do a bit of bisecting. In the meantime, could you confirm:

Whether this problem is now resolved?
If it is now resolved, is any work necessary to backport a fix, such as picking a fix into a snapshot release branch or somerhing?

I just tried checking out the merge commit for this pull request, 38ceced77984188b25af9673ea61b28dc4c90b60, and running the package tests. Unfortunately, that worked as well--no test failures like the ones that appear in the CI build logs... there must be something else I've overlooking. I'll continue looking into this, sorry for the trouble.
Ideas on what might be failing would be appreciated! :bow:

@shahmishal can you comment on the current state of the tests?

@najacque @modocache Build passed :) Thanks!
https://ci.swift.org/view/Packages/job/oss-swift-package-linux-ubuntu-14_04/

Oops, never mind--it was a build artifact that caused 38ceced to pass for me locally.  So I do think that this has since been resolved.

Ok, thanks for looking into it!


Fuzzel 1.7.0 bump ?

It was released 4 months ago.

Sorry about this, wrong overlay.

Removed fuzzel as its already there in guru and I'm not using it anymore.


Bluesky: edits aren't working (blocked on bsky.app)

https://bsky.app/profile/snarfed.org.web.brid.gy/post/3kps4z7ve6hg2 is federated from https://snarfed.org/2024-04-10_52782 . I originally posted (and federated) it without u-photo, so the image didn't appear in ATProto. I added u-photo and re-federated it, and the photo appeared in the fediverse, but not in Bluesky. Not sure if updates aren't working, or images, or both.

This might be a bsky.app issue. I tried again with just a text post and edit, and atproto.tools shows both the create and the update as valid, https://atproto.tools/records?did=did%3Aplc%3Abg5udl25mvzg3rt7l5n2hzet&collection=app.bsky.feed.post&rkey=3krh65hkwbp42 , but bsky.app only shows the original create: https://bsky.app/profile/snarfed.indieweb.social.ap.brid.gy/post/3krh65hkwbp42

^ if so, the answer here is probably to add this to the docs.

(Oh and images have worked in original AP => ATProto posts, so it's an update thing.)

Updated docs, will be visible at https://fed.brid.gy/docs#bluesky-edits soon.

I edited a reply twice in Mastodon. The first two versions got picked up as different replies in Bluesky, but the third and final version never appeared. I understand that I can’t expect editing to work properly, but I thought this was strange behavior that might be interesting. This is the reply I edited: https://mastodon.nu/@avadeaux/112469287039821443

Who's, that's definitely odd! Thanks for reporting, I see them both on https://bsky.app/profile/avadeaux.mastodon.nu.ap.brid.gy/post/3ksuc7mn4vhn2 . Will look.

What we want to support is keeping the old versions of the record around in the repo in some way (eg, a repo path extension with the CID as another path segment), and then clarify/specify what the behaviors of things like a "reply to a previous version" or "liked a previous version" should be after an edit.

Oh man, true. prev is dead, long live prev, eh?

For now, you might find it more robust/functional to delete the record and then re-create it with the same rkey and overall AT-URI, in separate commits, instead of doing an "update" in a single commit? This is sort of just a stab in the dark.

Lol true! Good idea, like Mastodon's "delete and redraft" but under the covers. This isn't high priority for me right now, but if it bubbles up before you all figure this out on your end, I can definitely try this. Thanks!


Detached heads using VSO build tools

Agent Version and Platform
Version of agent: 2.140.2
OS of the machine running the agent: Linux
VSTS Type and Version
VisualStudio.com
Account Name: http://dev.azure.com/imquant
What's not working?
I use the 'GetSources' function in the build definition and specify the branch I want to checkout. Our git repo is also hosted on dev.azure.com. When I look at the logs it appears that the actual command being run is git checkout --force <commit_SHA>. This results in a DETACHED head in git.
Why is this? I would like it to just do a git checkout  and not result in detached heads. Can this be fixed or at least be something that's an option? I would imagine most people do not want a detached head (see screen shots below)

@anandkkumar does detached head cause any problem to you?
the agent never checkout branch. if someone push to the branch you are trying to build after you queue the build on the server but before the agent checkout the branch. You will be end up in a situation where the server think the agent build SHA_1, but the agent actually build SHA_2. that will cause lots of problem in a CI system.

thanks for the quick response. I see your point and didn't think of that possibility.

Can I configure a pipeline to check out on the actual branch? I have version file in my source control. I would like to commit this file back to branch from where it comes from. I accept the fact that my build would fail if multiple pushes would be performed at the same time.

Once I've added
- checkout: self
  persistCredentials: true
  clean: true

It is important to add [ci skip] to commit message to avoid infinite build loop.


Scales other than 4x?

Hello!
I really, really, really want to use this library, but it seems to be hard-coded to a 4x scale? Is there really no way to change that...? I want something more like 1x or 2x for my project, and it seems like a very strange omission...

The 4x scale seems to be encoded in src/tile_map.vert:
vec3 position = Vertex_Position * vec3(4.0, 4.0, 1.0);
Changing it there seems to do the trick. But I'm not sure what would be the best way to make it configurable (so you don't have to modify the vertex shader).
Modifying the camera position doesn't seem to work properly.
In my use case I actually would like to performing zooming in/out (mouse scroll). So a configurable scale would be nice!

Hey guys
I found out how to do this and I've added it to the examples here: https://github.com/StarArawn/bevy_tiled/pull/21
Next I'll figure out how to retrigger the render pipeline so we can get some rotation, this is especially important for iso tiles because otherwise things can get hidden behind the map

Looks great, I gave a small remark on the PR.


Hidden Features and Recipes

Hello everyone !
There are very few recipes using the framework.
For example, how do I check the saved token on the device, and transfer it to the router when downloading.
Some methods are not described in the documentation. For example, there is "handleSuccess", but the "handleFailure" method is not described. It is not clear how List works? routeGuards in routes. There are a lot of questions. Tell me that the project is not abandoned please )
UPD:
I made dependencies on checking the token and confirming the number in this way. I'm not sure if it's right, but everything works.

Hi @lacoste-sochi,
This project is not abandoned.
Re. the documentation
I'll add extra docs to cover how the handleFailure works here - https://nylo.dev/docs/3.x/networking#understanding-the-network-helper
Also, the implementation for 'checking the token' looks fine.
I'll close this issue now.


cauldron emptying

the research page on alchemy states that the cauldron can be emptied by shift right clicking with an empty hand, however this does not work. Shift right clicking with an empty gauntlet empties the cauldron. Not sure if its a bug or a mistake in the research page.
Additionally, emptying a cauldron overflowing with aspects also seems to clear the aura of any flux that has escaped. I threw multiple stacks of voidmetal blocks into a cauldron until a nasty plume of flux was wafting into the air, and the thaumameter read that the chunk was saturated with flux (i had also used a gauntlet to drain the chunk of vis) and so i tried to dump the cauldron to get the flux out faster, but doing so completely restored the chunk to perfect, fluxless, health.

Yup, it should be an empty hand.
I am unable to reproduce the flux bug though - it works like it should for me.

When I dump upwards of 6 or so  64 stacks of void metal, and the aspect found reaches the 8/9,000's the thaumameter usually reads full flux levels within a few moments. However, emptying the crucible, with still thousands of aspects inside, seems to clear all the flux out of the chunk. It may just be an issue with the gigantic amount of aspects I have boiling over that causes some sort of error, as I haven't tried to empty a crucible that has a reasonable (aka non-creative) amount of aspects inside.

You might be hitting some sort of numerical overflow. I'll put a check in to block the addition of flux beyond a certain point.


Response of any not being included in list of schemas

Describe the issue
When generating web 2016-09, I have a response that has a schema type of Any. However, this schema is not included in the list of schemas under "any". Since python generates from the list of schemas first, we would like for this to be included in the list of schemas.
** REQUIRED **
ModelerFour version: 4.9.234
AutoRest-core version: 3.0.6246
CommandLine : autorest ..\azure-rest-api-specs\specification\web\resource-manager\readme.md --use=. --multiapi --python-sdks-folder=..\azure-sdk-for-python\sdk --python
OpenAPI/Swagger file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/AppServicePlans.json

Discussed this with @iscai-msft and @lmazuel on Teams, we discovered that AnySchema is a singleton schema (only one instance will exist in the resulting CodeModel) which indicates that any object type should be expected there (roughtly translating to object or any in languages with that concept).
This schema type is intentionally left out of codeModel.schemas because it serves as a signifier and not a schema with details that must be used by a generator.  Language generator extensions will need to check for the any schema type and use a deserializer generic enough to catch any generally supported types in this case (primitives, collections, and simple key/value object types).


feat: add default names to handlers

fixes https://github.com/litestar-org/litestar/issues/2892
draft to propose a potential app with all func handlers that covers all the cases mentionned in the issue, hope I didnt forget something,
Once we ok we have all cases, I put in comments the expected default named that __qualname__ should give us
@peterschutt could you point me where the naming happens ? you mentionned the __call__ of BaseRouteHandler in the chat but I dont see anything relevant

@peterschutt could you point me where the naming happens ? you mentionned the __call__ of BaseRouteHandler in the chat but I dont see anything relevant

name is an __init__() argument to the handlers:
https://github.com/litestar-org/litestar/blob/a26e1347503c9bc345027cbe02a4cc8adf5ea16d/litestar/handlers/base.py#L87
I mentioned __call__() b/c that is the first place we can get our hands on the handler function within the context of the handler itself, however it would probably be better to do it in the on_registration() callback, which is called when the application is instantiated, rather than when the handler function is decorated.
https://github.com/litestar-org/litestar/blob/a26e1347503c9bc345027cbe02a4cc8adf5ea16d/litestar/handlers/base.py#L514


add comments on MidiClock

@jmamma I still haven't figured out how the 5KHz timer and MIDI_CLOCK both affects div192th and mod12counter.

div192 is a intermediate clock event generated at t / 2 , where t = time between midi time pulse.
To get an 'average' time. We calculate the time taken for 8 MIDI pulses then divide by ( 2 * 8 = 16 ) to get the interpolation time.
div196_time = diff_clock8 / 16;

div96th counter is increased on MIDI clock message.
div192th counter is increased on MIDI Clock message and when (MidiClock.div196th_countdown >= MidiClock.div196_time);
We always want to use MidiClock signal where we can. Half of the div192 events occur on MidiClock, the other half we use the interpolation time.
X=div96
x=div192

X    X    X    X
X x X x X x X

Eek. just realised I renamed div192 to div196.
Must have been half asleep.

As my MD clock is going crazy I'm now receiving clock from A4.
Is it possible to still use MD to send transport messages (play, stop)?

This feature is not implemented. It would require additional logic in MidiUart.cpp .
Currently transport is linked to same port as clock.


vv2.0.0-beta.10

Codecov Report
Base: 69.05% // Head: 69.05% // No change to project coverage :thumbsup:

Coverage data is based on head (e31a567) compared to base (11d3a81).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1298   +/-   ##
=======================================
  Coverage   69.05%   69.05%
=======================================
  Files         182      182
  Lines        4502     4502
  Branches      902      902
=======================================
  Hits         3109     3109
  Misses       1378     1378
  Partials       15       15

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Error: connect ECONNREFUSED <IP_ADDRESS>:80

My workflow is failing at slatify step with an ECONNREFUSED  error.
Looks like it is a docker network error.
##[group]Run homoluctus/slatify@releases/v1
with:
  type: Success
  job_name: :robot_face: *PR opened*
  channel: #channel:
  url: ***
  username: Github Actions
  icon_emoji: github
env:
  JAVA_HOME: /opt/hostedtoolcache/Java/12.0.2/x64
  JAVA_HOME_12.0.2_x64: /opt/hostedtoolcache/Java/12.0.2/x64
  FLUTTER_HOME: /opt/hostedtoolcache/flutter/1.9.1-hotfix.2-stable/x64
##[endgroup]
Error: A request error occurred: connect ECONNREFUSED <IP_ADDRESS>:80
    at Object.requestErrorWithOriginal (/home/runner/work/_actions/homoluctus/slatify/releases/v1/node_modules/@slack/webhook/dist/errors.js:25:33)
    at Slack.send (/home/runner/work/_actions/homoluctus/slatify/releases/v1/node_modules/@slack/webhook/dist/IncomingWebhook.js:54:32)
    at processTicksAndRejections (internal/process/task_queues.js:89:5) {
  code: 'slack_webhook_request_error',
  original: Error: connect ECONNREFUSED <IP_ADDRESS>:80
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1054:14) {
    errno: 'ECONNREFUSED',
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '<IP_ADDRESS>',
    port: 80,
    config: {
      adapter: [Function: httpAdapter],
      transformRequest: [Object],
      transformResponse: [Object],
      timeout: 0,
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      validateStatus: [Function: validateStatus],
      headers: [Object],
      method: 'post',
      baseURL: '***',
      httpAgent: undefined,
      httpsAgent: undefined,
      maxRedirects: 0,
      proxy: false,
      url: '***/***',
      data: '{"username":"Github ' +
        'Actions","icon_emoji":"github","channel":"#channel:","text":":white_check_mark: ' +
        'GitHub Actions ' +
        'Success","attachments":[{"color":"#2cbe4e","blocks":[{"type":"section","fields":[{"type":"mrkdwn","text":"*repository*\\n<https://github.com/SuaMusica/OneApp|SuaMusica/OneApp>"},{"type":"mrkdwn","text":"*ref*\\nrefs/pull/93/merge"},{"type":"mrkdwn","text":"*event ' +
        'name*\\npull_request"},{"type":"mrkdwn","text":"*workflow*\\n<https://github.com/SuaMusica/OneApp/commit/ff3ff24bbd005ec97b7eabad86997b8e48feb115/checks|PR ' +
        'opened>"}],"text":{"type":"mrkdwn","text":":robot_face: *PR ' +
        'opened*"}}]}],"unfurl_links":true}'
    },
    request: ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      useChunkedEncodingByDefault: true,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: 625,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      socket: [Socket],
      connection: [Socket],
      _header: 'POST ' +
        '***/*** ' +
        'HTTP/1.1\r' +
        '\nAccept: application/json, text/plain, */*\r' +
        '\nContent-Type: application/json;charset=utf-8\r' +
        '\nUser-Agent: @slack:webhook/5.0.1 node/12.4.0 linux/5.0.0-1016-azure\r' +
        '\nContent-Length: 625\r' +
        '\nHost: localhost\r' +
        '\nConnection: close\r' +
        '\n\r' +
        '\n',
      _onPendingData: [Function: noopPendingOutput],
      agent: [Agent],
      socketPath: undefined,
      method: 'POST',
      path: '***/***',
      _ended: false,
      res: null,
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      [Symbol(isCorked)]: false,
      [Symbol(outHeadersKey)]: [Object: null prototype]
    },
    response: undefined
  }
}
##[error]A request error occurred: connect ECONNREFUSED <IP_ADDRESS>:80
##[error]Node run failed with exit code 1

Hi @haroldolivieri
Your workflow failed because the value of "channel" parameter is invalid.
The value of "channel" parameter is "#channel:".
Therefore, if you remove ":" from "#channel:", your workflow will work properly.

I've fixed the channel name but the issue persists.
Run homoluctus/slatify@releases/v1
  with:
    type: Success
    job_name: :robot_face: *PR opened*
    channel: #oneapp
    url: ***
    username: Github Actions
    icon_emoji: github
  env:
    JAVA_HOME: /opt/hostedtoolcache/Java/12.0.2/x64
    JAVA_HOME_12.0.2_x64: /opt/hostedtoolcache/Java/12.0.2/x64
    FLUTTER_HOME: /opt/hostedtoolcache/flutter/1.9.1-hotfix.2-stable/x64
Error: A request error occurred: connect ECONNREFUSED <IP_ADDRESS>:80
    at Object.requestErrorWithOriginal (/home/runner/work/_actions/homoluctus/slatify/releases/v1/node_modules/@slack/webhook/dist/errors.js:25:33)
    at Slack.send (/home/runner/work/_actions/homoluctus/slatify/releases/v1/node_modules/@slack/webhook/dist/IncomingWebhook.js:54:32)
    at processTicksAndRejections (internal/process/task_queues.js:89:5) {
  code: 'slack_webhook_request_error',
  original: Error: connect ECONNREFUSED <IP_ADDRESS>:80
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1054:14) {
    errno: 'ECONNREFUSED',
    code: 'ECONNREFUSED',

Please confirm slack incoming webhook url and channel is correct.
If possible, please show me your workflows yaml file.


[Bug] Profile is only partially in sync with JSON card

Describe the bug
My JSON card contains:

Three channels
Two RSS feeds

On the side I only see one channel and one feed. In addition, it seems the URLs are outdated (I have switched from blog.mzikmund.com to mzikmund.dev/blog). Other content seems to be updating correctly though, so it is confusing.
In addition, the YouTube RSS feed content does not show up on my profile nor on the main page.
To Reproduce
Steps to reproduce the behavior:

Go to my profile on https://www.wearedotnet.io/MartinZikmund
Compare to https://github.com/WeAreDotnet/dotnet-creator-cards/blob/main/creator-cards/martin-zikmund.json
Also note that even new articles like my C# Advent blogpost don't show up in https://www.wearedotnet.io/content or on profile - so the RSS feed seems to be same old cached version

Expected behavior
Should by in sync with actual data source.
Screenshots
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@matthiasjost any chance I could help out investigate and contribute a fix please?

Let us ask @DeeJayTC 👋

Habe to get some christmas shopping dond but ill check it later today, @MartinZikmund can you make sure that the data in master branch for your card is correct and your feed doesnt have any errors?

Can you check your profile @MartinZikmund should be fine now :) needed some loving hand to re-sync properly :)

@DeeJayTC almost there 😅 !

The YouTube feed now shows up on my profile card ✅
My newest published video showed up on home page ✅
Previous YouTube videos do not show up on home page ❌ (I published quite a few since start of December)
2022 blogposts show up in my profile card ✅
Newer blogposts don't show up on the profile card ❌ (published two in December)
Newer blogposts don't show up on home page ❌

Maybe it could be that both feeds are called "dotnet"? Or maybe I am missing something else still 😓

Hmm no...i need to check. Youtube feeds are weird as in it sometimes only shows the last 20 vids i think so i cant get older ones.
Regarding your blog ill check nut wait till tomorrow as i changed a few things manually cache might not have caught up just yet.

I probably still have your private one listed as i dont reping them once added 😞😞

Hmm no...i need to check. Youtube feeds are weird as in it sometimes only shows the last 20 vids i think so i cant get older ones.
Regarding your blog ill check but wait till tomorrow as i changed a few things manually cache might not have caught up just yet.

Actually the main page feed does not contain any of my videos, even the most recent ones (while the profile card feed does) 👀

Yea, the main page feed is fed by Azure Search which did not contain your things for whatever reason, after resync it also had your private video..yay, its resyncing right now....should all be fine within the next 20 minutes or so, can you give it a look later? @MartinZikmund if stuff is still not ok we have to wait until january tho as i wont have access to things for 3 weeks.

Your Advent Of Code Day 16 is the last one on the frontpage now

For now it seems things are working correctly, thanks again!

@DeeJayTC  Unfortunately have to reopen 😥 . I created a new blogpost and two videos on YouTube this week and so far none of these has showed up on the site feed, I still see the old Advent of Code video (and I have published quite a few of them since)

Sorry for the long delay here....had to spent all my time elsewhere, i'll check it :)


SpaceEye; preprocess.s1.preprocess task fails

While running the SpaceEye workflow, the algorithm fails at the S1 preprocessing task. This happens when I try to run the algorithm for a longer period of time (more than approximately 10 days). Attached you can find the run monitor and also the error description screen grab.
Also, I was wondering if there is a way to clear the cache?
PS. here is the VM specs I am using: Ubuntu 20.04, 4 CPUs, 17 GB memory, and around 600GB storage.
Thanks

Hello @Aca-Ali. From the exception text you pasted above, the subprocess FarmVibes.AI creates to run the preprocess.s1.preprocess operation is terminating abnormally.
What that means is that something is killing the process. Usually, that happens due to the Operating System's Out-Of-Memory killer being activated because you don't have enough RAM to run the op.
You could might try these options:

Reducing the number of workers with kubectl scale deployment terravibes-worker --replicas=3
Running the spaceeye interpolation workflow
Running FarmVibes.AI in a machine with more RAM

Thank you @renatolfc, I did not try the first two suggested solutions and used a machine with more RAM (the third solution) and it solved the issue.

Regarding the first solution provided here. What's the default number of replicas used?

The default number of replicas is max(1, CPU_COUNT // 2 - 1), in which CPU_COUNT is the number of available cores in your machine.


CTRL+Space does not replace asterisk with all columns

System information:

Operating system (distribution) and version: Windows 10
DBeaver version: Community 21.0.3 & 21.0.4
Additional extensions

Connection specification:

Database name and version: PostgreSQL 9.1 & 9.6
Driver name
Do you use tunnels or proxies (SSH, SOCKS, etc)? : No

Describe the problem you're observing:
In a SQL console or script, when I press CTRL+Space after "*", it used to replace "*" with all the column names of the table.
This assist no longer works when I upgraded DBeaver to 21.0.3 and 21.0.4.
As I use this assist quite often, I had to roll it back to 21.0.1 where this assist works fine.
Steps to reproduce, if exist:
Open a SQL console or a SQL Script tab.
Enter the following SQL:
SELECT * FROM tablename
Move the cursor after the "*".
Press CTRL+Space.
Instead of replacing "*" with the column names, "FROM" is inserted. So, the SQL would look like:
SELECT *FROM FROM tablename
This issue happens on two Windows 10 PCs (a desktop and a laptop). CTRL+Space is bound with "Content Assist" in User Interface - Keys and I have never changed it.

thanks for the report

Fixed

Query parser has been fixed

verified


Add definition for 1.8.7-p357

See http://www.ruby-lang.org/en/news/2011/12/28/denial-of-service-attack-was-found-for-rubys-hash-algorithm/ for details on this release.

Thank you!


Compile fails when using pragma

[ ] I've asked for help in the Truffle Gitter before filing this issue.

Issue
If the contract contains the keyword pragma, compiling fails with:
/usr/local/lib/node_modules/truffle/node_modules/solidity-parser/index.js:39
      throw e;
      ^
SyntaxError: Expected "contract", "import", "library", comment, end of input, end of line or whitespace but "p" found. Line: 1, Column: 1
    at peg$buildException (/usr/local/lib/node_modules/truffle/node_modules/solidity-parser/build/imports_parser.js:423:14)
    at Object.peg$parse [as parse] (/usr/local/lib/node_modules/truffle/node_modules/solidity-parser/build/imports_parser.js:3355:13)
    at Object.parse (/usr/local/lib/node_modules/truffle/node_modules/solidity-parser/index.js:34:23)
    at /usr/local/lib/node_modules/truffle/lib/profiler.js:134:36
    at tryToString (fs.js:455:3)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)

Steps to Reproduce
Use a contract that starts with pragma solidity 0.4.2;
Expected Behavior
it compiles
Actual Results
it does not compile and throw an error
Environment

Operating System: OSX
Truffle version:v2.0.8
Ethereum client: n/a
node version: v6.6.0
npm version: 3.10.7

I had the same issue. My config was:

Operating System: OSX
Truffle version:v2.0.7
node version: v6.7.0
npm version: 3.10.9

I've upgraded Truffle to version 2.1.0 and the issue seems to be solved. I can compile smart contracts with pragma without the SyntaxError exception.

Ouch sorry for keeping this one open, I totally forgot it.
Indeed, in the previous version, the solidity parser could not take such fantasy :)
As you mention @baklinger, the new truffle version is the solution. Thanks for your input.

I get the same issue

npm: '3.10.8'

Truffle v2.1.1

node version : v6.9.1

Is this related to something wrong in the written contract.


Update Request: Valve AUR Repos to replace Manjaro Apps?

Perhaps SteamOS 3 (Holo) Software can be pulled from AUR instead of Manjaro repos? Could be an updated way to get a 'Steamjaro' OS? 🤔
Could even get kernel upgrades from there too 🤞🏼👀

Could be useful for users trying to find 3.0 for PC but are too new to Linux & AUR to compile and pull the modules for themselves? @narren96c 🙏🏽


Document PAT requirements

I was unable to comment on issues in a repo I contribute to and I ignored it for a while. Now, they made me a co-maintainer and I still could not comment, so I decided to look further into it.
Sorry if this comes off as rambling; I'll simply try to describe my experience and then suggest some changes which might be lame or misdirected because I don't understand the underlying mechanisms properly. Maybe scroll down to "Suggestions" below.
TL;DR
When creating a Personal Access Token in the "Developer" section of your Github account, you need to grant GitHawk the following;

repo
user
notifications

Transcript
This is an outline of a series of "paper cuts" I experienced whilst figuring this out.
When you can't comment on an issue in GitHawk, the red warning box about possibly requiring a Personal Access Token was not always visible, so I probably scrolled past it or swiped my screen so I could not see it a number of times.
When I finally did pay proper attention, it said I can change this in settings. But the nondescript dialog in Settings > Accounts was not understandable to me. I can click on PAT and get a text entry dialog box but what should I put there? I had to Google, and spent I think on the order of 15 minutes forming a picture of what it was actually talking about.
Googling got me https://github.com/GitHawkApp/GitHawk/issues/420 (which ultimately perhaps this should be a duplicate of?) but it does not describe which privileges are requred or how to grant them. It did give me enough to understand how to articulate a better Google search, which took me to https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line
That's probably the most useful official link there is at the moment, though it confusingly talks about "the command line" rather than an app; and the instructions are for the Desktop version of Github. Switching to "Desktop" when visiting on mobile still didn't expose the menu where I could actually create a PAT. These are obviously problems with Github's documentation and UI and nothing GitHawk can directly affect; but it affects how you might want to tackle documenting this facility.
Now I was finally able to create a PAT, but which privileges does GitHawk need? I tried to google for a bit, but I just kept going in circles. So I guessed, and thought I made some pretty decent guesses. So what if I give it a couple of bits too much.
Access to inbox not permitted.
Finally I discovered that
https://github.com/GitHawkApp/GitHawk/blob/master/SECURITY.md describes the privileges GitHawk wants, but it doesn't mention PAT at all. I know enough about these things to connect "OAuth" and "PAT" but I suspect many users don't; and even if you do, putting this explicitly in the manual or a help page would have saved me some effort. I had actually looked at this page before, but since it didn't mention PAT at all, I didn't read it properly at the time.
Suggestions
Chronologically collecting suggested changes, with an ad-hoc priority from 0 to 5;

(Pri: 2) The red warning box in the app should be harder to miss. Could it perhaps be displayed across the top of the screen where it's less likely to be lost in other screen updates and distractions such as the on-screen keyboard?
(Pri: 4) Make the PAT screen in Settings less opaque. Could it have a short description and/or perhaps a link to more information on-line?
(Pri: 1) Integrate PAT creation into GitHawk? This would make it very easy for new users, but is probably too complex.
(Pri: 5) Explicitly document which precise privileges you have to grant GitHawk when creating a Personal Access Token.

I think the last three issues could be helped by adding a button that opens this link: https://github.com/settings/tokens/new?scopes=user,repo,notifications&description=GitHawk+Token
This will take you to a page that has all the necessary permissions pre-checked and the description box pre-filled. All the user would have to do would be to copy the token and paste it back into the app.

(Oh I'm slowly coming to realize that #420 is really about something else entirely, and the PAT discussion there is combletely tangential.)

I ran into trouble trying to add a PAT too. I didn't guess the right permissions, so adding the PAT caused the app to get errors every time it tried to fetch data. A related bug was that setting a PAT to an empty string didn't work, so I was unable to use Githawk until I found this issue with instructions for making a functional PAT.


Linter not found (#127)

I have pylint installed in /opt/local/bin/pylint (using macports) which is not on the path when starting atom from the spotlight menu. There is no setting in linter or linter-pylint that lets me amend the path so I'm left between a rock and hard place.

It's mentioned a number of times in #150, but launching from the Terminal does not work in 10.10.


Wipe FileContext off the face of the earth

Fixes https://github.com/druid-io/druid/issues/1433
Works arround https://issues.apache.org/jira/browse/HADOOP-10643
Reverts to the prior method of renaming

LGTM


IndexError

When running the code 'pytinytex.download_tinytex()', an error is thrown.
File "d:\ProgrammingProjects\WebScraping\NiceTabs.pyw", line 28, in <module>
pytinytex.download_tinytex(download_folder='./folder/')
File "D:\ProgrammingProjects\WebScraping\venv\lib\site-packages\pytinytex\tinytex_download.py", line 24, in download_tinytex
tinytex_urls, _ = _get_tinytex_urls(version, variation)
File "D:\ProgrammingProjects\WebScraping\venv\lib\site-packages\pytinytex\tinytex_download.py", line 80, in _get_tinytex_urls
version = tinytex_urls_list[0].split('/')[5]
IndexError: list index out of range

Hi @andrewschalk
Can you tell me which version of PyTinyTeX you have installed?
Reason why I'm asking is because the line numbers in the stacktrace doesn't seem to match up with the code.

Sorry, should have included it. I'm running 0.3.2. As far as I can tell, that's the only version I can get through pip?

can you let me know if the latest development snapshot works for you?

I uninstalled the last version and ran pip install git+https://github.com/JessicaTegner/PyTinyTeX to install the current github version. The issue seems resolved in the current version, thanks for your help.


Error: The object identifier does not represent a valid object

When I choose any option in the menu it returns this error, I can only use the lets encrypt in the very old versions

Logs:
Log Name:      Application
Source:        win-acme
Date:          3/13/2018 10:50:16 AM
Event ID:      19502
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      WIN-4SGTVE5P1NT
Description:
COMException: "The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)"
Event Xml:

19502
2
0
0x80000000000000

2510788
Application
WIN-4SGTVE5P1NT

COMException: "The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)"

This might occur when the program is unable to enumerate the websites you have in IIS, which in turn can be caused by an inconsistent configuration, e.g. missing application pools. Can you verify that all of the sites you have in IIS are configurable through the GUI?

Hi, thanks for the reply. Yes, all sites I can edit by GUI

Would you be willing to share an anonymized version of your applicationHost.config? Then I could debug with your IIS configuration.

Dear Wouter, I have the same problem: how can I share with you my applicationHost.config ?
Thanks in advance

The FerrarisIV solution did not work for me.
how do I make an anonymous version of applicationHost.config
And where do I send it to you?
Thank you

@gabrielpotumati
dear Gabriel sorry I cannot help you because I did not send the applicationHost.config file to @WouterTinus . This because I solved with that DOS commands.
Wait for wouter will reply you
Anyway winame is fantastic!!

hi guys, any news about this errors?

You can anonymise it yourself as far as you like to hide your domain names and/or company names etc., though that's entirely optional. Afterwards you can add it to pastebin or something. If you want you can post the link here, or otherwise send me a DM on Twitter at @wtinus

Hi WouterTinus follow the link http://equipea.com.br/aph.zip
Tks for u help!

Finally had the change to check out your applicationHost.config
The problem seems to be that you have two websites "Lampadin" and "AmigoRural" configured to use the applicationPool "ASP.NET v4.0", which doesn't exist. Therefor their state is "Unknown" and the IIS manager shows the same exception as this program does in the status column of the site list, e.g. "The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)"

If you fix or remove those sites I expect everything to work fine again, but we should guard against these kinds of exceptions, so I marked it as a bug anyway.


Deprecation warning from logging in data plane manager

Recently got this warning:
intersect_sdk/_internal/data_plane/data_plane_manager.py:35: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
    logger.warn('WARNING: This service cannot support any MINIO instances')

Looks like a simple switch from warn -> warning method
SDK version: 0.8.0
Python version: 3.11.9

Nevermind, I see this fix is already in main!
https://github.com/INTERSECT-SDK/python-sdk/commit/fcd2e3f5ee9304e083e3c16f7f3ec444eec83aab


httpyac.responseViewLanguageMap not works

Hi!
i was try use it like (for pretty print in preview)
"httpyac.responseViewLanguageMap": {
    "application/json-rpc": "json"
},

and when I opened sourcecode i fount strange strings
function getExtensionByMimeTypes(response: httpyac.HttpResponse) {
  if (response?.contentType?.contentType) {
    return extension(response?.contentType?.contentType);
  }
  return false;
}

but in a same time another functions used just one chain call to contentType
function getExtensionByRegexMimetype(response: httpyac.HttpResponse): string | false {
  if (response?.contentType) {
    const contentType = response?.contentType;
    if (httpyac.utils.isMimeTypeJSON(contentType)) {
      return 'json';
    }
   //....
}

Permalink to original code:
https://github.com/AnWeber/vscode-httpyac/blob/c8c37e4658715282cf2bf286829ed981f736e81c/src/view/responseItem.ts#L141
Thanks!

To use the preview mode in VSCode, the response must be saved as a file. The display language is determined by the file extension. Because of this I had the problem that I do not know the file extension for a LanguageId. My way is to save the most common LanguageId with the correct file extension, but if necessary to set the LanguageId active when opening the response, if it is available in the map.


I don't see that event in my system

The event listed above isn't present in my environement - Purchase requisition review (000062) – Approve purchase requisitions. Rather there are 3 other ones:
Purchase requisition review (000001) – Approve purchase requisitions
Purchase requisition review (000003) – Approve purchase requisitions
Purchase requisition review (000011) – Approve purchase requisitions
Which am I supposed to use? And why the duplicates?

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

ID: 91d6f12b-8071-1e29-67e1-82d47562ee61
Version Independent ID: e2c186f8-0701-fab1-c806-32632e8ad8b5
Content: Business events and workflow approvals - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/fin-ops-core/dev-itpro/business-events/how-to/how-to-workflow.md
Service: dynamics-ax-applications
Product: ****
Technology: ****
GitHub Login: @ibenbouzid
Microsoft Alias: imbenbou

I understand now that the ID number is system dependent. I would recommend updating the documentation to state that the number part will vary depending on implementation.


[Bug][Zeta] If the initialization task throws an error and the task will not end

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.


Delete Icon & Event

Can you add a delete icon and an event for it as an extra option. In fact I am implementing the plugin so that the user can add photos and delete if needed. I wish you can do it.

https://github.com/lukasz-galka/ngx-gallery/issues/103


Same quote when requested from AFNetworking GET request

Like the title says, I wrote a very simple ios app to return a random quote. Every time it runs it returns the same quote, which ironically enough is also the one you have in the ReadMe. (capitalism: God's way of....)
Could just be I'm doing something wrong tho?

I'm successfully getting different quotes each time I request the /quotes endpoint via HTTP GET. Which language/technologies are you using? Is it possible that your framework of choice implements a caching layer?
Let me know, and I will investigate further :)

Also, I've checked the response in further detail and I can't see any Cache-Control or similar headers, although I did notice an ETag header, which may have some bearing on cached responses.

It was being cached, I added some code to ignore caching and it's working
as it should now. Thanks for the help!
On Tuesday, February 24, 2015, James Wright<EMAIL_ADDRESS>wrote:

Also, I've checked the response in further detail and I can't see any
Cache-Control or similar headers, although I did notice an ETag header,
which may have some bearing on cached responses.
—
Reply to this email directly or view it on GitHub
https://github.com/jamesseanwright/ron-swanson-quotes/issues/1#issuecomment-75873491
.

Excellent, glad you got it working :)


Move .xcworkspace to Examples directory

INFO:
All of the checks of this PR will be failed because moving the .xcworkspace makes the Fastlane targets inaccessible.
There is another PR (https://github.com/ably/ably-asset-tracking-swift/pull/200) on top of this commit that removes Fastlane from the project towards the raw xcodebuild command wrapped in the shell script.

I decided to split this PR into two separate PRs after the chat with @KacperKluka
When I do this, I'll close this PR


Need Tracking & GPU/CPU usage

Now that the algorithm seems to converge, better stack tracking is needed in order to better visualize correlations between runs. I'd like to suggest using Neptune. However, I'm still not quite sure whether to use CPU or GPU PyTorch tensors. Since project is relatively small scale and network size is relatively small, CPU seems logical (plus, macOS has weak GPU). The free option for Neptune seems likely given the project scale.
Also, for the relationships that I'd like to investigate, perhaps thinking of more stats to track would be helpful. A moving-average-esque graph seems handy.

Consider parallelizing environments in the future & training for multiple seeds to track accurate results

Also, for GPU vs CPU, should track the time it takes for each section of the program, that way we can pinpoint the potential bottlenecks.

Perhaps a video of agent progression? Think about evaluation loops as well.

Tracking with extensions could be useful too, consider such as well.


MRG, ENH: Speed up epochs.copy

Closes #7947
On master the snippet here I get:
Time untouched epochs:    0:00:00.014442
Time concatenated epochs: 0:00:00.457064

On this PR:
Time untouched epochs:    0:00:00.014059
Time concatenated epochs: 0:00:00.022924

So it's still ~2x slower, which I guess is to be expected because selection does grow by 2x. This should at least be hopefully acceptable compared to the ~30x slower it is on master.

relevant failure:
mne\viz\tests\test_epochs.py:272: in test_plot_drop_log
    plot_drop_log([['One'], [], []])
mne\viz\epochs.py:603: in plot_drop_log
    percent = _drop_log_stats(drop_log, ignore)
mne\epochs.py:1923: in _drop_log_stats
    raise ValueError('drop_log must be a tuple of tuples')
E   ValueError: drop_log must be a tuple of tuples

Fixed by fc85ca7, appears to be coming back green


opt missing for training code

similar to #6 in training there is also some obsolete options:
AnchorUDF/lib/data/TrainDatasetDF3D.py", line 53, in __init__
    self.num_sample_color = self.opt.num_sample_color
AttributeError: 'Namespace' object has no attribute 'num_sample_color'

AnchorUDF/lib/data/TrainDatasetDF3D.py", line 81, in __init__
    if not (self.opt.ndf or self.opt.ndf_pc):
AttributeError: 'Namespace' object has no attribute 'ndf'

Thanks!


build: Disable trailing_whitespace swiftlint rule

We need to silent trailing_whitespace warning

We need to silent trailing_whitespace warning

On it 🥳

We need to silent trailing_whitespace warning

oh you actually did it 😂
I made a PR to disable it I thought you were asking one of us to do it, never mind.


unmarshal: cannot unmarshal -1 into uint32

When upgrading from a previous version of containerd 0.2.2 to 0.2.4 sometimes you get a fatal error that stops containerd from starting:
% containerd
FATA[0000] json: cannot unmarshal number -1 into Go value of type uint32

This happens because (for some reason) containerd 0.2.2 used to generate some lines like this, where the "status" is set to a negative number. In 0.2.4 the field was changed to a uint32 and on start containerd will try to read this file and hiccup quite badly.
{"id":"7ca3aa9abcc85109705bc461e655567a41e13dd4a5748b6c294d67f6fb063704","type":"exit","timestamp":"2016-12-16T02:31:40.793214911+11:00","pid":"init","status":-1}

A few questions jump out at me:

Why the change of type?
Why would -1 ever be written?
Is it safe for us to remove /run/containerd/events.log after an upgrade (indiscriminately)? Is this actually used for anything important? Or is it just some data that sticks around and is breaking Docker?

Are you using the tag or master? Master should handle this case correctly.
You can safely remove the log, but all event not seen by docker (if you were using it) will never be transmitted to it.

I'm seeing this on 0.2.4 (which is the version we have to use for Docker 1.12.x and we're currently trying to release for openSUSE / SLE.

Can you point to which patch fixed the problem so we can backport it?

It was fixed by commit 1263f28f8cedd4b8aa2cc203c19e529c9157c377

Hum, actually, docker 1.12.5 which was just released uses a newer version of containerd. We forgot to tag it.

https://github.com/docker/containerd/tree/v0.2.5


Auditorium does not work in Firefox private window

When I open Firefox a private window and open the Auditorium, I get an error message.

Steps to Reproduce

Open Firefox
Menu → New private window (or CTRL + shift + p)
Open https://offen.offen.dev/auditorium/ in the opened window

Technical details
Browser version: Firefox 104.0.1 (64-bit)

This is a known issue (Firefox in Private Mode restricts some APIs), but we used to handle this scenario gracefully at some point. I need to check where the regression was introduced and what we can do about it. Thanks for submitting this.


Increase memory causes bosh agent fails to start

Hi, we are doing test for softlayer-cpi with xenial stemcell(agent v2.123.0).
We just increased cell memory from 32G to 48G which caused the ephemeral disk was re-patitioned and formatted. Trusty stemcell doesn't have this problem.
For Xenial stemcell, after os reload, the memory is successfully modified (seen from SL portal) but bosh agent failed to start:
2018-08-01_10:02:27.42200 [linuxPlatform] 2018/08/01 10:02:27 INFO - Partitioning `/dev/xvdc' with [[Type: swap, SizeInBytes:<PHONE_NUMBER>8] [Type: linux, SizeInBytes:<PHONE_NUMBER>72]]
2018-08-01_10:02:27.42203 [Cmd Runner] 2018/08/01 10:02:27 DEBUG - Running command 'parted -m /dev/xvdc unit B print'
2018-08-01_10:02:27.43166 [Cmd Runner] 2018/08/01 10:02:27 DEBUG - Stdout: BYT;
2018-08-01_10:02:27.43167 /dev/xvdc:322122547200B:xvd:512:512:gpt:Xen Virtual Block Device:;
2018-08-01_10:02:27.43168 1:1048576B:33726398463B:33725349888B:linux-swap(v1):bosh-partition-0:;
2018-08-01_10:02:27.43168 2:33726398464B:322121498623B:288395100160B:ext4:bosh-partition-1:;
2018-08-01_10:02:27.43172 [Cmd Runner] 2018/08/01 10:02:27 DEBUG - Stderr:
2018-08-01_10:02:27.43173 [Cmd Runner] 2018/08/01 10:02:27 DEBUG - Successful: true (0)
2018-08-01_10:02:27.43175 [main] 2018/08/01 10:02:27 ERROR - App setup Running bootstrap: Setting up ephemeral disk: Partitioning ephemeral disk: Partitioning ephemeral disk '/dev/xvdc': '/dev/xvdc' contains a partition created by bosh. No partitioning is allowed.
2018-08-01_10:02:27.43176 [main] 2018/08/01 10:02:27 ERROR - Agent exited with error: Running bootstrap: Setting up ephemeral disk: Partitioning ephemeral disk: Partitioning ephemeral disk '/dev/xvdc': '/dev/xvdc' contains a partition created by bosh. No partitioning is allowed.

I saw a story about parted re-partition stuffs. I'm still wondering why. Thanks.

Did the ephemeral disk change as part of the cell memory change? Was the VM previously running Trusty?
You are correct, that story is probably where this change came in. As mentioned in the description, it was a defensive change to prevent data loss (primarily intended for the persistent disk).
But, I thought we did not try and repartition a disk if it was already partitioned and did not need to change. That may be different in the ephemeral case, and especially in the OS reload case since we do not use or specifically test that scenario.
In Trusty, what was the actual behavior when it did not error? For an exactly equivalent change with Trusty, can you confirm from logs if it still reformatted/repartitioned the ephemeral disk?

@dpb587-pivotal Hi, Danny. The VM is created originally from Xenial. We just reloaded it to change memory.
IIRC, agent re-partitioned ephemeral disk when changing memory in Trusty.

I tested on the same VM(4G -> 8G) for skip bosh-partition-* label scanning. The agent still failed to partition:
2018-08-02_14:38:40.24420 [Cmd Runner] 2018/08/02 14:38:40 DEBUG - Running command 'parted -m /dev/xvdc unit B print'
2018-08-02_14:38:40.26077 [Cmd Runner] 2018/08/02 14:38:40 DEBUG - Stdout: BYT;
2018-08-02_14:38:40.26082 /dev/xvdc:107374182400B:xvd:512:512:gpt:Xen Virtual Block Device:;
2018-08-02_14:38:40.26092 1:1048576B:4131389439B:4130340864B:linux-swap(v1):bosh-partition-0:;
2018-08-02_14:38:40.26095 2:4131389440B:107373133823B:103241744384B:ext4:bosh-partition-1:;
2018-08-02_14:38:40.26105 [Cmd Runner] 2018/08/02 14:38:40 DEBUG - Stderr:
2018-08-02_14:38:40.26115 [Cmd Runner] 2018/08/02 14:38:40 DEBUG - Successful: true (0)
2018-08-02_14:38:40.26125 [attemptRetryStrategy] 2018/08/02 14:38:40 DEBUG - Making attempt #0
2018-08-02_14:38:40.26134 [Cmd Runner] 2018/08/02 14:38:40 DEBUG - Running command 'parted -s /dev/xvdc unit B mkpart bosh-partition-0 1048576<PHONE_NUMBER>'
2018-08-02_14:38:40.27055 [Cmd Runner] 2018/08/02 14:38:40 DEBUG - Stdout:
2018-08-02_14:38:40.27061 [Cmd Runner] 2018/08/02 14:38:40 DEBUG - Stderr: Error: You requested a partition from 1048576B to<PHONE_NUMBER>B (sectors 2048..16326655).
2018-08-02_14:38:40.27069 The closest location we can manage is 1048064B to 1048064B (sectors 2047..2047).
2018-08-02_14:38:40.27072 [Cmd Runner] 2018/08/02 14:38:40 DEBUG - Successful: false (1)
2018-08-02_14:38:40.27079 [PartedPartitioner] 2018/08/02 14:38:40 ERROR - Failed with an error: Running command: 'parted -s /dev/xvdc unit B mkpart bosh-partition-0 1048576<PHONE_NUMBER>', stdout: '', stderr: 'Error: You requested a partition from 1048576B to<PHONE_NUMBER>B (sectors 2048..16326655).
2018-08-02_14:38:40.27083 The closest location we can manage is 1048064B to 1048064B (sectors 2047..2047).
2018-08-02_14:38:40.27090 ': exit status 1

And agent on Trusty uses sfdisk to partition and re-partition:

partition:

2018-08-03_02:39:44.83236 [linuxPlatform] 2018/08/03 02:39:44 INFO - Creating swap & ephemeral partitions on ephemeral disk...
2018-08-03_02:39:44.83237 [linuxPlatform] 2018/08/03 02:39:44 DEBUG - Getting device size of `/dev/xvdc'
2018-08-03_02:39:44.83241 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Running command 'sfdisk -s /dev/xvdc'
2018-08-03_02:39:44.83464 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Stdout: 104857600
2018-08-03_02:39:44.83465 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Stderr:
2018-08-03_02:39:44.83466 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Successful: true (0)
2018-08-03_02:39:44.83466 [linuxPlatform] 2018/08/03 02:39:44 DEBUG - Calculating partition sizes of `/dev/xvdc', with available size<PHONE_NUMBER>00B
2018-08-03_02:39:44.83488 [linuxPlatform] 2018/08/03 02:39:44 INFO - Partitioning `/dev/xvdc' with [[Type: swap, SizeInBytes:<PHONE_NUMBER>] [Type: linux, SizeInBytes:<PHONE_NUMBER>12]]
2018-08-03_02:39:44.83489 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Running command 'sfdisk -d /dev/xvdc'
2018-08-03_02:39:44.83650 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Stdout: # partition table of /dev/xvdc
2018-08-03_02:39:44.83651 unit: sectors
2018-08-03_02:39:44.83651
2018-08-03_02:39:44.83651 /dev/xvdc1 : start=        1, size=  8096759, Id=82
2018-08-03_02:39:44.83652 /dev/xvdc2 : start=  8096760, size=201615750, Id=83
2018-08-03_02:39:44.83652 /dev/xvdc3 : start=        0, size=        0, Id= 0
2018-08-03_02:39:44.83653 /dev/xvdc4 : start=        0, size=        0, Id= 0
2018-08-03_02:39:44.83653 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Stderr:
2018-08-03_02:39:44.83653 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Successful: true (0)
2018-08-03_02:39:44.83654 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Running command 'sfdisk -s /dev/xvdc1'
2018-08-03_02:39:44.83750 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Stdout: 4048379
2018-08-03_02:39:44.83753 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Stderr:
2018-08-03_02:39:44.83753 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Successful: true (0)
2018-08-03_02:39:44.83757 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Running command 'sfdisk -s /dev/xvdc2'
2018-08-03_02:39:44.83867 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Stdout: 100807875
2018-08-03_02:39:44.83868 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Stderr:
2018-08-03_02:39:44.83868 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Successful: true (0)
2018-08-03_02:39:44.83880 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Running command 'sfdisk -s /dev/xvdc'
2018-08-03_02:39:44.83965 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Stdout: 104857600
2018-08-03_02:39:44.83966 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Stderr:
2018-08-03_02:39:44.83966 [Cmd Runner] 2018/08/03 02:39:44 DEBUG - Successful: true (0)
2018-08-03_02:39:44.83967 [SfdiskPartitioner] 2018/08/03 02:39:44 INFO - /dev/xvdc already partitioned as expected, skipping

re-partition:

2018-08-03_02:54:22.22493 [linuxPlatform] 2018/08/03 02:54:22 DEBUG - Calculating partition sizes of `/dev/xvdc', with available size<PHONE_NUMBER>00B
2018-08-03_02:54:22.22493 [linuxPlatform] 2018/08/03 02:54:22 INFO - Partitioning `/dev/xvdc' with [[Type: swap, SizeInBytes:<PHONE_NUMBER>] [Type: linux, SizeInBytes:<PHONE_NUMBER>6]]
2018-08-03_02:54:22.22494 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Running command 'sfdisk -d /dev/xvdc'
2018-08-03_02:54:22.22649 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Stdout: # partition table of /dev/xvdc
2018-08-03_02:54:22.22651 unit: sectors
2018-08-03_02:54:22.22651
2018-08-03_02:54:22.22652 /dev/xvdc1 : start=        1, size=  8096759, Id=82
2018-08-03_02:54:22.22652 /dev/xvdc2 : start=  8096760, size=201615750, Id=83
2018-08-03_02:54:22.22653 /dev/xvdc3 : start=        0, size=        0, Id= 0
2018-08-03_02:54:22.22653 /dev/xvdc4 : start=        0, size=        0, Id= 0
2018-08-03_02:54:22.22653 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Stderr:
2018-08-03_02:54:22.22654 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Successful: true (0)
2018-08-03_02:54:22.22654 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Running command 'sfdisk -s /dev/xvdc1'
2018-08-03_02:54:22.22756 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Stdout: 4048379
2018-08-03_02:54:22.22763 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Stderr:
2018-08-03_02:54:22.22765 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Successful: true (0)
2018-08-03_02:54:22.22775 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Running command 'sfdisk -s /dev/xvdc2'
2018-08-03_02:54:22.22873 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Stdout: 100807875
2018-08-03_02:54:22.22877 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Stderr:
2018-08-03_02:54:22.22879 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Successful: true (0)
2018-08-03_02:54:22.22887 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Running command 'sfdisk -s /dev/xvdc'
2018-08-03_02:54:22.22989 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Stdout: 104857600
2018-08-03_02:54:22.23000 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Stderr:
2018-08-03_02:54:22.23005 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Successful: true (0)
2018-08-03_02:54:22.23013 [attemptRetryStrategy] 2018/08/03 02:54:22 DEBUG - Making attempt #0
2018-08-03_02:54:22.23019 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Running command 'sfdisk -uM /dev/xvdc'
2018-08-03_02:54:22.24185 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Stdout:
2018-08-03_02:54:22.24194 Disk /dev/xvdc: 13054 cylinders, 255 heads, 63 sectors/track
2018-08-03_02:54:22.24199 Old situation:
2018-08-03_02:54:22.24203 Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
2018-08-03_02:54:22.24208
2018-08-03_02:54:22.24213    Device Boot Start   End    MiB    #blocks   Id  System
2018-08-03_02:54:22.24218 /dev/xvdc1         0+  3953-  3954-   4048379+  82  Linux swap / Solaris
2018-08-03_02:54:22.24222 /dev/xvdc2      3953+ 102398- 98446- 100807875   83  Linux
2018-08-03_02:54:22.24227 /dev/xvdc3         0      -      0          0    0  Empty
2018-08-03_02:54:22.24232 /dev/xvdc4         0      -      0          0    0  Empty
2018-08-03_02:54:22.24237 New situation:
2018-08-03_02:54:22.24241 Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
2018-08-03_02:54:22.24249
2018-08-03_02:54:22.24257    Device Boot Start   End    MiB    #blocks   Id  System
2018-08-03_02:54:22.24263 /dev/xvdc1         0+  7985-  7986-   8177084+  82  Linux swap / Solaris
2018-08-03_02:54:22.24269 /dev/xvdc2      7985+ 102398- 94414-  96679170   83  Linux
2018-08-03_02:54:22.24276 /dev/xvdc3         0      -      0          0    0  Empty
2018-08-03_02:54:22.24281 /dev/xvdc4         0      -      0          0    0  Empty
2018-08-03_02:54:22.24286 Successfully wrote the new partition table
2018-08-03_02:54:22.24291
2018-08-03_02:54:22.24296 Re-reading the partition table ...
2018-08-03_02:54:22.24302
2018-08-03_02:54:22.24306 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Stderr: Checking that no-one is using this disk right now ...
2018-08-03_02:54:22.24314 OK
2018-08-03_02:54:22.24318 Warning: no primary partition is marked bootable (active)
2018-08-03_02:54:22.24324 This does not matter for LILO, but the DOS MBR will not boot this disk.
2018-08-03_02:54:22.24329 If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
2018-08-03_02:54:22.24333 to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
2018-08-03_02:54:22.24338 (See fdisk(8).)
2018-08-03_02:54:22.24343 [Cmd Runner] 2018/08/03 02:54:22 DEBUG - Successful: true (0)
2018-08-03_02:54:22.24348 [SfdiskPartitioner] 2018/08/03 02:54:22 INFO - Succeeded in partitioning /dev/xvdc with ,7978,S
2018-08-03_02:54:22.24355 ,,L

Recapping from our recent discussion...

any solution should consider what happens when the VM is rebooted; we should not erase the disk in a generic restart scenario
asked to look into OS reload hooks as alternatives to making changes to the generic partitioner; e.g. perhaps the OS reload could reset the partition table to make it appear empty at start

Hi Danny @dpb587-pivotal , I would like to propose an approach to distinguish between os reload and agent restart, we could set a marker file like ephemeral_disk_partitioned under /var/vcap/bosh in the stemcell, the default value is false, which means the ephemeral disk needs to be partitioned. The agent will read in this file at the beginning of agent start, if it's false, the agent will partition the ephemeral disk and change to true in  ephemeral_disk_partitioned. So the ephemeral disk will not be re-partitioned for normal agent restart, but for new VM creation or os reload, the value is false, agent will partition the disk. What do you think? Thanks.

@jfmyers9 One thing we need to consider is that the ephemeral disk should be cleaned up after OS reload, SoftLayer can't do that through the API call, this is why I proposed a solution in https://github.com/cloudfoundry/bosh-agent/issues/184#issuecomment-412249448, actually, we had a solution in existing agent code (ScrubEphemeralDisk), but it has some limitation, the ephemeral disk can't be cleaned up if the stemcell version is not changed (like bosh recreate command) after OS reload. So we hope to take this opportunity to fix the problem completely. Thanks.

@jfmyers9 Thanks. As @mattcui pointed, the ephemeral disk didn't be formatted after OS reload, because agent skipped formatting old ephemeral disk when old signatures have still existed.
So agent should also format old ephemeral disk after repartition.

Hey @edwardstudy and @mattcui,
I think the proposed EphemeralDevicePartioner would be able to encapsulate that logic as well. You could imagine it's work flow being something like:

Check to see if existing partitions match desired partitions. Exit if there is nothing to do.
Remove existing partitions as this is an ephemeral disk.
Format the disk
Partition with desired partitions.

Do you have any concerns with this proposed solution? If not, we should close https://github.com/cloudfoundry/bosh-agent/pull/186 and could you submit a new PR implementing this idea? If not, we also will create a story to track this issue, and we may be able to get to it at some point depending on prioritization.
Best,
@jfmyers9 && @jrussett, CF BOSH

@jfmyers9 @jrussett does the proposed workflow cover the scenario of a plain bosh recreate which should result in an empty ephemeral disk at some point during startup?

We updated the strategy to reflect an empty ephemeral disk. It would look something like:

if there are existing partitions

exit if existing partitions match desired partitions
remove existing partitions

partition with desired partitions

The linux platform already formats the ephemeral disk's partitions if they are not currently formatted as ext4 or xfs. In the case of a used ephemeral disk, removing the partitions and recreating them should trigger a reformat. In the case of an empty ephemeral disk, it will be partitioned and formatted. In the case of an ephemeral disk that has the correct partitions, nothing will happen.
Does that seem correct?

That seems correct...
But I'm not seeing how it would cause a disk to be erased in the scenario where you do a bosh recreate. The specs are exactly the same, but, in OS reload case, the VM boots with the existing ephemeral disk which matches the desired partition sizes, so the proposed workflow doesn't do anything to it. Which then means it retains the existing ephemeral data; which seems bad.
Let me know if I'm missing something though; then should chat more irl.

@dpb587-pivotal Hi, Danny. How about saving ephemeral_disk_partitioned state and doing ephemeral disk partition if ephemeral_disk_partitioned is false and updating state. You can see details from: https://github.com/cloudfoundry/bosh-agent/pull/186
If @jfmyers9's strategy is confirmed, I could update code and submit a new PR.

cc @jfmyers9 do you have an opinion on the ephemeral_disk_partitioned state file?
That sort of file feels very SoftLayer-specific requirement to me; it's not a standard requirement in any other IaaSes, so would hope we can continue brainstorming on more generic solutions, too. Conceptually, it makes sense why OS reload would need it... but any other ideas for how to solve this more generically are definitely welcomed.

As I mentioned in https://github.com/cloudfoundry/bosh-agent/issues/184#issuecomment-414048419, I think we could reuse ScrubEphemeralDisk, if ScrubEphemeralDisk=true set in agent.json (for Softlayer), the agent will check ephemeral_disk_partitioned property (maybe in agent_settings.json) and go through ephemeral disk partition logic, for other infrastructures, no ScrubEphemeralDisk set in agent.json, so it doesn't need to go through this part of logic, what do you think? Thanks.
@dpb587-pivotal @jfmyers9

@edwardstudy is this resolved now that #190 was merged?

Closing due to inactivity; please feel free to reopen if you think this is still an issue.


Fixing the total loss function calculation

Pull Request Checklist

[x] All tests in the tests folder pass with a local build
[x] Pull request includes a description of why we are doing this
[x] Init files import new capabilities to appropriate level of package (if applicable)
[x] CHANGELOG has been updated
[x] Version in _version.py has been updated
[x] README has been updated (if applicable)
[x] requirements.txt and requirements-dev.txt have been recompiled if requirements in setup.py or requirements-dev.in changed.

@gsganden: I think giving each task equal weight makes sense. Some rows may be in multiple tasks so it feels like those might get overweighted if it's by row.


Directory walking doesn't work in HTML5 release build, but does in debug

Godot version
3.4.4.stable
System information
Windows 10
Issue description
When running this code piece on debug, everything works as expected:
static func files_in_dir(path: String) -> PoolStringArray:
  var result := PoolStringArray()
  var dir := Directory.new()
  if dir.open(path) != OK:
    push_error("Cannot open " + path)
    return result
  assert(dir.list_dir_begin(true) == OK)
  var file = dir.get_next()
  while not file.empty():
    result.push_back(path + file)
    file = dir.get_next()
  dir.list_dir_end()
  return result

func _ready() -> void:
  for file in files_in_dir("res://"):
    print(file)

Output:
res://.import [index.js:347:16](http://localhost:50502/index.js)
res://Node.gd.remap [index.js:347:16](http://localhost:50502/index.js)
res://Node.gdc [index.js:347:16](http://localhost:50502/index.js)
res://Node.tscn [index.js:347:16](http://localhost:50502/index.js)
res://default_env.tres [index.js:347:16](http://localhost:50502/index.js)
res://icon.png [index.js:347:16](http://localhost:50502/index.js)
res://icon.png.import [index.js:347:16](http://localhost:50502/index.js)
res://project.binary [index.js:347:16](http://localhost:50502/index.js)

But nothing is outputted in release
Steps to reproduce
Export listed below reproduction project in HTML5 in release and run it
Minimal reproduction project
reproduction.zip

Right, it doesn't work in native executable release build either, I imagine it has something to do with how projects are exported?
Couldn't find any information about this behaviour

Can you check if this occurs in 3.5rc1? Also check if this occurs when removing the type hint declarations.

 I put list_dir_begin() in assert.

See https://github.com/godotengine/godot-proposals/issues/502.


better dropdown menu for selecting languages

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Currently

the dropdown menu for selecting languages style does not align with the webpage
Describe the solution you'd like
A clear and concise description of what you want to happen.
I would to like to change it to a better dropdown menu with no visible scrollbar bar better Design
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Please assign this to me

can i work on this issue please this issue to me


The last example is mislabeling services

Do the following and you can see that the labels being applied in your output are incorrect:
$results = Get-MsolUser -UserPrincipalName
$results.licenses[0].ServiceStatus[0]
output:
ServicePlan   ProvisioningStatus

BPOS_S_TODO_2 Success
Also when you create an html of the output with "ConvertTo-Html >", that is not a CSV.
Export-CSV if that's the desired output.

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

ID: f403603f-e17b-8b5b-cbd8-8e4c6f4e1728
Version Independent ID: a93a3de1-25d3-4f7a-3e3e-3a6f25f88b75
Content: View account license and service details with Office 365 PowerShell
Content Source: Enterprise/powershell/view-account-license-and-service-details-with-office-365-powershell.md
Service: o365-administration
GitHub Login: @JoeDavies-MSFT
Microsoft Alias: josephd

@milesgt, Example updated for services indexes and CSV issue. Thanks for letting us know.


loops

?- functor_spec(F,F,F), F = 0.
   loops, unexpected.
   F = 0. % expected, but not found

Actually, it should be rather:
?- functor_spec(F,F,F), F = 0.
   loops, unexpected.
   F = 0 % expected, but not found
|  % alternatively
   ***, weak. % some weak answer

I think the expected result here should be false, because 0 isn't a valid functor... Or that's what I thought, but then I tried:
?- functor(A, 0, 0).
   A = 0.
?- functor(A, 1, 0).
   A = 1.
?- functor(A, 1, 2).
   error(type_error(atomic,1),functor/3).

So I guess using numbers as functor is fine as long as the arity is 0.

Right. Or see it that way:
?- functor(F,F,F), F = 0.
      error(instantiation_error,functor/3). % so annoying, but at least not incorrect
?- F = 0, functor(F,F,F).
   F = 0.


Example in adding new middlewares into the app.

I just found this project.  And I am still trying to figure things out.  Would it be possible to add to the example how one can add new middlewares into the app?  Thanks for your help.

Hi! Thank you. I've added example for JS middleware here. If you want to write middleware in PS you can take a look at logger implementation and usage in Todo server example


[build] Issue when building raylib example with VSCode, undefined reference to __mingw_opendir

I used mingw32-make to create the exe file for main.c for the VScode IDE folder in the raylib installer version.

-Windows 10
-Definetely not ram problem. (Im watching you, steam users)
-IM USING THE MINGW32 VERSION IN THE RAYLIB INSTALLER!!!!
How to reproduce:
1-Setup raylib. (on the installer version) (finally)
2-Go to VSCode folder.
3-Copy files and paste it into your desired folder.
4-Run code realizing you need an exe first and the way to make it is using mingw32-make.
5-Open cmd on the folder and running "mingw32-make"
6-Get the error im getting.
Seriously, if you need more details just ask me, don't close this

@CreshFreamer It looks like you are using an old version of MinGW. Please, use the one that comes with raylib installer.

@CreshFreamer It looks like you are using an old version of MinGW. Please, use the one that comes with raylib installer.

I AM using the one that comes with raylib

@CreshFreamer It looks like you are using an old version of MinGW. Please, use the one that comes with raylib installer.

Just edited the post just to clarify something

@CreshFreamer Ok, I see, I have no idea about the origin of this issue. It works perfectly on my computer with the same configuration. Do you have multiple versions of MinGW installed?

@CreshFreamer I'm afraid I don't know what is the issue. Let's see if any other user had the same issue. Feel free to join raylib Discord and ask in some of the help channels.

@CreshFreamer I'm afraid I don't know what is the issue. Let's see if any other user had the same issue. Feel free to join raylib Discord and ask in some of the help channels.

I don't have discord tho

@CreshFreamer Just asked in raylib Discord, it seems the solution is adding -lkernel32 library to compilation line.

@CreshFreamer Just asked in raylib Discord, it seems the solution is adding -lkernel32 library to compilation line.

Where is the compilation line tho?

@CreshFreamer It should be in the same place where -lgdi32 -lwinmm are added.

@CreshFreamer Just asked in raylib Discord, it seems the solution is adding -lkernel32 library to compilation line.

@CreshFreamer It should be in the same place where -lgdi32 -lwinmm are added.

@CreshFreamer Ok, now the issue is related to raylib.rc.data resource file not found. You can just remove that file from compilation script. It's just used to add the window icon.

@CreshFreamer Ok, now the issue is related to raylib.rc.data resource file not found. You can just remove that file from compilation script. It's just used to add the window icon.

@CreshFreamer Ok, now the issue is related to raylib.rc.data resource file not found. You can just remove that file from compilation script. It's just used to add the window icon.

@CreshFreamer Sorry, this is my last message, I can't waste more time with that build issue. I recommend that you learn how build systems work or join raylib Discord to ask this kind of questions. Issues are intended for raylib issues, not problems with build system due to a lack of knowledge on configuration.

@CreshFreamer Sorry, this is my last message, I can't waste more time with that build issue. I recommend that you learn how build systems work or join raylib Discord to ask this kind of questions. Issues are intended for raylib issues, not problems with build system due to a lack of knowledge on configuration.

Found the solution, just take the SRC folder from raylib and paste it into my project!!


Handle checks for null/not null single select cases

Forgot the case where singleSelect fields might have a null value. It did work anyways, because postgres's handling of NULL values and checks. But simply making it explicit in the CHECK constraint that we can receive a null value.

/cc internetti
/cc neb42

/lgtm


Skip intermediate login page with single provider

Resolves #3216, #2175
When a single authentication provider is configured, it is now possible to skip the intermediate user interaction on the /login page and redirect directly to the auth provider's actual login page, saving an extra click for users.
This new behaviour is disabled by default, and can be enabled by setting the AUTH_AUTO_REDIRECT environment variable to true.
This new behaviour only works for saml2 and oidc providers, and will not work if Social Auth providers are enabled.
This new behaviour will not be honoured for /login if argument ?logout=1 is passed (which is where users are redirected to after logout when AUTH_AUTO_REDIRECT is set to true).
This also introduces an overridden logout() function so post-logout redirection can be honoured (it appears redirectAfterLogout has not been honoured in Laravel since ~5.3 - see laravel/framework#15525)

I have applied these changes and can confirm that its working in version 22.02.3

I have applied these changes and can confirm that its working in version 22.02.3

+1
I tried these on top of 22.04.2 and work as expected.

Thank you very much for this @rjmidau. All looked good.
I have now merged this for next feature release.
I did follow this up with a set of changes in 8b211ed4618299a22bb2a3dda9bb317d8cde65b6. These were primarily naming changes in addition to expanding tests and making the new intermediate view an actual view with content & loading animation, with a manual-non-js option to trigger the authentication form submission as a backup.


Add analytics for clicking columns on student profile, selecting a st…

…udent through search, using overview filters
Also fix a bug with double click handling on column selection.

@alexsoble says 🚢 it's :friday


Rfxtrx sensor

Description:
Allow fire event when receiving signal from a Rfxtrx sensor
Related issue (if applicable): fixes some problems mentioned here #2290
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#660
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If code communicates with devices, web services, or a:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

Looks good! :dolphin: