Fixed typo in docs

Hello, and thanks for your contribution!
Unfortunately we couldn't find an account corresponding to your GitHub username at bugs.python.org (b.p.o). If you don't already have an account at b.p.o, please create one and make sure to add your GitHub username. If you do already have an account at b.p.o then please go there and under "Your Details" add your GitHub username.
And in case you haven't already, please make sure to sign the PSF contributor agreement (CLA); we can't legally look at your contribution until you have signed the CLA.
Once you have done everything that's needed, please reply here and someone will verify everything is in order.

Account in bugtracker created, PSF accepted ;)

For such a small docstring fix we won't even need to wait for the CLA paperwork to go through!


How to modify orchest base images?

How to modify orchest base images? I tried to pass a custom image to EKS using kubectl apply, but it keeps going up using the default image.
apiVersion: orchest.io/v1alpha1
kind: OrchestCluster
metadata:
  name: cluster-1
  namespace: orchest
spec:
  singleNode: true
  orchest:
    orchestWebServer:
      image: alexsanderdadosfera/orchest-webserver:latest

For anyone else interested in the answer, this was discussed in our public Slack: https://orchest.slack.com/archives/C018A6TGJR3/p1660243591659009

For completeness, the answer from the Slack:
I take it that you want to extend Orchest, e.g. changing the color of the background, and use your custom version instead. For this, I would recommend using the Registry option in the OrchestSpec to specify the registry where you store your custom images. For example, when not specifying it it will default to DockerHub (docker.io) and use our images.
This way you can host the images that you want to use in Orchest. To make sure the in-app updating still works your version tags need to follow CalVer (given that we enforce it in the orchest-cli and call it when updating through the orchest-api).
When looking to extend Orchest it is good to be aware of the fact that the Orchest product depends on some external endpoints for some functionality. For example, to incorporate examples into the product it will pull the applicable information from https://github.com/orchest/orchest-examples, and to show a update dialog (indicating that a new version is available) it will also poll from an external endpoint (so you would have to make sure this endpoint returns a version of your choosing). Of course you can change, in the code, the endpoints that are called (and how).
For the case of development, you just need to make sure that your images are on the nodes under the orchest/orchest-webserver etc. names so that the imagePullPolicy will resort to using your images instead of pulling them from DockerHub (or your custom registry). For this, we use the scripts/build_container.sh script (as you can read in the development docs).
I hope that answers your question. If it doesn't or if it doesn't cover your use case, then please feel free to reach out again :wink:


Feat: Add Shortcuts Logic to toolbar

This PR adds the possibility of using shortcuts for the main buttons in the toolbar:

Keys in Windows/Linux will use 'Alt' as the modifier to not interfiere with browser defaults.
Keys in Mac will use 'Alt' as the modifier to not interfiere with browser defaults.
The functionality supports Spanish/English keyboard.

Notes

Accessibility is being considered using describedby referring to the tooltip
Tooltip won't be shown if the button is disabled.

https://github.com/Lemoncode/mongo-modeler/assets/63003079/ad5e1d05-8a68-40b3-a2d5-23eaf7b86476

Close #322


How can I download all my Youtube Music Playlist? Because I quite noob in these thing.

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I just got the Ipod 7th gen. So I want to sync my youtube music playlist on my iPod and PC. Because I really noob at those thing, is there a code that I can use it? Step-by-step would be perfect! Thank yo
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

You can simply use yt-dlp <playlist url> to download the whole playlist. Just make sure the playlist is public or available via link

Join the discord server if you still need help with the basics of using yt-dlp


Add text classification task?

Sentiment/Topic

https://drive.google.com/drive/folders/10-cAYSzPxKdzYfZyCZZ8OqyHb8EFuan_?usp=sharing

Dataset description: https://arxiv.org/pdf/1705.04153.pdf
Aspect-based sentiment classification

https://drive.google.com/drive/folders/10-cAYSzPxKdzYfZyCZZ8OqyHb8EFuan_?usp=sharing

Note: we need to define new task template for aspect-based sentiment classification here
Dataset Description: https://arxiv.org/pdf/1605.05101.pdf

[ ] ATIS
[ ] CR
[ ] MR
[ ] QC
[ ] SST1
[ ] SST2
[ ] SUBJ


CORS Issue - Annyone else getting this?

XMLHttpRequest cannot load https://api-ping.intercom.io/vjs/users/ping. No 'Access-Control-Allow-Origin' header is present on the requested resource.
This is when using the script from inside angular instead of putting the script directly on the page.

Seems to be ok for me. Does the issue still happen for you? The Intercom ping endpoint always returns Access-Control-Allow-Origin: *, so there's no reason why it would be broken.

Yeah it's still happening. I'll do some more digging tomorrow. If I include the script normally in html it works but when I use async loading it throws that error. Thanks for getting back to me!

On Feb 28, 2016, at 11:02 AM, Wong Yong Jie<EMAIL_ADDRESS>wrote:
Seems to be ok for me. Does the issue still happen for you? The Intercom ping endpoint always returns Access-Control-Allow-Origin: *, so there's no reason why it would be broken.
—
Reply to this email directly or view it on GitHub.

Just a quick update the problem was I was sending a parameter called "companies" as a javascript list instead of company. For some reason this threw a CORS error and NOT a typical 500 response. One other question I have for you is secure mode found here, https://docs.intercom.io/configuring-intercom/enable-secure-mode
Do you plan on supporting this?
Thanks again!
Date: Sun, 28 Feb 2016 10:02:49 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [angular-intercom] CORS Issue - Annyone else getting this? (#30)
Seems to be ok for me. Does the issue still happen for you? The Intercom ping endpoint always returns Access-Control-Allow-Origin: *, so there's no reason why it would be broken.
—
Reply to this email directly or view it on GitHub.

That's interesting - CORS is actually supported, you just have to send the user_hash as part of the user options.
$intercom.boot({
    'user_hash': ...
    ... // Rest of user properties
});

You can generate the user_hash on the server-side.


Update versions to 2.2.1-SNAPSHOT

Version changes to 2.2.1-SNAPSHOT

Looks good, the syslog test failure requires a fix by James that was merged in the upstream today

Looks good, the syslog test failure requires a fix by James that was merged in the upstream today

See https://github.com/jboss-fuse/camel-quarkus/pull/121


GEODE-601: Fix intermittent exception in DiskRegionJUnitTest.

An expected DiskAccessException causes the cache to close
asynchronously. That leads to a race condition during test tearDown,
between checking that the cache is closed and it's access. Now wait
for the cache to close before tearDown.
Refactors:
Moved putSuccessful and exceptionOccurred inside Puts
Remove unnecessary thread creation for Puts in DiskRegionJUnitTest
Expose _testHandleDiskAccessException through method

+1 - I'll merge this fix.


Navigate with mouse

Currently, the only to navigate in yofi is through the keyboard. This includes both scrolling and selecting an entry. It would be great if one could also scroll and select an entry with the mouse.
My current problem is that I want yofi to pop up when I click something in a taskbar, put then I need to let go of the mouse and type what I want, regardless of whether it's right there on the screen in front of me.

I also was thinking about this problem (pushed skeleton for mouse support at https://github.com/l4l/yofi/tree/wip-mouse-support) and that's actually not a hard one to implement.
Essentially one need to accurately calculate list item index by y-offset as specified in list_view.rs for each wl_pointer::Event::Motion (though this one is quite hard to grasp) and apparently moving out to some common utility functions. With the offset it's possible to get an entry index (similar to selected_item) and then click (wl_pointer::Event::Button) is close to Enter (aka XKB_KEY_Return) handling.


implemented backlash in bevel_gear.py

I found that although backlash was a parameter, it was not being utilized. theta was modified to account for backlash. Also, BevelGearPair backlash parameter was added.

Thank you @toaster-robotics


Repo Clean Up Installment 3: Sentence Transformers

Description
This pull request is part of the effort to clean up the ML repo and focuses on areas related to the Sentence Transformer models. It builds off of the changes in the PR for Installment 2.
See the commit history for change descriptions.
Ticket(s) or Issue(s): None
Type of change

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Local
[ ] Server 119
[ ] Server 115
[ ] K8

Screenshot of automated jenkin tests (if applicable):
Checklist:

[x] My code follows the style guidelines of this project

[x] I have performed a self-review of my own code

[x] I have commented my code, particularly in hard-to-understand areas

[x] I have made corresponding changes to the documentation

[ ] My changes generate no new warnings

[x] I have added tests that prove my fix is effective or that my feature works

[x] New and existing unit tests pass locally with my changes

[ ] Any dependent changes have been merged and published in downstream modules

[x] I have used an autoformatter like lint or blackc

[ ] This requires a code review


CAMEL-8356 corrections to default charset

this pull request contains:

corrections to IOConverter as described in issue CAMEL-8356
the fix for CAMEL-8346 adjusted to the the fix of CAMEL-8356

Thanks we got it, do you mind closing this PR


Webrtc support blazorwebview

Can Blazorwebview support webrtc ? E.g https://appr.tc

Hi @sowsan can you share more info about what you're trying to do?

Hi @sowsan can you share more info about what you're trying to do?

I believe che "challenge" is in showing the permissions request to the user and then set the feedback on the browser 🤔

I believe che "challenge" is in showing the permissions request to the user and then set the feedback on the browser 🤔

I found these two in stackoverflow talking about how we can achieve it with Xamarin webview
https://stackoverflow.com/questions/59771557/xamarin-requesting-camera-permissions-in-webview
https://stackoverflow.com/questions/62295556/xamarin-forms-webview-not-working-with-webrtc
@Eilon - any suggestion on how to use the permission request for web to access camera and microphone with mobilebindings ? here is the simple web to test it : https://appr.tc

I found these two in stackoverflow talking about how we can achieve it with Xamarin webview
https://stackoverflow.com/questions/59771557/xamarin-requesting-camera-permissions-in-webview
https://stackoverflow.com/questions/62295556/xamarin-forms-webview-not-working-with-webrtc
@Eilon - any suggestion on how to use the permission request for web to access camera and microphone with mobilebindings ? here is the simple web to test it : https://appr.tc

It's not an area I'm familiar with but I'll keep this issue open so that we can have a look. There probably isn't anything specific to this area because it's probably a general issue of running on devices with permissions. I think the StackOverflow issues you point to are probably the best answer because they both link to a blog post written by a Xamarin team member. The same technique probably works for any permission, and it'll all be general Xamarin behaviors that are OS-specific.
Docs:

Android permissions: https://docs.microsoft.com/en-us/xamarin/android/app-fundamentals/permissions?tabs=windows
iOS permissions: https://docs.microsoft.com/en-us/xamarin/ios/deploy-test/provisioning/entitlements?tabs=windows

It's not an area I'm familiar with but I'll keep this issue open so that we can have a look. There probably isn't anything specific to this area because it's probably a general issue of running on devices with permissions. I think the StackOverflow issues you point to are probably the best answer because they both link to a blog post written by a Xamarin team member. The same technique probably works for any permission, and it'll all be general Xamarin behaviors that are OS-specific.
Docs:

Android permissions: https://docs.microsoft.com/en-us/xamarin/android/app-fundamentals/permissions?tabs=windows
iOS permissions: https://docs.microsoft.com/en-us/xamarin/ios/deploy-test/provisioning/entitlements?tabs=windows

I think the problem is in the fact that blazor is run locally on the device with the app: // scheme while in webrtc it is necessary that the entire web app has as its origin https: // I also tried to set the permissions with little success; debugging with chome shows that navigator.mediaDevices is "undefined" and usually means that it is not available because the source is not in https. Anyone have ideas on possible solutions? In my case the whole app is based on webrtc.
WebRtc work only in http://localhost or from https://doomain.com


Expose brush dependencies, simplify BrushBuilder

Make important dependencies accessible for the end user. Like FontRef
for example, so a brush can be stored in a struct.
In my project I have a state struct so I can split a lot of the render code, but I can't use your library because dependencies are private. Anyway keep up the good work.

What a coincidence! I just published v0.5.0 in which I worked on simmilar issues. Can you try to update your repo and commit the same changes and I'll merge

Ok I resolved conflicts, and added a type for readability. One tip I can give you is to maybe try to reduce generic usage, it can often make the code hard to read and is not always necessary. I haven't really looked at your code in debt, but for example the depth_stencil builder, I think you can simplify if its passed as a parameter in the same build function.

Thanks for the tip! I'll try to simplify things.


Docker resource management

Hi, Do u know how can we specify the resource management like specific CPU, RAM, DISK space for a container through docker cli?

I don't think you can actually change those thing.  I could be wrong, but the idea behind the docker is that it sits in closer to the OS, nuzzled up, so that it doesn't have the same RAM, CPU, and DISK limitations.  That said, I think there may be a way to CAP those on the docker service itself.  I don't know about individual containers running.  Again, I could be super wrong about this.

Ok

The run commands are here :
https://docs.docker.com/engine/reference/run/#runtime-constraints-on-resources
The Compose reference is here:
https://docs.docker.com/compose/compose-file/compose-file-v2/#cpu-and-other-resources
With Taisun none of the templates I have currently created have this option:
https://stacks.taisun.io
But anyone can upload stacks with those options available.


useRouteMatch match actual url for paths with alias+regexp

The useRouteMatch will not match the actual url, when the path includes alias+regexp
EX:
Path:
/user/id:(\d+)
Actual url: (location.pathname)
/user/21
I will suggest an option for matching this ?
I wrote this implementation that could be used as inspiration for it:
(This implementation requires a regexp, so it don't allow only alias, but that can easily be changed)
const matchAliasAndRegExp = /^\:[^(]+\(([^)]+)\)/ // match alias + regexp
const routeItemRegExpList = routeList.map(routeItem => {
  const regexpParts = path.split('/').map(part => {
    const matchAlias = part.match(matchAliasAndRegExp)
    let regExpString: string
    if (matchAlias) {
      regExpString = part.replace(matchAliasAndRegExp, '$1') // remove alias and parenthesis
    } else {
      //FROM: https://github.com/sindresorhus/escape-string-regexp/blob/master/index.js
      regExpString = part
        .replace(/[|\\/{}()[\]^$+*?.]/g, '\\$&')
        .replace(/-/g, '\\x2d')
    }
    return regExpString
  })
  let totalRegExpString = '^' + regexpParts.join('\\/') // First start of string + parts
  if (routeItem.exact) {
    totalRegExpString += '$' // force full match
  }

  const regexp = new RegExp(totalRegExpString)
  return {
    regexp,
    routeItem,
  }
})

export const useCurrentRouteItem = (): IRouteItem | undefined => {
  const location = useLocation()
  const match = routeItemRegExpList.find(routeItemRegExp => {
    var found = routeItemRegExp.regexp.test(location.pathname)
    return found
  })
  return match?.routeItem
}

What version are you suggesting this for? This works on 5.x, and we have no intention to bring back regex matching for 6.0.

@timdorr
So is there another way to find out which route you are actually on ?
Is there a feature I don't know about ?
It's seems like something very important for many projects.


[IMPROVEMENT] Upgrade Amazon Linux Support to Version 2

AWS update there Amazon Linux to a new version 2: https://aws.amazon.com/de/amazon-linux-2/
Interesting Features:

systemd
on-premise support ( Docker, ... )

Outlook:
The support of systemd would facilitate the setup and configuration of Nomad and Consul, as well.
Supervisor would not be needed anymore to streamline setup, since Debian and Ubuntu are using systemd as well.
Question:
Should the Amazon Linux 1 support be dropped?

Pro: Legacy support
Contra: Duplication of many configuration files, especially for the AMI creation.
Contra: Increased complexity in the install-nomad and run-nomad script.

Suggestion:
Drop support since the provided setup can only be seen as an example.
Note:
Once this is decided, I can provide a PR.

I think it does make sense to switch to Amazon Linux 2, use systemd, and drop support for Amazon Linux 1. That said, I believe the version of Amazon Linux 2 out now is an LTS candidate, so perhaps it's worth waiting for the official LTS to come out?

Current version is: Amazon Linux 2 LTS Candidate (2017.12) ( 2018-02-04 ).
I agree it might be better to wait for the official release before turning Amazon Linux 1 off. Currently no release date is announced.
What do you think about dropping the usage of supervisord to configure the Nomad and Consul services running on the nodes? Since systemd will basically be a general approach supported by many linux distributions, it could facilitate the handling.

Yup, once the official LTS comes out, it makes sense to switch to systemd across the board: Consul, Nomad, Vault.

Until the release will be there I will keep this feature branch updated:
feature/amazonlinux2

No longer works with Amazon Linux 2.  The install-nomad script needlessly expects pip to be installed, which isn't, so as to install systemctl, which is already installed.  Simply removing sudo pip install supervisor from install-nomad fixes this for us since we only need to support Amazon Linux 2.

We have switched our other repos from supservisor to systemd. See this PR for an example. Anyone up for a PR to update this repo too?


cargo make run fails on Windows 10

After installing all the dependencies, and running cargo make run
I got
    Finished dev [unoptimized + debuginfo] target(s) in 30.41s

C:\Users\James\projects\my-awesome-game\rust>move ..\target\x86_64-pc-windows-msvc\debug\*.dll ..\lib\x86_64-pc-windows-msvc
C:\Users\James\projects\my-awesome-game\target\x86_64-pc-windows-msvc\debug\my_awesome_game.dll
        1 file(s) moved.
[cargo-make][1] INFO - Running Task: run-godot

C:\Users\James\projects\my-awesome-game\rust>cd "C:\Users\James\projects\my-awesome-game\rust"

C:\Users\James\projects\my-awesome-game\rust>cd ../godot/

C:\Users\James\projects\my-awesome-game\godot>godot -d
'godot' is not recognized as an internal or external command,
operable program or batch file.
[cargo-make][1] ERROR - Error while executing command, exit code: 1
[cargo-make][1] WARN - Build Failed.
[cargo-make] ERROR - Error while running duckscript: Source: Unknown Line: 4 - Error while executing command, exit code: 1
[cargo-make] WARN - Build Failed.

where the main error lies is
'godot' is not recognized as an internal or external command

The solution is to

copy a shortcut or the exe of your godot exec, for me, Godot_v3.4.3-stable_win64.exe to some folder that's in your PATH env var. I use ~/bin
edit your Makefile.toml and change your tasks.run-godot to the name of this exe file, ie, change godot -d to Godot_v3.4.3-stable_win64.exe -d


Improve the performance of string validation

We are currently using BitSet as a lookup table in many places, such as:

Cookie name, value and attribute validation
Header name and value validation
Path validation in PathAndQuery
CountingSampler

Although BitSet is compact, accessing it requires fair amount of shift operations and range checks, yielding relatively large penalty. We could:

Use byte[] instead of BitSet.
Use PlatformDependent.getByte() to reduce range checks.

.. as we did in #2307 and #2333

@anuraaga Do you have any other places in mind?

Hexadecimal conversion is also a good candidate.


Sort and width column feature doesn't work when it's in a hidden div in Chrome (49)

Hi,
now i now what it's wrong, if you put a table, as part of bootstrap Tab, and that Tab it's not a default Tab (it's hidden at the beginning), when you click on that tab, and try to order one of the column, all of them disappears, except the first one...
It's working properly when the table is in the default tab and it's the first you see when you load the component.
This behavior is in Chrome (last version), in IE11 works properly.
Any suggestion??

@garciasa, ok I understand, could you please me a example code and tell me the react-bootstrap version. It's helpful for me to debug, because I'm not familiar with react-bootstrap, so a repo is better :)

Sure, this is my test component, by default the tab is the second one defaultActiveKey={2}, in that way is not working, if you change to {1}, in which the table is then works.
`
import React from 'react';
import {Tabs, Tab} from 'react-bootstrap';
const products = [
{
id: '1',
name: 'asdfasf',
price: '123'
},
{
id: '2',
name: 'ddddd',
price: '23'
}
];
const Test = () => {
return(

Product ID
Product Name
Product Price

Tab 3 content
Tab 3 content

);
}
export default Test;
`

great :+1:  I'll check this out

Perfect! Thank you.....

Hi,
i updated it, because I've the same issue with the width property... when you render a component, if it is in a hidden div, it doesn't works properly...
Cheers.

HI @garciasa, v2.0.0 has been released, you can check #331 for more detail explanation and I'll close this issues, if problem still remain, please tell me on #331 or open an issue


Docker Cloud status reports failure, DockerHub reports not found, but clearly succeeding on DockerHub builds page

The docker cloud badge is reporting build failing:
https://img.shields.io/docker/cloud/build/harisekhon/bash-tools.svg
while the DockerHub badge doesn't even find the repo:
https://img.shields.io/docker/build/harisekhon/bash-tools.svg
but if you go to the DockerHub website you can clearly see the last build succeed:
https://hub.docker.com/r/harisekhon/bash-tools/builds
Also is the behaviour of this badge to check the last build or only the last latest tag build? Is there a way of choosing the last build status for a given tag?

while the DockerHub badge doesn't even find the repo:

The legacy /docker/build/ badge is only to support repos that were created before the Docker hub merge a few years ago. Not Found is the expected result when attempting to use the legacy badge with non-legacy repos. See: #4663, #1400, #3140, and #4493

The docker cloud badge is reporting build failing:

https://img.shields.io/docker/cloud/build/harisekhon/bash-tools

Shields uses the status provided by the Docker API. In the case of your repo, the Docker API is returning failed:
https://hub.docker.com/api/build/v1/source?image=harisekhon/bash-tools
{
  "meta": {
    "limit": 25,
    "next": null,
    "offset": 0,
    "previous": null,
    "total_count": 1
  },
  "objects": [
    {
      "autotests": "OFF",
      "build_in_farm": true,
      "build_settings": [
        "/api/build/v1/setting/0d14d357-934f-4383-ae78-8d05ebf603d9/",
        "/api/build/v1/setting/d9502c76-dea1-4173-a154-7767855fef67/",
        "/api/build/v1/setting/f363f52a-017b-4ddc-a1ac-a442140bfcae/",
        "/api/build/v1/setting/9fd400fa-9187-4a9e-81db-f2b6df860e3e/",
        "/api/build/v1/setting/e194ddf1-fef8-4f6b-890d-a7d86cd8e29c/",
        "/api/build/v1/setting/0585ef02-8533-4da1-b2cc-9c5f5c08bd76/"
      ],
      "channel": "Stable",
      "image": "harisekhon/bash-tools",
      "owner": "HariSekhon",
      "provider": "Github",
      "repo_links": false,
      "repository": "Dockerfiles",
      "resource_uri": "/api/build/v1/source/64b19e5e-0cd5-462c-ab6e-af4d9b08c201/",
      "state": "Failed",
      "uuid": "64b19e5e-0cd5-462c-ab6e-af4d9b08c201"
    }
  ]
}

Also is the behaviour of this badge to check the last build or only the last latest tag build? Is there a way of choosing the last build status for a given tag?

You'll have to check with the upstream platform on why the state is failed and what the behavior and capabilities are for the API. If there's additional parameters the upstream API accepets then we can certainly look into incorporating them within the Shields badge as well

If there's any more information on this, feel free to comment and/or reopen!

@HariSekhon you may want to follow the upstream https://github.com/docker/hub-feedback/issues/1902 report of the same discrepancy between the Docker API and the site.


App Icon Themes

I would like to see some more aesthetically pleasing details for the app-icon specifically. One way you could do this is add different app icons the user could change to, like the GitHub App. Maybe, it could have the inner rectangular thing have at least 5 different colours to be chosen in settings within the app.

Here are some examples:

I’m just gonna bump this, cause this could be apart of the theme section in the subscription feature!


Forget nodeIdentifier

https://github.com/apache/iotdb/blob/9e33a73691fd05c488616cec017bb2832b08a9b2/cluster/src/main/java/org/apache/iotdb/cluster/ClusterMain.java#L153

See carefully into MetaMember to find out how node identifier is generated please.


Models are loaded during boot up in development

We are getting a lot of MyModel(#70207742803840) expected, got MyModel(#70207749007680) errors lately. This usually happens when models are loaded during the Rails boot process. They might be unloaded later on leaving stale class references behind.
It looks like using the jsonapi_resources helper in config/routes.rb loads the corresponding resource, which might load models depending on what associations are defined. Is this expected to happen? How is it intended to integrate with the code reloading provided by Rails?
Following is a sample backtrace to such a model being loaded when starting the server with bin/rails s.
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:457:in `load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:457:in `block in load_file'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:647:in `new_constants_in'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:456:in `load_file'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:354:in `require_or_load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:494:in `load_missing_constant'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:184:in `const_missing'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:261:in `const_get'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:261:in `block in constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:in `inject'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:in `constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:304:in `safe_constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/core_ext/string/inflections.rb:77:in `safe_constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/jsonapi-resources-a77967191819/lib/jsonapi/resource.rb:783:in `_model_class'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/jsonapi-resources-a77967191819/lib/jsonapi/resource.rb:819:in `block in _add_relationship'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/jsonapi-resources-a77967191819/lib/jsonapi/resource.rb:813:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/jsonapi-resources-a77967191819/lib/jsonapi/resource.rb:813:in `_add_relationship'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/jsonapi-resources-a77967191819/lib/jsonapi/resource.rb:430:in `has_one'
/Users/senny/Projects/my_app/app/resources/api/v1/my_model_resource.rb:26:in `<class:MyModelResource>'
/Users/senny/Projects/my_app/app/resources/api/v1/my_model_resource.rb:4:in `<module:V1>'
/Users/senny/Projects/my_app/app/resources/api/v1/my_model_resource.rb:3:in `<module:API>'
/Users/senny/Projects/my_app/app/resources/api/v1/my_model_resource.rb:2:in `<top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:457:in `load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:457:in `block in load_file'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:647:in `new_constants_in'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:456:in `load_file'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:354:in `require_or_load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:494:in `load_missing_constant'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:184:in `const_missing'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:263:in `const_get'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:263:in `block in constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:in `inject'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:in `constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:304:in `safe_constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/core_ext/string/inflections.rb:77:in `safe_constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/jsonapi-resources-a77967191819/lib/jsonapi/resource.rb:342:in `resource_for'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/jsonapi-resources-a77967191819/lib/jsonapi/routing_ext.rb:61:in `jsonapi_resources'
/Users/senny/Projects/my_app/config/routes.rb:47:in `block (5 levels) in <top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/mapper.rb:817:in `scope'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/versionist-1.4.1/lib/versionist/routing.rb:45:in `configure_header'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/versionist-1.4.1/lib/versionist/routing.rb:32:in `api_version'
/Users/senny/Projects/my_app/config/initializers/versionist.rb:5:in `header_api_version'
/Users/senny/Projects/my_app/config/routes.rb:22:in `block (4 levels) in <top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/mapper.rb:817:in `scope'
/Users/senny/Projects/my_app/config/routes.rb:21:in `block (3 levels) in <top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/mapper.rb:882:in `block in namespace'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/mapper.rb:817:in `scope'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/mapper.rb:882:in `namespace'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/mapper.rb:1456:in `namespace'
/Users/senny/Projects/my_app/config/routes.rb:20:in `block (2 levels) in <top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/mapper.rb:941:in `block in constraints'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/mapper.rb:817:in `scope'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/mapper.rb:941:in `constraints'
/Users/senny/Projects/my_app/config/routes.rb:18:in `block in <top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:432:in `instance_exec'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:432:in `eval_block'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:410:in `draw'
/Users/senny/Projects/my_app/config/routes.rb:2:in `<top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `block in load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:40:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:40:in `load_paths'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/application/routes_reloader.rb:16:in `reload!'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/application.rb:170:in `reload_routes!'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/devise-3.5.6/lib/devise/rails.rb:14:in `block in <class:Engine>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/lazy_load_hooks.rb:44:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/application/finisher.rb:55:in `block in <module:Finisher>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `instance_exec'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `run'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:55:in `block in run_initializers'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `call'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:54:in `run_initializers'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/application.rb:352:in `initialize!'
/Users/senny/Projects/my_app/config/environment.rb:6:in `<top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
/Users/senny/Projects/my_app/config.ru:2:in `block in <main>'

I've not seen this issue. Could you try and locate the code that's loading the models in your case, or maybe make a small sample app that shows the issue? Also which version of JR are you using (sorry if I missed it in the stack trace).

@lgebhardt The backtrace above shows where the autoloading in the boot process is taking place. The relevant frames are:
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/core_ext/string/inflections.rb:77:in `safe_constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/jsonapi-resources-a77967191819/lib/jsonapi/resource.rb:342:in `resource_for'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/jsonapi-resources-a77967191819/lib/jsonapi/routing_ext.rb:61:in `jsonapi_resources'
/Users/senny/Projects/my_app/config/routes.rb:47:in `block (5 levels) in <top (required)>'

and
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/jsonapi-resources-a77967191819/lib/jsonapi/resource.rb:430:in `has_one'
/Users/senny/Projects/my_app/app/resources/api/v1/my_model_resource.rb:26:in `<class:MyModelResource>'

So it looks like jsonapi_resources is loading the resource class during the boot process and the has_one association on that resource triggers the model loading.

@senny I see where it's loading the model. However I'm not able to reproduce the issue. Can you give me some steps, preferably using a public project such as the Peeps demo https://github.com/cerebris/peeps ?

@lgebhardt that peeps repo is already a reproduction. I just forked and ran bin/rails s and it's loading the models. That's my diff:
diff --git a/app/models/contact.rb b/app/models/contact.rb
index 3dfc347..1e2d7fa 100644
--- a/app/models/contact.rb
+++ b/app/models/contact.rb
@@ -1,3 +1,5 @@
+puts "++++++++++++++++++++"
+puts caller
 class Contact < ActiveRecord::Base
   has_many :phone_numbers

diff --git a/app/models/phone_number.rb b/app/models/phone_number.rb
index ea43329..e6f2c5f 100644
--- a/app/models/phone_number.rb
+++ b/app/models/phone_number.rb
@@ -1,3 +1,5 @@
+puts "++++++++++++++++++++"
+puts caller
 class PhoneNumber < ActiveRecord::Base
   belongs_to :contact
 end

And the output of bin/rails s:
=> Booting WEBrick
=> Rails 4.2.2 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
++++++++++++++++++++
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:457:in `load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:457:in `block in load_file'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:647:in `new_constants_in'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:456:in `load_file'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:354:in `require_or_load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:494:in `load_missing_constant'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:184:in `const_missing'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:261:in `const_get'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:261:in `block in constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:259:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:259:in `inject'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:259:in `constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:304:in `safe_constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/core_ext/string/inflections.rb:77:in `safe_constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:739:in `_model_class'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:775:in `block in _add_relationship'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:769:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:769:in `_add_relationship'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:400:in `has_many'
/Users/senny/Projects/github/peeps/app/resources/contact_resource.rb:3:in `<class:ContactResource>'
/Users/senny/Projects/github/peeps/app/resources/contact_resource.rb:1:in `<top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:457:in `load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:457:in `block in load_file'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:647:in `new_constants_in'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:456:in `load_file'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:354:in `require_or_load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:494:in `load_missing_constant'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:184:in `const_missing'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:261:in `const_get'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:261:in `block in constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:259:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:259:in `inject'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:259:in `constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:304:in `safe_constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/core_ext/string/inflections.rb:77:in `safe_constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:308:in `resource_for'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/routing_ext.rb:61:in `jsonapi_resources'
/Users/senny/Projects/github/peeps/config/routes.rb:2:in `block in <top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/route_set.rb:432:in `instance_exec'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/route_set.rb:432:in `eval_block'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/route_set.rb:410:in `draw'
/Users/senny/Projects/github/peeps/config/routes.rb:1:in `<top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:268:in `load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:268:in `block in load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:240:in `load_dependency'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:268:in `load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/routes_reloader.rb:40:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/routes_reloader.rb:40:in `load_paths'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/routes_reloader.rb:16:in `reload!'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/routes_reloader.rb:26:in `block in updater'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/file_update_checker.rb:75:in `execute'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/routes_reloader.rb:27:in `updater'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/initializable.rb:30:in `instance_exec'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/initializable.rb:30:in `run'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/initializable.rb:55:in `block in run_initializers'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `call'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/initializable.rb:54:in `run_initializers'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application.rb:352:in `initialize!'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/railtie.rb:194:in `public_send'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/railtie.rb:194:in `method_missing'
/Users/senny/Projects/github/peeps/config/environment.rb:5:in `<top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `require'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `block in require'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:240:in `load_dependency'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `require'
/Users/senny/Projects/github/peeps/config.ru:3:in `block in <main>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
/Users/senny/Projects/github/peeps/config.ru:in `new'
/Users/senny/Projects/github/peeps/config.ru:in `<main>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `eval'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `new_from_string'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:40:in `parse_file'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/server.rb:299:in `build_app_and_options_from_config'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/server.rb:208:in `app'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands/server.rb:61:in `app'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/server.rb:336:in `wrapped_app'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands/server.rb:139:in `log_to_stdout'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands/server.rb:78:in `start'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:80:in `block in server'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:75:in `tap'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:75:in `server'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands.rb:17:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
++++++++++++++++++++
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:457:in `load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:457:in `block in load_file'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:647:in `new_constants_in'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:456:in `load_file'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:354:in `require_or_load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:494:in `load_missing_constant'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:184:in `const_missing'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:261:in `const_get'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:261:in `block in constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:259:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:259:in `inject'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:259:in `constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:304:in `safe_constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/core_ext/string/inflections.rb:77:in `safe_constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:739:in `_model_class'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:775:in `block in _add_relationship'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:769:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:769:in `_add_relationship'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:396:in `has_one'
/Users/senny/Projects/github/peeps/app/resources/phone_number_resource.rb:3:in `<class:PhoneNumberResource>'
/Users/senny/Projects/github/peeps/app/resources/phone_number_resource.rb:1:in `<top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:457:in `load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:457:in `block in load_file'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:647:in `new_constants_in'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:456:in `load_file'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:354:in `require_or_load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:494:in `load_missing_constant'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:184:in `const_missing'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:261:in `const_get'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:261:in `block in constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:259:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:259:in `inject'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:259:in `constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/inflector/methods.rb:304:in `safe_constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/core_ext/string/inflections.rb:77:in `safe_constantize'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/resource.rb:308:in `resource_for'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/routing_ext.rb:201:in `jsonapi_related_resources'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/routing_ext.rb:51:in `block in jsonapi_relationships'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/routing_ext.rb:48:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/routing_ext.rb:48:in `jsonapi_relationships'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/routing_ext.rb:95:in `block in jsonapi_resources'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/mapper.rb:1356:in `block in resources'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/mapper.rb:1676:in `block (2 levels) in resource_scope'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/mapper.rb:816:in `scope'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/mapper.rb:1676:in `block in resource_scope'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/mapper.rb:1665:in `with_scope_level'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/mapper.rb:1675:in `resource_scope'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/mapper.rb:1355:in `resources'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.7.0/lib/jsonapi/routing_ext.rb:89:in `jsonapi_resources'
/Users/senny/Projects/github/peeps/config/routes.rb:2:in `block in <top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/route_set.rb:432:in `instance_exec'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/route_set.rb:432:in `eval_block'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.2/lib/action_dispatch/routing/route_set.rb:410:in `draw'
/Users/senny/Projects/github/peeps/config/routes.rb:1:in `<top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:268:in `load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:268:in `block in load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:240:in `load_dependency'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:268:in `load'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/routes_reloader.rb:40:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/routes_reloader.rb:40:in `load_paths'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/routes_reloader.rb:16:in `reload!'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/routes_reloader.rb:26:in `block in updater'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/file_update_checker.rb:75:in `execute'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/routes_reloader.rb:27:in `updater'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/initializable.rb:30:in `instance_exec'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/initializable.rb:30:in `run'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/initializable.rb:55:in `block in run_initializers'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `call'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/initializable.rb:54:in `run_initializers'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/application.rb:352:in `initialize!'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/railtie.rb:194:in `public_send'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/railtie.rb:194:in `method_missing'
/Users/senny/Projects/github/peeps/config/environment.rb:5:in `<top (required)>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `require'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `block in require'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:240:in `load_dependency'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-4.2.2/lib/active_support/dependencies.rb:274:in `require'
/Users/senny/Projects/github/peeps/config.ru:3:in `block in <main>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
/Users/senny/Projects/github/peeps/config.ru:in `new'
/Users/senny/Projects/github/peeps/config.ru:in `<main>'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `eval'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `new_from_string'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:40:in `parse_file'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/server.rb:299:in `build_app_and_options_from_config'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/server.rb:208:in `app'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands/server.rb:61:in `app'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/server.rb:336:in `wrapped_app'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands/server.rb:139:in `log_to_stdout'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands/server.rb:78:in `start'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:80:in `block in server'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:75:in `tap'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:75:in `server'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
/Users/senny/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-4.2.2/lib/rails/commands.rb:17:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
[2016-05-09 10:13:59] INFO  WEBrick 1.3.1
[2016-05-09 10:13:59] INFO  ruby 2.3.0 (2015-12-25) [x86_64-darwin15]
[2016-05-09 10:13:59] INFO  WEBrick::HTTPServer#start: pid=85309 port=3000
gs
^C[2016-05-09 10:14:14] INFO  going to shutdown ...
[2016-05-09 10:14:14] INFO  WEBrick::HTTPServer#start done.
Exiting

Uncommenting the jsonapi-resources routes resolves the issue:
diff --git a/config/routes.rb b/config/routes.rb
index 71f249f..60a7033 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,4 +1,4 @@
 Peeps::Application.routes.draw do
-  jsonapi_resources :contacts
-  jsonapi_resources :phone_numbers
+  # jsonapi_resources :contacts
+  # jsonapi_resources :phone_numbers
 end

Running bin/rails s now yields:
=> Booting WEBrick
=> Rails 4.2.2 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2016-05-09 10:16:05] INFO  WEBrick 1.3.1
[2016-05-09 10:16:05] INFO  ruby 2.3.0 (2015-12-25) [x86_64-darwin15]
[2016-05-09 10:16:05] INFO  WEBrick::HTTPServer#start: pid=85591 port=3000

@senny I could see that the models are being loaded when the resources are first initialized. What I'm trying to reproduce is the error (MyModel(#70207742803840) expected, got MyModel(#70207749007680)) that this is causing.

looks like I was stuck in the 3.2. days. Autoloading does play nice with models that are required in routes (https://github.com/rails/rails/commit/b9b06daa915fdc4d11e8cfe11a7175e5cd8f104f).
Digging deeper, our issue was caused by a monkey patch we applied to a Doorkeeper model that later leaked into the jsonapi-resources 🙈.
@lgebhardt sorry for the confusion and thanks for your time looking into this. 💛


Autocomplete at @

cursor after @ does not offer context autocomplete, only this. does.
This cannot be easily solved with a simple replaceAll because it can also mean this without the dot:
a = @

is
var a;
a = this;

Can we ignore that case (just type this if you want @)?
Probably most @ usage is this. so it's acceptable tradeoff.

ignore that case

This is problematic because it means disallowing the syntax altogether, not just missing type hints. There is only a single one-fits-all transformation step which has no knowledge of the kind of incoming LSP request or cursor position. So replacing all occurences of @ with this. is not okay, it would introduce syntax errors where it is used as plain this without dot.
I just tried another workaround: Replacing @ with this.valueOf() and map cursor position | from @| to this.|valueOf(). This would work, but unfortunately, tsserver does not agree:
//@ts-check
let a = {
    b: 1,
    c() {
        return this.valueOf().b // Syntax error: Property 'b' does not exist on type 'Object'.ts(2339)

  }
}

when it does work - evaluating a.c() results in 1 as expected.
So right now the only solution that I can think of is fixing the extension's architecture but personally, I don't plan on doing that any time soon.

ok nevermind what I wrote above, I released v1.1.0 with which everything should work just as expected, even when CS compilation is not possible
If you happen to work with it again @isral, could you please give me feedback on whether it works for you?

A better replacement may be (this._, this). I haven't thought through all the situations but it seems like it may work to get the dot in the right place for autocompletes while still returning the correct type/value.

A better replacement may be (this._, this). I haven't thought through all the situations but it seems like it may work to get the dot in the right place for autocompletes while still returning the correct type/value.

oh that's clever!


Repo sync for protected CLA branch

The pull request is created from master637692250399017714 to master to fix git push error for protected CLA branch

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


Remove dependence on Octavian.jl for Julia 1.11

With LoopVectorization.jl being deprecated in Julia v1.11, this also means Octavian.jl is being deprecated.
DGMulti depends on Octavian.jl's matmul! routine; this should be replaced with LinearAlgebra.mul! for 1.11.

Note to self: if we remove Octavian.jl, we can also simplify some of the mul_by! routines. Right now, we special-case mul_by! for UniformScaling and some other types to get around matmul! restrictions. If we drop matmul! for mul!, this should be fixed.

@ranocha said that LoopVectorization.jl supports Julia v1.11 - does this mean that we can keep Octavian.jl now? If not, is there a good replacement for Octavian.jl that keeps performance @jlchan?
If we drop matmul! for mul! - is this a temporary solution for maintenance or a long-term solution?

@huiyuxie yes, I believe so. Dropping matmul! for mul! should no longer be necessary if LoopVectorization and Octavian work on Julia 1.11.
If LoopVectorization is supported on Julia v1.11, then I think I can close this issue.

Thanks for catching this open issue @huiyuxie!

Ok 👍


CB: General Join

Talked to @drostron -> Will definitely slip 4.2 given size-able amount of work and conflict with Smart-Caching Feature


Update script from live website

@printerscanner I’ve updated the website https://overbrowsing.com/projects/co2-shield with the latest script, which should be working. Can you help integrate this into the CO2 Shield project?

Updated!


Save and Delete buttons in district/block/cluster screens are on two lines

They need to be side by side. Minor fix. Opening this so we can quickly close it out @aksanoble

Fixed this a while ago. Closing as fixed.


Simplify setUrl() on Cognitive Services to not require full URL for different cloud environments

Feature Request Details
Currently when using any of the Cognitive Service transformers against a sovereign cloud environment such as AzureUSGovernment, you must specify the entire URL including the version. This must match exactly the version that the SynapseML version is built for as the schema models are bound to the return structures from that specific version of the API.
For example, to currently use the TextAnalytics Transformer against the AzureUSGovernment environment you must specify the following:
text_analyze = (TextAnalyze()
        .setTextCol(text_split_col)
        .setLocation(config.location)
        .setSubscriptionKeyCol(text_analytics_key_col)
        .setOutputCol(text_analysis_col)
        .setErrorCol(text_analysis_error_col)
        .setConcurrency(cog_svc_concurrency)
        .setInitialPollingDelay(cog_svc_intial_polling_delay)
        .setPollingDelay(cog_svc_polling_delay)
        .setMaxPollingRetries(cog_svc_maximum_retry_count)
        .setSuppressMaxRetriesExceededException(True)
        .setLanguage(config.prep.target_language)
        .setEntityRecognitionTasks([{"parameters": { "model-version": "latest"}}])
        .setKeyPhraseExtractionTasks([{"parameters": { "model-version": "latest"}}])
        .setEntityRecognitionPiiTasks([{"parameters": { "model-version": "latest"}}])
        .setUrl('https://virginia.api.cognitive.microsoft.us/text/analytics/v3.1/analyze')
        )

What needs to be changed for AzureUSGovernment is really just "https://virginia.api.cognitive.microsoft.us". The rest of the url parts "/text/analytics/v3.1/analyze" which is version specific, should be taken from an already defined property in the SynapseML code base.
The urlPath property is already defined in cognitive/src/main/scala/com/microsoft/azure/synapse/ml/cognitive/TextAnalytics.scala as:
def urlPath: String = "/text/analytics/v3.1/analyze"

When using .setLocation(), the urlPath property is automatically added to the URL for the developer. But when using setUrl() it is ignored requiring the developer to specify the full path including the urlPath parts. This requires the developer to know exactly which version of the Cognitive Services API that Synapse ML was compiled against for the response to be valid.
Describe the solution you'd like
The preferred approach would be for setUrl() to be more like setUrlBase() where you can specify a new service url by region or cloud environment. Then the transformer code would automatically append the urlPath content for the developer so that we don't have to know the exact API version that SynapseML was compiled against.
Example:
text_analyze = (TextAnalyze()
        .setTextCol(text_split_col)
        .setLocation(config.location)
        .setSubscriptionKeyCol(text_analytics_key_col)
        .setOutputCol(text_analysis_col)
        .setErrorCol(text_analysis_error_col)
        .setConcurrency(cog_svc_concurrency)
        .setInitialPollingDelay(cog_svc_intial_polling_delay)
        .setPollingDelay(cog_svc_polling_delay)
        .setMaxPollingRetries(cog_svc_maximum_retry_count)
        .setSuppressMaxRetriesExceededException(True)
        .setLanguage(config.prep.target_language)
        .setEntityRecognitionTasks([{"parameters": { "model-version": "latest"}}])
        .setKeyPhraseExtractionTasks([{"parameters": { "model-version": "latest"}}])
        .setEntityRecognitionPiiTasks([{"parameters": { "model-version": "latest"}}])
        .setUrlBase('https://virginia.api.cognitive.microsoft.us')
        )

Additional context
This was tested against SynapseML v0.9.5

Hey @dayland, thanks so much for reaching out about this. Do you know if this proposal would also work with cognitive service containers? Thats originally why we made it pretty open-ended

That is a valid point, as we have not tested with containerized cognitive services. I guess the easiest way would be to clearly document which version of the APIs each transformer is bound to so that when a user needs to specify the full URL, we know exactly which endpoints to specify.


Changing the way to set label to increase customizability

Problem
The library doesn't have capability to customize label using angular directive.
Solution
Exposing variables that store label strings on the template's scope, rather than setting with $.html()
Here's the quick simple code change.
and here's the jsfiddle.
i roughly looked through the code, and noticed i still need to fix the following things, in addition to the change above.

the logic to recalcute the dimension
use css display:hide rather than opacity:0 to hide combo label or model/high label as they switch, in case for example there's ng-click attached on either of the element (written here)
leaving the backward compatibility (but probably we don't need translate option in the future if we're doing this)

Question
what do you guys think of this idea and the solution?

I like the idea because this is closer to the angular logic.
The main issue that I can see though is that today you can display html strings from the translate function and this won't work with your solution: https://jsfiddle.net/meu7ap6n/
About your 3 points:

the logic may not be to be changed, since we directly compute the size of the label
simply using a comboLabel bound on the scope should make the trick
how would you replace the translate function then?

@ValentinH Thanks for the quick reply.

The main issue that I can see though is that today you can display html strings from the translate function and this won't work with your solution

Actually that's what I tried first in order to achieve something like 2nd example in fiddle. One simple solution is using ng-bind-html in templates instead of {{..}}, probably with $compile if we allow angular directive to be passed. And supposing everything that can be done in translation option can easily done with rz-slider-tpl-url 's template with the selected values attached on the scope, it's better to let users specify only one of translation option or rz-slider-tpl-url option.

the logic may not be to be changed, since we directly compute the size of the label

That's good to hear :)

simply using a comboLabel bound on the scope should make the trick

Sorry didn't understand this. The problem I wanted to say here was that I can still click the opacity: 0-ed element even though it's invisible. Like this in the fiddle example:

how would you replace the translate function then?

Actually after some consideration, I think we better have translate option either way. If a user just need a  slight change on label text, it'd be too much to force them to make whole another template file.

Actually after some consideration, I think we better have translate option either way. If a user just need a slight change on label text, it'd be too much to force them to make whole another template file.

This is exactly what I was going to say.

Sorry didn't understand this. The problem I wanted to say here was that I can still click the opacity: 0-ed element even though it's invisible. Like this in the fiddle example:

Oh ok, didn't understand then. Maybe adding a ng-show could do the job.
What I was thinking for my first answer was a slider that uses the mergeRangeLabelsIfSame option, then this line won't work. This is why I was talking about a comboLabel solution.
Anyway, could you submit a PR with what you have so far so we can discuss on the way to implement it? ;)

What I was thinking for my first answer was a slider that uses the mergeRangeLabelsIfSame option, then this line won't work. This is why I was talking about a comboLabel solution.

Ah okay I'll take care of that as well.

Anyway, could you submit a PR with what you have so far so we can discuss on the way to implement it? ;)

Yes I'll send it, just wanted to make sure before actually going deeper. Thank you :D

@ValentinH
Hey I need some help. Now using ng-html-bind and html strings in translation work well, but Combo label's position is broken. I read the logic for position calculation but wasn't that easy to grasp.

Here's the fiddle
and code change

About the position, it's weird and I don't understand why it doesn't work for now.
About using ng-html-bind, I don't really like it because it requires an extra dependency on ng-sanitize... Like discuss in #277

About the position, it's weird and I don't understand why it doesn't work for now.

It was because the changes on scope variable doesn't immediately reflect on DOM but after the $digest loop. $watching the text length and recalculating the dimension fixed the problem. There might be a more efficient solution, but so far this is working fine without noticable performance load. Here's updated fiddle.

About using ng-html-bind, I don't really like it

Here's the alternative, added inject-label class to the elements wanting the contents to be replaced.

About the watching, it looks heavy in my opinion. Maybe adding a $timeout call before computing the dimension/position can do the job.
However, my main concern is not to slow down the current version of this library so I want to be sure that we get the same performance as before.
About the inject-label class, I don't really understand how it solves the issue.
Anyway, could you still submit the PR so I can checkout the code on my computer and really understand what are the consequences of such a change?

Maybe adding a $timeout call before computing the dimension/position can do the job.

I actually tied this first, but it broke the labels as I drag handle. Could you see if it works?

About the inject-label class, I don't really understand how it solves the issue.

By this change, now we don't have ng-sanitize dependency, while user can

put html tag in translate's return value
use custom template and do things like in fiddle

I got the idea behind inject-label, I think it's a viable solution. However, I prefer to reason in the opposite way: by default, we don't bind the scope, and if there is a special class (like no-auto-label), then we don't call the html() method.
I'll try to have a look to find a way to replace the $watch logic later today ;)

Hello there,
I have a custom directive that modifies my labels for each pointer using xeditable,  and it seems that this is attempting to put different labels. I would LOVE for a solution to be posted so that we can target specific labels. Alternately, would you be able to modify the rz-bubble spans above the pointers so that the left and right spans can be targeted more closely?
Thanks!

When you say, targeted for the bubbles, do you mean by CSS ?

I would like to replace the value in the slider with another directive, in this case x-editable, which can manually overwrite the value. Is that possible?

OK So I think that the  #358 pull request corresponds to what you need.

So I need to insert my directive directly into the template in order to call it?

Yes but first you need the PR to be merged on master and released.
@Liooo Do you think you can finish it soon?

@ValentinH
Yes boss!

I'm not your boss! :) Just wanted to check if we can expect it soon so that @mm-wang can use it. Do it when you want/can ;)

Just kidding bro.lol yea it's been in my head, guess this is a good timing, will finish it today.

😂

PR has been merged. I'm away from computer this weekend  so I'll bump a new version on Monday. ;)

@ValentinH ok thanks!

Hey @ValentinH, is the version up yet? Just curious so that I can start implementing. Thank you!

Released under 5.3.0 ;)

Are the values or the other options of the slider available under the template? I'm looking to create a directive that checks for the value under the label against the floor and ceiling of the slider

No they are not, they are internal to the directive. I dont understand what you are trying to do actually.

Let me try to explain...
I am trying to use another directive called angular-xeditable in order to allow a user to click on a label and adjust the value of the slider.
See below:

I have an editable text field for both the minimum and maximum values of the slider. What you are seeing is the number 100 clicked, with a new user input value of 120. If that person clicks on the check, then the value is updated. When a user clicks on either the minimum or maximum text number, they can then edit it. I am trying to put this field in place of the actual label.
In order to do this, I am checking the value of the input against the maximum and minimum values of the slider, and currently manually changing the value of the slider. Since the label for the slider is now accessible, I can place my directive there, but I'm not sure how to get access to the actual value in order to check it.
Make sense?

OK Now I understand what you want to do, but I don't know how I would do that. It's quite complicated...

I'm wondering if there is a way to modify this in the translate function?
I think what I'm hoping for is a level of two way binding in the template between the values and options in the slider to the nested directive. When the template URL is taken into the directive, can it have a two way binding so that the elements in the slider can be accessible from there?

I think that you use case is really specific and should be handled by a modified version of the slider directive. Indeed, you will get better performance and will be able to do all the tweaks you want to the default behavior.

Yes, you're probably right. Trying to get a bit too deep in here now. Thanks for all the help though!


Gauge wont connect to server

I was running gauge 1.1.6 and it was fine but updating to 1.1.7 broke. Reverting to older version not working.
Error
Running tool: gauge run \specs\application_client.spec:9 --simple-console --hide-suggestion
Python: 3.8.3
  Error Message: transport is closing
  Stacktrace:

  Error Message: Runner is not Alive
  Stacktrace:

Error occurred while waiting for runner process to finish.
Error : exit status 1
Successfully generated html-report to => \gauge-automation\reports\html-report\index.html

Failed to kill Runner: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:63165: connectex: No connection could be made because the target machine actively refused it."
Specifications:	0 executed	0 passed	0 failed	0 skipped
Scenarios:	0 executed	0 passed	0 failed	0 skipped

Total time taken: 110ms
Error: Tests failed.

Log
21-01-2021 11:31:32.047 [Gauge] [DEBUG] Created gauge_screenshots_dir at \.gauge\screenshots
21-01-2021 11:31:32.048 [Gauge] [DEBUG] Plugin python is already installed.
21-01-2021 11:31:32.049 [Gauge] [DEBUG] Plugin html-report is already installed.
21-01-2021 11:31:32.049 [Gauge] [DEBUG] Parsing started.
21-01-2021 11:31:32.049 [Gauge] [DEBUG] Started concepts parsing.
21-01-2021 11:31:32.053 [Gauge] [DEBUG] 2 concepts parsing completed.
21-01-2021 11:31:32.053 [Gauge] [DEBUG] Started specifications parsing.
21-01-2021 11:31:32.053 [Gauge] [DEBUG] 1 specifications parsing completed.
21-01-2021 11:31:32.053 [Gauge] [DEBUG] Parsing completed.
21-01-2021 11:31:32.556 [Gauge] [DEBUG] Checking updates...
21-01-2021 11:31:32.557 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/html-report?l=python&p=html-report,js,python,screenshot,spectacle,xml-report&o=windows&a=amd64
21-01-2021 11:31:32.699 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/js?l=python&p=html-report,js,python,screenshot,spectacle,xml-report&o=windows&a=amd64
21-01-2021 11:31:32.739 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/python?l=python&p=html-report,js,python,screenshot,spectacle,xml-report&o=windows&a=amd64
21-01-2021 11:31:32.776 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/screenshot?l=python&p=html-report,js,python,screenshot,spectacle,xml-report&o=windows&a=amd64
21-01-2021 11:31:32.814 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/spectacle?l=python&p=html-report,js,python,screenshot,spectacle,xml-report&o=windows&a=amd64
21-01-2021 11:31:32.853 [Gauge] [DEBUG] Downloading https://downloads.gauge.org/plugin/xml-report?l=python&p=html-report,js,python,screenshot,spectacle,xml-report&o=windows&a=amd64
21-01-2021 11:31:32.970 [python] [INFO] Python: 3.8.3
21-01-2021 11:31:32.970 [python] [DEBUG] Loading step implementations from step_impl dirs.
21-01-2021 11:31:33.479 [python] [DEBUG] Starting grpc server..
21-01-2021 11:31:33.482 [Gauge] [DEBUG] Attempting to connect to grpc server at port: 63165
21-01-2021 11:31:33.483 [Gauge] [DEBUG] Successfully made the connection with runner with port: 63165
21-01-2021 11:31:33.483 [Gauge] [DEBUG] Validation started.
21-01-2021 11:31:33.493 [Gauge] [DEBUG] Validation completed.
21-01-2021 11:31:33.493 [Gauge] [DEBUG] Run started
21-01-2021 11:31:33.494 [Gauge] [DEBUG] Starting Html Report plugin
21-01-2021 11:31:33.504 [Gauge] [DEBUG] Attempting to connect to grpc server at port: 63168
21-01-2021 11:31:33.505 [Gauge] [DEBUG] Successfully made the connection with plugin with port: 63168
21-01-2021 11:31:33.505 [Gauge] [DEBUG] Initialising suite data store.
21-01-2021 11:31:33.600 [python] [CRITICAL] Exception occurred while loading step implementations from file: POM_TEST\applications.py.
21-01-2021 11:31:33.604 [Gauge] [ERROR] Error Message: transport is closing
21-01-2021 11:31:33.604 [Gauge] [ERROR] Stacktrace:
21-01-2021 11:31:33.604 [Gauge] [ERROR] Error Message: Runner is not Alive
21-01-2021 11:31:33.604 [Gauge] [ERROR] Stacktrace:
21-01-2021 11:31:33.604 [html-report] [DEBUG] Transformed SuiteResult to report structure
21-01-2021 11:31:33.614 [Gauge] [ERROR] Error occurred while waiting for runner process to finish.
Error : exit status 1
21-01-2021 11:31:33.624 [html-report] [INFO] Successfully generated html-report to => \reports\html-report\index.html
21-01-2021 11:31:33.624 [html-report] [DEBUG] Done generating HTML report using theme from C:\Users\AppData\Roaming\gauge\plugins\html-report\4.0.12\themes\default
21-01-2021 11:31:33.624 [Gauge] [DEBUG] Sending kill message to Html Report plugin.
21-01-2021 11:31:35.636 [Gauge] [ERROR] Failed to kill Runner: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:63165: connectex: No connection could be made because the target machine actively refused it."
21-01-2021 11:31:35.636 [Gauge] [INFO] Specifications:	0 executed	0 passed	0 failed	0 skipped
21-01-2021 11:31:35.636 [Gauge] [INFO] Scenarios:	0 executed	0 passed	0 failed	0 skipped
21-01-2021 11:31:35.636 [Gauge] [INFO]
Total time taken: 110ms

gauge log:
Error - 3:52:44 PM] notif #0: initialized: current runner is not compatible with gauge LSP

gauge log:
Error - 3:52:44 PM] notif #0: initialized: current runner is not compatible with gauge LSP

I suspect it has something to do with this log:
21-01-2021 11:31:33.600 [python] [CRITICAL] Exception occurred while loading step implementations from file: POM_TEST\applications.py.

At this point the python runner most likely crashed.

I suspect it has something to do with this log:
21-01-2021 11:31:33.600 [python] [CRITICAL] Exception occurred while loading step implementations from file: POM_TEST\applications.py.

At this point the python runner most likely crashed.

Here is all thats in the file.
from getgauge.python import step, DataStoreFactory

from POM.pages.page_factory import PageFactory

@step('Search for app name <app_name>')
def search_app(app_name):
    PageFactory.applications_page.search_app_name(app_name)

Here is all thats in the file.
from getgauge.python import step, DataStoreFactory

from POM.pages.page_factory import PageFactory

@step('Search for app name <app_name>')
def search_app(app_name):
    PageFactory.applications_page.search_app_name(app_name)

The issue was on my end. Some classes I imported were not defined. I wish there was a better way of debugging this. The error given does not match the cause.

The issue was on my end. Some classes I imported were not defined. I wish there was a better way of debugging this. The error given does not match the cause.

Thanks for posting back @brian316 . I agree that the error is quite cryptic. We'll see if there's a better way to bring up the right error.

Thanks for posting back @brian316 . I agree that the error is quite cryptic. We'll see if there's a better way to bring up the right error.


Sort & Filter views by App Version

Greetings,
i would like to know, if its possible to filter the displayed exceptions by the app Version it came from?
Currently, i have to manually lookup the app Version, to know if the latest version produced the viewed exception or some older one.
If its not currently possible, you can take this as a feature request.
Thanks.

Hello,
Yes, you can do this by filtering on version (https://exceptionless.com/docs/filtering-and-searching/#searchable-fields-and-requirements) version:1 or version:1.0 or version:1.0.0
Please let us know if you have any questions or feedback.


hxcodec not working

Describe your problem here.
if i use hxcodec 2.6.0 i get this
source/PlayState.hx:75: characters 8-22 : Type not found : vlc.MP4Handler
source/PlayState.hx:1620: characters 13-23 : Type not found : MP4Handler
and if i use hxcodec 2.5.1 i get this
source/Achievements.hx:132: characters 30-54 : Warning : FlxCamera.defaultCameras is deprecated, use FlxG.cameras.setDefaultDrawTarget instead
Error: Could not find haxelib "hxCodec", does it need to be installed?
what do i do to fix this?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
no

actually you'd be using source, anyway just go to PlayState.hx, remove the vlc.MP4Handler first one and then change the second one to VideoHandler

yah i changed it to source originally but it didnt work i guess


[ENHANCEMENT] Connect to and index confluence cloud?

Is your feature request related to a problem? Please describe.
I'm looking to make a tool using marqo against our company knowledgebase on our confluence cloud instance. Is that possible?

hi @strich ! Marqo can ingest data from a variety of sources as long as they conform to the input format (see here https://marqo.pages.dev/0.0.16/API-Reference/documents/). With respect to confluence specifically, you should be able to use the python client (https://atlassian-python-api.readthedocs.io/confluence.html) to retrieve the content which can then be ingested into Marqo (although I have not used this client before).


Quoted parameters should not be split on spaces

Example:
lookup('vault', 'my/arbitrary/path param="My short sentence"')
This would resolve param to be "My. (Then an index error occurs when resolving the next term, so nothing is submitted)
I think this should be an easy fix using the shlex module's split() method. I'd be happy to submit a PR but I'd like your input first.

Sounds like a good idea to support quoted parameters 👍 👍


JsonSerializationException: Could not find member 'logprobs' on object of type 'ChatChoice'.

I am getting this error in Unity when trying to connect to OpenAI API :
https://pastebin.com/1e2RaPMC
Steps to reproduce the behavior:

Use the OpenAI API.
Make a request to the OpenAI API.
Observe the error related to the 'logsprobs' member.

This code was working fine the last time I checked which was about 4 weeks ago.
Environment:

OS: Windows 11 Home
Unity Version: 2022.3.13f1
Plugin Version: 0.1.15

This is my code:
https://pastebin.com/HZ1TcFU8

OpenAI updated their API recently to include a boolean parameter called logprobs.
The steps I took as a temporary solution, similar to this issue ( #102  )

Packages → OpenAIUnity → Runtime → DataTypes
Find ChatChoice struct
Add this line to the struct -> public bool logprobs { get; set; }

Hi @M4RITH,
The issue is solved in the 0.2.0, in Unity Package Manager you can update the package and it should work.
Can you try and let me know?

Hi @M4RITH,
The issue is solved in the 0.2.0, in Unity Package Manager you can update the package and it should work. Can you try and let me know?

Hi Sarge,
Yeah, it's working after the update.
Thank you so much.


vision_visp stack system dependencies

Hello,
Here is the rerun of the pull request which follows the rosdep 2 guidelines.

Thanks for making the changes


Corrected flake8 discrepancies.

Minor update consisting of:

Fixing about 50 flake8 errors.

The problems this commit deals with are not serious ones at all, but I think these are really important here because the code lines in this repository should be base code for many other projects.
Thank you for your contributions @npielawski, and I'm sorry for my late response.


Making persistent pub/sub of controller cert and cipher context

Controller certs and cipher context should be persistent across the device reboot for successful decryption of wifi credentials in nim agent.

Didn't realize zedagent is subscribing to itself for this.
It works, but it might be useful to talk about alternatives.
But I'll pull this to unblock the work.

Sure. I have a plan to make cipher context handling easy in zedagent. I will discuss it with you offline. Thanks.