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

Design the star page

flysonic10/initial-celestial-offering

Lay things out better.

Research a way to represent each star with some sort of image ex: It’s position near other stars, an algorithmically generated image based on its characteristics

Are there other images to show? ex: angle / magnitude data

Is there other information to make clearer? ex: Where / when it’s visible from which parts of Earth, a poem?, wikipedia information

Updated 17/10/2017 06:30

Design the index page

flysonic10/initial-celestial-offering

Consider having:

  • A hero that explains the project
  • A premium section for the sun, polaris, etc…
  • Search by constellation
  • A constellation visualization
  • Go to a random star
  • Link to Instructions on how to download MetaMask / buy a star
  • Link to legal language explaining how this has no real value! ..and is not a security!
Updated 17/10/2017 06:30

Ability to test version output in isolation

kdabir/has

If we change the current regex, we are not sure if existing commands' version can still be extracted. we can’t run all commands in CI because they might not be present on CI servers in the first place.

To solve this, the code needs to be organized such that the version extraction is decoupled from the command execution part.

  1. Execute the command and capture the output (both out & err), and exit status
  2. Compare the exit status against valid status (mostly 0 but can be different for some commands)
  3. Pass the output for some default version extraction strategies, or custom ones if command needs one
  4. These strategies must be functions that can be unit tested in bats file against actual output of commands.
Updated 17/10/2017 04:13

Fix gcd method

BlakeGuilloud/ganon

There is currently a method called gcd that lives in /lib/gcd.js. It is incomplete and needs to be fixed!

Acceptance Criteria:

  1. Running yarn test gcd results in tests passing.

Please include the skeleton of a new method + an accompanying test for someone else to work on at the time of creating a pull request!

Updated 17/10/2017 07:34 1 Comments

Check the index validity when executing `use index ...`

pingcap/tidb

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error. create table tt(a int); select count(*) from tt use index (idx);

  2. What did you expect to see? mysql> select count(*) from tt use index (idx); ERROR 1176 (42000): Key 'idx' doesn't exist in table 'tt'

  3. What did you see instead? tidb> select count(*) from tt use index (idx); +----------+ | count(*) | +----------+ | 0 | +----------+ 1 row in set (0.00 sec)

Updated 17/10/2017 03:31

Add a tutorial in additional materials on how to configure username and email for git

Roshanjossey/first-contributions

🐞 Problem Git requires to set up user configurations before pushing to remote (GitHub)

🎯 Goal Make user users understand why this is needed. How to do it and what happens behind the scenes

💡 Possible solutions Add a tutorial to additonal material to address this

📋 Steps to solve the problem

  • Comment below about what you’ve started working on.
  • Add, commit, push your changes
  • Submit a pull request and add this in comments - Addresses #<put issue number here>
  • Ask for a review in comments section of pull request
  • Celebrate your contribution to this project 🎉
Updated 17/10/2017 05:04 4 Comments

Contributing guide

codecasts/laravel-jwt

Hi @hernandev, me again hehe, I think it would be very good if this project had a contributing guide so that other developers don’t make the same mistake I did when I’ve opened the PR #18, sending to the master branch instead of develop, what you think?

Updated 17/10/2017 08:03 4 Comments

BetterJsPop and request abuse

kowith337/GelboLube

Recently, I’ve just noticed the inline-script function can bypassed and get new testing popup through BetterJsPop, it’s trigger to load thedoujin.com site and popping out existing page to the new one.

But later just for a short time, I cannot reproduce anymore and seems those line of code to triggrr BetterJsPop to run was gone…

Moreover, if I’m start to blocking any .php requests that not loaded as document, inline-script and xhr, the code will not run, but lazyload function that needed to load thumbnail properly also cannot run, too.

Updated 17/10/2017 02:20

FR Spectrum and audio freeze often if Hi-Z SDRPlay2 antenna selected

kpreid/shinysdr

Noticed a problem with SDRPlay2 (config.devices.add(u'osmo', OsmoSDRDevice(‘soapy’, name=‘SDRPlay2’)). When I use ‘Antenna A’ or ‘Antenna B’ shinnysdr is stable enough but if I switch to antenna ‘Hi-Z’ FR Spectrum and audio freeze very often. I do see nothing suspicious in the log, just regular stuff:

INFO:shinysdr:set /GnVMwPngOqqFw5RU-hjKSA/radio/sources/osmo/rx_driver/gain to 46.4734848484848 (0.00s) INFO:shinysdr:set /GnVMwPngOqqFw5RU-hjKSA/radio/sources/osmo/rx_driver/gain to 46 (0.00s) INFO:shinysdr:set /GnVMwPngOqqFw5RU-hjKSA/radio/receivers/a/rec_freq to 2719565.217391304 (0.00s) INFO:shinysdr:Scheduling state write. INFO:shinysdr:Performing state write… INFO:shinysdr:…done INFO:shinysdr:set /GnVMwPngOqqFw5RU-hjKSA/radio/receivers/a/rec_freq to 3658695.652173913 (0.00s) INFO:shinysdr:Scheduling state write. INFO:shinysdr:Performing state write… INFO:shinysdr:…done INFO:shinysdr:set /GnVMwPngOqqFw5RU-hjKSA/radio/sources/osmo/rx_driver/antenna to u'Antenna A' (0.00s) INFO:shinysdr:Scheduling state write. INFO:shinysdr:Performing state write… INFO:shinysdr:…done INFO:shinysdr:set /GnVMwPngOqqFw5RU-hjKSA/radio/sources/osmo/rx_driver/antenna to u'Hi-Z' (0.40s) INFO:shinysdr:Scheduling state write. INFO:shinysdr:Performing state write… INFO:shinysdr:…done

Not sure is it a SDRPlay2 problem or shinysdr one. I made public server so you can play with it http://h1.vp-seattle.us:48100/GnVMwPngOqqFw5RU-hjKSA/. Try to switch between antennas and reload the page. Sometimes you need some patience to make Hi-Z work it’s working. Trust me. Let me know when you are done - i’ll change cap url.

Thank you!

Updated 17/10/2017 02:32 3 Comments

Submenu closes before user can access the submenu.

palantir/blueprint

Bug report

  • Package version(s): 1.31.0
  • Browser and OS versions: Chrome 61 x64, Windows 10

Steps to reproduce

https://streamable.com/w6rpg

  1. Navigate to http://blueprintjs.com/docs/#core/components/menu.sample-usage
  2. Mouse over any menu item with a sub menu
  3. Try to move mouse over to submenu, submenu closes.

Actual behavior

Submenu closes when trying to access it.

Expected behavior

For the submenu not to close when trying to access it.

The only way to access the submenu is to move the mouse fast enough to not trigger the mouseleave event.

Updated 17/10/2017 00:49

Support a way to define multiple Phalcon version's stub

fossapps/PhpStorm-Phalcon-Autocomplete

Right now, as soon as Phalcon releases a update, we update stubs, and older stubs are lost in phpstorm, unless we come back to this repository and download the release and install manually.

There should be a way to add multiple stubs, then user should be able to select (even better, if we could pre select by executing php commands directly, if not, user can always select)

Updated 17/10/2017 02:35

Explore options for a different DataFrameTransformer interface

ironmussa/Optimus

I’m not sure how much we’ll want to explore this option. Just want to introduce a design pattern that works well with the Scala API of Spark.

The Spark Scala API has a nifty transform method that lets users chain user defined transformations and methods defined in the Dataset class. See this blog post for more information.

I like the DataFrameTransformer class, but it doesn’t let users easily access the native PySpark DataFrame methods.

We might want to take these methods out of the DataFrameTransfrormer class, so the user can mix and match the Optimus API and the PySpark API.

source_df\
    .transform(lambda df: lower_case(df, "*"))\
    .withColumn("funny", lit("spongebob"))\
    .transform(lambda df: trim_col(df, "address"))

The transform method is defined in quinn. I’d love to make an interface like this, but not sure how to implement it with Python.

source_df\
    .transform(lower_case("*"))\
    .withColumn("funny", lit("spongebob"))\
    .transform(trim_col("address"))

Let me know what you think!

Updated 17/10/2017 00:16 5 Comments

Preferencia Día-Horario y Frecuencia

BlockchainEspanaHQ/CommunityLab

El LAB se desarrollará físicamente en Madrid.

Día y Horario ¿Preferirías que tuviera lugar a) jueves por la tarde, b) sábado por la mañana, c) sábado por la tarde, d) indiferente, e) haz tu propuesta?

Frecuencia En lo relativo a la frecuencia, ¿preferirías que fuera a) semanal, b) quincenal, c) mensual, d) indiferente, e) haz tu propuesta?

Updated 17/10/2017 09:08

Fix Remainder method

BlakeGuilloud/ganon

There is currently a method called remainder that lives in /lib/remainder.js. It is incomplete and needs to be fixed!

Acceptance Criteria:

  1. Running yarn test remainder results in tests passing.

Please include the skeleton of a new method + an accompanying test for someone else to work on at the time of creating a pull request!

Updated 16/10/2017 23:42 2 Comments

Provide examples of an isometric store

iaincollins/nextjs-starter

The goal is to show how to create a simple store, that supports with universal rendering.

Redux is the common approach taken for this, and unlike MobX it doesn’t require decorator support, but Redux generally requires more code to do the same thing and is not always as easy to follow the logic.

There was a previous example of a Clock that use Redux and supported server side rendering but it wasn’t a great introductory example and didn’t cover a use case that translated well for most people so I removed it.

I’m considering adding a store that uses MobX to the project, as in the below example, but I appreciate more people would probably like a Redux example (in this case the same working example in both would be ideal!).

What’s missing from the below example is meaningful Server Side Rendering support. The store allows a default value to be passed in (e.g. from a session) but it would make sense if there was a flow that could read directly from the server when a store was rendering on the server.

Maybe I need to shortlist some real use cases to come up with a meaningful practical example. Ideas for practical examples of stores welcome!

Most of the use cases I have in production (in real world projects) are fetching data from REST APIS and I find simple JavaScript classes are simpler to implement and use (and less code!), especially in conjunction with Web Storage APIs to cache data.

I think the only place I actually bother with a Store in production is to use socket.io with React in a graceful way, to avoid creating a new Socket and to track when events happen on a Socket.

Note: I considered making the Session component a Store as an example, but like a lot of other cases I have it would have added complexity and code for little to no benefit so decided against it.

Config required to use mobx with Next.js (as it relies on decorators) in .babelrc:

{
"presets": [
    "next/babel"
  ],
  "plugins": ["transform-decorators-legacy"]
}

Code for a Counter store in stores/counter.js:

import { observable, action } from 'mobx'

let store = null

class Store {
  @observable counter = 0

  // Initalize store with default values if passed any
  constructor ({
      counter = 0
    }) {
    this.counter = counter
  }

  @action
  increment () {
    this.counter++
  }

  @action 
  decrement () {
    this.counter--
  }

  @action
  startAutoInc () {
    this.timer = setInterval(() => { 
      this.counter++
    }, 1000)
  }

  @action
  stopAutoInc () {
    clearInterval(this.timer)
    this.timer = null
  } 

  @action 
  autoIncIsRunning () {
    return (this.timer) ? true : false;
  }

  @action
  resetCounter () {
    this.counter = 0
  }
}

export function initStore(defaults = {}) {
  if (typeof window === 'undefined') {
    return new Store(defaults)
  } else {
    if (store === null) {
      store = new Store(defaults)
    }
    return store
  }
}

Code for a component using the Counter store in components/counter.js:

import React from 'react'
import { observer } from 'mobx-react'
import { Store, initStore } from '../stores/counter'

@observer
export default class extends React.Component {

  constructor(props) {
    super(props)
    this.store = initStore(this.props.store) // Default value defined in props
    this.handleStartStop = this.handleStartStop.bind(this)
  }

  handleStartStop () {
    this.store.autoIncIsRunning() ? this.store.stopAutoInc() : this.store.startAutoInc()
  }

  render () {
    return (
      <div>
        <div className='counter'>
          <span>{this.store.counter}</span>
        </div>
        <div className='buttons'>
          <button onClick={() => this.store.increment()}>Increment</button>
          <button onClick={() => this.store.decrement()}>Decrement</button>
          <button onClick={this.handleStartStop}>{this.store.autoIncIsRunning() ? 'Stop' : 'Start'} Auto-increment</button>
          <button onClick={() => this.store.resetCounter()}> Reset</button>
        </div>
        <style jsx>{`
        .counter {
          background: black;
          color: white;
          padding: 20px;
          text-align: center;
        }
      `}</style>
      </div>
    )
  }
}
Updated 16/10/2017 23:36

Add documentation page explaining and link to security tips

iaincollins/nextjs-starter

This should be addd as a page linked to on the left hand nav.

It should explain:

  • How the authentication system works (using HTTP Only cookies and what they are).
  • How the CSRF system we are using works.
  • How the express session middleware works.
  • What alternative approaches are for authentication (e.g. JWT) and advantages/disadvantages.

If anyone would like to have a go at this, please feel free!

Updated 16/10/2017 23:05

Create Documentation for User Tests

alyssalina/catsandbeer

Problem / motivation

On the first day of Week 5, users (ie your classmates, TFs, or Ken) will be testing out your project for bugs and usability. Create a document to outline how they should test your program.

https://www.userzoom.com/user-experience-research/a-simple-template-for-writing-usability-tasks/ https://www.nngroup.com/articles/task-scenarios-usability-testing/

Note: You might want to look up guides for game-specific user testing

Document Requirements

See the details section for more info.

  • [ ] Describe the User/Role your testers will be playing
  • [ ] Write out a list of User Goals you want to test
  • [ ] For each user goal, write out a “scenario” the user should try to accomplish
  • [ ] Write down how to do each task (but don’t share this with the user)
  • [ ] During the session, take notes of how well the user was able to do your task without any guidance from you
  • [ ] Write 10-12 tasks overall

Details

User/Role Description

Provide enough context for the user to be able to do their task. For example, for a flight booking website: You're planning a vacation to New York City, March 3 − March 14. You need to buy both airfare and hotel. Go to the American Airlines site and jetBlue Airlines site and see who has the best deals. Who is the user and why do they want to be interacting with your application?
The user should be able to know everything they need to complete each task from this description you give them.

User Goals

  • Make your goals realistic
  • Don’t make them too specific to a feature. Think about what a user would want to do with your app.
  • Think about your user stories from earlier

As a customer, I want to be able to look up flights to my desired location from my local airport As a customer, I want to compare prices of my flights As a customer, I want to purchase my tickets.

Scenarios

A good scenario leaves a little room for the user to discover what they should do. You should not have to tell the user how to do it, it should be obvious from your program how to do each of those things. If your tester cannot figure it out, give some helpful hints, and record where they got stuck and why, so you can make better design later. 1. Make the task realistic 2. Make the task actionable 3. Avoid giving clues and describing the steps

Help the user find their way, but don’t give them the answer.

Scenario Comparison: * [Bad] Purchase a pair of orange Nike running shoes (not realistic for all users, doesn’t give user much freedom.) * [Good] Buy a pair of shoes for less than $40 * [Bad] You want to see a movie Sunday afternoon. Go to www.fandango.com and tell me where you’d click next. * [Good] Use www.fandago.com to find a movie you’d be interested in seeing on Sunday afternoon. * [Bad] You want to see the results of your midterm exams. Go to the website, sign in, and tell me where you would click to get your transcript. (Lists out too many steps) * [Good] Look up the results of your midterm exams. * [Bad] Make an appointment with your dentist. (Too vague) * [Good] Make an appointment for next Tuesday at 10am with your dentist, Dr. Petersen.

During the usability test

Usability tests do not have to be a user sitting quietly in a box and doing tasks for you. They are welcome to think aloud and you are welcome to ask each other questions. Here are a few guidelines for conducting a usability test:

  • Write down as much as possible! Have 1-2 people be the “conductors” and everyone else be scribes.
  • Don’t jump in and tell them what to do unless they get 100% stuck or encounter a bug. Write down where they got stuck and what the bug was
  • Answer questions if they ask
  • If they do something you didn’t expect, ask them why they did that
  • Write down the alternative path a user took, if it was different than what you wrote down.
  • At the end, have everyone compare notes.
Updated 17/10/2017 03:28 2 Comments

Refactor Session component to use unfetch

iaincollins/nextjs-starter

The session component (components/session.js) currently uses XMLHttpRequest to handle POST and GET requests. I would like to change this to use unfetch instead of XMLHttpRequest.

It uses XMLHttpRequest and not fetch because it has the browser send CSRF and HTTP Only sessions cookies along with each request - and fetch does not currently read or send HTTP Only cookies by design.

However unfetch is a ‘work-a-like’ of fetch that actually uses XMLHttpRequest under the hood so it behaves like fetch from a user perspective but sends cookies like XMLHttpRequest (it’s super small and actually just wraps XMLHttpRequest in a Promise).

There wouldn’t be any functionality gain from doing this, re-writing the Session component to use unfetch would just clean up and reduce the code in session.js and make it a bit easier to read.

Note: The Profile page already uses unfetch to to handle GET and POST requests for user data, so we are already using unfetch in the project.

Updated 16/10/2017 23:01 1 Comments

Create Documentation for User Tests

CatherineEvelyn/wedding-planner

Problem / motivation

On the first day of Week 5, users (ie your classmates, TFs, or Ken) will be testing out your project for bugs and usability. Create a document to outline how they should test your program.

https://www.userzoom.com/user-experience-research/a-simple-template-for-writing-usability-tasks/ https://www.nngroup.com/articles/task-scenarios-usability-testing/

Document Requirements

See the details section for more info.

  • [ ] Describe the User/Role your testers will be playing
  • [ ] Write out a list of User Goals you want to test
  • [ ] For each user goal, write out a “scenario” the user should try to accomplish
  • [ ] Write down how to do each task (but don’t share this with the user)
  • [ ] During the session, take notes of how well the user was able to do your task without any guidance from you
  • [ ] Write 10-12 tasks overall

Details

User/Role Description

Provide enough context for the user to be able to do their task. For example, for a flight booking website: You're planning a vacation to New York City, March 3 − March 14. You need to buy both airfare and hotel. Go to the American Airlines site and jetBlue Airlines site and see who has the best deals. Who is the user and why do they want to be interacting with your application?
The user should be able to know everything they need to complete each task from this description you give them.

User Goals

  • Make your goals realistic
  • Don’t make them too specific to a feature. Think about what a user would want to do with your app.
  • Think about your user stories from earlier

As a customer, I want to be able to look up flights to my desired location from my local airport As a customer, I want to compare prices of my flights As a customer, I want to purchase my tickets.

Scenarios

A good scenario leaves a little room for the user to discover what they should do. You should not have to tell the user how to do it, it should be obvious from your program how to do each of those things. If your tester cannot figure it out, give some helpful hints, and record where they got stuck and why, so you can make better design later. 1. Make the task realistic 2. Make the task actionable 3. Avoid giving clues and describing the steps

Help the user find their way, but don’t give them the answer.

Scenario Comparison: * [Bad] Purchase a pair of orange Nike running shoes (not realistic for all users, doesn’t give user much freedom.) * [Good] Buy a pair of shoes for less than $40 * [Bad] You want to see a movie Sunday afternoon. Go to www.fandango.com and tell me where you’d click next. * [Good] Use www.fandago.com to find a movie you’d be interested in seeing on Sunday afternoon. * [Bad] You want to see the results of your midterm exams. Go to the website, sign in, and tell me where you would click to get your transcript. (Lists out too many steps) * [Good] Look up the results of your midterm exams. * [Bad] Make an appointment with your dentist. (Too vague) * [Good] Make an appointment for next Tuesday at 10am with your dentist, Dr. Petersen.

During the usability test

Usability tests do not have to be a user sitting quietly in a box and doing tasks for you. They are welcome to think aloud and you are welcome to ask each other questions. Here are a few guidelines for conducting a usability test:

  • Write down as much as possible! Have 1-2 people be the “conductors” and everyone else be scribes.
  • Don’t jump in and tell them what to do unless they get 100% stuck or encounter a bug. Write down where they got stuck and what the bug was
  • Answer questions if they ask
  • If they do something you didn’t expect, ask them why they did that
  • Write down the alternative path a user took, if it was different than what you wrote down.
  • At the end, have everyone compare notes.
Updated 16/10/2017 23:00

New Route types

NeroReflex/Gishiki

Closure Route

The actual Route (not Router) implementation is fine, but may be an unnecessary complexity.

Something like: new ClosureRouter([Route::GET], “/{id:int}”, function (&$request, &$response, &$args) {

}); should be in place.

Updated 16/10/2017 22:54

Update to Next.js 4.x and React 16

iaincollins/nextjs-starter

Currently this project uses reactstrap, which has React 15 dependancies, so the project is still on Next.js 3.x (which uses React 15).

Either I’d like to refactor the project not to use reactstrap and just use CSS and className properties on HTML elements (the modal for the sign in pop up and the profile would be the most work, but every template would probably need to be touched).

Alternatively, it would be great if reactstrap was updated to support React 16, but I have no idea how much work is involved in doing that.

Pull requests to address either of these (i.e. either to reactstrap or to this project) would be amazing.

Updated 16/10/2017 22:54

Audit log entries not appearing

strinking/statbot

If you look at the audit_log and audit_log_changes table, you see that the entries listed don’t seem to line up with what the client shows. Checking the audit_log_crawl table shows that the last entry crawled was ID 365824096744767488, which corresponds to 2017-10-06 11:34:21.347000 UTC which seems a bit out of date.

The audit log and channel history crawlers are both using the same logic, so something weird is happening here.

Some ideas: * something’s wrong with the audit log part of the crawling * audit log history fetching has some sort of fundamental difference in how it behaves * the scheduling of the coroutines is preventing the audit log crawler from ever doing any work

Updated 16/10/2017 22:53

Test before Deployment

jonathanpchan/openclassroom

Check each page. 1) Clone from scratch 2) npm install in openclassroom 3) npm install in angular-src 4) Register new user 4a) Missing field 4b) Resize the window 4c) Actually register 4d) Attempt to register with same credentials 5) Login 5a) Missing Information 5b) Wrong information 5c) Resize the window 5d) Register with right credentials 6) Make sure button clicks go to the correct component on home page 6a) Resize the window 7) Resize the Window and check Navbar 8) Make sure the navbar hides after you click a dropdown navbar item (only Find Open Classroom should not work) 9) Navigate to my schedule 9a) Add a course, Attempt to add early (missing field) 9c) Add a coures, fill out information, and say Yes 9d) Add a course, but then click Back 9e) Attempt to add same course 9f) Add a course, fill out information, but say No

Make sure the added items are sorted by building & building #

10) Delete item 10a) Delete remaining items (You probably noticed that there’s an issue with the alerts when you perform actions too quickly) 11) Find Openclassroom 11a) All Rooms 11b) Find Now 11c) By Time 11d) Shrink and grow the size of the By Time 11e) Resize to make sure the buttons stack

Updated 17/10/2017 02:38 1 Comments

blurshader and damageshader broken after update to MonoGame 3.6

Regalis11/Barotrauma

Coroutine Barotrauma.GameMain+<Load>d__55 threw an exception: HRESULT: [0x887A0005], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_DEVICE_REMOVED/DeviceRemoved], Message: Unknown at SharpDX.Result.CheckError() http://undertowgames.com/forum/viewtopic.php?f=21&p=117082

This appears to be an issue predominantly on old NVIDIA and Intel GPUs. It may be a bug introduced by the MonoGame or SharpDX updates introduced in v0.6.1.0.

Since watershader still works on systems affected by this bug, it’s possible that the other two shaders use some feature that doesn’t work properly on these old systems, though this is unlikely since the shaders have gone unchanged since at least v0.6.0.2.

Switching to the HiDef graphics profile does not seen to make things any better, it breaks compatibility with other systems.

Since I don’t happen to have access to any systems that have this issue, making sure a solution works is not possible on my end, so any testing of the current in-dev branch on affected systems is appreciated.

Updated 17/10/2017 02:05 1 Comments

Making a closed world. Connecting all boundaries.

karansapolia/GameOfLife

In order for the simulation space to be connected to itself on all sides, so that the automata does not reach a boundary and seamlessly transits to opposite edge of the matrix when it reaches a particular edge.

For example, assume a single-cell automata to be surviving infinitely and traversing in the x-direction in the matrix. Assume the matrix to be an array of [40][40] cells. When the single-cell automata reaches cell [21][39], it must transition in the next step to cell [21][0] if its moving only in the x-direction rightwards. Similarly consider all other possible cases and make the matrix connected

Updated 16/10/2017 22:09

Fork me on GitHub