Gallio exception with visual studio 2015

A fatal exception occurred while exploring tests.  Possible causes include invalid test runner parameters.
Gallio.Model.ModelException: An exception occurred while invoking a test driver. ---> System.Runtime.Serialization.SerializationException: Type 'Microsoft.Cci.Pdb.PdbDebugException' in Assembly 'Gallio, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e' is not marked as serializable.
HResult: -2146233076
Server stack trace:
at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.SerializeResponse(IServerResponseChannelSinkStack sinkStack, IMessage msg, ITransportHeaders& headers, Stream& stream)
at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Gallio.Model.Isolation.HostedTestIsolationContext.RunIsolatedTaskDelegate.EndInvoke(IAsyncResult result)
at Gallio.Model.Isolation.HostedTestIsolationContext.RunIsolatedTaskInHost[TIsolatedTask](HostSetup hostSetup, StatusReporter statusReporter, Object[] args) in c:\Server\Projects\MbUnit v3\Work\src\Gallio\Gallio\Model\Isolation\HostedTestIsolationContext.cs:line 127
at Gallio.Model.Isolation.HostedTestIsolationContext.RunIsolatedTaskImpl[TIsolatedTask](HostSetup hostSetup, StatusReporter statusReporter, Object[] args) in c:\Server\Projects\MbUnit v3\Work\src\Gallio\Gallio\Model\Isolation\HostedTestIsolationContext.cs:line 83
at Gallio.Model.DotNetTestDriver.ExploreOrRunAssembly(ITestIsolationContext testIsolationContext, TestPackage testPackage, TestExplorationOptions testExplorationOptions, TestExecutionOptions testExecutionOptions, RemoteMessageSink remoteMessageSink, IProgressMonitor progressMonitor, String taskName, FileInfo file) in c:\Server\Projects\MbUnit v3\Work\src\Gallio\Gallio\Model\DotNetTestDriver.cs:line 195
at Gallio.Model.DotNetTestDriver.ExploreOrRun(ITestIsolationContext testIsolationContext, TestPackage testPackage, TestExplorationOptions testExplorationOptions, TestExecutionOptions testExecutionOptions, IMessageSink messageSink, IProgressMonitor progressMonitor, String taskName) in c:\Server\Projects\MbUnit v3\Work\src\Gallio\Gallio\Model\DotNetTestDriver.cs:line 156
at Gallio.Model.DotNetTestDriver.ExploreImpl(ITestIsolationContext testIsolationContext, TestPackage testPackage, TestExplorationOptions testExplorationOptions, IMessageSink messageSink, IProgressMonitor progressMonitor) in c:\Server\Projects\MbUnit v3\Work\src\Gallio\Gallio\Model\DotNetTestDriver.cs:line 141
at Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.<>c__DisplayClass1b.b__19(ITestDriver driver, IList1 items, Int32 driverCount) in c:\Server\Projects\MbUnit v3\Work\src\Gallio\Gallio\Model\DefaultTestFrameworkManager.cs:line 446    at Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.ForEachDriver[T](MultiMap2 testFrameworkPartitions, Func4 func) in c:\Server\Projects\MbUnit v3\Work\src\Gallio\Gallio\Model\DefaultTestFrameworkManager.cs:line 528    --- End of inner exception stack trace --- HResult: -2146233088    at Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.ForEachDriver[T](MultiMap2 testFrameworkPartitions, Func`4 func) in c:\Server\Projects\MbUnit v3\Work\src\Gallio\Gallio\Model\DefaultTestFrameworkManager.cs:line 534
at Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.ExploreImpl(ITestIsolationContext testIsolationContext, TestPackage testPackage, TestExplorationOptions testExplorationOptions, IMessageSink messageSink, IProgressMonitor progressMonitor) in c:\Server\Projects\MbUnit v3\Work\src\Gallio\Gallio\Model\DefaultTestFrameworkManager.cs:line 439
at Gallio.Runner.DefaultTestRunner.Explore(TestPackage testPackage, TestExplorationOptions testExplorationOptions, IProgressMonitor progressMonitor) in c:\Server\Projects\MbUnit v3\Work\src\Gallio\Gallio\Runner\DefaultTestRunner.cs:line 242

I got the same issue !
Is Gallio Icarus  running (Supporting) on Visual Enterprise 2015 ?
Thanks,

Hello, actually I have the same issue with VS2015 and Gallio.
Will Gallio will support it?
Thanks

Also experiencing this with our projects that use MBUnit

It will be supported?

I am experiencing the same issue when running tests on Gallio Icarus 3.4 build 11. The test assembly was built using Visual Studio 2015 Professional. The tests worked fine when the test assembly was built using VS 2013.

This project I guess is discontinued... so sad....

I found a workaround - I installed msbuild v12 (2013) and when I build the test project using this version of mbuild I'm able to run it from Gallio Icarus. When I built it from VS2015 using msbuild v14 I had the same error as described here

The workaround provided by @radekpribyl works for me. Thank you very much!

Hi all,
Any help with the below stuff is much appreciated.
I really need some support on How Can I run my MBunit tests in Gallio Echo. I have my MBunit tests in VS2013. I could add the test.dll in Gallio Icarus and run it manually. But I would like to do it from command line using gallio echo. I am not sure how to start with this.
I have my test.dll in this path in my local machine "C:\Users\suba\Documents\Visual Studio 2013\Projects\Links\Links\bin\Debug\Tests.dll"
I have my Gallio.Echo.Exe installed in this path "C:\Gallio\bin"
I know the command to run tests.dll is 'Gallio.Echo Tests.dll'
I don't know from which path and what command to use to run my test.dll in command line
Should we need anything else that needs to be specified within my test code. Please guide with this.

I worked on this today. The problem was that the Microsoft.Cci.Metadata library which was used in Gallio 3.4 did not support the new PDB files generated by VS2015, (it fails with "unknown metadata code 7" exception). Because the library code was embedded in the assembly (or some other magic I'm not aware of), updating to new DLL's was not possible. I got Gallio build on VS2015, get an updated Microsoft.Cci.Metadata build (no binary distributions exist), made the build work half-assed. The final problem is that assembly versions show up as <IP_ADDRESS> and that causes problems with the test runner. Feel free to clone from https://github.com/ssg/mbunit-v3 and hack away. I will update this thread if I get to make it work perfectly.

The workaround  by @radekpribyl worked for as well . Thank you !

To those using the suggestion from @radekpribyl . Understand this isn't a workaround, it is just rolling back to the SDK that already works with MbUnit. You still lose the features introduced in the newer SDK that came with VS2015.

I gave up and switched to NUnit fyi. https://gist.github.com/ssg/5329684

Same boat as you. NUnit has active dev and the easiest migration path from MbUnit. Thanks for providing the cheat sheet.

sigh
On Fri, Jun 3, 2016, 3:06 PM Andrew Walsh<EMAIL_ADDRESS>wrote:

Same boat as you. NUnit has active dev and the easiest migration path from
MbUnit. Thanks for providing the cheat sheet.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Gallio/mbunit-v3/issues/6#issuecomment-223706164, or mute
the thread
https://github.com/notifications/unsubscribe/AAGPhGEvu2Q9Cl1GhpzvK3CIRrcHg6PKks5qIKVdgaJpZM4FiBRw
.

We switched to xunit:
https://github.com/xunit/xunit
http://xunit.github.io/

Hello I try use the @radekpribyl solution, but I don't know how.
Where I do specify the msbuild version in local build ?
Thanks.


Modal on Form Submission

When form is submitted a modal will open containing the verifications

@Git21221 please assign this issue to me


Setting the kf.indicatorType breaks the zoom functionality of the UIScrollView embedding the UIImageView

Issue Description
Setting the kf.indicatorType breaks the zoom functionality of the UIScrollView embedding the UIImageView
What
Recently we've updated from Kingfisher 4.10.0 to 5.3.1, after upgrading we've encountered a problem where zooming on an UIImageView results in zooming in the top left corner, instead of the coordinates indicated by the user.
Our code consists of a UIScrollView that contains a large UIView that has placed multiple images as UIImageView horizontally. The UIScrollView is configured with with "isPagingEnabled" to give allow a user to swipe from left to right between various images. The content size of the UIScrollView is using hard coded height and width and is used to calculate the scroll needed for a pageable swipe navigation. The UIScrollView has a minimum zoom scale of 1.0 and a maximum of 2.0. We've implemented the viewForZooming delegate method, as well as some convenience code while zoomed in an scroll to the next "page".
So far this all worked until we upgraded. After debugging it seems that the zoom function, that normally zooms in on the coordinates the user uses multi-touch around (or double taps) is broken. Instead it always returns to the top left corner, regardless fo where in the UIScrollView is zoomed. Disabling the line with "self?.kf.indicatorType = .activity" fixes this problem.
Reproduce

Create a UIScrollView on a UIView (on a UIViewController)
Set a static dimension for the content of the scroll view
Enable zoom (min: 1.0, max 2.0, default 1.0)
Create a UIView and add (one or more) UIImageViews to it
Return the correct view for viewForZooming (the entire container view)
Use Kingfisher to load a remote image on the UIImageView and make of the activity indicator by setting the indicatorType
Run and try to zoom the image (disable the previous line and try again)

@rowanmulder
Thanks for the report and detail information. The indicator type .activity only adds a UIActivityIndicatorView to the image view, with its intrinsic size and center anchor to the image view. I cannot imagine how it could affect a parent scroll view.
I need first reproduce this issue before I can dig deeper. But since the UI structure is not trivial and I am not 100% sure about on your description. I guess it would be faster if you can prepare a simple sample project in which I can check this issue. Can you build a sample for it when you have time?
Thank you!

@onevcat
Attached a quick and dirty example of where it goes wrong (just pinch to zoom to see the effect). Disable "self?.kf.indicatorType = .activity" in "Image+Download.swift" to see it behave differently.
KingfisherTestApp.zip

In your sample, you are not specifying correct layout constraints for the containerView. Kingfisher's built-in activity indicator relies on a set of correct constraints. In your case, once .activity is added, it will ask upon to the container view, which lacks a layout strategy and causes the issue.
So I guess you can try to remove the line below to make it work:
containerView.translatesAutoresizingMaskIntoConstraints = false

@onevcat Tried it and it seems to resolve the problem. Thanks for your time!


Card component throws error

Issue description
Card component throws errors.

components: Card
reactstrap version ^4.8.0
react version ^16.2.0
bootstrap version v4.0.0-alpha.2

What is happening?
When I use Card component with only CardImg, I don't get any errors
import React, { Component } from 'react';
import { Card, Button, CardImg, CardTitle, CardText, CardDeck, CardSubtitle, CardBody } from 'reactstrap';

class MoviesIndex extends Component {

    render() {
        return (
            <CardDeck>
                <Card>
                    <CardImg top width="100%" src="" alt="Movie Poster" />
                </Card>
            </CardDeck>
        );
    }
}

export default MoviesIndex;

Steps to reproduce issue
But when I use this version of Component instead:
import React, { Component } from 'react';
import { Card, Button, CardImg, CardTitle, CardText, CardDeck, CardSubtitle, CardBody } from 'reactstrap';

class MoviesIndex extends Component {

    render() {
        return (
            <CardDeck>
                <Card>
                    <CardImg top width="100%" src="" alt="Movie Poster" />
                    <CardBody>
                        <CardTitle>Card title</CardTitle>
                        <CardSubtitle>Card subtitle</CardSubtitle>
                        <CardText>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</CardText>
                        <Button>Button</Button>
                    </CardBody>
                </Card>
            </CardDeck>
        );
    }
}

export default MoviesIndex;

Error message in console

package.json
{
  "name": "client",
  "version": "1.0.0",
  "main": "index.js",
  "scripts": {
    "start": "node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js",
    "test": "mocha --compilers js:babel-core/register --require ./test/test_helper.js --recursive ./test",
    "test:watch": "npm run test -- --watch"
  },
  "devDependencies": {
    "babel-core": "^6.2.1",
    "babel-loader": "^6.2.0",
    "babel-preset-es2015": "^6.1.18",
    "babel-preset-react": "^6.1.18",
    "chai": "^3.5.0",
    "chai-jquery": "^2.0.0",
    "jquery": "^2.2.1",
    "jsdom": "^8.1.0",
    "mocha": "^2.4.5",
    "react-addons-test-utils": "^0.14.7",
    "webpack": "^1.12.9",
    "webpack-dev-server": "^1.14.0"
  },
  "dependencies": {
    "axios": "^0.17.1",
    "babel-preset-stage-1": "^6.1.18",
    "lodash": "^3.10.1",
    "react": "^16.2.0",
    "react-dom": "^16.2.0",
    "react-redux": "^5.0.6",
    "react-router": "^4.2.0",
    "react-transition-group": "^2.2.1",
    "reactstrap": "^4.8.0",
    "redux": "^3.7.2",
    "redux-promise": "^0.5.3"
  }
}

The documentation site has the latest release (reactstrap v5.0.0-alpha.4), you are using reactstrap v4.8.0. The components you are using are not available in v4.8.0, you need to update or use the equivalent components (CardBody -> CardBlock)
#195 would have helped with this by having a public documentation of the version you are using. For now, you can run the docs locally by cloning this project and checking out the 4.8.0 tag and npm install then npm start.
5.0.0-alpha.4 Demo: https://stackblitz.com/edit/react-rnchuj?embed=1&file=Hello.js
4.8.0 Demo: https://stackblitz.com/edit/react-axflbx?file=Hello.js (stackblitz seems to be having some issues with reactstrap-tether... don't know why)

@TheSharpieOne I've encountered the same issue as well. You're correct that we shouldn't assume the docs' version, but given that v5 is in alpha it seems quite odd that the docs would be based on this an not on the official latest release (even on your site you say that the CDN link should take v4.8.0). At the very least, I think it'd be appropriate to include in the header of the docs which version it is based on (I personally think that it's expected to say which components have been deprecated from v4.8.0 to v5 and what has replaced them, for clarity purposes).

@TheSharpieOne I've encountered the same issue as well. You're correct that we shouldn't assume the docs' version, but given that v5 is in alpha it seems quite odd that the docs would be based on this an not on the official latest release (even on your site you say that the CDN link should take v4.8.0). At the very least, I think it'd be appropriate to include in the header of the docs which version it is based on (I personally think that it's expected to say which components have been deprecated from v4.8.0 to v5 and what has replaced them, for clarity purposes).


Stuck on liking picture

Hi there, Thank you so much for sharing the library, i have a problem though, the bottom half of the example code works fine, but when i try to call the like function, it gets stuck at "Going to @ video page for like". how do i solve this, Thanks!

Same goes for following by the way, it can't seem to load the page.

@sudoguy i can't seem to get it to work... Also the "following" action doesn't seem to work for me, which works in a different way... are there any additional libraries i have to have installed?

How did you get so far?
Mine won't go any further than "Getting trending items"


apply the EigenPlaces to drone view with satellite view

hi, gmberton, thank you again.
the EigenPlaces outperform SOTA on cross view street images VPR. As the  uav image and satellite image has the same location but different viewpoint. does the EigenPlaces adapt to drone view and satellite view VPR eg given one uav image find the simalry satellite image.
How about retrain the model on paired uav images and satallite dataset to make it possible or some other work need to do? any suggestion appreciate.

Hi, I don't think EigenPlaces would work on satellite images.
My advice is to check Cross-View Image Geo-localization papers, which are designed for that

Thank you


fix decimal overflow issue

Problem Scenario:
When the indexer attempts to call try_decimals(), if the decimal value exceeds uint8, the following error message will be triggered:
Mapping aborted at<EMAIL_ADDRESS>line 150, column 9, with message: overflow converting 0x0000000000000000000000000000000000000000000000000000000067e53c31 to i32\twasm backtrace:\t    0: 0x3ddd -<EMAIL_ADDRESS>  1: 0x3ed9 - <unknown>!src/types/Factory/ERC20/ERC20#try_decimals
Fix Solution:
Check if the decimal value is of type int or uint, and verify whether it is less than the maximum value of uint8. If both conditions are met, return the correct value; otherwise, return 0.

Hey @DyT9qC , I'm closing this PR since these are known uni-v3 issues caused by unverified token contracts and these are very insignificant to be dealt with separately. PR #2470 resolves the issues.
For future PRs, I'd request you to follow our contribution guidelines, and most importantly add a test deployment of the changes in your own hosted service environment. Cheers!


Fix GA: figure out what's going on with 2000 data

Really unrealistic number of notices, jobs reported in March and April of that year.
If you look at the state's page, it seems like notices with IDs indicating they're from prior years might somehow be displaying incorrect dates:

But that's speculation at this point because I don't know whether the ID or the date is wrong.

I'm pretty sure the ID's are correct, and the dates are wrong.
Take a look at this 200 person layoff from Delta:

According to the data, it happened on 03/30/2000
The ID, however, indicates that it happened in 1992. This is corroborated by a layoff of exactly 200 pilots at Delta in 1992 from an LA Times article. https://www.latimes.com/archives/la-xpm-1992-10-23-fi-844-story.html
"Delta said this week it would lay off 200 pilots, its first layoffs of permanent workers since 1957"
To be fair, this could be a coincidence.
What is the meaning of the dates then?
It seems some person just gave every ID that starts with a number before 2000 an arbitrary date, sometimes the exact same date for all the entries of the same year. This means they most likely represent previous years.
All IDs that begin with 1992 have date 03/30/2000. Every single ID that begins with 1990 is either 04/20/2000 or 04/21/2000. There is a similar pattern until IDs start to begin 1999, and the dates start to vary.
This surprises me, since they do have pages for previous years, so this is just speculation.

I think Georgia moved WARN notices to here and that the old site is down. The archived WARN notices only go back to 2018. What to do about above comment?

I've created #519 to cover @Ash1R's comment above.


mvsim: 0.8.1-1 in 'iron/distribution.yaml' [bloom]

Increasing version of package(s) in repository mvsim to 0.8.1-1:

upstream repository: https://github.com/MRPT/mvsim.git
release repository: https://github.com/ros2-gbp/mvsim-release.git
distro file: iron/distribution.yaml
bloom version: 0.11.2
previous version for package: 0.8.0-1

mvsim
* Move the rawlog-generation option to the World global options instead of sensor-wise.
* Create CITATION.cff
* helios 32fov70 sensor.xml: Fix missing MVSIM_CURRENT_FILE_DIRECTORY tag
* Fix crash in edge case with world file path in the current directory
* Contributors: Jose Luis Blanco-Claraco

Holding for Iron sync


feat(cli): add auto-update notifier

Closes #296
📑 Description

This PR introduces the Auto-Update section in list and describe command which shows whether the package is marked for auto-updates.
$ ./glasskube ls
NAME                  STATUS         VERSION    AUTO-UPDATE
argo-cd               Not installed
cert-manager          Ready          v1.14.2+1  Enabled
cyclops               Not installed
ingress-nginx         Not installed
keptn                 Ready          v0.10.0+1  Enabled
kubernetes-dashboard  Not installed

If a package is installed
 $ ./glasskube describe keptn
Package: keptn — Toolkit for cloud-native application lifecycle management
Version: v0.10.0+1
Status:  Ready
Auto-Update: Enabled

References:
 * Glasskube Package Manifest: https://packages.dl.glasskube.dev/packages/keptn/v0.10.0+1/package.yaml

Long Description:
Supercharge your deployments with Keptn! Keptn provides a “cloud-native” approach for managing the application release lifecycle metrics, observability, health checks, with pre- and post-deployment evaluations and tasks.

If a package is not installed
$ ./glasskube describe cyclops
Package: cyclops — Developer friendly Kubernetes
Version: v0.0.1+1
Status:  Not installed

Entrypoints:
 * Name: ui, Remote: cyclops-ui:3000, Local: http://localhost:3000/

References:
 * Glasskube Package Manifest: https://packages.dl.glasskube.dev/packages/cyclops/v0.0.1+1/package.yaml
 * Github: https://github.com/cyclops-ui/cyclops
 * Website: https://cyclops-ui.com/

Long Description:
Welcome to Cyclops, a powerful user interface for managing and interacting with Kubernetes clusters.
Cyclops is designed to simplify the management of containerized applications on Kubernetes,
providing an intuitive and user-friendly experience for developers, system administrators, and DevOps professionals.
Divide the responsibility between your infrastructure and your developer teams so everyone can play to their strengths.
Automate your processes and shrink the window for deployment mistakes.

✅ Checks

[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required

ℹ Additional Information

@christophenne I will do this. Just a suggestion this could be added to contributor guidelines.

@christophenne I will do this. Just a suggestion this could be added to contributor guidelines.

Absolutely.

FYI @christophenne , changes have been done!


fix onClick property's type to function instead of object

Thanks for the pick up @tengis, we should have picked this up in the previous PR 😅
Will patch soon!

I know. 😄


Misleading comment

This comment is misleading:
<!-- Path relative to solution directory -->
It's not the solution directory but the directory where the *.runsettings file lies.

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

ID: 21ac034a-a498-f3e3-28d0-175b6fead219
Version Independent ID: 747194a8-ffcf-60b3-b525-6f8fe00066a2
Content: Configure unit tests with a .runsettings file - Visual Studio
Content Source: docs/test/configure-unit-tests-by-using-a-dot-runsettings-file.md
Product: visual-studio-dev15
GitHub Login: @gewarren
Microsoft Alias: gewarren

This relates to the 6th line of the example .runsettings file.

I submitted a fix in https://github.com/MicrosoftDocs/visualstudio-docs/pull/3224, thanks for reporting this.


Pygamer updates

Neopixel example wasn't working for me at all.. I reved the underlying deps and now it works for 1 led but not more. I'll pr that work over there as well.
Then I brought over usb from metro_m4. (likewise its stuck on 1 lets as well)
The only problem there is uart_debug.rs  is pretty coupled and needs a better solution than this.

Yeah uart_debug is :fire: :wastebasket: - couldn't work out a better way to do it :( feel free to revise or maybe even rip it out.
Maybe it makes more sense being in the uart code? That way there can be an invariant for each kind of uart rather than the one on the itsybitsy_m4 pins.

now it works for 1 led but not more.

Neopixel or apa102 LED?

I didn't think neopixels were compatible with SPI? I thought they had to be bitbanged?

Neopixels. And yes theyre being bitbanged using the same library as the itsy bitsy

Rather the feather m4 and metro m4

RE uart_debug, the main issue is I think my stuff is on sercom5 instead of 3, so hardcoded pins need changing. I suppose we can store via traits somehow. What about static dyn like the singleton pattern docs https://docs.rust-embedded.org/embedonomicon/singleton.html

Ive pulled all the smart-leds neopixel code out of here and its already been merged, so now this is just the usb work.
I pulled the uart_debug feature because I dont know how to fix it yet either..
Technically this could merge any time. It works as well as the other implementation
despite the existing bug https://github.com/atsamd-rs/atsamd/issues/105


Warning when inserting documents to collection

I created some documents and adding them to milvus zilliz cloud.
Got warnings:
Document f8a733afe670032c5f438ba53b7e0d64d4a405c8ad1751674eb72bbd7c6c12c5 has metadata fields with unsupported types: ['_split_overlap']. Supported types refer to Pymilvus DataType. The values of these fields will be discarded.
even though _split_overlap is not something that I added - it's from document splitter I guess. My pipeline is following:
DocumentCleaner
DocumentSplitter
DocumentEmbedder
DocumentWriter

@Arputikos yes, it's caused by  document splitter,  https://github.com/milvus-io/milvus-haystack/issues/32
can you give us some feedback, like whether there are too many warning logs to affect the viewing of other logs. If so, we will try to discard it. Any suggestion is appreciated

thanks, good suggestion, we will take consideration and try to meet it


Missing preference data store

Great library! However the thing that keeps me from using it is that it's missing PreferenceManager.setPreferenceDataStore. Is it possible to base this library off Android support preference library instead?

At first, this library was based on support library 23.2.0, so things added in later Android version is missing. I will add them in recent days.
And the reason why this this library is not just extend classes in support library is support library hard-coded to use android.app.AlertDialog (and some other things that have to modify the code directly).


Support for Ubuntu 22.04 jammy from ppa

Duplicates

[X] I have searched the existing issues

Current behavior 😯
Package for jammy from ppa is not avaible.

Expected behavior 🤔
Package for Jammy in ppa :)
Steps to reproduce 🕹
sudo add-apt-repository ppa:o2sh/onefetch
sudo apt-get update
sudo apt-get install onefetch

Hi @pietryszak,
I've just published a new package for Jammy to launchpad:

Don't forget to sudo apt-get update before trying again.

Sorry for the late answer @pietryszak
The v2.12.0 of onefetch fails to build on launchpad. This is true for fall Ubuntu releases.
Caused by:
  process didn't exit successfully: `/<<PKGBUILDDIR>>/target/release/build/zstd-sys-f6728baed230943c/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'Folder 'zstd/lib' does not exists. Maybe you forgot to clone the 'zstd' submodule?',

This is caused by zstd which is a dependency of askalono that we use for license detection. More info on the issue -> https://github.com/rust-lang/cargo/issues/10532
The next release should fix this problem. In the meantime you could install onefetch using snap.
I'll keep this issue open until the next release resolves it

I'll keep this issue open until the next release resolves it, hopefully🤞

Ok, thank you for information.

Should be good now, the latest  release (v2.13.1) was published successfully to launchpad:

Don't forget to sudo apt-get update before sudo apt-get install onefetch
I'll let you close this issue if everything works as expected on your side.

Should be good now, the latest release (v2.13.1) was published successfully to launchpad:

Don't forget to sudo apt-get update before sudo apt-get install onefetch
I'll let you close this issue if everything works as expected on your side.

It's working and now working at once. App is downoaded and installed but when I try to startup i have error

You need to be running onefetch inside a Git repository (or by giving it a path to the repo onefetch <path-to-repo>)
cf. @spenserblack 's comment for more details --> https://github.com/o2sh/onefetch/issues/826#issuecomment-1280162669

You need to be running onefetch inside a Git repository (or by giving it a path to the repo onefetch <path-to-repo>)
cf. @spenserblack 's comment for more details --> https://github.com/o2sh/onefetch/issues/826#issuecomment-1280162669
Another example:
git clone https://github.com/o2sh/onefetch
cd onefetch
onefetch

I think it's only when install onefetch by cargo metod or build from source not when ppa method.
So what's is idea of ppa when i need to do extra steps.

You need to be running onefetch inside a Git repository (or by giving it a path to the repo onefetch <path-to-repo>)
cf. @spenserblack 's comment for more details --> https://github.com/o2sh/onefetch/issues/826#issuecomment-1280162669
Another example:
git clone https://github.com/o2sh/onefetch
cd onefetch
onefetch

Ok working. Thanks

There is no extra steps, I was just giving you an example on how to make use of onefetch.
Now that you have installed onefetch, you just need to find a valid git repository to use it on.

Checked. Working in Ubuntu 22.04

@o2sh  Thanks for help. Time to do same think for 22.10 ;)

Done 😄

Done smile

Great :)


Template on Microsoft LookBook for TheLanding template fails with not specific error codes

Describe the issue
My coworker and myself have tried several times this week to deploy TheLanding template from Microsoft Lookbook.  I my case it stated that it partially failed.  I can see the site but I have no idea what is missing.
Expected behavior
I have deployed other templates from Microsoft Lookbook, I expected it to deploy so I could continue our work.
Screenshots
If applicable, add screenshots to help explain your problem.

Details (please complete the following information):

PnP Correlation ID: [Provide a correlation ID for the provisioning action]
I don't have this one.

Reference Template: [please provide the URL of the template in the Look book site. It should be something like: https://lookbook.microsoft.com/details/{Template-ID}]

https://lookbook.microsoft.com/tenant/Home/Provision?returnUrl=https%3A%2F%2Flookbook.microsoft.com%2Fdetails%2Fc9300e94-6e83-471a-b767-b7878689e97e&source=default

Primary language of the target tenant: [provide the LCID of the primary language of the target tenant]

English

Are you using a Tenant Global Admin account to provision the template: [Yes/No] YES

Additional context
Add any other context about the problem here.

Hi,
Thanks for using the Look Book site. This seems to be a random hiccup on the SharePoint side which would imply that the template should work properly if you try it one more time. Seems that the provisioning did succeed partially. Can you test this one more time and, in case of any failure, share the updated Correlation ID (by creating a new issue) for us to double-check the flow. Thanks.


Add witness map to tx build

Example of using it to set the redeemer to the index:
https://github.com/j-mueller/sc-tools/pull/121/files#diff-ac9391235cc7c83bde5aa9e0c27bd4107e8dc0a6463c20dfb2cb68adf52ece0eR46-R56 #


[SPARK-36418][SPARK-36536][SQL][DOCS][FOLLOWUP] Update the SQL migration guide about using CAST in datetime parsing

What changes were proposed in this pull request?
In the PR, I propose the update the SQL migration guide about the changes introduced by the PRs https://github.com/apache/spark/pull/33709 and https://github.com/apache/spark/pull/33769.

Why are the changes needed?
To inform users about the upcoming changes in parsing datetime strings. This should help users to migrate on the new release.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
By generating the doc, and checking by eyes:
$ SKIP_API=1 SKIP_RDOC=1 SKIP_PYTHONDOC=1 SKIP_SCALADOC=1 bundle exec jekyll build

Test build #142693 has started for PR 33809 at commit c597751.

Test build #142693 has finished for PR 33809 at commit c597751.

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

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47195/

Merging to master. Thanks to @HyukjinKwon for review.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47195/

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

late LGTM


exposing partition key internal constructor for friend class

Pull Request Template
Description
exposing partition key internal constructor for friend class
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Internals with-out UT's is not a good start.
Our current plan is to move friends inside OSS and have all UT. Then friends can access internals.
For non public but Interop specific, its needs to be conditionally compiled with "#if INTERNAL". It makes the contract very explicit.
/c: @sivethe

Please update PR as per new guidelines and re-open.


Added special case for spanish menus to avoid wrapping

Why:
To prevent text wrapping at specific screen dimensions

https://github.com/18F/identity-private/issues/2262

@hursey013 done


Add missing exports

Is there any reason v3 and v5 are not exported from index?

I have found this explanation https://github.com/kelektiv/node-uuid/pull/227


VCF comparison - TypeError: '>=' not supported between instances of 'int' and 'NoneType'

Hello everyone,
We´re using Truvari (v3.0.1) bench to compare VCF files from ONT dataset (using cuteSV) vs microarray dataset (vcf exported from ChAS-Chromosome Analysis Suite software). When comparing two vcfs only from ONT, everything works fine, but when we use a vcf exported from ChAS (vcf version 4.2, the same as the one from ONT) we get a Python error. All vcfs are sorted, gzipped and indexed.
Command: truvari bench -b 123456_CytoScanHD_Array.cyhd.ND.sorted.vcf.gz -c /full/path/123456_cutesv_filtered.vcf.gz -f /full/path/Hg38/Homo_sapiens.GRCh38.dna.primary_assembly.fa -o /full/path/Truvari1/
Error:
Traceback (most recent call last):
File "/usr/local/bin/truvari", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/site-packages/truvari/main.py", line 64, in main
TOOLSargs.cmd
File "/usr/local/lib/python3.10/site-packages/truvari/bench.py", line 439, in bench_main
regions = truvari.GenomeTree(outputs["vcf_base"], outputs["vcf_comp"], args.includebed, args.sizemax)
File "/usr/local/lib/python3.10/site-packages/truvari/genome_tree.py", line 21, in init
self.tree = self.__build_tree(vcfA, vcfB)
File "/usr/local/lib/python3.10/site-packages/truvari/genome_tree.py", line 52, in __build_tree
all_regions[name].addi(0, length)
File "/usr/local/lib/python3.10/site-packages/intervaltree/intervaltree.py", line 343, in addi
return self.add(Interval(begin, end, data))
File "/usr/local/lib/python3.10/site-packages/intervaltree/intervaltree.py", line 323, in add
if interval.is_null():
File "/usr/local/lib/python3.10/site-packages/intervaltree/interval.py", line 139, in is_null
return self.begin >= self.end
TypeError: '>=' not supported between instances of 'int' and 'NoneType'
We´re guessing that the error must be related with ChAS vcf file configuration, maybe some important information that Truvari needs is missing or incorrect.
ChAS VCF example:
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	123456_(CytoScanHD_Array).cyhd.ND.cychp
1	72293841	.	N		.	.	SVTYPE=CNV;END=72346221;SVLEN=52380;IMPRECISE	CN	4
1	173912764	.	N		.	.	SVTYPE=CNV;END=173963653;SVLEN=50889;IMPRECISE	CN	3
10	90317517	.	N		.	.	SVTYPE=CNV;END=90843786;SVLEN=526269;IMPRECISE	CN	3
11	55606559	.	N		.	.	SVTYPE=CNV;END=55693312;SVLEN=86753;IMPRECISE	CN	0
12	45282874	.	N		.	.	SVTYPE=CNV;END=45353285;SVLEN=70411;IMPRECISE	CN	3
ONT VCF example:
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	EOL-1_21-10-2021
1	181211	cuteSV.INS.3	G	AAATTTGGGCCC	16.9	PASS	PRECISE;SVTYPE=INS;SVLEN=55;END=181211;CIPOS=-36,36;CILEN=-3,3;RE=3;RNAMES=5bdd1234-478a-4e38-8b55-c3eeac2fc3ac,66bd1bb2-2b32-43a7-b90f-d9b568dc1df4,55c31918-de29-4e4c-8a6d-aa9fb6c80306;AF=0.6	GT:DR:DV:PL:GQ	0/1:2:3:17,1,7:6
1	350807	cuteSV.INS.4	A	AAATTTGGGCCCAAA	13.7	PASS	PRECISE;SVTYPE=INS;SVLEN=39;END=350807;CIPOS=0,0;CILEN=0,0;RE=3;RNAMES=f47d2e5a-e321-41e3-8418-ebb2be67e9b3,bdebecd9-6c7e-4d59-a558-2bd2a3456771,a3354bf2-4e36-4131-b821-f98b20f07b47;AF=0.5	GT:DR:DV:PL:GQ	0/1:3:3:14,0,14:10
Why do you think we are getting this error? Can you please help us solve it?
Regards,
Jose

Given your example, the problem is likely with the ONT VCF. I believe the VCF format uses 1-based, half opened intervals and insertions/deletions need to have an anchor base. So the line
1 181211 cuteSV.INS.3 G AAATTTGGGCCC 16.9 PASS PRECISE;SVTYPE=INS;SVLEN=55;END=181211;CIPOS=-36,36;CILEN=-3,3;RE=3;RNAMES=5bdd1234-478a-4e38-8b55-c3eeac2fc3ac,66bd1bb2-2b32-43a7-b90f-d9b568dc1df4,55c31918-de29-4e4c-8a6d-aa9fb6c80306;AF=0.6 GT:DR:DV:PL:GQ 0/1:2:3:17,1,7:6

is seems malformed because POS == END and REF[0] != ALT[0]. If I had to guess, the VCF entry probably needs to look like one of the following (truncated for readibility)
1 181210 cuteSV.INS.3 G GAAATTTGGGCCC 16.9 PASS END=181211 GT 0/1

1 181211 cuteSV.INS.3 A AAATTTGGGCCC 16.9 PASS END=181212 GT 0/1

Though I'm also now noticing that len(ALT) != SVLEN, which is strange. But that should just cause weirdness in the reporting rather than prevent Truvari from  running.
If you ever suspect a VCF is incorrect, read the wiki for instructions on a way to catch a lot of possible formatting errors.

I'm sorry, I jumped right to the VCF entries without carefully reading the error.
What I described above is correct and likely should be fixed, but this specific error is caused by the ChAS VCF's header being malformed.
The header is probably missing a line such as ##contig=<ID=1,length=248956422>.  The contig name probably exists, but its almost certainly missing the 'length'.

Because the VCF Format explicitly states that the contig header is optional, but Truvari requires it when --includebed is not provided, I'll consider this a bug and put in a ticket for Truvari to catch when this happens and give a more informative error.

Hi Adam,
Thank you very much for the quick answer. I am very sorry about the ONT vcf file example, I had truncated it, that´s why REF[0] != ALT[0] on the first variant and len(ALT) != SVLEN on both variants, but indeed originally POS == END, maybe due to the fact that these variants are insertions (?), as we checked the following ones (deletions and duplications) and POS != END.
You are right, we checked ChAS vcf and indeed the contig length is missing! We will add the length and retry the comparision.
Thanks!
Regards,
Jose

Excellent. Let me know if that doesn't fix the problem.
As for POS == END, that probably won't prevent Truvari from running, but it may have implications for measuring sequence similarity (--seqsim).  It's very minor, and maybe even speculative, but I know that I built/tested Truvari with insertions that had the anchor-base, so END = POS + 1.  So when POS == END, I think the entry should become something like:
1 181211 cuteSV.INS.3 . AAATTTGGGCCC END=181211

Where there is no sequence inside of the REF column. IDK, VCF can get wonky so watch out.
Closing this ticket for now and tracking development in a ticket


change nft to atomic asset

We should change all our text referring to "NFTs" to "Atomic Assets" and ensure that we don't call NFTs anywhere in the app, scripts, tags, etc.

Resolved in #47


Allow Sourceror.to_string to format keyword list elements as list elements and not as tuples

If the user wants to patch the code to rename an option in a keyword list, they would only need to format a single element of the list. The problem is that an element of a keyword list is a 2-tuple, and even if the Formatter knows how to handle the format: :keyword metadata, if the tuple is not inside of a list, this rule is ignored:
iex> {_, _, [[tuple]]} = Sourceror.parse_string!("[a: b]")
iex> Sourceror.to_string(tuple)
"{:a, b}"

So the user needs to wrap the element in a list and then strip the brackets to get the desired output:
iex> {_, _, [[tuple]]} = Sourceror.parse_string!("[a: b]")
iex> Sourceror.to_string([tuple], format: :keyword) |> String.slice(1..-2)
"a: b"

This is tedious, an forces the user to think about how the formatter works to get the output they want.
One way to solve this would be to add a format: :keyword option to Sourceror.to_string/2, so that it will format a 2-tuple as if it were inside of a list:
iex> {_, _, [[tuple]]} = Sourceror.parse_string!("[a: b]")
iex> Sourceror.to_string(tuple, format: :keyword)
"a: b"

If the user wants to do the same for multiple tuples, it would work with a list too:
iex> {_, _, [[tuple]]} = Sourceror.parse_string!("[a: b]")
iex> Sourceror.to_string([tuple, tuple], format: keyword)
"a: b, a: b"

The problem with this use case is that it would also work with other kinds of lists, for example:
iex> Sourceror.to_string([1, 2, 3], format: :keyword)
"1, 2, 3"

So in this case the behavior is not the same as having format: :keyword metadata, but it's more like format: :splicing (borrowing the term from the behavior of unquote_splicing).
So if this were to be added, we have to decide which name for the option makes the most sense.
Moreover, it may be worth considering the case of a regular 2-tuple like {:a, :b}(ie not a wrapped literal). Sourceror is able to print this thanks to Code.quoted_to_algebra, but since the key is not a wrapped atom with the format: :keyword metadata, it can't be printed as a keyword list element. So, would it make sense to also introduce a function like Sourceror.build_kw_element(key, value)?

The :splicing format sounds like a good idea. We could also have somethig like:
# No format
iex> Sourceror.to_string("[a: 1, b: 2]")
"[{:a, 1}, {:b, 2}]"

# Format :keyword
iex> Sourceror.to_string("[a: 1, b: 2]", format: :keyword)
"[a: 1, b: 2]"

# Format :keyword_options
iex> Sourceror.to_string("[a: 1, b: 2]", format: :keyword_options)
"a: 1, b: 2"

One problem is that using :keyword_options would only generate valid code if the kw list is the last argument of a function or the last item of a list/tuple.
Maybe the only way to get this right would be to create specific functions to handle kw "options". A function receiving the whole quoted expression (function, tuple or list) would be able to check the last item/argument and replace it accordingly (I guess). Something like Sourceror.patch_keyword_option(:the_option, ...).
Is your intention to provide a higher level API to patch common fragments? Like Sourceror.rename_function(...), Sourceror.patch_function_arg(..., arg_index), Sourceror.remove_function_arg(..., arg_index) and so on? If so, it could be an option.
Either way, I think what you've already achieved is pretty awesome 🙂

Hi @msaraiva!
The issue I have with the name :keyword_options is that you can also use it to update Ecto queries or stuff after the when in typespecs.

One problem is that using :keyword_options would only generate valid code if the kw list is the last argument of a function or the last item of a list/tuple.

The case for to_string generating something like a: b, :not_an_option, c: d` was just fixed in elixir master, it was a bug in the Elixir.Normalizer :slightly_smiling_face:

Maybe the only way to get this right would be to create specific functions to handle kw "options". A function receiving the whole quoted expression (function, tuple or list) would be able to check the last item/argument and replace it accordingly (I guess). Something like Sourceror.patch_keyword_option(:the_option, ...).

I'm not sure about this, because it's not clear if it should return a patch, a string, or a new ast. Actually I think that just using format: :splicing and making the user wrap a single tuple in a list as to not add an additional special case would be enough for the simple case of replacing elements from a keyword list. WDYT?

Is your intention to provide a higher level API to patch common fragments? Like Sourceror.rename_function(...), Sourceror.patch_function_arg(..., arg_index), Sourceror.remove_function_arg(..., arg_index) and so on? If so, it could be an option.

I've been playing with the idea of providing an API to build nodes from literals, something like Sourceror.Nodes.build_block(:do, contents) or Sourceror.Nodes.build_literal("hello!"), or adding functions like Sourceror.has_block?(quoted, :catch) or Sourceror.get_block(quoted, :else) to ease the pain of getting a particular block from a function, but I didn't thought about an API for creating common patch fragments. I can see the utility, and it's something worth considering, but I would like to get a better understanding of the use cases first :slightly_smiling_face:. A proposal is very much welcome, though!

I think that just using format: :splicing and making the user wrap a single tuple in a list as to not add an additional special case would be enough for the simple case of replacing elements from a keyword list. WDYT?

I totally agree.

I didn't thought about an API for creating common patch fragments. I can see the utility, and it's something worth considering, but I would like to get a better understanding of the use cases first 🙂. A proposal is very much welcome, though!

I think you don't have to consider adding such API now. It's better to wait for feedback and see the real cases people will be using this lib. As I said, it already makes it possible implementing ALL cases I had so I'd just focus on making it stable for now and then consider adding new features later 🙂.

It's better to wait for feedback and see the real cases people will be using this lib.
I'd just focus on making it stable for now and then consider adding new features later :slightly_smiling_face:.

Sounds very reasonable :slightly_smiling_face:
Thanks for your thoughts!

Hey @msaraiva! Just a heads up, but I ended up adding a Sourceror.Patch module, as I found myself needing that as well. Functions from that module take AST and return a list of patches, and includes a rename_call that you can use even with sigils, and rename_kw_keys for the options.

Wow! That's really nice 🔥 🔥 🔥
Thanks for the update!


Reallocate windows boxes

We now have six Windows 2012 machines available for building across three providers and 13 available across multiple OS levels for test. In any given pipeline there is up to six (Dragonwell, HotSpot 32-bit, HotSpot 64-bit, OpenJ9 32-bit, OpenJ9 64-bit, openJ9 XL) but once the builds are complete these machines are idle. It would make more sense to reduce the number allocated to build and increase the number for testing. My current plan would be to keep the build*-1 machines as-is (since we have good coverage across providers so worst case we'd only lose one if a provider went down), but add ci.role.test sw.os.windows and hw.arch.x64 to the second ones (leaving them also able to build for now)

The following now have the test tags:

build-alibaba-2
build-azure-2
build-ibmcloud-2

GoDaddy machines have been decomissioned so there are now 11 machines available for Windows testing, three of which are shared with build. JDK has six variants to build, which could all be built concurrently just now, but that would delay testing progress which is ultimatly the limiting factor. Reducing to three machines (less than we need to build concurrently) would be comparable to what we have on most other platforms.

GoDaddy machines have been decomissioned so there are now 11 machines available for Windows testing, three of which are shared with build. JDK has six variants to build, which could all be built concurrently just now, but that would delay testing progress which is ultimatly the limiting factor. Reducing to three machines (less than we need to build concurrently) would be comparable to what we have on most other platforms.

Only the three build*1 machines are able to build, all others are available for tests.


grid lines in slick grid

banging my head to find how to have vertical lines to show separation of columns in a grid.
i think this should be very easy by modifying some css.
but i am unable to locate the place.
kindly help.

override css for slickrow

Ohh sorry you can override slickcell

thanks @VictorTomaili , actually i am trying to have vertical lines for visible separation of columns, let me try with border-right-color etc.
thanks again for your help.

same css class

thanks a lot @VictorTomaili
.
worked.


Mention python-barcode parameter adding capabilities

It took me a while to figure out how to add barcode without text below, so I extended the documentation a bit.

@martonmiklos I was not aware this was even possible. Thanks for the helpful addition!

Very cool! I did not know this was possible either

Very cool! I did not know this was possible either

Yeah, the write_text options seems to be a black magic, at least the python-barcode documentation does not mention it at all...


express app cannot find module 'hamljs'

install of hamljs (v0.5.2) with npm (v1.1.0-beta4) on node (v0.6.6) windows (v7) looks fine but application with:
// Use hamljs for HAML views
app.register('.haml', require('hamljs'));
returns error: Cannot find module 'hamljs'

Are express and hamljs both installed locally?  What does npm ls print?

express and hamljs are both installed locally. i had also tried running app.js with both installed globally, too.
npm ls prints:
<EMAIL_ADDRESS>c:\nodejs\applications\application
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>extraneous
<EMAIL_ADDRESS>extraneous
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>extraneous
<EMAIL_ADDRESS>

also, adding hamljs to package.json dependency and then "npm install" makes no difference. I also noticed that pg is not in my package.json file (and the require code throws no errors); however, "npm install" results in:

<EMAIL_ADDRESS>install c:\nodejs\applications\app\node_modules\pg
node-waf configure build || true

'node-waf' is not recognized as an internal or external command,
operaable program or batch file.
so the local "npm install" for pg seemed to work but not for hamljs

This node-waf configure build || true is a problem I had with pg on windows too.  pg currently won't install on windows from npm because windows doesn't have a true command.  They fixed this on pg now, but they evidently haven't uploaded the changes to the npm repository.  You can make a temporary fix by creating a file called "true.cmd", with the contents exit 0, and saving it to the node.js folder.
Since pg throws a fatal error, it will stop npm from further installs at that point.  This could be preventing hamljs from finishing its install?

thanks for responding. very interesting - i am pretty new to this stuff but did see references to that kind of work around.
however, i do have other code that requires pg, and it may have thrown that same error, but because the code works and does in fact reads from my postgres db, i assume that package installed correctly. is that a safe assumption? i did npm unistall pg, and then install hamljs and then did npm install. that throws no errors. i did then re-npm install pg, and then ran npm install again, and i get the same node-waf error for pg. i ran my code in app.js and it still cannot find module "hamljs". the hamljs code comes after the "require pg" stuff but still only hamljs error.
so now let me try your suggestion above - thanks. i'll be back shortly

ok, so i put true.cmd in my c:\nodejs directory. and then i did local install of pg at c:\nodejs\applications\geojson and got the following:

<EMAIL_ADDRESS>install c:\nodejs\applications\geojson\node_modules\pg
node-waf configure build || true

'node-waf' is not recognized as an internal or external command,
operable program or batch file.
c:\nodejs\applications\geojson\node_modules\pg>exit 0
<EMAIL_ADDRESS>./node_modules/pg
<EMAIL_ADDRESS>
is this correct?
at any rate, "Error: Cannot find module 'hamls'" still comes up

ok so if i even just create a new fresh out of the box express application at c:\nodejs\applications\haml by running:

c:\nodejs\applications\haml express
and then
npm install
and then
npm install hamljs
and then run app.js that has the lines:
// Use hamljs for HAML views
app.register('.haml', require('hamljs'));
i still get the error
Error: Cannot find module 'hamljs'

this is what my package.json file looks like:
{
"name": "application-name"
, "version": "0.0.1"
, "private": true
, "dependencies": {
"express": "2.5.2"
, "jade": ">= 0.0.1"
}
}
is it a npm problem or a hamljs problem that it can't be found? do i need to take different steps for this package than i do for other packages?

Ok I checked it out and the problem is with hamljs.  The module has no "main" parameter in "package.json", and no "index.js".  Node needs one of these in order to figure out what file it is supposed to run.
You can fix it by adding the following to "package.json":
  ,"main": "./lib/haml.js"

Walter:
It works for me when I follow those steps.  Please upload a minimal
example to gist or github.
On Tue, Dec 20, 2011 at 07:16, Walter Svekla
<EMAIL_ADDRESS>wrote:

ok so if i even just create a new fresh out of the box express application at c:\nodejs\applications\haml by running:

c:\nodejs\applications\haml express
and then
npm install
and then
npm install hamljs
and then run app.js that has the lines:
// Use hamljs for HAML views
app.register('.haml', require('hamljs'));
i still get the error
Error: Cannot find module 'hamljs'

this is what my package.json file looks like:
{
   "name": "application-name"
 , "version": "0.0.1"
 , "private": true
 , "dependencies": {
     "express": "2.5.2"
   , "jade": ">= 0.0.1"
 }
}
is it a npm problem or a hamljs problem that it can't be found? do i need to take different steps for this package than i do for other packages?

Reply to this email directly or view it on GitHub:
https://github.com/isaacs/npm/issues/1903#issuecomment-3220027

Cameron,
The hamljs package's main field is "index" (which is kind of
unnecessary, actually).
$ npm view hamljs@'*' main
<EMAIL_ADDRESS>'index'
<EMAIL_ADDRESS>'index'
<EMAIL_ADDRESS>'index'
https://github.com/visionmedia/haml.js/blob/master/package.json#L10
On Tue, Dec 20, 2011 at 08:02, Cameron Howey
<EMAIL_ADDRESS>wrote:

Ok I checked it out and the problem is with hamljs.  The module has no "main" parameter in "package.json", and no "index.js".  Node needs one of these in order to figure out what file it is supposed to run.
You can fix it by adding the following to "package.json":
,"main": "./lib/haml.js"

Reply to this email directly or view it on GitHub:
https://github.com/isaacs/npm/issues/1903#issuecomment-3220752

When I do npm install hamljs I get version 0.4.5.  TJ needs to upload a more recent version.

I take it back, somehow I gots a really old version of hamljs cached on my computer.

@sinjin, use the following to download the latest version of hamljs:
npm install hamljs -f

(-f forces a fresh copy to be downloaded from the registry)

ok great - thanks. let me try that. i, too, kept getting v0.4.5

Bah, why don't v0.5.2 got index file like it says it should?
Its even in the public github repo.
@sinjin, you will also need to add a file "index.js" that contains:
lib/haml.js

I'm complaining on the hamljs issues.

when i run: npm install hamljs -f
i get the following error to npm-log:
info it worked if it ends with ok
verbose cli [ 'C:\nodejs\\node.exe',
verbose cli   'C:\nodejs\node_modules\npm\bin\npm-cli.js',
verbose cli   'install',
verbose cli   'hamljs',
verbose cli   '-f' ]
info using<EMAIL_ADDRESS>info using<EMAIL_ADDRESS>verbose config file C:\Users\walter.svekla.npmrc
verbose config file C:\nodejs\etc\npmrc
verbose config file C:\nodejs\node_modules\npm\npmrc
verbose mkdir done: C:\nodejs\applications\haml 755
verbose caching C:\nodejs\applications\haml\package.json
verbose loadDefaults<EMAIL_ADDRESS>verbose caching C:\nodejs\applications\haml\node_modules\express\package.json
verbose loadDefaults<EMAIL_ADDRESS>verbose caching C:\nodejs\applications\haml\node_modules\jade\package.json
verbose loadDefaults<EMAIL_ADDRESS>verbose from cache C:\nodejs\applications\haml\package.json
verbose into C:\nodejs\applications\haml [ 'hamljs' ]
verbose cache add hamljs
verbose cache add [ 'hamljs', null ]
silly cache add: name, spec, args [ undefined, 'hamljs', [ 'hamljs', null ] ]
verbose parsed url { pathname: 'hamljs', path: 'hamljs', href: 'hamljs' }
verbose addNamed [ 'hamljs', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'hamljs', '', false ]
verbose raw, before any munging hamljs
verbose url resolving [ 'https://registry.npmjs.org/', './hamljs' ]
verbose url resolved https://registry.npmjs.org/hamljs
verbose etag "A0DVQ7GL4IJM02T2L224ESGW0"
http GET https://registry.npmjs.org/hamljs
silly get cb [ 304, undefined ]
verbose etag hamljs from cache
verbose mkdir done: C:\Users\walter.svekla\AppData\Roaming\npm-cache\hamljs 755
silly name, range, hasData 2 [ 'hamljs', '', true ]
silly versions [ 'hamljs', [ '0.4.5', '0.5.0', '0.5.1', '0.5.2' ] ]
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v<IP_ADDRESS>-win32-ia32-6.1.7601',
verbose bin dist   { shasum: '5dace9b858cdbe1ab27381d85a965d7b16703afa',
verbose bin dist     tarball: 'http://registry.npmjs.org/hamljs/-/hamljs-0.5.2.tgz' } ]
verbose addRemoteTarball [ 'https://registry.npmjs.org/hamljs/-/hamljs-0.5.2.tgz',
verbose addRemoteTarball   '5dace9b858cdbe1ab27381d85a965d7b16703afa' ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\WALTER~1.SVE\AppData\Local\Temp\npm-1324397894645'
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\WALTER~1.SVE\AppData\Local\Temp\npm-1324397894645\1324397894645-0.7143667030613869'
verbose mkdir done: C:\Users\WALTER~1.SVE\AppData\Local\Temp\npm-1324397894645\1324397894645-0.7143667030613869 755
verbose fetch to C:\Users\WALTER~1.SVE\AppData\Local\Temp\npm-1324397894645\1324397894645-0.7143667030613869\tmp.tgz
verbose mkdir done: C:\Users\WALTER~1.SVE\AppData\Local\Temp\npm-1324397894645\1324397894645-0.7143667030613869 755
http GET https://registry.npmjs.org/hamljs/-/hamljs-0.5.2.tgz
ERR! ReferenceError: cb is not defined
ERR!     at Request.onResponse (C:\nodejs\node_modules\npm\lib\utils\fetch.js:64:20)
ERR!     at Request. (C:\nodejs\node_modules\npm\node_modules\request\main.js:180:60)
ERR!     at Request.emit (events.js:88:20)
ERR!     at ClientRequest. (C:\nodejs\node_modules\npm\node_modules\request\main.js:178:10)
ERR!     at ClientRequest.emit (events.js:67:17)
ERR!     at CleartextStream. (http.js:1114:11)
ERR!     at CleartextStream.emit (events.js:67:17)
ERR!     at Socket.onerror (tls.js:1075:17)
ERR!     at Socket.emit (events.js:88:20)
ERR!     at Array.0 (net.js:313:25)
ERR! Report this entire log at:
ERR!     http://github.com/isaacs/npm/issues
ERR! or email it to:
ERR<EMAIL_ADDRESS>ERR!
ERR! System Windows_NT 6.1.7601
ERR! command "C:\nodejs\\node.exe" "C:\nodejs\node_modules\npm\bin\npm-cli.js" "install" "hamljs" "-f"
ERR! cwd C:\nodejs\applications\haml
ERR! node -v v0.6.6
ERR! npm -v 1.1.0-beta-4
ERR! type not_defined
ERR! arguments [ 'cb' ]
ERR! message cb is not defined
verbose exit [ 1, true ]

Heh, this looks like a genuine npm bug.
Try npm install npm@alpha -gf to upgrade your npm?  @isaacs could say better what the problem is.

The undefined cb is indeed an error.  Fixed on 7839d3cd7475d9ae8156df88932aae13c6943529, thanks for finding it.
@sinjin There's a more insidious problem with hamljs.  The reason you're getting 0.4.5 instead of 0.5.2 is because hamljs is set to only work with node 0.4.  Run this, and you should get version 0.5.2.  Please complain to the author to bring it up to date.
npm cache clean -f
npm install hamljs -f

The -f is necessary to tell npm to disregard the node-version restrictions.

@isaacs, @chowey - thank you guys for all of the assistance. i got a lot out of working through this stuff.


Missing url!

I am trying urls for retriveing filing information info from document:
urls:
http://secxbrl.xbrl.io/api/filings.jq?cik=320193&cik=1288776
http://secxbrl.xbrl.io/api/filings.jq?cik=320193&fiscalYear=2012&fiscalPeriod=Q1&fiscalPeriod=Q2
But they all returned 'page not found'.
Am I missing something!

@ahmedmohiduet This tutorial is deprecated. If you are interested to query sec filings please refer to the documentation at http://app.secxbrl.info/. Please feel free to reopen this issue if you have any further questions.


Review package/README

Since this is the doc that gets pushed to npm, we should review whether it should include installation instructions, usage instructions etc. that are included in the main repo docs.

package has it's own README, src one doesnt get copied over

#797

At the moment the README published to npm is not great.
We could consider publishing the main README (without relative links)
We could consider publishing https://github.com/alphagov/govuk-frontend/blob/master/docs/installation/installing-with-npm.md
Or maybe something that mixes the two.

Closed by #797


setup branch code

Just to start the pull request to add NIFI as a source.
I plan to stream data from a person's Facebook page to NIFI.  To do this, I will obtain a token from Facebook.  A NIFI processor will be configured to read Facebook data using the token and Facebook's graph endpoint.  Another NIFI processor will be configured to take the received data and send to Kafka.  Additional NIFI processors will be configure as necessary to (re-)format the data.
Langstream will be configured to read the Kafka endpoint and dump data into a vector database.  This data will be used to create a prompt with a the user's question for OpenAI.

@mark878 can you please mark this PR as "Draft" ?


Add descriptive docstring to MultiBoxTarget

Description
MultiBoxTarget contrib operator is poorly documented and is practically impossible to read the API doc and know how to use it. Someone who's an expert in using this API must improve the docstring.

@zhreshold

@mxnet-label-bot add [Unclear error/docs]