Contribute to Open Source. Search issue labels to find the right project for you!

Clean up endpoints

pereztr5/cyboard

REST API Endpoints

The style of the web API doesn’t follow any forms or conventions. For instance, JSON API endpoints are mixed with HTML template serving endpoints. It deserves to be cleaned up. I personally like this guide for suggestions as to naming strategies (as well as several other points it hits home on).

This would mean updating server/routes.go, and CTRL+F'ing the front end to keep any AJAX requests in sync with these updates.

Updated 17/10/2017 03:52

Make adjustment for specials

Allsteel/awesome

Our specials solution is comprised of two parts:

  1. Being able to correctly specify items from the catalog in the picklist
  2. Being able to replace the SKU of a given snapper

Specifying from the picklist

We are 80% of the way on this part. What we need now is to add a few fields to the tree view so the user can correctly specify the upcharges for specials.

  • Whenever the user selects an option that has ~~ or ~~~ an input box should be displayed so the user can provide the custom M number
  • At this time another input field called Price should also be added and the value there should be added to the upcharge (price) of that SKU

Sample SKUs:

  • SPLA-WSMN.L411358.WSB4.AA
  • T52460SN.WMY2.E4

Replacing a snapper SKU

The idea here is that the user can get a regular snapper from our extension (or any other) and change its SKU. The steps for him to do this should be:

  1. Place a snapper in the world
  2. Select it and bring the context menu with a right click
  3. Click on “Query”
  4. Click on “Make special”
  5. From this point on the user should be able to specify the SKU using the same UI as the Allsteel picklist
Updated 17/10/2017 01:15

Points panel background colour clash

Kademi/kademi-dev

The points balance is not visible because its black text on a black background: image

Thats because the panel uses brand-primary which has been set through customisation to be black: image

We need to give our users an easy option to deal with this. Maybe allow them to select the brand colour for panel background? Or an option to use an inverted colour scheme?

Updated 16/10/2017 21:18

Manage orgs page issues

Kademi/kademi-dev
  • trim search criteria
  • change “profiles” to organisations in no results message image
  • move search box to left so it aligns with search results
  • move actions which are contextual to checkboxes so they align with checkboxes. Probably in a tools dropdown with “Remove” as the main inline button
  • remove the panel around search results
  • Add an orgtype search term for “No type”
Updated 16/10/2017 22:32 1 Comments

Modify lambda to also accept S3 events via SNS

mozilla-services/fx-sig-verify

We need to tee S3 events for the Product Delivery buckets - which means events could also be delivered via SNS. We want to keep support for “native S3” events, as those are useful in other contexts.

To Do: - [ ] add test cases - [ ] detect source of event - [ ] add code to extract S3 record from SNS if need be - [ ] add some additional logging so we know which path received the event.

Updated 16/10/2017 20:33

Union freshness is not removed when required

Microsoft/TypeScript

TypeScript Version: 2.6.0-dev.201xxxxx

Code

import * as React from "react";
import { SFC } from "react";


type CommonProps = { common: string };
type Props = CommonProps &
    ({ type: 'foo' } | { type: 'bar'; message: string });

const Button: SFC<Props> = (props) => null;

const OtherButton1: SFC<Props> = (props) => {
    const props2 = {...props};
    return React.createElement(Button, props2); // `props2` should be fine, just like `props` is
};

Expected behavior: No errors

Actual behavior: test.tsx(13,40): error TS2345: Argument of type '{ common: string; type: "foo"; children?: ReactNode; } | { common: string; type: "bar"; message: ...' is not assignable to parameter of type '(Attributes & CommonProps & { type: "foo"; }) | (Attributes & CommonProps & { type: "bar"; messag...'. Type '{ common: string; type: "foo"; children?: ReactNode; }' is not assignable to type '(Attributes & CommonProps & { type: "foo"; }) | (Attributes & CommonProps & { type: "bar"; messag...'. Object literal may only specify known properties, and 'children' does not exist in type 'Attributes & CommonProps & { type: "foo"; }'.

Found when revisiting some test code for something else.

cc @mhegazy @sandersn

Updated 16/10/2017 20:51 1 Comments

Pricing page update (mobile)

tunga-io/tunga-web

<!– PLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION. –>

I’m submitting a …

<!– Check one of the following options with “x” and add the appropriate label to the issue as well –> <pre><code> [ ] Bug report <!– Please search this repo for a similar issue or PR before submitting –> [X] Feature request [ ] Regression (behavior that used to work and stopped working in a new release) </code></pre>

Current behavior

<!– Describe how the issue manifests. –>

Please check on your mobile tunga.io/pricing

Expected behavior

<!– Describe what the desired behavior would be. –>

Designs can be found in Zeplin

Minimal instructions for reproducing the problem (optional for feature requests)

<!– For bug reports please provide the STEPS TO REPRODUCE and if possible a MINIMAL DEMO of the problem via https://plnkr.co or similar. –>

What is the motivation / use case for changing the behavior?

<!– Describe the motivation or the concrete use case. –>

Requested Delivery Date (feature requests only):

dd/MMM/YYYY <!– This gives us a better sense of the urgency of the issue compared to labels If possible, We’ll respond with the actual delivery date –>

Please tell us about your environment (optional for feature requests)

<pre><code>

Browser: - [ ] Chrome (desktop) version XX - [ ] Chrome (Android) version XX - [ ] Chrome (iOS) version XX - [ ] Firefox version XX - [ ] Safari (desktop) version XX - [ ] Safari (iOS) version XX - [ ] IE version XX - [ ] Edge version XX - [ ] Other version XX <!– Replace Other with name of browser –>

Operating System: - [ ] macOS version XX - [ ] Windows version XX - [ ] Linux <!– Add flavor name here –> XX - [ ] Android version XX - [ ] iOS version XX - [ ] Windows Phone version XX - [ ] Other version XX <!– Replace Other with name of OS –>

Environment/ Server: - [ ] Production - [ ] Staging - [ ] Test - [ ] Development <!– If possible, check whether this is still an issue on the test server first –>

For Developer issues: - Node version: XX <!– use node --version –> - Platform: <!– Mac, Linux, Windows –>

Others: <!– Anything else relevant? Operating system version, IDE, package manager, HTTP server, … –>

</code></pre>

Updated 16/10/2017 19:52

select all is not working in some tabs

PATRIC3/patric3_website

An example of this was reported by a user:

“I’ve noticed a change in the genome count and it’s better now, but it still show the wrong number (now omitting genomes).

When I go to AMR tab for Escherichia and search only for resistant strains and create a group for all the resulting genomes, I get a group of 28 genomes, but if I do it manually (select one genome per strain and group them), I get a group of 37 genomes, so obviously some genomes are missing."

This seems to be group creation issue on the surface, but it’s not. The root cause was “select all” functionality in which it only loads “primaryKey” of all records by default. We ran into somewhat similar issue in FeatureGrid and SpecialtyGeneGrid before, but this seems to be a site wide issue although most of the tab are working.

Updated 16/10/2017 20:30 1 Comments

export modules activity on backup

Kademi/kademi-dev

we can’t import and export modules activity on backup I can’t see modules activity here http://3dn.admin.kademi.com.au/websites/idhealth-training/version1/programs/Carers/Carers1/Carers01/#activity-tab from http://3dn.admin.olhub.com/backup/

Updated 16/10/2017 23:23 1 Comments

/migrate endpoint

hswhite33/picturegame-api

Description

Transfer all wins from one username to another

HTTP verb

POST

Input

  • oldName
  • newName

Error codes

  • 404 if the old user didn’t have any wins
  • 400 if either username is invalid or the two usernames are the same

Notes

  • This should be achievable in one fell swoop using a database query
  • The name of the endpoint is not set in stone, I had previously put this down as /players/migrate because i had a bunch of other /players/x endpoints planned but all the other ones are gone now
  • Return the newWinner object in the same fashion as with PATCH or POST /rounds (username and win list) - may need to getRoundsByWinner for the old name before doing the update to work around the eventual consistency model.

High priority - blocks phase 1

Updated 16/10/2017 06:01

/leaderboard endpoint

hswhite33/picturegame-api

Description

Get a subset of the leaderboard

HTTP verb

GET

Input

Query parameters

  • start rank (default 1)
  • count (default unlimited)

Error codes

  • 404 if the given start rank doesn’t exist
  • 400 if either the start rank or count are not positive integers

Notes

  • With no input, return the full leaderboard
  • Only return {rank, username, winList} where winList is only the list of round numbers, not the full objects
  • This will be used by the discord bot
Updated 16/10/2017 06:01

Generating the leaderboard wiki

hswhite33/picturegame-api

Since the game still needs to be 100% self contained within /r/PictureGame, with API features being an optional extra, we still need to support the leaderboard wiki. And since the Reddit bot now won’t have the full leaderboard on hand, the API will need to take over writing the leaderboard wiki.

For now, we just want to write the leaderboard in exactly the same format as what the reddit bot currently does, but later on we want to look into paginating it do combat the impending page size limit.

It’s important that this is done in a non-blocking way - we don’t want to be waiting on responses from reddit before we return a response to a request, because that would slow down the bot too much.

Updated 16/10/2017 06:01

/abandon/roundNumber endpoint

hswhite33/picturegame-api

Description

Set a flag on the given round to say it has been abandoned.

HTTP verb

POST

Input

none

Error codes

  • 404 if the round doesn’t exist
  • 400 if the round is already over (has a winner)

Notes

  • Will only be used by the Reddit bot when a round is flaired abandoned, for the purposes of noting which rounds have been abandoned so they can be ignored when ranking longest rounds.
  • Once set, this flag can never be unset. Importantly, we’ll need to add a validation check for PATCH and POST /rounds to ensure that the flag is never included in any of these requests.
Updated 16/10/2017 06:00

[7] Withdraw Modal

bitshares/bitshares-ui

Notes

  • [ ] Symbol is a dropdown + typeahead. Only assets with (a) balances (b) gateways, open.* etc © BTS would appear in this list.
  • [ ] The gateway cannot be chosen by the end user. It is automatically set based upon the asset choice.
  • [ ] Estimated value is based upon the users preferred currency choice.
  • [ ] Address is validated per currency (is the gateway responsible for this validation)?
  • [ ] If the user chooses to withdraw BTS, the gateway field does not need to be displayed.
  • [ ] Available balance is clickable
  • [ ] Available balance is white unless the value in the quantity box > available balance
  • [ ] User should be able to enter into estimated value if desired

screen shot 2017-10-15 at 9 46 14 pm

Updated 16/10/2017 12:16 6 Comments

Have button to sign out/reauthenticate

mirman-school/my-schedule

If a login service doesn’t have an option to revoke access to an application (just changes the token), then you probably shouldn’t be using it. I revoke access to all my connected apps through Google once a month just in case.

So, for users like me, we need an option to re-fetch the token from chrome. Probably do it when firebase says no to your credential.

~There should also be a button that clears storage (a sign out button)~ Actually no, that’s not useful because the second you open the thing again, it re-signs in. Sign out buttons are for things where you can have multiple accounts.

The storage should be cleared every 2 weeks or so because why not.

Updated 16/10/2017 02:14

[.5] Fields Don't Clear When Switching Between Markets in Exchange

bitshares/bitshares-ui

Not sure if this is intentional or what is the best way to do it but I personally think that when you change markets then any data in the Price, Quantity, and Total fields should be cleared. The data is no longer applicable in the new market and a mistake could be made if the user doesn’t notice the old data there.

We just discussed similar problems in issues #533 (solved with #564) and #568 with data not clearing. I propose clearing old data when switching or executing commands be the standard practice.

This could also be a problem when switching accounts. Let’s say I have an order ready to send in one account then I switch to check something in another. I am looking at the same order ready to go and might forget which account I am using. I just think it is safer to clear always.

Updated 16/10/2017 00:34

Busy - limited support availability

Masuzu/ZooeyBot

As the title says, I will be a bit busy for an undetermined amount of time, meaning that I will spend less time working on enhancement feature requests and only consider in priority major bug fixes. The software works as intended for the large majority of the users, excluding some isolated bugs which can prove somewhat inconvenient at times, namely: - some users have scrolling issues on the summon selection screen - incorrect countdown for the remaining number of hosts for a given raid using the scheduling mode

I apologize for the inconvenience and thank you in advance for your understanding.

Updated 17/10/2017 09:00

Do not batch updates for branched releases

fedora-infra/bodhi

It was suggested on the devel list that Bodhi should not batch updates for branched releases, because it increases the number of updates that miss the compose deadlines.

Here’s the thread with a more detailed explanation:

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PCDKEGP2UIPKSYR4F62FJFK5I362EF64/#PCDKEGP2UIPKSYR4F62FJFK5I362EF64

Updated 16/10/2017 14:53 2 Comments

Stuck at uninstall and long shutdown/restart times

zeffy/wufuc

Hi, First of all a lot of thanks for the program, is really stupid what MS did with this “unsupported” fiasco and your solution has been a great help, anyways I uninstalled previous version and installed v0.8.0.143 with the MSI recently but after that I’ve noticed that my PC takes a reaaally long time to shutdown or restart when previously it took mere seconds, I’m on Windows 8.1 x64 and the O.S is installed on a SSD, the boot time takes mere seconds but shutdown/restart takes minutes, I get no errors that a process can’t be closed or similar, it just get stuck for a very long time on the “loading” screen with the shutdown message, I suspect the svchost process is taking a lot of time to terminate or similar.

I tried to uninstall the program to test if this solved the issue however I’m unable to do it, the MSI get stuck at the loading bar and nothing happens, tried using the .bat as well but also got stuck after pressing Y confirming the uninstall, same thing with Control Panel it doesn’t get pass the “Preparing for removing” screen, I’ve left the uninstallers running for almost half hour without any results so now I’m also unable to remove the program, is there a way I can safely remove the program manually? deleting registry keys or similar?

I tried to get some logs but couldn’t find any, Event Viewer doesn’t show anything useful so I hope to get some help on this issue, btw this is the only change I’ve made to my PC, no other programs have been installed or removed.

Thanks and regards!

Updated 17/10/2017 03:04 6 Comments

Cli Stocks, neumí kombinace produktů

pufexi/multiorder

Obecny uvod, mame skript CliStocks, co updatuje informace v Prestashopu dle MO pres API, ktere prestas ma.

1) takovy jednoduchy ukol na rozkoukani :-) pridat prepinace do globals pod $allow_stocks_to_presta a) $allow_delete_notes_in_presta = false; to bude podminka na radek, co upravuje cenu, cca radek 129-141 b) $allow_price_change_in_presta = false; to bude podminka na radek, co upravuje cenu, cca radek 144-167

2) k samotnemu ukolu z nadpisu, jde o to, ze v Prestashopu existuje specialni typ produktu, co ma takzvane kombinace, tj. je to 1 produktova stranka, ale ma v sobe nekolik produktu, ktere jsou zvlast v MO. Dale zde mame cast funkce CliStocks, ktera updatuje stavy zasob na webu. Funguje to dobre, ale jen pro jednoduche produkty a nikoliv produkty s kombinacema, tam je to treba rozsirit, viz nize.

Kdyz tak zkoumam /api/products?display=full , ze ktereho to cte uvodni data, na mail poslu odkaz na api a klic. Tak jsem si jist, ze problem je, ze klasicky produkt ma ID produktu v parametru reference, ale tenhle s kombinacema nikoliv. Ale ma za to obsah tagu combinations, kde jsou odkazy na /api/combinations/355 a /api/combinations/356 a tam je onen reference, ktery mame v MO. Dal je soucasti toho stock_availables, kde jsou 2 produkty a na onech XML stavy zasob, ale tahle cast skriptu uz tam tusim bude, co umi z toho cist.

Tak takhle, at to vic komplikovane nepopisu nez to je a kdyztak se poptavejte.

image

Updated 15/10/2017 11:08

KPI visualization report

Kademi/kademi-dev

1) On the current component the padding is not even around the graph, the RHS has extra padding 2) Have an option in the component to remove the title, outer border and vertical grey lines. Also make sure when these items are removed the component resizes to fill the container so the admin can apply padding to the container 2b) Make sure the text inverts if the container is inverted 3) Either (1) make sure the histogram uses the brand theme colors or (2) give options to choose colors 4) The end result

image

Updated 17/10/2017 02:52 3 Comments

KPI sales component

Kademi/kademi-dev

1) Remove the background color so it’s transparent (color will be applied to the container) 2) Make text and icon black as standard (user can invert container if required to make text white) 3) Make the component elements fill the container (user can add padding to the container) 4) Note the component does not resize inside the container (it overflows), see below 5) Colors: - 2016 circle Primary - 2017 circle Info - Not on track Warning - On track Success 6) Make the circles slightly thicker

image

What needs to be done…

image

The title will be added using a text component.

I also need a single KPI doing as well, and note the component like the KPI sales component overflows and does not resize to the container.

image

Updated 17/10/2017 08:05 3 Comments

Intake Form - Need more access for Staff Members

craniumcafe/issue-tracker

Intake Form should be send in the meeting confirmation email Intake Form should show in the “My Cafe Appointment” page within the meeting details (add a button “Review Intake Form”) then the detailed Intake Form will open up.

screen shot 2017-10-14 at 11 33 01 am

Reports for Intake Forms: Currently we only have a general report. We need an extra tab that will show Details such as; student name, ID, and what they filled out.

screen shot 2017-10-14 at 11 45 09 am

Updated 14/10/2017 17:45

Add authentication

tb/northwind-graphql-ruby

Use: - https://github.com/lynndylanhurley/devise_token_auth - https://github.com/exAspArk/graphql-guard

Add mutations: signupUser and signinUser.

Other links: - http://mgiroux.me/2016/token-auth-in-relay-app-using-rails/ - https://github.com/howtographql/graphql-ruby/blob/master/app/graphql/resolvers/sign_in_user.rb - https://medium.com/@gauravtiwari/graphql-and-relay-on-rails-authentication-and-authorisation-f7c07ebb47b3

Updated 14/10/2017 14:17

OIDC authorization page throws an error

GluuFederation/oxAuth

Environment: Ubuntu 14.04, gluu-server-3.1.1-1.7

Preconditions: 1. A working OIDC setup using your Gluu instance as OP

Steps to reproduce: 1. Log in to web UI as admin 2. Edit your test client’s properties at Gluu, disabling Pre-Authorization 3. Start any OIDC flow using this client

Result: An “Error Encountered An unexpected error has occured” page is displayed and Java exception is logged in oxauth.log (full text here): 2017-10-14 00:31:40,933 ERROR [qtp2008017533-13] [org.xdi.oxauth.exception.GlobalExceptionHandler] (GlobalExceptionHandler.java:45) - //opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-2913699815801948513.dir/webapp/WEB-INF/incl/layout/authorize-template.xhtml: Property 'getCssLocation' not found on type org.xdi.oxauth.service.OxAuthConfigurationService javax.el.ELException: //opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-2913699815801948513.dir/webapp/WEB-INF/incl/layout/authorize-template.xhtml: Property 'getCssLocation' not found on type org.xdi.oxauth.service.OxAuthConfigurationService at com.sun.faces.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:94) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:82) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:183) ~[jsf-impl-2.2.14.jar:2.2.14] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859) ~[jsf-api-2.2.14.jar:2.2] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859) ~[jsf-api-2.2.14.jar:2.2]

Updated 14/10/2017 00:35

Excessive DirectoryWatcher recursive logs and TypeScript server hang

Microsoft/TypeScript

<!– BUGS: Please use this template. –> <!– QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript –> <!– SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md –>

<!– Please try to reproduce the issue with typescript@next. It may have already been fixed. –> TypeScript Version: 2.6.0-dev.20171013

Repo 1. Open vs code and open the vscode repo 2. run our npm install script: ./script/npm.sh install

bug I see a huge number of these messages in the TSServer log:

Info 17299[14:27:50.408] DirectoryWatcher recursive:: Elapsed: 0ms Trigger: /Users/matb/projects/vscode/node_modules/.staging/@types/minimist-cb6a846a/package.json.1048325057 PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.408] DirectoryWatcher recursive:: Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-filter-0a0f4d69/package.json.2424320078 PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.408] DirectoryWatcher recursive:: Elapsed: 0ms Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-filter-0a0f4d69/package.json.2424320078 PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.408] DirectoryWatcher recursive:: Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-mocha-524b0afc/package.json.3753437926 PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.408] DirectoryWatcher recursive:: Elapsed: 0ms Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-mocha-524b0afc/package.json.3753437926 PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.408] DirectoryWatcher recursive:: Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-bom-a87af56a/package.json.2803377959 PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.408] DirectoryWatcher recursive:: Elapsed: 0ms Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-bom-a87af56a/package.json.2803377959 PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.408] DirectoryWatcher recursive:: Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-json-editor-4f38ed7e/test/byObject.js PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.413] DirectoryWatcher recursive:: Elapsed: 5ms Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-json-editor-4f38ed7e/test/byObject.js PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.413] DirectoryWatcher recursive:: Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-tslint-ff59e88c/CHANGELOG.md PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.413] DirectoryWatcher recursive:: Elapsed: 0ms Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-tslint-ff59e88c/CHANGELOG.md PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.413] DirectoryWatcher recursive:: Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-image-resize-2d801cc7/test/image_resize_test.js PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.418] DirectoryWatcher recursive:: Elapsed: 5ms Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-image-resize-2d801cc7/test/image_resize_test.js PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.418] DirectoryWatcher recursive:: Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-buffer-64fa6fa0/test PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.418] DirectoryWatcher recursive:: Elapsed: 0ms Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-buffer-64fa6fa0/test PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.418] DirectoryWatcher recursive:: Trigger: /Users/matb/projects/vscode/node_modules/.staging/http-proxy-agent-4f953650/test/test.js PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.425] DirectoryWatcher recursive:: Elapsed: 7ms Trigger: /Users/matb/projects/vscode/node_modules/.staging/http-proxy-agent-4f953650/test/test.js PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.425] DirectoryWatcher recursive:: Trigger: /Users/matb/projects/vscode/node_modules/.staging/https-proxy-agent-0189e983/test/test.js PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.431] DirectoryWatcher recursive:: Elapsed: 6ms Trigger: /Users/matb/projects/vscode/node_modules/.staging/https-proxy-agent-0189e983/test/test.js PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution
Info 17299[14:27:50.432] DirectoryWatcher recursive:: Trigger: /Users/matb/projects/vscode/node_modules/.staging/gulp-uglify-f9893af5/lib/gulp-uglify-error.js PathInfo: /Users/matb/projects/vscode/node_modules Project: /Users/matb/projects/vscode/extensions/typescript/tsconfig.json WatchType: Directory of Failed lookup locations in module resolution

The log file is over 750mb now

The typescript server also appears to hang during the install process.

Updated 16/10/2017 20:38

segfault free () from /usr/lib/x86_64-linux-gnu/libjemalloc.s

pytorch/pytorch

I’m getting a segfault a few thousand iterations into using a model for inference. I’m serving the model in a simple flask app. How should I resolve?

Specs Ubuntu 16.04 on AWS g3.8xlarge Pytorch (latest) installed through conda python 3.5 cuda 8.0

The original error was Error in `python': double free or corruption (!prev) I’ve tried resolving it by changing LD_PRELOAD as outlined https://github.com/google/seq2seq/issues/119 export LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libjemalloc.so.1" and https://github.com/tensorflow/tensorflow/issues/6968 export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"

But these haven’t helped. Currently getting Error Thread 22951 "python" received signal SIGSEGV, Segmentation fault. 0x00007ffff7ba42d7 in free () from /usr/lib/x86_64-linux-gnu/libjemalloc.s

Backtrace from gdb (few hundred lines) ```

0 0x00007ffff7ba42d7 in free ()

from /usr/lib/x86_64-linux-gnu/libjemalloc.so.1

1 0x00007fff8ec55c73 in torch::autograd::VariableVersion::cleanup (

this=<optimized out>, this=<optimized out>)

from /home/ubuntu/anaconda3/envs/py3/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so

2 torch::autograd::VariableVersion::~VariableVersion (

this=0x7fff036fd530, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:47

3 std::default_delete<torch::autograd::VariableVersion>::operator() (

this=<optimized out>, __ptr=0x7fff036fd530)
at torch/csrc/autograd/python_function.cpp:67

4 std::unique_ptr<torch::autograd::VariableVersion, std::default_delete<torch::autograd::VariableVersion> >::~unique_ptr (this=0x7fff0bf5af60,

__in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:184

5 torch::autograd::Variable::SavedVariable::~SavedVariable (

this=0x7fff0bf5af30, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:19

6 0x00007fff8ec74a65 in torch::autograd::ConvBackward::~ConvBackward (

this=0x7fff0bf5ae18, __in_chrg=<optimized out>)

from /home/ubuntu/anaconda3/envs/py3/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so

7 0x00007fff8ec68b78 in std::Sp_counted_base<(__gnu_cxx::Lock_policy)2>::_M_release (this=0x7fff0bf5ae00)

from /home/ubuntu/anaconda3/envs/py3/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so

8 std::shared_count<(gnu_cxx::_Lock_policy)2>::~__shared_count (

this=0x7fff02fdf108, __in_chrg=<optimized out>)
at torch/csrc/autograd/functions/batch_normalization.cpp:546

9 std::shared_ptr<torch::autograd::Function, (gnu_cxx::_Lock_policy)2>::~shared_ptr (this=0x7fff02fdf100, in_chrg=<optimized out>)

at torch/csrc/autograd/functions/batch_normalization.cpp:781

10 std::shared_ptr<torch::autograd::Function>::~shared_ptr (

this=0x7fff02fdf100, __in_chrg=<optimized out>)
at torch/csrc/autograd/functions/batch_normalization.cpp:93

11 std::pair<std::shared_ptr<torch::autograd::Function>, int>::~pair (

this=0x7fff02fdf100, __in_chrg=<optimized out>)
at torch/csrc/autograd/functions/batch_normalization.cpp:96

12 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int> > (__pointer=0x7fff02fdf100)

at torch/csrc/autograd/functions/batch_normalization.cpp:93

13 std::_Destroy_aux<false>::destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*> (last=<optimized out>,

__first=0x7fff02fdf100)
at torch/csrc/autograd/functions/batch_normalization.cpp:103

14 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*> (last=<optimized out>, first=<optimized out>)

at torch/csrc/autograd/functions/batch_normalization.cpp:126

15 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*, std::pair<std::shared_ptr<torch::autograd::Function>, int> > (

__last=0x7fff02fdf148, __first=0x7fff02fdf100)
at torch/csrc/autograd/functions/batch_normalization.cpp:151

16 std::vector<std::pair<std::shared_ptr<torch::autograd::Function>, int>, std::allocator<std::pair<std::shared_ptr<torch::autograd::Function>, int> > >::~vector (this=0x7fff0369dea8, __in_chrg=<optimized out>)

at torch/csrc/autograd/functions/batch_normalization.cpp:415

17 torch::autograd::Function::~Function (this=0x7fff0369de98,

__in_chrg=<optimized out>)
at torch/csrc/autograd/functions/batch_normalization.cpp:63

18 torch::autograd::BatchNormBackward::~BatchNormBackward (

this=0x7fff0369de98, __in_chrg=<optimized out>)
at torch/csrc/autograd/functions/batch_normalization.cpp:28

19 0x00007fff8ec4f870 in std::Sp_counted_base<(__gnu_cxx::Lock_policy)2>::_M_release (this=0x7fff0369de80)

from /home/ubuntu/anaconda3/envs/py3/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so

20 std::shared_count<(gnu_cxx::_Lock_policy)2>::~__shared_count (

this=0x7fff02dffb28, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:546

21 std::shared_ptr<torch::autograd::Function, (gnu_cxx::_Lock_policy)2>::~shared_ptr (this=0x7fff02dffb20, in_chrg=<optimized out>)

at torch/csrc/autograd/python_function.cpp:781

22 std::shared_ptr<torch::autograd::Function>::~shared_ptr (

this=0x7fff02dffb20, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:93

23 std::pair<std::shared_ptr<torch::autograd::Function>, int>::~pair (

this=0x7fff02dffb20, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:96

24 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int> > (__pointer=0x7fff02dffb20)

at torch/csrc/autograd/python_function.cpp:93

25 std::_Destroy_aux<false>::destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*> (last=<optimized out>,

__first=0x7fff02dffb20)
at torch/csrc/autograd/python_function.cpp:103

26 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*> (last=<optimized out>, first=<optimized out>)

at torch/csrc/autograd/python_function.cpp:126

27 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*, std::pair<std::shared_ptr<torch::autograd::Function>, int> > (

__last=0x7fff02dffb38, __first=0x7fff02dffb20)
at torch/csrc/autograd/python_function.cpp:151

28 std::vector<std::pair<std::shared_ptr<torch::autograd::Function>, int>, std::allocator<std::pair<std::shared_ptr<torch::autograd::Function>, int> > >::~vector (this=0x7fffe78b0bf0, __in_chrg=<optimized out>)

at torch/csrc/autograd/python_function.cpp:415

29 torch::autograd::Function::~Function (this=0x7fffe78b0be0,

__in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:63

30 torch::autograd::PyFunction::~PyFunction (this=0x7fffe78b0be0,

__in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:19

31 THPFunction_dealloc (self=0x7fffe78b0b88)

at torch/csrc/autograd/python_function.cpp:287

32 0x00007ffff777af89 in subtype_dealloc (self=0x7fffe78b0b88)

at Objects/typeobject.c:1209

33 0x00007fff8ec555cb in Decref::operator() (this=<optimized out>,

p=0x7fffe78b0be0)

from /home/ubuntu/anaconda3/envs/py3/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so

34 std::Sp_counted_deleter<torch::autograd::PyFunction*, Decref, std::allocator<int>, (__gnu_cxx::Lock_policy)2>::_M_dispose (

this=<optimized out>) at torch/csrc/autograd/python_function.cpp:347

35 0x00007fff8ec4f870 in std::Sp_counted_base<(__gnu_cxx::Lock_policy)2>::_M_release (this=0x7fff02dffe20)

from /home/ubuntu/anaconda3/envs/py3/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so

36 std::shared_count<(gnu_cxx::_Lock_policy)2>::~__shared_count (

this=0x7fff02dffe08, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:546

37 std::shared_ptr<torch::autograd::Function, (gnu_cxx::_Lock_policy)2>::~shared_ptr (this=0x7fff02dffe00, in_chrg=<optimized out>)

at torch/csrc/autograd/python_function.cpp:781

38 std::shared_ptr<torch::autograd::Function>::~shared_ptr (

this=0x7fff02dffe00, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:93

39 std::pair<std::shared_ptr<torch::autograd::Function>, int>::~pair (

this=0x7fff02dffe00, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:96

40 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int> > (__pointer=0x7fff02dffe00)

at torch/csrc/autograd/python_function.cpp:93

41 std::_Destroy_aux<false>::destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*> (last=<optimized out>,

__first=0x7fff02dffe00)
at torch/csrc/autograd/python_function.cpp:103

42 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*> (last=<optimized out>, first=<optimized out>)

at torch/csrc/autograd/python_function.cpp:126

43 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*, std::pair<std::shared_ptr<torch::autograd::Function>, int> > (

__last=0x7fff02dffe18, __first=0x7fff02dffe00)
at torch/csrc/autograd/python_function.cpp:151

44 std::vector<std::pair<std::shared_ptr<torch::autograd::Function>, int>, std::allocator<std::pair<std::shared_ptr<torch::autograd::Function>, int> > >::~vector (this=0x7fffe78b0650, __in_chrg=<optimized out>)

at torch/csrc/autograd/python_function.cpp:415

45 torch::autograd::Function::~Function (this=0x7fffe78b0640,

__in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:63

46 torch::autograd::PyFunction::~PyFunction (this=0x7fffe78b0640,

__in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:19

47 THPFunction_dealloc (self=0x7fffe78b05e8)

at torch/csrc/autograd/python_function.cpp:287

48 0x00007ffff777af89 in subtype_dealloc (self=0x7fffe78b05e8)

at Objects/typeobject.c:1209

49 0x00007fff8ec555cb in Decref::operator() (this=<optimized out>,

p=0x7fffe78b0640)

from /home/ubuntu/anaconda3/envs/py3/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so

50 std::Sp_counted_deleter<torch::autograd::PyFunction*, Decref, std::allocator<int>, (__gnu_cxx::Lock_policy)2>::_M_dispose (

this=<optimized out>) at torch/csrc/autograd/python_function.cpp:347

51 0x00007fff8ec4f870 in std::Sp_counted_base<(__gnu_cxx::Lock_policy)2>::_M_release (this=0x7fff02e00040)

from /home/ubuntu/anaconda3/envs/py3/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so

52 std::shared_count<(gnu_cxx::_Lock_policy)2>::~__shared_count (

this=0x7fff036e9e70, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:546

53 std::shared_ptr<torch::autograd::Function, (gnu_cxx::_Lock_policy)2>::~shared_ptr (this=0x7fff036e9e68, in_chrg=<optimized out>)

at torch/csrc/autograd/python_function.cpp:781

54 std::shared_ptr<torch::autograd::Function>::~shared_ptr (

this=0x7fff036e9e68, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:93

55 std::pair<std::shared_ptr<torch::autograd::Function>, int>::~pair (

this=0x7fff036e9e68, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:96

56 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int> > (__pointer=0x7fff036e9e68)

at torch/csrc/autograd/python_function.cpp:93

57 std::_Destroy_aux<false>::destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*> (last=<optimized out>,

__first=0x7fff036e9e68)
at torch/csrc/autograd/python_function.cpp:103

58 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*> (last=<optimized out>, first=<optimized out>)

at torch/csrc/autograd/python_function.cpp:126

59 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*, std::pair<std::shared_ptr<torch::autograd::Function>, int> > (

__last=0x7fff036e9e80, __first=0x7fff036e9e50)
at torch/csrc/autograd/python_function.cpp:151

60 std::vector<std::pair<std::shared_ptr<torch::autograd::Function>, int>, std::allocator<std::pair<std::shared_ptr<torch::autograd::Function>, int> > >::~vector (this=0x7fffef683830, __in_chrg=<optimized out>)

at torch/csrc/autograd/python_function.cpp:415

61 torch::autograd::Function::~Function (this=0x7fffef683820,

__in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:63

62 torch::autograd::PyFunction::~PyFunction (this=0x7fffef683820,

__in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:19

63 THPFunction_dealloc (self=0x7fffef6837c8)

at torch/csrc/autograd/python_function.cpp:287

64 0x00007ffff777af89 in subtype_dealloc (self=0x7fffef6837c8)

at Objects/typeobject.c:1209

65 0x00007fff8ec555cb in Decref::operator() (this=<optimized out>,

p=0x7fffef683820)

from /home/ubuntu/anaconda3/envs/py3/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so

66 std::Sp_counted_deleter<torch::autograd::PyFunction*, Decref, std::allocator<int>, (__gnu_cxx::Lock_policy)2>::_M_dispose (

this=<optimized out>) at torch/csrc/autograd/python_function.cpp:347

67 0x00007fff8ec4f870 in std::Sp_counted_base<(__gnu_cxx::Lock_policy)2>::_M_release (this=0x7fff02e00720)

from /home/ubuntu/anaconda3/envs/py3/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so

68 std::shared_count<(gnu_cxx::_Lock_policy)2>::~__shared_count (

this=0x7fff02e004c8, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:546

69 std::shared_ptr<torch::autograd::Function, (gnu_cxx::_Lock_policy)2>::~shared_ptr (this=0x7fff02e004c0, in_chrg=<optimized out>)

at torch/csrc/autograd/python_function.cpp:781

70 std::shared_ptr<torch::autograd::Function>::~shared_ptr (

this=0x7fff02e004c0, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:93

71 std::pair<std::shared_ptr<torch::autograd::Function>, int>::~pair (

this=0x7fff02e004c0, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:96

72 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int> > (__pointer=0x7fff02e004c0)

at torch/csrc/autograd/python_function.cpp:93

73 std::_Destroy_aux<false>::destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*> (last=<optimized out>,

__first=0x7fff02e004c0)
at torch/csrc/autograd/python_function.cpp:103

74 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*> (last=<optimized out>, first=<optimized out>)

at torch/csrc/autograd/python_function.cpp:126

75 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*, std::pair<std::shared_ptr<torch::autograd::Function>, int> > (

__last=0x7fff02e004d8, __first=0x7fff02e004c0)
at torch/csrc/autograd/python_function.cpp:151

76 std::vector<std::pair<std::shared_ptr<torch::autograd::Function>, int>, std::allocator<std::pair<std::shared_ptr<torch::autograd::Function>, int> > >::~vector (this=0x7fffef683bf0, __in_chrg=<optimized out>)

at torch/csrc/autograd/python_function.cpp:415

77 torch::autograd::Function::~Function (this=0x7fffef683be0,

__in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:63

78 torch::autograd::PyFunction::~PyFunction (this=0x7fffef683be0,

__in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:19

79 THPFunction_dealloc (self=0x7fffef683b88)

at torch/csrc/autograd/python_function.cpp:287

80 0x00007ffff777af89 in subtype_dealloc (self=0x7fffef683b88)

at Objects/typeobject.c:1209

81 0x00007fff8ec555cb in Decref::operator() (this=<optimized out>,

p=0x7fffef683be0)

from /home/ubuntu/anaconda3/envs/py3/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so

82 std::Sp_counted_deleter<torch::autograd::PyFunction*, Decref, std::allocator<int>, (__gnu_cxx::Lock_policy)2>::_M_dispose (

this=<optimized out>) at torch/csrc/autograd/python_function.cpp:347

83 0x00007fff8ec4f870 in std::Sp_counted_base<(__gnu_cxx::Lock_policy)2>::_M_release (this=0x7fff02e007c0)

from /home/ubuntu/anaconda3/envs/py3/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so

84 std::shared_count<(gnu_cxx::_Lock_policy)2>::~__shared_count (

this=0x7fff037070f0, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:546

85 std::shared_ptr<torch::autograd::Function, (gnu_cxx::_Lock_policy)2>::~shared_ptr (this=0x7fff037070e8, in_chrg=<optimized out>)

at torch/csrc/autograd/python_function.cpp:781

86 std::shared_ptr<torch::autograd::Function>::~shared_ptr (

this=0x7fff037070e8, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:93

87 std::pair<std::shared_ptr<torch::autograd::Function>, int>::~pair (

this=0x7fff037070e8, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:96

88 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int> > (__pointer=0x7fff037070e8)

at torch/csrc/autograd/python_function.cpp:93

89 std::_Destroy_aux<false>::destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*> (last=<optimized out>,

__first=0x7fff037070e8)
at torch/csrc/autograd/python_function.cpp:103

90 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*> (last=<optimized out>, first=<optimized out>)

at torch/csrc/autograd/python_function.cpp:126

91 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int>*, std::pair<std::shared_ptr<torch::autograd::Function>, int> > (

__last=0x7fff03707100, __first=0x7fff037070d0)
at torch/csrc/autograd/python_function.cpp:151

92 std::vector<std::pair<std::shared_ptr<torch::autograd::Function>, int>, std::allocator<std::pair<std::shared_ptr<torch::autograd::Function>, int> > >::~vector (this=0x7fffef683dd0, __in_chrg=<optimized out>)

at torch/csrc/autograd/python_function.cpp:415

93 torch::autograd::Function::~Function (this=0x7fffef683dc0,

__in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:63

94 torch::autograd::PyFunction::~PyFunction (this=0x7fffef683dc0,

__in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:19

95 THPFunction_dealloc (self=0x7fffef683d68)

at torch/csrc/autograd/python_function.cpp:287

96 0x00007ffff777af89 in subtype_dealloc (self=0x7fffef683d68)

at Objects/typeobject.c:1209

97 0x00007fff8ec555cb in Decref::operator() (this=<optimized out>,

p=0x7fffef683dc0)

from /home/ubuntu/anaconda3/envs/py3/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so

98 std::Sp_counted_deleter<torch::autograd::PyFunction*, Decref, std::allocator<int>, (__gnu_cxx::Lock_policy)2>::_M_dispose (

this=<optimized out>) at torch/csrc/autograd/python_function.cpp:347

99 0x00007fff8ec4f870 in std::Sp_counted_base<(__gnu_cxx::Lock_policy)2>::_M_release (this=0x7fff02e00ec0)

from /home/ubuntu/anaconda3/envs/py3/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so

100 std::shared_count<(gnu_cxx::_Lock_policy)2>::~__shared_count (

this=0x7fff02e00c68, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:546

101 std::shared_ptr<torch::autograd::Function, (gnu_cxx::_Lock_policy)2>::~shared_ptr (this=0x7fff02e00c60, in_chrg=<optimized out>)

at torch/csrc/autograd/python_function.cpp:781

102 std::shared_ptr<torch::autograd::Function>::~shared_ptr (

this=0x7fff02e00c60, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:93

103 std::pair<std::shared_ptr<torch::autograd::Function>, int>::~pair (

this=0x7fff02e00c60, __in_chrg=<optimized out>)
at torch/csrc/autograd/python_function.cpp:96

104 std::_Destroy<std::pair<std::shared_ptr<torch::autograd::Function>, int> > (__pointer=0x7fff02e00c60)

at torch/csrc/autograd/python_function.cpp:93

105

``` I have observed the memory via htop and nvidia-smi manually every few hundred iterations and didn’t notice any significant uptick in memory growth over time.

Updated 14/10/2017 20:54 4 Comments

[Do Not Merge] Options Pane

brandon1024/find

Fixes https://github.com/brandon1024/find/issues/87

Changes Proposed in this Pull Request:

  • Added an options pane in the popup with the following options:
    • Find by Regular expression
    • Match Case
    • Max Highlighted Results
  • Added keyevent listener for CTRL-O to toggle the pane
  • Modifications to all scripts to implement the options
Updated 13/10/2017 16:25

Site not recognising previous hearts

crowdAI/crowdai

I’m logged in and go to the openSNP challenge, and it doesn’t show the correct heart - it shows the inactive one, even though I hearted it quite some time ago.

<img width=“396” alt=“screen shot 2017-10-13 at 15 24 04” src=“https://user-images.githubusercontent.com/215057/31548362-d634081a-b02a-11e7-8ce3-b19196713c69.png”>

When I try to hear it, it redirects me to the homepage, and gives me an “already signed in” alert, which makes no sense. <img width=“208” alt=“screen shot 2017-10-13 at 15 24 10” src=“https://user-images.githubusercontent.com/215057/31548387-e98a861e-b02a-11e7-973f-90217b7dfe26.png”>

I’m labeling this as high priority because I want to make sure this is “just” a UI bug, but even if, it’s an important one.

Updated 16/10/2017 04:07

Checkout: tax

envistaInteractive/itagroup-ecommerce-template

If {{websiteSettings.tax.taxExempt}} is false then the website will need to collect tax information during the checkout process.

Currently the tax information form is on a separate template: checkout/tax.liquid, but we will move it to be in shipping.liquid and use DOM manipulation to change the breadcrumb to tax information breadcrumb once it is in that state (which happens after a user has entered all shipping and payment info and pressed next).

In the case where there is tax, after the shipping and payments information is entered, instead of pressing the submit button the user will click next. Once tax information has been entered, the submit order button will appear and then the order will be placed and user will be sent to the checkout/confirmation page.

A tag should be included in the address payload that sets the value of the “text” property based on whether EIN or SSN is selected. This is a string: “EIN” or “SSN”. In the payload the name is either the business name or the name depending on if SSN or EIN is selected.

endpoint: /api/profile/addresses payload: { "contactInfo":{ "name":"Jason Futch" // this can be business name or name depending on selection of EIN or SSN }, "line1":"660 Grand Reserve Dr", "city":"Suwanee", "state":"GA", "zip":"30024", "country":"USA", "defaultShipping":true, "defaultBilling":true, "tags": [{text:"SSN"}] // this can be "EIN" or "SSN" depending on selection }

Updated 13/10/2017 17:53

Formspec replacement

minetest/minetest

MuSCo (must have, should have, could have)

Actual GUI libraries / logic

Must have

  • Good layouting
    • Consistent co-ordinates and scale.
    • Adapting containers for varying window size (table, linear, stack)
  • OOP design in C++ to allow extending, and decouple elements.

Should have

  • Should use an existing solution - avoid reinventing the wheel. It’s fine to define our own Lua API for it, however.
  • Theming
    • Ability to change borders/backgrounds/etc
    • CSS like syntax?

Server API

Must have

  • Sane format
    • OOP style, which is then converted to JSON?

Should have

  • Auto-validation
    • reject invalid submissions

Could have

  • Server-side formspec to new API converter

CSM API

Could have

  • Define custom elements, with draw(). Draw is only called when required, which may be every draw step.

Other notes

@sapier As discussion on minetest-dev showed up we first need to define what a possible formspec replacement has to do, a suggestion:

Completely specified
Modifyable (change existing formspecs)
Current formspecs have to be convertable to it
Errors have to be detectable (no typos, no logical errors)
Container support (tabs/ribbons/whatever you wanna add here)
Existing format is preferred
Support for optional parameters (not interpreted by GUI, but explicitly defined)
Pixel based AND relative positioning of elements
API versioning 
How UI elements are drawn
How UI is defined
How user input is linked to UI definition

See sfan5’s post for an example API

I’m willing to work on this if we can have a consensus on how it should work.

Related: #1399, #5810 )

Updated 14/10/2017 14:44 22 Comments

General: Lab content is light

HoneycuttInc/Thorncastle

This one, too, is a little bit light. Our target is 15 pages to fill 30 minutes. Right now we’re at 6 pages. Maybe we can expand some of the planning a bit? Or, add an exercise to plan the content of a capstone video to be published on YouTube? Maybe a bunch of questions to ask and answer in the video? If you need to talk to Dave about expanding this one, @jerozoo can hook you up.

On a related note, some of the tasks are at a bit more of a macro level. We like to be at a lower level most of the time. For example, instead of saying “Open Excel and paste the credit card numbers in a new spreadsheet,” split that out in to a steps: “(1) Click Start > Excel 2016. (2) Select XXX to create a new spreadsheet. (3) Select Ctrl+V to paste the credit card numbers from the clipboard to the spreadsheet.” It can be jarring for students when the level changes between labs, so we try to keep things pretty even across the board. Even though it seems laborious to read.

Updated 13/10/2017 15:44 4 Comments

No new updates

zeffy/wufuc

Hi, this is an awesome program and thank you for making it! However, I’m encountering one problem. I’m a complete beginner, I installed wufuc_setup_x64.msi for my Win8.1 x64 (as far as I understand, that is all it takes? or do I have to do something with wufuc_v0.8.0.143.zip too?). PC restarted without issues, no warning waiting at the desktop, but when I try checking for updates in Windows Update, nothing happens. As in, the system just keeps checking for updates, for over 20 minutes now, not stopping.

Thanks!

Updated 16/10/2017 16:13 5 Comments

Task 3.1: Blocked on joining device to Intune

HoneycuttInc/Thorncastle

The task says, “(5) In Access work or school, select Connected to contoso…. (6) Select Info. (7) Select Sync.” It assumes that the device is already connected to Intune management. That will not be the case, as the VMs are reset after every lab. You will need to add a task to join the computer to Intune. See HOL-SC1-3D for a good example of the steps.

Updated 13/10/2017 07:48

General: Lab is light content

HoneycuttInc/Thorncastle

The lab is pretty light on content. It’s targeted for a 30 minute time slot (15 pages) but currently sits at 4 pages. We need to beef it up a good bit. @jerozoo, if you can connect @pr-honey with Dave Field, he can give Paul some ideas on how to beef this up.

Updated 13/10/2017 07:32 1 Comments

Incohérences des noms et de la valeur unitaire entre SpatGRIS et ServerGRIS

GRIS-UdeM/SpatGRIS

La valeur unitaire de SpatGRIS pour le Rayon est de 2: spatgris rayon 2

Alors que dans le Server cette valeur se nomme Radius et elle est de 1: servergris radius 1

Cette valeur de 2 du SpatGRIS est héritée du mode PanSpan où le cercle des hp est situé à 1 et le Far à 2. C'est lorsqu'on utilise la fonction OSC que cela devient incohérent.

Donc deux choses à corriger: - la valeur unitaire devrait être de 1 dans les deux cas (et le cercle des hp devrait donc être placé à 0.5); - cette valeur devrait se nommer Radius partout.

Updated 13/10/2017 01:16

Fork me on GitHub