MSVC build broken

I used to be able to build Pothos just fine using MSVC 2015 approx 6 months ago. But now there are all kinds of problems. E.g. in build\gui\CMakeFiles\PothosGui.dir\build.make, there is:
gui\CMakeFiles\PothosGui.dir\PothosGui.rc.res: gui\PothosGui.rc
  ...
     F:\ProgramFiler-x86\MS-SDK-8.1\bin\x86\rc.exe  $(RC_FLAGS) -O coff $(RC_DEFINES)  ....
  ...

coff for MSVC??!!
Besides there is tons of CL warnings, missing -D_USE_MATH_DEFINES, need to add <Pothos-rot>\build\poco\lib to %LIB% and lots of:
HostInfo.cpp
Unknown compiler version - please run the configure tests and report the results

PS. I used:
-DCMAKE_BUILD_TYPE="Release" -G "NMake Makefiles"`

(+ a lot more) options in Cmake. And "RelWithDebInfo"  no longer seems to work; The *.make files are trying to mix Release and Debug.

There was repository reorganization and I updated the poco submodule to git 1.6.2. Its possible that the poco update is the cause of some problems.
Although I just got a pull request for building PothosSDR environment with MSVC2015, and there weren’t any patches for pothos or poco: https://github.com/pothosware/PothosSDR/pull/12
I will try the entire PothosSDR under MSVC2015 and see what happens.

coff for MSVC??!!

No idea what this means. I am happy to take suggestions. Its just some code that I found on the internet to build an icon into the PothosGUI executable. I have never had an issue with it in the past. And I haven't changed it since it was added, AFAIK.
########################################################################
# Resource file - adds an icon to Pothos GUI executable
########################################################################
if (WIN32)
    set(ICON_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/icons/PothosGui.ico)
    set(RES_FILES "${CMAKE_CURRENT_BINARY_DIR}/PothosGui.rc")
    file(WRITE "${RES_FILES}" "id ICON \"${ICON_SOURCE}\"")
    set(CMAKE_RC_COMPILER_INIT windres)
    enable_language(RC)
    set(CMAKE_RC_COMPILE_OBJECT
        "<CMAKE_RC_COMPILER> <FLAGS> -O coff <DEFINES> -i <SOURCE> -o <OBJECT>")
    list(APPEND SOURCES ${RES_FILES})
endif(WIN32)

-DCMAKE_BUILD_TYPE="Release" -G "NMake Makefiles"`

I haven't used NMake. Perhaps some of these problems like the compiler identification message and the RelWithDebInfo not working be caused by the differences with the NMake build?

coff for MSVC??!!

No idea what this means. I am happy to take suggestions.

Your rule should consider MSVC:
if (MSVC)
  set(CMAKE_RC_COMPILE_OBJECT
          "<CMAKE_RC_COMPILER> <DEFINES> <SOURCE> -fo <OBJECT>")
else (WIN32)
 as above

(untested).

Just to confirm, everything should build with cmake and MSVC project files and visual studio 2015. And I just released new installers for version 2015.
As far as this issue is concerned:

The NMake build used to work 6 months ago, and now it doesn't. Is that correct?
Is it important to support NMake now that there are 2015 installers?
Whats the main use case for nmake here (just curious): for building the pothos runtime and libraries? or was or custom projects with blocks etc?

Your rule should consider MSVC:

OK, I can see that there are other compilers for windows that will not have the rc compiler (like cygwin). So thats a good change.

The NMake build used to work 6 months ago, and now it doesn't. Is that correct?

I've never used the Cmake NMake Makefiles generator in Pothos until now. I used to use the Visual Studio 14  generator with success in the past. Why this is not working, I've no idea. I've updated Cmake to v3.4.0 in the mean-time though (if that matters).

Is it important to support NMake now that there are 2015 installers?

Besides I don't trust software I cannot build myself? :smiley: I suck at Cmake, but I assume this build-system and your CMakeLists.txt are generator agnostics. So the binary result should pretty much be the same regardless of how one builds this. Or?
I didn't know there is a 2015 installer. I'll check it out. Built using a recent Qt5 I assume?

I have never actually gotten the NMake generators to work myself. I only every build and test Unix makefiles and visual studio project files. My assumption is that nmake generated files would just invoke the cl.exe compiler with the same basic flags and files that a visual studio project would. But I don't know if cmake gives equal treatment for nmake support.

I didn't know there is a 2015 installer. I'll check it out. Built using a recent Qt5 I assume?

Just released, and its using a beta qt 5.6: https://groups.google.com/forum/#!topic/pothos-users/1HOKTbOPHpo
If it makes life any easier, you can replicate the build for everything in the installer. PothosSDR is just a cmake project that clones from git and builds other cmake projects with visual studio. And to simplify the build, just comment some things out that are not needed, like hardware support, various toolkits, their dependencies. I hope it helps.

https://github.com/pothosware/PothosSDR/blob/master/README.build
https://github.com/pothosware/PothosSDR/blob/master/README.md#prebuilt-binaries-manifest

I guess everything is ok as long as vs project generators are used. Closing.


Docs and comments are not retained when using goctl to generate code from api file

Describe the bug
The doc here says that it retain the original mark of //, /*, */. But when I generate code using go-ctl, docs and comments are removed (except inline comments)

To Reproduce
Steps to reproduce the behavior, if applicable:

test.api  file
 syntax = "v1"

 info (
     title: "test service"
     desc: "service to test bug"
     author: ""
     email: ""
 )

 type PingReq {
     // State where ping request come from.
     From string `json:"from"` // eg: ip address, origin host
 }

 type PingResp {
     // Ack message.
     Message string `json:"message"`
 }

 service test-api {
     @handler HandlePing
     post /ping(PingReq) returns(PingResp)
 }

Generate code using goctl
goctl api go -api test.api

The generated types.go file, see that docs and comments are gone with the exception of inline comments
 // Code generated by goctl. DO NOT EDIT.
 package types

 type PingReq struct {
     From string `json:"from"` // eg: ip address, origin host
 }

 type PingResp struct {
     Message string `json:"message"`
 }

Expected behavior
All docs and comments from api files were retained in produced types.go
Environments:

OS: WSL Ubuntu
go-zero version v1.4.0
goctl version 1.4.0 linux/amd64

Comments and definitions can be brought into the generated code.
example:
 type PingResp {      Message stringjson:"message" // Ack message.  }

Yes I aware that inline comment is retained.
But what if I need to add multiline comments? I think it also need to be retained in the generated code because if I need to add complete documentation for a field, most likely it will be multiline comments

 type PingResp {
     // ACK message
     // second line
     Message string `json:"message"`
 }

Not working?

It's not working. It will be removed on generated types.go file

@MarkJoyMa @anqiansong PTAL.

hi team, any update on this?


[Q] why is did tagging stop ~9 months ago?

Hello, the last tag is from ~9 months ago and stopped at 1.1.7. How come the repo stopped getting tagged. We use a project graphite-mt https://github.com/raintank/graphite-mt that is currently pulling an out of date version of graphite because the tag is not up to date.

Hi @schen2315 ,
Are you missing some particular feature or bugfix?
We have no stable release schedule. Usually we're tagging new release when we decide it worth it - i.e. contains enough number of new features and bugfixes. Also, release is not just a "tag" - we have separate branches for releases - 1.1.x is last stable branch and backporting changes there from master. You also can use master, it's stable enough for production usage, although its stability can vary.
Also, Graphite-mt also have no releases, they just pointing some commits on their fork, currently 7ebde4c60. It's totally not related to tags in this repo. You can reach graphite-mt maintainers and ask them to update it.

Hi @schen2315 ,
Are you missing some particular feature or bugfix?
We have no stable release schedule. Usually we're tagging new release when we decide it worth it - i.e. contains enough number of new features and bugfixes. Also, release is not just a "tag" - we have separate branches for releases - 1.1.x is last stable branch and backporting changes there from master. You also can use master, it's stable enough for production usage, although its stability can vary.
Also, Graphite-mt also have no releases, they just pointing some commits on their fork, currently 7ebde4c60. It's totally not related to tags in this repo. You can reach graphite-mt maintainers and ask them to update it.

But you're probably right - maybe it's time to cut 1.1.8, though

But you're probably right - maybe it's time to cut 1.1.8, though


Brackets are drawn in the insider version

Brackets are drawn in the insider version of VS CODE to fold the code instead of +/-. how to get back into place +/-
change it

on this

This works as intended and was implemented as part of iconography update #8017 .
These icons (basically collapse, expand) are now unified and used across the app (fold/unfold, Explorer, custom trees etc.)
Not sure if these can be changed as part of theme.

Icons are redesigned and now everything is consistent
This was the goal that was achieved.
You don't have +/- but you have >/v instead which is readable too

I do not think that VS Team will change that.
If you get a lot of 👍 here, maybe they'll think about it again, but honestly, I do not think so

Nightmare pointers!
Informativeness is zero, because parentheses usually indicate a place, a string. They do not carry information about the blockiness of the code, while +/- precisely indicate the blockiness of the code, that it can be minimized / expanded.
The three most important visual things for me in the editor are:

hearth backlight
code folding +/- (this is a generally accepted standard for editors)
brackets on one line with the code minimized (this is a generally accepted standard for editors)

If the update is accepted and the normal icons (+ and -) are not left - for me this editor is dead.
And what were the hopes.

I have to say I also think while hovering, the icon should change to the down chevron to indicate that the action will "expand":

Plus sign was a good indication of the action of expanding.

We already have an issue tracking this https://github.com/microsoft/vscode/issues/78024


installation problem

well,I want to install the latested falcon on a aarch64 Linux platform.
Could you please tell me how to obtain the source code ?  Because arm-based computer does not support conda .
Thank you for reply.

In that case, no luck. We can't support all architectures.


add benchmarks

After we add benchmarks first step should be to optimise Par either port purescript-freeap or do DList like optimisation https://www.eyrie.org/~zednenem/2013/05/27/freeapp

FYI sanctuary typeclasses and daggy are very inefficient.
They're causing massive slowdown of traversal - 2 orders of magnitude in my tests: 50k ops/sec with sanctuary typeclasses & daggy vs 3M ops/sec handrolled.
I believe they're also responsible for linear degradation of traversal performance. Handrolled version is relatively stable for small trees and becomes linear only for large trees. For large trees this might have more to do with hardware limitations - but that's only a guess.


Fix IPv6 interpolation for Prometheus sizer

In the Prometheus sizer, the url is interpolated with the hostname,
which can be an ipv6 address and must be wrapped in brackets to separate
it from the port number. This commit checks if the hostname contains 2
or more colons and adds brackets if they don't already exist.
Fixes #96.

Coverage increased (+0.0003%) to 99.515% when pulling 0bc2f8196d98a792449c13c6cfeee18ed688d09b on yfronto:master into 0d98bbefc1105851b7b7203de4f6c68d9c097730 on linkedin:master.


change package name for SecurityProtocol from upstream change.

\cc @dguy @guozhangwang @mjsax
Package name changed for SecurityProtocol from an upstream change in clients.


angular2-google-maps with webpack project not working

I m getting following error

Uncaught (in promise) TypeError: object is not a constructor(…)

core.js:101 Uncaught TypeError: Cannot read property 'getOptional' of undefined

import {Component} from 'angular2/core';
import {ANGULAR2_GOOGLE_MAPS_DIRECTIVES, ANGULAR2_GOOGLE_MAPS_PROVIDERS} from 'angular2-google-maps/core';

@Component({
  selector: 'map',
  directives: [ANGULAR2_GOOGLE_MAPS_DIRECTIVES],
  providers: [ANGULAR2_GOOGLE_MAPS_PROVIDERS],
  template: require('./maps.html'),
  styles: [require('./maps.css')],
})
export class MapComponent {
  lat: number = 51.678418;
  lng: number = 7.809007;
}

I have added map provider to bootstrap the app.

@vivekwisdom did you include angular2-shim and the es6 shim in your page? looks like it's missing

See https://github.com/angular/angular/issues/7583

I think I have included them.

Above files explains that I have used es6-shim and imported in vendor.ts. Thanks

@vivekwisdom It doesn't look like you've included angular2-google-maps in vendor from the screenshot above... I have a similar setup and that did the trick for me!

@vivekwisdom is this an open issue?

Closing this due to inactivity. Feel free to reopen.


Fix shape issue of return_all_hiddens in roberta

By default return_all_hiddens is False, the shape of features will be BxTxC.
If use return_all_hiddens, the shape of features will be TxBxC.
See
https://github.com/pytorch/fairseq/blob/9398a2829596393b73f5c5f1b99edf4c2d8f9316/fairseq/modules/transformer_sentence_encoder.py#L227

Thanks, this is a good catch!
I think it makes more sense to fix the API for TransformerSentenceEncoder so that it always returns T x B x C, since the transpose there isn't even needed. I'll push a change on top of this PR before merging


When I insert new text field by JS, It doesn't show effect on click

Hi, I have a problem.
I need add new text fields but when I add it, the effect is not showed.

Make sure you upgrade the element as descried in our getting started guide. Beyond that, please use StackOverflow for integration help. This issue tracker is only for problems directly related to the code provided.


Switch build, note blocked on deployer

Description
Switch testing to Java 21, probably need deploy to switch to Java 21 to actually compile to Java 21 bytecode
Review Instructions
Describe if this ticket needs review and if so, how one may go about it in qa and/or staging environments.
For example, a ticket based on Security Hub, Snyk, or Dependabot may not need review since those services
will generate new warnings if the issue has not been resolved properly. On the other hand, an infrastructure
ticket that results in visible changes to the end-user will definitely require review.
Many tickets will likely be between these two extremes, so some judgement may be required.
Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-6611
Security
If there are any concerns that require extra attention from the security team, highlight them here.
Please make sure that you've checked the following before submitting your pull request. Thanks!

[ ] Check that you pass the basic style checks and unit tests by running mvn clean install in the project that you have modified (until https://ucsc-cgl.atlassian.net/browse/SEAB-5300 adds multi-module support properly)
[ ] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[ ] If you are changing dependencies, check with dependabot to ensure you are not introducing new high/critical vulnerabilities
[ ] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

Hmmm, need equivalent of https://github.com/dockstore/dockstore/pull/5297/files to pull out all the system rules


Maybe it would be possible to register itself as proper formatter?

Right now this extension provides custom commands, but maybe it would be possible to register as a proper JSON formatter? So that "Format Document" command would work?
{
  "json.format.enable": false,
  "[json]": {
    "editor.defaultFormatter": "Thinker.sort-json"
  },
  "[jsonc]": {
    "editor.defaultFormatter": "Thinker.sort-json"
  }
}

Hi @mgzenitech,
I am sorry I can't make it as a formatter. Bu this extension can format the code by using code actions.
 "editor.codeActionsOnSave": {
    "source.fixAll": "explicit"
  }

or you can set a custom key binding to format the code.
{
    "key": "cmd+shift+a",
    "command": "editor.action.codeAction",
    "args": {
        "kind": "source.fixAll.sort-json"
    }
}


Backend: Error

.
Screenshots

Do you want to work on this issue - [Yes]

I am working on this @Subham142


Graded HW 2.

@QuinnZel This PR resolves Issue #9 with your grade available on canvas.

@QuinnZel Can you merge in this PR to make my bookkeeping a little easier?


Magic link in a verification email

User Story
Many web applications require users to verify their email addresses, this is particularly helpful when I have forgotten my password to login or 2FA. As a newly registered user, I would like to receive an automatic email containing an email verification link.
Proposed Solution
Add email verification during login and registration/application submission as a safety check
Ideal deadline
April 2023

As discussed on the call, we want to skip 2FA setup/verification for submission form pages.

Resolved with this PR https://github.com/HyphaApp/hypha/pull/3531


Wait for board to enter flashing mode

Some boards have hard buttons to manually switch to flashing mode. In that case, espmonitor often fails because it doesn't wait for human to press the button.
Please support this case.

Now that #92 has been merged espflash will make multiple connection attempts, so this should give you a chance to press the BOOT button.
If you feel this issue is still not resolved please feel free to re-open it explaining why!


Config flag conf["viur.bone.date.localize"] to globally define localize-flag of DateBone

This is an idea with a useful context.
Currently, localize defaults to False and must explicitly be set on a DateBone.
creationdate and changedate are never localized, but could be using such a flag.
conf["viur.bone.date.localize"] = True

would make all DateBone(date=True, time=True) localized, when not explicitly switched True or False on the bone.

VIUR meetup 2022-12-09: Why not localize=True all DateBones by default?


Error when installing Tundra Exploration

CKAN vers. 1.26.2
KSP vers. <IP_ADDRESS>6
Operating System: Windows 7 Professional Service Pack 1
NO manual changes to GameData
Affected mod: "Tundra Exploration - Stockalike Dragon V2 and Falcon 9" (Identifier: TundraExploration)
What steps did I take?

Checked the mod in CKAN to install
Follow all the steps to install, "Apply Changes" followed by "Apply" on the next screen
Progress bar goes all the way to 100% before Error 1 appears.
Pressing "Dismiss" is the only option, which brings us to Error 2.

You'd expect it to install the mod with no questions asked. However, it seems something goes awry that forces forces the program to halt. Pressing "Continue" on Error 2 leaves the window up but renders buttons, menus, etc inoperable.
EXTRA INFO: I should note I have 1.6 set in Compatible Versions as well.
EXTRA INFO 2: It seems to pick on Tundra specifically. I can install the dependencies and supported mods with no problem.
Error 1 Screenshot Text
CKAN.InvalidModuleFileKraken: TundraExploration 1.5.0: C:\Users\Dell-XPS\AppData\Local\Temp\tmp4E65.tmp has length 135760085, should be 135760122
   at CKAN.NetModuleCache.Store(CkanModule module, String path, String description, Boolean move)
   at CKAN.NetAsyncModulesDownloader.ModuleDownloadsComplete(NetModuleCache cache, Uri[] urls, String[] filenames, Exception[] errors)

Error 2 Screenshot Text
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
CKAN.FileNotFoundKraken: Trying to install TundraExploration 1.5.0, but it's not downloaded or download is corrupted
   at CKAN.ModuleInstaller.Install(CkanModule module, String filename)
   at CKAN.ModuleInstaller.InstallList(ICollection`1 modules, RelationshipResolverOptions options, IDownloader downloader, Boolean ConfirmPrompt)
   at CKAN.Main.InstallMods(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

This release was most likely reuploaded, thus changing the file size.
Since this is the latest release, we need to remove the cached zip, right @HebaruSan?
@techman83

A few questions myself.
Would you like me to try and get in contact with the mod author? Or is this solely something to do with CKAN's internal workflow?
Also, more of a question out of curiosity since I like to know how things work. I assume this is a security function? To keep the program from delivering the wrong file?

Would you like me to try and get in contact with the mod author? Or is this solely something to do with CKAN's internal workflow?

Well, this time it "has already happened", so nothing the mod author can do now.
We now need to update the metadata of the mod to take over the new file size and hashes.
But we can't just change the file, because our bot, used to scan for new mod releases, would overwrite it again, because he has the old zip in his cache.
You could, if you want, advise the author, that to keep the download via CKAN from breaking, he should always release updates as a new version (even if it's just a one line change).

Also, more of a question out of curiosity since I like to know how things work. I assume this is a security function? To keep the program from delivering the wrong file?

You can read through here https://github.com/KSP-CKAN/CKAN/issues/62 and here https://github.com/KSP-CKAN/CKAN/issues/77. It's a mix of security and download validation/integrity.
Furthermore, I think the hashes are used for the mirroring of FOSS licensed mods to archive.org too: https://github.com/KSP-CKAN/CKAN/issues/1682 and https://github.com/KSP-CKAN/CKAN/pull/1710

I tried echo

Try echo -n. echo appends a line break by default.

Possibly fixed in KSP-CKAN/CKAN-meta#1475, although I expect the bot to fight us on this.

Hmm, I actually don't see it cached.
netkan@ckan-bot:~$ find . -name *Tundra*zip
./Cache/D0EABB61-netkan-TundraTechnologies.zip
./Cache/2A9F6D08-netkan-TundraSpaceCenter.zip
./Cache/95145431-netkan-TundraTechnologies.zip

Assuming the cache expired since this and in the next run it'll update the metadata.

This mod shares its download with TundraTechnologies; this one is the problem:

./Cache/95145431-netkan-TundraTechnologies.zip

Oh right! Thanks for pointing that out.
netkan@ckan-bot:~/Cache$ rm -v *TundraTec*
removed ‘95145431-netkan-TundraTechnologies.zip’
removed ‘D0EABB61-netkan-TundraTechnologies.zip’

Fixed KSP-CKAN/CKAN-meta@03f93516fec6327e69117b88f74457490fbde8a3

Ah, it was the TundraTechnologies zip! I wondered why I couldn't find the cached file.

I thought we'd fixed the bot to replace the cached file when it changes?

I thought we'd fixed the bot to replace the cached file when it changes?

Only on GitHub, not SpaceDock. GitHub's API provides the timestamps, SD's doesn't.


image_picker video recording length

Hello, is there any way to record only 10 seconds? Thanks

You can play 10 second video with this flutter library:
https://pub.dev/packages/video_player
https://github.com/flutter/plugins/tree/master/packages/video_player
and do you want to record the video of your app screen and save it to phone ?

I want to record only 10 seconds.

This feature is added in https://github.com/flutter/plugins/pull/2643 with image_picker 0.6.5. Closing the issue.


more unittests, fewer builds

Proposed change

More unittests, fewer full-builds
Related to #744 about slow tests, one thing we can do is test more functionality with unittests instead of full builds. Our default mechanism for testing functionality is to create a sample repo and build it. This covers specific functionality, but also covers way more than what's being tested most of the time, and is largely the reason why our test suite takes so long (currently over three hours on Travis).
A good example of this is pipfiles, which run ten separate builds, but most are testing small conditions that should probably be reduced to unittests. The same likely goes for conda.
Alternative options

Make full builds much faster.
Who would use this feature?

Everyone who contributes to repo2docker.
How much effort will adding it take?

This is an ongoing effort. Some updates can be small (i.e. look at a test repo and ask: "does this need to be a full build?"), but making the full test suite smaller is a big task. Any incremental improvement is worthwhile.
Who can do this work?

Anyone with an understanding of writing unittests with pytest and sufficient knowledge of BuildPacks to see what's being tested by a given build and whether it can be tested directly, without a full build.

One reason for creating a "full build test" is that creating a small test for that feature often requires a mock or some kind of "fake this functionality". If you look at something and think "this could be a unittest but it depends on this other thing (we'd need to fake)" starting a PR would already be good. Maybe we can find someone who can help with the mock or find a similar unittest where we have an example of how to mock things.

The main thing to mock, I think, is creating a test repo directory. Since most of our units are pretty standalone methods that return containers of strings based on directory contents, I don't think we need a lot of mocking for unittests.
The critical thing that's hard is that skipping the docker build step skips validating that directives are executed correctly with the right permissions. So we can't get rid of too many of our builds (at least one per buildpack and base env).
Pipfile's a good example to start with because it has good test coverage, but many of the tests can be implemented as unittests instead.


[redfish] Should 404 invalid schema uri

@RackHD/corecommitters @uppalk1 @tannoa2 @keedya

*** BUILD #997 ***
Test Name: test_node_workflows_del_active
Error Details: (500)
Reason: Internal Server Error
HTTP response headers: HTTPHeaderDict({'Content-Length': '55', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"37-WJUlZVxkoNV/UlQPq4oJtw"', 'Date': 'Thu, 21 Apr 2016 13:10:50 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"Failed to cancel 5718d1562c84fac0cb53c6bc"}

-------------------- >> begin captured logging << --------------------
urllib3.connectionpool: WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine("''",))': /api/1.1/nodes
urllib3.connectionpool: INFO: Starting new HTTP connection (11): localhost
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/on-http/RackHD/test/tests/api/v1_1/nodes_tests.py", line 376, in test_node_workflows_del_active
    raise e
'(500)\nReason: Internal Server Error\nHTTP response headers: HTTPHeaderDict({\'Content-Length\': \'55\', \'X-Powered-By\': \'Express\', \'Connection\': \'keep-alive\', \'ETag\': \'W/"37-WJUlZVxkoNV/UlQPq4oJtw"\', \'Date\': \'Thu, 21 Apr 2016 13:10:50 GMT\', \'Access-Control-Allow-Origin\': \'*\', \'Content-Type\': \'application/json; charset=utf-8\'})\nHTTP response body: {"message":"Failed to cancel 5718d1562c84fac0cb53c6bc"}\n\n-------------------- >> begin captured logging << --------------------\nurllib3.connectionpool: WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by \'ProtocolError(\'Connection aborted.\', BadStatusLine("\'\'",))\': /api/1.1/nodes\nurllib3.connectionpool: INFO: Starting new HTTP connection (11): localhost\n--------------------- >> end captured logging << ---------------------'

Test Name: pollers_data_get
Error Details: Condition was True.
Stack Trace: Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/on-http/RackHD/test/tests/api/v2_0/pollers_tests.py", line 157, in pollers_data_get
    assert_false(poller.get('lastFinished', False))
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/asserts.py", line 67, in assert_false
    raise ASSERTION_ERROR(message)
AssertionError: Condition was True.

test this please

*** BUILD #999 ***
Test Name: test_node_workflows_del_active
Error Details: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Content-Length': '78', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"4e-PRRvD56Gs+cK6cmdVBjtqw"', 'Date': 'Thu, 21 Apr 2016 13:45:05 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"TaskCancellationError: Failed to cancel 5718d95da37637c65c3df65b"}

Stack Trace: Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/on-http/RackHD/test/tests/api/v2_0/nodes_tests.py", line 340, in test_node_workflows_del_active
    raise e
ApiException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Content-Length': '78', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"4e-PRRvD56Gs+cK6cmdVBjtqw"', 'Date': 'Thu, 21 Apr 2016 13:45:05 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"TaskCancellationError: Failed to cancel 5718d95da37637c65c3df65b"}


[admin] Publish

Docs Build status updates of commit b463ea9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/excel/excel-add-ins-pivottables.md
:white_check_mark:Succeeded
View

docs/images/pivottable-object-model.png
:white_check_mark:Succeeded
View

docs/images/pivottable-object-model.vsdx
:white_check_mark:Succeeded

docs/includes/outlook-loopback-exemption.md
:white_check_mark:Succeeded
View

docs/outlook/autolaunch.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

docs/word/null-values.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


fix(deps): update kubernetes packages to v0.26.7 (patch) - abandoned

This PR contains the following updates:

Package
Type
Update
Change

k8s.io/api
require
patch
v0.26.6 -> v0.26.7

k8s.io/apiextensions-apiserver
require
patch
v0.26.6 -> v0.26.7

k8s.io/apimachinery
require
patch
v0.26.6 -> v0.26.7

k8s.io/client-go
require
patch
v0.26.6 -> v0.26.7

k8s.io/code-generator
require
patch
v0.26.6 -> v0.26.7

Release Notes

kubernetes/api (k8s.io/api)
v0.26.7
Compare Source

kubernetes/apiextensions-apiserver (k8s.io/apiextensions-apiserver)
v0.26.7
Compare Source

kubernetes/apimachinery (k8s.io/apimachinery)
v0.26.7
Compare Source

kubernetes/client-go (k8s.io/client-go)
v0.26.7
Compare Source

kubernetes/code-generator (k8s.io/code-generator)
v0.26.7
Compare Source

Configuration
📅 Schedule: Branch creation - "on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Autoclosing Skipped
This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.


Issues with generating links into pivot

Hi, I'm trying to generate links into pivot by posting to /mkurl according to here (https://github.com/implydata/pivot/blob/master/docs/generating-links-into-pivot.md)
Each time, it's responding with our configuration information instead of a url.
How can I troubleshoot this? Or can you let me know under which circumstances that this would happen?

omg what?! that is so bizarre. what configuration info?
Is it responding with the HTML page (that contains a __CONFIG__) variable?
What version of Pivot are you running?

yes, I meant it's responding with the HTML page.
I'm currently running on 0.9.10

when its responding with the HTML page, what does it mean? am i inputting an incorrect JSON for the POST request?

Ok there seems to be a bug that if you input invalid JSON it gives you pack the error HTML page instead of a json friendly page. I have also updated the example a little: https://github.com/implydata/pivot/blob/master/docs/generating-links-into-pivot.md
Can you post the specifics of what you are sending and what you are getting back?

Hi,
We tried to post to our host 'http://pivot.triplelift.net/mkurl' with the JSON object below.
{   "domain": "http://pivot.triplelift.net",   "dataSource": "main_daily_prod_v2",   "essence": {     "visualization": "table",     "timezone": "Etc/UTC",     "filter": "$__time.in(\"2015-09-10Z\", \"2015-09-20Z\")",     "splits": ["domain"],     "singleMeasure": "clicks",     "selectedMeasures": ["clicks", "total_imps", "sold_imps"],     "pinnedDimensions": [],     "multiMeasureMode": true   } }
Instead of an error page, we still get back an html page with the CONFIG variable. See below.
`

Pivot (0.9.10)

`
Are we missing anything in the body of the POST request? Do we need to make any modifications to our config.yaml file to get the result?

Thank you for the detailed info. It looks like Pivot is getting a 404 on the /mkurl route and redirecting you to / the HTML you see is the Pivot page itself. I just went to http://pivot.triplelift.net/ and it appears to be behind a ngix proxy with basic auth - I wonder if that has something to do with it.
Were you posting to http://pivot.triplelift.net/mkurl or to the internal IP of that machine? did you include a basic auth header on your post?

I was posting to http://pivot.triplelift.net/mkurl and I did include a basic auth header.
What do you mean by Pivot is getting a 404 on the /mkurl ? It means


Sensitive object redaction

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
Users often enter PII and sensitive information, such as passwords, social security numbers, and the like.
Proposal
I propose a decorator that can be applied to sensitive objects that prevent them from being logged in any form.

Hi @hanskokx. Thanks for proposing this. Please can you provide more details on this, preferably examples or do you mean decorator in terms of obscure as in password fields?

Currently, this is what you see:
class Credentials {
  final String username;
  final String password;

  Credentials({
    required this.username,
    required this.password,
  });

  Map<String, String> toJson() => {'username': username, 'password': password};

  @override
  String toString() => toJson().toString();
}

final Credentials myCredentials = Credentials(
  username: "hans",
  password: "password",
);

print(myCredentials);

I/flutter (10392): {username: hans, password: password}
What I'm proposing is adding a new decorator or keyword, like this:
class Credentials {
  final String username;
  final String password;

  Credentials({
    required this.username,
    sensitive required this.password,
  });
...

So, at a system level when you try to log/print the parameter, you'd see something like this:
I/flutter (10392): {username: hans, password: <SENSITIVE>}

Hi @hanskokx. I think this feature request seems to be related to Dart itself, so the correct repo to file an issue for it is https://github.com/dart-lang/sdk/issues
I'd be closing this from here.
Thank you!


Add/providerconfig management

Checklist

[ ] The PR has a meaningful title. It will be used to auto generate the
changelog.
The PR has a meaningful description that sums up the change. It will be
linked in the changelog.
[ ] PR contains a single logical change (to build a better changelog).
[ ] Categorize the PR by adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog.
[ ] Link this PR to related issues or PRs.

Closing in favour of #494


Callback for PeerConnection Disconnected

Describe the problem
There is no callback\Event for if peerconnection has been disconnected. We can surely handle it by checking isConnected parameter in a thread but a callback for disconnection will be a good feature.
Describe the solution you'd like
A callback\Event for Handling PeerConnection Disconnection.
Describe alternatives you've considered
Currently, I am running a Coroutine to check if the isConnected parameter returns true.

See https://github.com/microsoft/MixedReality-WebRTC/issues/559#issuecomment-687196417 - you can use PeerConnection.IceStateChanged instead.


Support number formatting of user-defined numeric types

It would be good to be able to use Intl.NumberFormat on user-defined numeric types. Int64 (especially in JS) and a Decimal type are good examples.  Right now Int64 is missing some of the formatting operations, and there's also the issue that user types can't implement num, int, or double.
The thought is that it should be possible to separate out an object that can extract the digits from a number into a standard form and provide an interface for that. The formatting code can then be simplified by already knowing the list of digits and only needing to worry about character substitutions and formatting. User-defined types can define their extractors, and the formatter knows about them because <mumble, hand-wave>. This might also allow more efficient implementations for some types, e.g. for VM ints we might be able to just post-process the system's toString().
I can imagine issues, e.g. rounding rules if the format specifies fewer digits than the user-defined type has, but it might still be workable.

This issue has been moved to dart-lang/intl#64.


Integrate Angular2 form validation functionality

@NicholasAzar,  How to display the validation errors ?

Hello @JulioWar, i'll get an example up for you in a sec.


Issue #5 resolved

Make the ball bounce when wall is encountered, achieved.

Hi @akshatbhargava123, Thanks for joining in.
Please update your Pull Request as per the new template for your request to be considered.


Enable the KeepAlive responder

Enable the responder side of the KeepAlive protocol for NodeToNodeV_2.
This makes it possible to take advantage of the KeepAlive protocol as soon as the initiator side is ready instead of having to wait for a new protocol version to be deployed.

Can you document here that NodeToNodeV_2 enables the KeepAlive protocol?

bors r+


Inform user that partitions are not to be executed alone

https://github.com/aeronautical-informatics/apex-linux/blob/3a503936950c6e47ac293481f1ff78a87a80b89a/partition/src/lib.rs#L28
panics if one tries to execute a partition freestanding, without the hypervisor:
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: TypedError { err: PartitionInit, source: environment variable not found }', /sources/apex-rs-linux-0.1.0-main/src/lib.rs:28:45
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
zsh: IOT instruction (core dumped)  result/bin/taws

Maybe it would be clever to print a message to the user, explaining briefly what to do instead (run the partition through the hypervisor).

We should make sure the environment is checked as early as possible. Doing this lazily might not be the right way, since it's harder to find a condition in which it is save to abort the execution of the partition later, than earlier.

How does one execute a parition freestanding in the first place? The partition crate is a library crate, isn't it? And running the partition binary stand-alone results in an infinite running process but not in an error (on my machine).

I also can not reproduce the crash, same as @emilengler. Tested with the echo example and another partition. I'd like to close the issue as non-relevant.

How does one execute a parition freestanding in the first place? The partition crate is a library crate, isn't it? And running the partition binary stand-alone results in an infinite running process but not in an error (on my machine).

The partition images are just normal executables, statically linked. You can totally just execute them like ./partition-image.

I also can not reproduce the crash, same as @emilengler. Tested with the hello example and another partition. I'd like to close the issue as non-relevant.

I'm wondering then, what behavior do you see when directly executing a partition?

Could I maybe provide a backtrace?

Not really.
Priority lies with #47 rn.
Because we are going to use ptrace(2) for hypervisor/partition communication, we will probably remove the Lazy statics in partitions as well.
This Issue will be addressed after #47 resolved.


Fix bug in attest-blob when using a timestamp authority with new bundles

Summary

Fix bug in #3752
When adding bundle support to attest-blob, we sent the wrong data to the timestamp authority to sign.
You can test this by first attesting to a blob with a timestamp authority and a predicate with something like:
$ go run cmd/cosign/main.go attest-blob --bundle="attest-pgi.sigstore.json" --new-bundle-format=true --key=cosign.key --tlog-upload=false --timestamp-server-url="https://timestamp.githubapp.com/api/v1/timestamp" --tlog-upload=false --type=something --predicate="../sigstore-go/examples/sigstore-go-signing/intoto.txt" ../sigstore-go/examples/sigstore-go-signing/hello_world.txt

Then the verification which previously failed (and now succeeds) looks like:
$ go run cmd/cosign/main.go verify-blob-attestation --trusted-root=trusted_root_with_timestamps.public.json --use-signed-timestamps=true --insecure-ignore-tlog=true --key=cosign.pub --bundle="attest-pgi.sigstore.json" --new-bundle-format=true --type=something ../sigstore-go/examples/sigstore-go-signing/hello_world.txt

Release Note

Fixed bug that created bundles with incorrect signed timestamps when attest-blob was used with new bundles

Documentation

N/A

Could you test that this doesn't break the existing verification flows for verify-attestation and verify-blob-attestation without using sigstore-go? I think we might have overloaded sig in a few places such that the verifier is expecting the DSSE envelope to have been signed over rather than the DSSE's sig, but I haven't dug in closely yet.

Grumble grumble, this will affect verification for non-bundle flows, see https://github.com/sigstore/cosign/blob/780780b11e0998512c034317fd7e98776153e59d/pkg/cosign/verify.go#L1140-L1154. We verify using either the signature or the signed payload.


uninitialized constant ActiveRecord::VERSION (NameError)

I installed the gem
Gemfile
gem 'activerecord-nulldb-adapter'
and required it in spec/spec_helper.rb
require 'nulldb_rspec'
include NullDB::RSpec::NullifiedDatabase

I get this error when running rspec spec
/usr/local/lib/ruby/gems/2.2/gems/activerecord-nulldb-adapter-0.3.7/lib/nulldb/extensions.rb:36:in `<module:ActiveRecord>': uninitialized constant ActiveRecord::VERSION (NameError)
        from /usr/local/lib/ruby/gems/2.2/gems/activerecord-nulldb-adapter-0.3.7/lib/nulldb/extensions.rb:34:in `<top (required)>'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:69:in `require'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:69:in `require'
        from /usr/local/lib/ruby/gems/2.2/gems/activerecord-nulldb-adapter-0.3.7/lib/active_record/connection_adapters/nulldb_adapter.rb:10:in `<top (required)>'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:69:in `require'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:69:in `require'
        from /usr/local/lib/ruby/gems/2.2/gems/activerecord-nulldb-adapter-0.3.7/lib/nulldb_rspec.rb:1:in `<top (required)>'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:128:in `require'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:39:in `require'
        from /home/jasper/netmon/spec/spec_helper.rb:1:in `<top (required)>'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1394:in `block in requires='
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1394:in `each'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1394:in `requires='
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/configuration_options.rb:112:in `block in process_options_into'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/configuration_options.rb:111:in `each'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/configuration_options.rb:111:in `process_options_into'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/configuration_options.rb:21:in `configure'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:99:in `setup'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:86:in `run'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/exe/rspec:4:in `<top (required)>'
        from /usr/local/bin/rspec:23:in `load'
        from /usr/local/bin/rspec:23:in `<main>'

rails version 4.2.4

adding require 'active_record/version' to spec_helper.rb resolves the above error, but then I get this:
/usr/local/lib/ruby/gems/2.2/gems/activerecord-nulldb-adapter-0.3.7/lib/nulldb/extensions.rb:36:in `public_send': undefined method `[]' for ActiveRecord::Migration:Class (NoMethodError)
        from /usr/local/lib/ruby/gems/2.2/gems/activerecord-nulldb-adapter-0.3.7/lib/nulldb/extensions.rb:36:in `<module:ActiveRecord>'
        from /usr/local/lib/ruby/gems/2.2/gems/activerecord-nulldb-adapter-0.3.7/lib/nulldb/extensions.rb:34:in `<top (required)>'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:69:in `require'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:69:in `require'
        from /usr/local/lib/ruby/gems/2.2/gems/activerecord-nulldb-adapter-0.3.7/lib/active_record/connection_adapters/nulldb_adapter.rb:10:in `<top (required)>'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:69:in `require'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:69:in `require'
        from /usr/local/lib/ruby/gems/2.2/gems/activerecord-nulldb-adapter-0.3.7/lib/nulldb_rspec.rb:1:in `<top (required)>'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:128:in `require'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:39:in `require'
        from /home/jasper/netmon/spec/spec_helper.rb:2:in `<top (required)>'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /usr/local/lib/ruby/2.2/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1394:in `block in requires='
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1394:in `each'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1394:in `requires='
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/configuration_options.rb:112:in `block in process_options_into'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/configuration_options.rb:111:in `each'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/configuration_options.rb:111:in `process_options_into'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/configuration_options.rb:21:in `configure'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:99:in `setup'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:86:in `run'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
        from /usr/local/lib/ruby/gems/2.2/gems/rspec-core-3.5.4/exe/rspec:4:in `<top (required)>'
        from /usr/local/bin/rspec:23:in `load'
        from /usr/local/bin/rspec:23:in `<main>'

It is probably related to this change I made earlier:
https://github.com/nulldb/nulldb/commit/8df52449251fdc30b40e4e9c4363bb2bc595969b
I know what happens but don't understand why it happens yet. So you are using Rails 4, and I assume ActiveRecord 4 and not 5 right?

Yes, that's right.  I'm using 4.2.4.  Would pinning the gem version for nulldb work?

@edwardmp @jshumakerpruitt If I read that line of code correctly it's hitting the case where ActiveRecord::VERSION::MAJOR == 5.
It would be good if @jshumakerpruitt can edit the source code (/usr/local/lib/ruby/gems/2.2/gems/activerecord-nulldb-adapter-0.3.7/lib/nulldb/extensions.rb Line 36) and do some debug statements (puts or byebug) and verify what "ActiveRecord::VERSION" thinks it is.

@mnoack
Exactly my thoughts, however it might be easier for @jshumakerpruitt to just execute ActiveRecord::VERSION::MAJOR in the Rails console and report back what it returns.

[2] pry(main)> ActiveRecord::VERSION::MAJOR
=> 4

@jshumakerpruitt
thanks
@mnoack
This is really weird. How on earth could it evaluate to the case for AR 5 then?

Same problem here. Using Rails 5.1.1 with Ruby 2.4.1.

@jshumakerpruitt which Ruby version are you using?

@edwardmp ruby 2.2.6p396

I had these same errors. I moved the two lines from the suggested spec_helper.rb into rails_helper.rb, immediately after the requires of spec_helper and the environment file, like so:
require 'spec_helper'
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)

require 'nulldb_rspec'
include NullDB::RSpec::NullifiedDatabase

Then it worked! I assume it's because it needed to run after Rails' files had been required, otherwise the ActiveRecord classes aren't available yet.
(I'm running Ruby 2.3.3 and Rails 5.1.4, FWIW.)

Nice catch, @Arthaey.  I required and included the nulldb rspec stuff in an individual spec file and it worked fine.  I agree that the problem seems to be with the order of when the files are required.

Sorry all that I haven't had the time to solve this, but I welcome any PR that fixes this for someone that does have the time.

In my case, adding require 'active_record' before require 'nulldb_rspec' worked for me. You are welcome :)


[WiP] Document development setup

To help new people get set up for local development on PVB more easily - this
needs testing, the gaps filling in and writing up a bit more clearly, but it's
a start...

@StupidCodeFactory - I recommend this PR is closed as it has been superseded by https://github.com/ministryofjustice/prison-visits-2/pull/1501


Fix: Normal operation & Shaking when Resize

Closes #3972

Closes #4022

Closes #4070

Closes #4040

Closes #4043

Closes #4054

After (v0.25.0), the part that always seemed to call 'request_repaint()' was changed to repaint only when an event occurs.
Based on examples/multiple_viewports, all fixed to work properly.
wgpu only tested examples/multiple_viewports, so additional testing on your part is needed.

run.rs
170 lines
                if cfg!(target_os = "windows") {
                    winit_app.run_ui_and_paint(event_loop_window_target, window_id);
                }

to
                    winit_app.run_ui_and_paint(event_loop_window_target, window_id);

To change, testing is required outside of Windows.

run.rs
170 lines
                if cfg!(target_os = "windows") {
                    winit_app.run_ui_and_paint(event_loop_window_target, window_id);
                }

to
                    winit_app.run_ui_and_paint(event_loop_window_target, window_id);

If you make changes like the above, you will need to test Resize outside of Windows.

run.rs
170 lines AND 334 lines
                if cfg!(target_os = "windows") {
                    winit_app.run_ui_and_paint(event_loop_window_target, window_id);
                }

to
                    winit_app.run_ui_and_paint(event_loop_window_target, window_id);

If you make changes like the above, you will need to test Resize outside of Windows.

Requests for Everyone :

Request for additional testing on wgpu.

Request for additional testing on non-Windows environments.

Request to investigate why the close button in Deferred Viewport does not immediately close the viewport.
This issue seems to be specific to emilk's work.
(Reference : eframe/src/native/glow_integration.rs line 760)

@emilk
If it is a Deffered Viewport and you continue to request_repaint(),
Regarding the problem of not ending immediately,
When terminated, we made it minimized() to create a terminated effect.
In all cases, it appears to end with minimized(), and the visual effect seems to be good.

If it is a Deffered Viewport and you continue to request_repaint(),
Regarding the problem of not ending immediately,
When terminated, we made it minimized() to create a terminated effect.
But still, depending on the situation like Deffered Viewport, Immediate Viewport, wgpu, glow etc.
There may be cases where it does not end immediately.

closes #3811

If it is a Deffered Viewport and you continue to request_repaint(),
Regarding the problem of not ending immediately,
When terminated, we made it minimized() to create a terminated effect.
But still, depending on the situation like Deffered Viewport, Immediate Viewport, wgpu, glow etc.
There may be cases where it does not end immediately.

@emilk
Dear emilk.
This is what I have done so far. Please review.

@emilk
Dear emilk.
This is what I have done so far. Please review.

@emilk
Dear emilk.
This is what I have done so far. Please review.

@emilk
Dear emilk.
This is what I have done so far. Please review.


[core] Remove getSlotOwnerState from useSlot util

I couldn’t find any instances of getSlotOwnerState in the Material UI package.

Can this be reviewed?

Sorry for the delay @ZeeshanTamboli, this looks good to me.
@siriwatknp, what do you think? This was used in Joy for the Autocomplete and Select components. Do you think we'll need it in Material?

Not sure but it can be removed if it's not used.


Richard Schneider's Windows development fixes

This cherry picks, squashes and rebases on current master @richardschneider Windows development fixes in #26.

Hi @richardschneider: I've created this PR with your contributions in #26 which I've closed in favour of this. Can you please test on your Windows environment and see if everything works as expected? Thanks!

This looks good, I'm going to merge it :+1:


[BUG] GoogleCloudStorageBlobContainerRetriesTests.testWriteLargeBlob is flaky

https://build.ci.opensearch.org/job/gradle-check/29591/
Possibly related - https://github.com/opensearch-project/OpenSearch/issues/6090

@BhumikaSaini-Amazon , can you please take this up ?

Taking a look

The test did not get reproduced after 7000+ runs, so closing the issue. Please feel free to reopen if the issue is found again.


Rack 2.0.1 breaks bundle install

As Rack 2.0.1 now requires Ruby 2.2.2, the converging with the lita-cookbook fails:
================================================================================
           Error executing action `run` on resource 'execute[bundle-install-lita]'
           ================================================================================

           Mixlib::ShellOut::ShellCommandFailed
           ------------------------------------
           Expected process to exit with [0], but received '5'
           ---- Begin output of bundle install --path vendor/ --binstubs bin ----
           STDOUT: Fetching gem metadata from https://rubygems.org/.........
           Fetching version metadata from https://rubygems.org/..
           Resolving dependencies...
           Using bundler 1.12.5
           Installing chronic 0.10.2
           Installing multi_json 1.12.1
           Installing eventmachine <IP_ADDRESS> with native extensions
           Installing multipart-post 2.0.0
           Installing websocket-extensions 0.1.2
           Installing rack 2.0.1

           Gem::InstallError: rack requires Ruby version >= 2.2.2.
           Installing i18n 0.7.0
           Installing ice_nine 0.11.2
           Installing json 2.0.1 with native extensions
           Installing mixlib-shellout 2.2.6
           Installing mini_portile2 2.1.0
           Installing pkg-config 1.1.7
           Installing socksify 1.7.0
           Installing terminal-table 1.6.0
           Installing thor 0.19.1
           Installing puma 3.4.0 with native extensions
           Installing rb-readline 0.5.3
           Installing redis 3.3.0
           Installing ruby_cowsay 0.1.1
           Installing dogapi 1.22.0
           Installing faraday 0.9.2
           Installing websocket-driver 0.6.4 with native extensions
           An error occurred while installing rack (2.0.1), and Bundler cannot continue.
           Make sure that `gem install rack -v '2.0.1'` succeeds before bundling.
           STDERR:
           ---- End output of bundle install --path vendor/ --binstubs bin ----
           Ran bundle install --path vendor/ --binstubs bin returned 5

           Cookbook Trace:
           ---------------
           /tmp/kitchen/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:41:in `run_action'
           /tmp/kitchen/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:49:in `block in run_action'
           /tmp/kitchen/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:47:in `each'
           /tmp/kitchen/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:47:in `run_action'

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/lita/recipes/install.rb

            76: execute "bundle-install-lita" do
            77:   action :nothing
            78:   command "bundle install --path vendor/ --binstubs bin"
            79:   cwd node["lita"]["install_dir"]
            80:   user node["lita"]["daemon_user"]
            81:   notifies :run, "execute[chown-cleanup]", :immediately
            82:   notifies :restart, "service[lita]"
            83: end
            84:

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/lita/recipes/install.rb:76:in `from_file'

           execute("bundle-install-lita") do
             action [:nothing]
             retries 0
             retry_delay 2
             default_guard_interpreter :execute
             command "bundle install --path vendor/ --binstubs bin"
             backup 5
             cwd "/opt/lita"
             returns 0
             user "nobody"
             declared_type :execute
             cookbook_name "lita"
             recipe_name "install"
           end

           Platform:
           ---------
           x86_64-linux

       Recipe: ntp::default
         * service[ntp] action restart
           - restart service service[ntp]
       Recipe: ntp::apparmor
         * service[apparmor] action restart
           - restart service service[apparmor]
       Recipe: jenkins::_master_war
         * runit_service[jenkins] action restart (up to date)
       Recipe: <Dynamically Defined Resource>
         * service[lita] action restart

           ================================================================================
           Error executing action `restart` on resource 'service[lita]'
           ================================================================================

           Mixlib::ShellOut::ShellCommandFailed
           ------------------------------------
           Expected process to exit with [0], but received '1'
           ---- Begin output of /usr/bin/sv restart /etc/service/lita ----
           STDOUT: fail: /etc/service/lita: unable to change to service directory: file does not exist
           STDERR:
           ---- End output of /usr/bin/sv restart /etc/service/lita ----
           Ran /usr/bin/sv restart /etc/service/lita returned 1

           Cookbook Trace:
           ---------------
           /tmp/kitchen/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:41:in `run_action'

           Compiled Resource:
           ------------------
           # Declared in

           service("lita") do
             provider Chef::Provider::Service::Simple
             action [:nothing]
             supports {:restart=>true, :reload=>true, :status=>true}
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             service_name "lita"
             pattern "lita"
             start_command "/usr/bin/sv start /etc/service/lita"
             stop_command "/usr/bin/sv stop /etc/service/lita"
             status_command "/usr/bin/sv status /etc/service/lita"
             restart_command "/usr/bin/sv restart /etc/service/lita"
           end

           Platform:
           ---------
           x86_64-linux
1 Comment Collaps

Freezing the Rack version in the /opt/lita/Gemfile does the trick:
$ cat /opt/lita/Gemfile
source "https://rubygems.org"

gem "rack", "1.6.4"
gem "lita", "~> 4.7.0"

gem "lita-slack"

Hi there - Thanks for the report. Sorry for the delay, I was out of town.
Unfortunately, I can't think of a perfect fix for this.
I think the good news is that likely only affects people that use the "auto" value of default["lita"]["ruby_install_type"]. That is, folks who control their own ruby version are likely to also control their own Gemfile template and/or control tightly the default["lita"]["gems"] attribute.
The bad news is those who use the "auto" value are the ones I'm most concerned about.
Here's the ideas I considered and discarded:

Pinning rack in the default["lita"]["gems"] attribute. This would work in some scenarios (like using all defaults) but if anyone overrode that value in roles or wrappers, they'd have to know to add the rack dependency to their list too ... which has us back to this problem.

Doing some sort of "smart-ish" default where if the ruby version was "auto" then determine if the latest version of ruby is 2.2.2 or greater and then just add into the gems attribute there. This seems like the closest fit, but it also seems like it's pretty hackish. (this cookbook already has it's fair share of hackery 😄 ) And if we did, we'd probably want to bump the minor version just in case someone was betting on the current default "auto" ruby versions.

Just making the default "auto" ruby version for everything to be 2.2.2 or higher. I think we should do this, but we'd probably need to bump (at least) the minor version for that.

Just document it on the README and release a PATCH so that it shows up on Supermarket, etc.

I think 3 and 4 are no-brainers. I'd like to think about 2 a little more.
And, of course, any input on this is greatly appreciated.

It looks like @jimmycuadra has changed the Gemfile in Lita for the next release that will handle the Rack issue ... so I'm not going to change anything here after all.
https://github.com/litaio/lita/commit/fda3a80f73c31975cd32cb45e6a0f1499b401a7e


HSEARCH-3240 Use the pre-installed JDK in the Travis build instead of trying to update it in each build

https://hibernate.atlassian.net//browse/HSEARCH-3240

Merged following the discussion on #1710


Some SimpleJIT improvements

Follow up to #2249. This re-introduces the finalize_definitions and get_finalized_* methods, but only for SimpleJIT. This also implements Linkage::Preemptible for SimpleJIT.

r? @pchickey

I noticed that the stack map code in SimpleJIT doesn't export anything to the user. Should I remove it or make it accessible to the user?

"CI / Test x64 new backend" failure is unrelated I think:

error[E0277]: the trait bound `wiggle_generate::config::Paths: syn::parse::Parse` is not satisfied
   --> crates/wiggle/wasmtime/macro/src/config.rs:53:50
    |
53  |             Ok(ConfigField::Witx(WitxConf::Paths(input.parse()?)))
    |                                                  ^^^^^^^^^^^^^^ the trait `syn::parse::Parse` is not implemented for `wiggle_generate::config::Paths`
    |
help: trait impl with same name found
   --> /home/runner/work/wasmtime/wasmtime/crates/wiggle/generate/src/config.rs:182:1
    |
182 | / impl Parse for Paths {
183 | |     fn parse(input: ParseStream) -> Result<Self> {
184 | |         let content;
185 | |         let _ = bracketed!(content in input);
...   |
200 | |     }
201 | | }
    | |_^
    = note: perhaps two different versions of crate `syn` are being used?

error[E0277]: the trait bound `wiggle_generate::config::Literal: syn::parse::Parse` is not satisfied
   --> crates/wiggle/wasmtime/macro/src/config.rs:57:52
    |
57  |             Ok(ConfigField::Witx(WitxConf::Literal(input.parse()?)))
    |                                                    ^^^^^^^^^^^^^^ the trait `syn::parse::Parse` is not implemented for `wiggle_generate::config::Literal`
    |
help: trait impl with same name found
   --> /home/runner/work/wasmtime/wasmtime/crates/wiggle/generate/src/config.rs:213:1
    |
213 | / impl Parse for Literal {
214 | |     fn parse(input: ParseStream) -> Result<Self> {
215 | |         Ok(Self(input.parse::<syn::LitStr>()?.value()))
216 | |     }
217 | | }
    | |_^
    = note: perhaps two different versions of crate `syn` are being used?

error[E0277]: the trait bound `wiggle_generate::config::CtxConf: syn::parse::Parse` is not satisfied
   --> crates/wiggle/wasmtime/macro/src/config.rs:61:33
    |
61  |             Ok(ConfigField::Ctx(input.parse()?))
    |                                 ^^^^^^^^^^^^^^ the trait `syn::parse::Parse` is not implemented for `wiggle_generate::config::CtxConf`
    |
help: trait impl with same name found
   --> /home/runner/work/wasmtime/wasmtime/crates/wiggle/generate/src/config.rs:224:1
    |
224 | / impl Parse for CtxConf {
225 | |     fn parse(input: ParseStream) -> Result<Self> {
226 | |         Ok(CtxConf {
227 | |             name: input.parse()?,
228 | |         })
229 | |     }
230 | | }
    | |_^
    = note: perhaps two different versions of crate `syn` are being used?

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0277`.
error: could not compile `wasmtime-wiggle-macro`.

"CI / Test x64 new backend" failure is unrelated I think:

Yep, that's an intermittent build failure i've been observing; retriggering the job is usually sufficient. cc @alexcrichton in case you have an idea of what could have caused this?

Failed again.

I saw that awhile ago as well for whatever reason, unsure what's happening thought. I'd recommend updating the pinned nightly and see if it's a Cargo bug that's been fixed.

Friendly ping @pchickey


Using an alternative ID

When using two "IDs": one is the real ID for the database and the other is the ID exposed to the API, for example with an entity User for which the database ID is id and the "API ID" is username, the DataProvider should be extendable or have the necessary operations to avoid any dumb copy/paste.

@dunglas If I'm not wrong it has been dealt with 2d60104618e78423e1ea6cbdbe8250280cac638b no?

Yes.


feat: add beckerfelix to mainnet allowed peers

Motivation
Allowing myself to contribute by running a Hubble instance on my homeserver.
Change Summary

added @BeckerFelix peerID to the mainnet allowlist.

Merge Checklist
Choose all relevant options below by adding an x now or at any time before submitting for review

[x] PR title adheres to the conventional commits standard
[x] PR has a changeset
[ ] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore)
[x] PR does not require changes to the protocol
[ ] All commits have been signed

Additional Context
If this is a relatively large or complex change, provide more details here that will help reviewers

PR-Codex overview
This PR focuses on adding a new allowed peer for the mainnet.
Detailed summary

Added a new allowed peer 12D3KooWGeFmqtwsbmD8X3b1MFizZjYGNYUFZr3Dngn4Q6PT1Sdr for the mainnet.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

closing due to inactivity


[SPI_Host] Flash BFM Integration

To ensure SPI_Host compatibility with the desired flash chip we should bring in the BFM model (SystemVerilog) and ensure that it interacts with SPI in the desired manner.
For further details see - https://docs.opentitan.org/hw/ip/spi_host/doc/
The flash chip that we intend to get working with OT and want to ensure we have compatibility before generating the RTL freeze is W25Q01JV.
Further details available at - https://www.winbond.com/hq/product/code-storage-flash-memory/serial-nor-flash/?__locale=en&partNo=W25Q01JV
In particular the model is available at https://www.winbond.com/hq/support/documentation/?__locale=en&line=/product/code-storage-flash-memory/index.html&family=/product/code-storage-flash-memory/serial-nor-flash/index.html&pno=W25Q01JV&category=/.categories/resources/verilog-model/
The model is closed source so part of the effort will be in determining how we can get the model used in CI without breaking the terms of the licence.
Suggestion would be looking at the private CI instances that are used for EDA tooling / licenses and having the model integrated at that point.

estimate 16
Corresponds to SH:2 on internal tracking

Tagging @GregAC on any additional points that he envisaged when looking at the initial task description.

Tagging @GregAC to comment on any additional points that he envisaged when looking at the initial task description.

This looks reasonable to me

I have started to work on this issue. I have managed to connect the Winbond BFM to SPI_Host and send transactions. For example I saw that the value of a memory element changed. But I am having some problems and trying to have better understanding of the design. Since this initial work was mostly for exploring, the code is not in a good shape. I'll have meetings with @andreaskurth / @vogelpi and create a PR after improving the code and fixing the problems.

Hi @abdullahvarici, lets sync before submitting any PRs to the public domain, and in the meantime coordinate logistics with @vogelpi. Thanks!

See https://github.com/lowRISC/opentitan-embargoed/pull/91

Per various discussions on Winbond BFM model, moving this to a post M2 task.

Triaged for spi_host. This is about integrating a BFM for a flash chip in block-level DV, which is planned post M2.5. Thus I'm assigning it to https://github.com/lowRISC/opentitan/labels/Type%3AIcebox.


Command History gets really slow when >1000 items

Description
When there are lots of items in the command history (more than 1000) it gets really slow when scrolling
Steps to reproduce

Add >1000 items to command history
Scroll up and down quickly

Expected results
2. Able to see command history quickly
Actual results
2. Shows a blank screen when scrolling, takes a few seconds for the information to appear

Investigate why it is slow, then decide whether we need to just truncate the CommandHistory at some time.


Offline support: changing absolute URL to /dev/codefor.de to site-loc…

…al links for css, js and fonts. Also adding jquery-panelslider.js from original theme to prevent error message. Hint: if not used, don't try to load.
Also add class "labmap" to the div of map to ease future styling

wart mal noch, hatte das update von upstream vergessen. kommt gleich neu.


Use a tree sitter to parse through source code

@jaisnan can you please add a description to this issue.


Latest wrtc is breaking support in Node.js

ref #191

Seems that wrtc is causing issues

simple-peer also fails with latest wrtc https://github.com/diasdavid/simple-peer/pull/1

locking v to 0.1.1 for now. Reported at #194 to be debugged in async

no mac os x workers :(


⚠ Bofrost.be has degraded performance

In cc7e7e4, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1063 ms

Resolved: Bofrost.be performance has improved in 12f555f after 6 minutes.


CHEBI:177047 please CHECK

Hi Adnan,
Please check velutin, as I need it for a Rhea reaction.
Note that the structure is flipped horizontally compared to all the other flavonoid structures. See CHEBI:16514 chrysoeriol for a functional parent. At least it is the substrate in my 7-methylase reaction.
Best,
Kristian

Now checked.


How can I make connection with UDPCI like MP?

As you can see in the image below, I am able to connect to the FCU in MissionPlanner using the address and port (14000) I entered via UDPCI. I want to make the same connection in Ubuntu using mavlink-router. However, I am unable to achieve this. Why might that be? My config file is as shown below.

My Config File:
[General]
Log=/mnt/ep
LogMode=always
TcpServerPort=0

[UdpEndpoint listener]
Mode = Normal
Address = <IP_ADDRESS>
Port = 14000

Your config only has one endpoint which sends data to <IP_ADDRESS>:14000, if there is something coming in from another endpoint. But since you don't have any other endpoints, nothing will happen at all.
You need to specify a second endpoint and connect a client which starts to MAVLink data on its own. Otherwise no UDP "connection" will be made and the service on <IP_ADDRESS> won't be able to send data to you.

Thanks for reply. But i worked with config at below. It didn't work too.
[General]
Log=/mnt/ep
LogMode=always
TcpServerPort=0

#Telemetry data coming to this endpoint
[UdpEndpoint listener]
Mode = Normal
Address = <IP_ADDRESS>
Port = 14000

#I want to duplicate telemetry data and send to this endpoint.
[UdpEndpoint sender]
Mode = Normal
Address = <IP_ADDRESS>
Port = 14550
AllowMsgId=0

If you want to use just UDP endpoints, one needs to be of the "server" mode so that the client can send data to it. The config you posted on the other hand will send to <IP_ADDRESS>:14550, but not listen on that port.

As a result, what do you recommend I do?

You barely provided any information what connections you want to make, so I can only give generic answers.
As mentioned in my last post, your config needs to look like this:
[General]
Log=/mnt/ep
LogMode=always
TcpServerPort=0

[UdpEndpoint listener]
Mode = Normal
Address = <IP_ADDRESS>
Port = 14000

[UdpEndpoint sender]
Mode = Server
Address = <IP_ADDRESS>
Port = 14550

(By the way AllowMsgId is not a valid config item. You need to specify, if the filter should apply to the incoming or outgoing messages, see https://github.com/mavlink-router/mavlink-router/blob/c20337bbc61abda21463e7482172d58b654e66b6/examples/config.sample#L123 or a few lines further for incoming.)

Closing because of no activity. Feel free to comment and re-open, if there are things left to discuss.


requirejs loading modules via basket.js

There's not much code and it works!
Is there a central place where these sorts of things can be referenced? I would be interested to see similar uses of basket.js such as this.

I know I shouldn't bring back this issue from the dead, but I wanted to comment on my experience with this. I tried @andrewwakeling code and sort of works for simple requirejs projects.
However, when we deal with several modules, each of them calling an anonymous define and meant to be optimized separately, it doesn't work. During the first load everything goes fine and every script is stored in localStorage. During the second load, everyone of these modules threw:
TypeError mismatched anonymous define

Which makes sense because they have an anonymous define inside of them, mind you.
So I tried turning this to a plugin.
define(function () {
	var frombasket = {
		load: function (name, parentRequire, parentLoad, config) {
			var fileUrl = parentRequire.toUrl(name + '.js');
			if (config.isBuild) {
				parentLoad();
				return;
			} else {
				basket.require({
						url: fileUrl
					}).then(function () {
						parentRequire([name], function (value) {
							parentLoad(value);
							return;
						});
					}, function (error) {
						return parentLoad.error(error);
					});
			}
		}
	};
	return frombasket;
});

Which means that, instead of overriding requirejs.load method, I picked which modules to load with basketjs:
define([
   'frombasket!vendor/jquery.min',
   'frombasket!vendor/d3.min',
   'frombasket!vendor/handlebars.amd.min',
   'app/mymodule'
],function(jQuery, d3, Handlebars, myModule) {
   ...
});

But it was basically the same. Common libraries loaded ok, but unbuilt modules didn't. So I modified the plugin to have basketjs pass the raw code to requirejs:
define(function () {
	var frombasket = {
		load: function (name, parentRequire, parentLoad, config) {
			var fileUrl = parentRequire.toUrl(name + '.js');
			if (config.isBuild) {
				parentLoad();
				return;
			} else {
				basket.require({
						url: fileUrl,
						execute:false
					}).then(function (result) {
						parentLoad.fromText(result.data);

						parentRequire([name], function (value) {
							parentLoad(value);
							return;
						});
					}, function (error) {
						return onLoadNative.error(error);
					});
			}
		}
	};
	return frombasket;
});

But it's even worse, because any dependencies in the form of named modules can't be resolved when you load a module with parentLoad.fromText. The main requirejs config, which contains the paths, isn't properly injected to the loaded and eval'd code.
So, for the time being, the first plugin code, as well as @andrewwakeling code, are safe to use only to store and request scripts that either are wrapped as UMD, or at least define themselves with an explicit name.


removes ununsed deps array from project

What does this PR do?
(Describe the changes introduced in this PR)
Related PRs and Issues

(Direct link to related PR or issue, if relevant)

Checklist

[ ] I have read the Contribution Guide
[ ] If the PR changes or adds functionality, I have updated the relevant documentation

i know everyone it is not believe or dont accept me etc, actually i learned my self to relax specially like this.. i dont want to explaining further.. but as a participation this event u should be transparency,
anyway thanks for all...
god blesss us


Can't load CodePen iFrames on Chrome, Firefox, or Brave

Codepen iFrame won't load on Chrome and Brave due to X-Frame-Options.
Error: Refused to display 'https://codepen.io/embed/prefill/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Firefox loads blank page with no error messages.

codepen was going through some nasty DDOS attacks the other day. give it another try. It appears to be working for me now.

Sorry for the delay. I've retested this and confirm Codepen is working on Brave, Chrome, and Firefox.


Avoid container leaks by setting hook before container creation

Hi!
If somebody will stop execution during the container creation, especially during the "waitUntilContainerStarted" phase, hook will not be executed, seems like finally doesn't work in case of the SIGTERM.
Symptoms: I see a lot of non-destroyed containers after test execution when we stop our Jenkins job.
This fix will add a hook just before container is being created to make sure that it will be executed afterwards.
Thanks!

hey @rnorth,
Could you please take a look at this one for the next release as well? I wouldn't call it critical, but definitely annoying and causing a lot of issues on CI servers and local environments.
Thanks!

Hi,
Sure - this is an important one to fix so I'll try and merge and release
quickly. If you don't mind, I'll prioritise inclusion of this in 1.0.3 over
#106, and perhaps hold that back for the next point release. I hope this is
OK!
Cheers
Rich
On Wed, Mar 30, 2016 at 4:03 PM, Sergei Egorov<EMAIL_ADDRESS>wrote:

hey @rnorth https://github.com/rnorth,
Could you please take a look at this one for the next release as well? I
wouldn't call it critical, but definitely annoying and causing a lot of
issues on CI servers and local environments.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/testcontainers/testcontainers-java/pull/110#issuecomment-203478879

@rnorth makes sense :)
BTW CircleCI failed for some reason, can't pull MySQL image. Re-run maybe?

@bsideup that's annoying - re-running!

Looks good to me, so merged.


[Bug] Using simple float values inside sympy function leads to incorrect wavefunction when using time-dependent block

Say we define a time-dependent generator for HamEvo:
td_gen = omega * (sympy.sin(x * t) * X(0) + y * (t**2) * Y(1))

If x and y are instances of Parameter (t is the time parameter) the result of simulating HamEvo with such generator is correct. However, if either or both x and y are floats or tensors - the simulation result is wrong.

@vytautas-a Would you be able to give it a try ?

To check again in PyQ once https://github.com/pasqal-io/pyqtorch/pull/228 is done.

Fixed by PR https://github.com/pasqal-io/qadence/pull/568


Add missing RTL styles for InspectorActionButton

While testing RTL for #93089 I noticed that the "Add Metadata" button looks different in my theme because it's missing styles
Now you can set mirrored styleboxes for it like in any other button:

en
ar

Thanks!


Web chat not showing the buttons in the herocard

I am using herocard to get the user activity in callback, it is working fine in the emulator but after i publishied in the website it won't work. it simply display the content.
My code:
var replyMessage = context.MakeMessage();
                List<CardAction> cardButtons = new List<CardAction>();
                CardAction plButton = new CardAction()
                {
                    Value = "Reserve Book",
                    Type = "imBack",
                    Title = "Reserve Book"
                };
                cardButtons.Add(plButton);

                HeroCard plCard = new HeroCard()
                {
                    Buttons = cardButtons
                };
                replyMessage.Attachments = new List<Attachment>();
                replyMessage.Attachments.Add(plCard.ToAttachment());
                await context.PostAsync(replyMessage);
                context.Wait(MessageReceivedAsync);

I have tried both imBack and postBack CardAction, it is working fine in the bot emulator but it is not working in the web chat

Hi somuit91. The current webchat control does not support buttons. We have a new webchat control in the works that will support a wide range of rich interaction, including buttons and carousels. This new webchat control will be released sometime in late November.

Closing this issue, since it has been answered. @somuit91 feel free to reopen it if you need more info. Thanks!


Make script dynamically adjust deck_coef to properly import into TTS

Maximum size of any dimension for a deck image in TTS is 10k pixels
mentioned in #11

additions to the script to accommodate this issue have been completed with #15


[Regression] PS7.3 - Weird network issues inside Session

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
When inside a session to a remote machine with PS7.3+ and attempt to invoke some commands that rely on the network they seem to fail. Not all network commands fail, such as Test-NetConnection, while others such as Invoke-WebRequest, Connect-AzAccount, etc do. Those that do fail seem to reference the same failure condition 'Could not load file or assembly 'System.Net.Quic, Version=<IP_ADDRESS>' when I can get enough output from them.

Reverting the remote machine back to 7.2.6/7.2.7 resolves the problem and the same code runs without issue.
If ConfigurationName is set to anything lower than 7.3.0 things begin working as well.
All systems have good internal network access and internet access.
Account/s used for testing are all local admins.
The same code works locally on the machines with 7.3.0. This appears to only be occurring within sessions.

Create a session or invoke a command directly on a remote machine with 7.3+ installed
$TestSession = New-PSSession -Name 'TestSession' -ComputerName 'PS73Machine.tld.com' -ConfigurationName PowerShell.7.3.0 -Credential $Creds

Setup your test and invoke the commands. Some commands work, such as Invoke-RestMethod while others fail.
$TestParams = @{
    Session = $TestSession
    ScriptBlock = {
        try {
            Invoke-WebRequest -Uri 'https://www.powershellgallery.com/api/v2' # Fails
            Find-Module -Name Az -Repository PSGallery # Fails
        } catch {
            $_.Exception
        }
    }
}

Invoke-Command @TestParams

Expected behavior
Commands such as Find-Module with session should return modules matching "Az" from PSGallery.

Actual behavior
Commands such as Find-Module, Invoke-WebRequest, etc within session fail. For those that return an error they reference -

Could not load file or assembly 'System.Net.Quic, Version=<IP_ADDRESS>, Culture=neutral The system cannot find the file specified.

Error details
Invoke-WebRequest example -

Exception                     : System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Quic, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
                                File name: 'System.Net.Quic, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
                                at System.Net.Http.HttpConnectionPool..ctor(HttpConnectionPoolManager poolManager, HttpConnectionKind kind, String host, Int32 port, String sslHostName, Uri proxyUri)
                                at System.Net.Http.HttpConnectionPoolManager.SendAsyncCore(HttpRequestMessage request, Uri proxyUri, Boolean async, Boolean doRequestAuth, Boolean isProxyConnect, CancellationToken cancellationToken)
                                at System.Net.Http.HttpConnectionPoolManager.SendAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
                                at System.Net.Http.HttpConnectionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                                at System.Net.Http.HttpMessageHandlerStage.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
                                at System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                                at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                                at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
                                at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(HttpClient client, HttpRequestMessage request, Boolean keepAuthorization)
                                at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
                                at System.Management.Automation.CommandProcessor.ProcessRecord()
FullyQualifiedErrorId         : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
InvocationInfo                : System.Management.Automation.InvocationInfo
ErrorCategory_Activity        : Invoke-WebRequest
ErrorCategory_Reason          : FileNotFoundException
ErrorCategory_Message         : NotSpecified: (:) [Invoke-WebRequest], FileNotFoundException
ErrorDetails_ScriptStackTrace : at <ScriptBlock>, <No file>: line 3

Environment data
Test Source -
Name                           Value
----                           -----
PSVersion                      7.3.0
PSEdition                      Core
GitCommitId                    7.3.0
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Test Destination -
Name                           Value
----                           -----
PSVersion                      7.3.0
PSEdition                      Core
GitCommitId                    7.3.0
OS                             Microsoft Windows 10.0.20348
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

/cc @SteveL-MSFT @PaulHigin

This is because the Trusted Platform Assemblies used in our WinRM plugin was not updated. The fix was submitted: https://github.com/PowerShell/PowerShell-Native/pull/83

Hi, does this require a new patch release for 7.3? Or is there any workaround when PS 7.3 is already installed?

@dmpe The fix will be in 7.3.1 (Jan 23).

Does “System.Net.Quic.dll” rely on libmsquic.so on the Linux platform?

I'm running 7.3.2 locally and remotely and getting a similar error, which was marked as a duplicate of this issue in https://github.com/PowerShell/PowerShell/issues/18671:

Enter-PSSession: Connecting to remote server <IP_ADDRESS> failed with the following error message : Could not load file or assembly 'System.Security.Cryptography, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. For more information, see the about_Remote_Troubleshooting Help topic.

Local $PSVersionTable
Name                           Value
----                           -----
PSVersion                      7.3.2
PSEdition                      Core
GitCommitId                    7.3.2
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Remote $PSVersionTable
Name                           Value
----                           -----
PSVersion                      7.3.2
PSEdition                      Core
GitCommitId                    7.3.2
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

@eeskildsen and @phdavis, sorry about that. We just check on our side, and it turns out the fix was included in the NuGet package Microsoft.PowerShell.Native v7.3.2, but for PowerShell 7.3.2 release, we didn't update the System.Management.Automation.csproj file to use the v7.3.2 package: https://github.com/PowerShell/PowerShell/blob/release/v7.3.2/src/System.Management.Automation/System.Management.Automation.csproj#L35
That's a mistake on us maintainers, sorry about that. We will make sure the v7.3.2 Microsoft.PowerShell.Native NuGet package gets included in PowerShell v7.3.3 release.

I have verified that this was fixed with the v7.3.2 release of PowerShell. @eeskildsen and @phdavis, please double check the PSSessionConfiguration you use when creating the remote session. You may be using the default configuration that doesn't use v7.3.2 version of PowerShell.
The following screenshot shows the results of running Invoek-WebRequest on remote session targeting v7.3.1 and v7.3.2:

@daxian-dbw my apologies. I must not have caught that when I was testing. I can confirm forcing it to use 7.3.2 specifically works. I'm not sure which version it was trying to use previously since I thought I had removed the old configurations.

This issue should NOT be closed. The update from 7.2.x to 7.3.x still doesn't fix the configuration 'Powershell.7' which is left dangling and pointing to a non existent 7.2. Forcing the connection to 'Powershell.7.3.8' is not acceptable beacuse any script will stop working when the server side is update to 7.3.9.

This issue should NOT be closed. The update from 7.2.x to 7.3.x still doesn't fix the configuration 'Powershell.7' which is left dangling and pointing to a non existent 7.2. Forcing the connection to 'Powershell.7.3.8' is not acceptable beacuse any script will stop working when the server side is update to 7.3.9.

Try deleting all existing configurations and then run Enable-PSRemoting again -- I've had to do this once per affected machine and the problem hasn't returned.
Get-PSSessionConfiguration | Unregister-PSSessionConfiguration
Enable-PSRemoting


Added RotationSpline pybind11 interface

Signed-off-by: ahcorde<EMAIL_ADDRESS>🎉 New feature
Summary
This PR creates a RotationSpline Pybind11 interface
Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-03-01-citadel-edifice-fortress/1313/1


Drop @balena/jellyfish-config

Change-type: patch
Signed-off-by: Josh Bowling<EMAIL_ADDRESS>

@balena-ci I self certify!