Better HN
topnewbestaskshowjobs
Log inSign up

self_refactor

6 karma · joined Jun 2, 2016 (10y ago) · 24 submissions

Node.js/React.js developer
Submissions

1.

Show HN: Sortaballs v2 – logical game with 10 modes and over 1000 puzzles(sortaballs.vercel.app ↗)

3 points · by self_refactor · 3w ago · discuss

2.

Show HN: Sortaballs – alternative modes for classic sort ball puzzle(sortaballs.vercel.app ↗)

1 points · by self_refactor · 1mo ago · discuss

comment 1mo ago · link · parent

I built a browser ball-sort puzzler where levels are ordered by difficulty, starting from the easiest.

I experimented with several alternative modes with the aim to have similar complexity in other environments. Each mode has its own restrictions, which gives additional challenge for each user to find its favorite mode.

I personally play a lot of Queen's Game (https://www.playqueensgame.com) and wanted to build something with a comparable challenge in a different genre.

Features:

- 10 different game modes

- over 1000 levels combined

- no ads, no registrations

- hints — ask for the next correct move when a puzzle is too hard

- undo, restart, per-puzzle progress saved in your browser

- near-win finish — preemptively calculates win conditions to skip redundant endgame moves

- dark/light themes

Modes:

- 10 colors - 10 colors × 5 balls with 10 filled and 2 empty plates

- 8 colors - 8 colors × 5 balls with 8 filled and 2 empty plates(easiest game mode)

- 4 colors - 4 colors × 10 balls with 8 short and 2 tall plates

- 3 colors - 3 colors × 16 balls with 6 short and 4 tall plates

- 2 colors - 2 colors × 30 balls with 6 short and 6 tall plates

- spread - uneven distribution of balls on the plates

- high - plates have height of 6, 8 colors × 6 balls with 8 filled and 2 empty plates

- high-spread - combination of `high` and `spread` mode

- 11 plates - 10 colors × 5 balls with 6 short and 5 tall plates

- 9 plates - 8 colors × 5 balls with 4 short and 5 tall plates

This isn't a new genre — I learned a lot from existing takes like [Gridmino's Ball Tubes](https://gridmino.com/play/balltubes) and [Puzzleship's Ball Sort](https://www.puzzleship.com/puzzles/ball-sort). What I wanted to add mainly was the hints, but I explored the idea of different modes, I played it and I saw the potential.

I hope you enjoy the game and I appreciate any feedback that you have.

4.

Show HN: Sortaballs – logic web game with 10 modes and over 1000 puzzles(sortaballs.vercel.app ↗)

1 points · by self_refactor · 1mo ago · 1 comment

comment 4y ago · link · parent

Lists with repo links for various JS libraries. The list contains Github repos that depend on these libraries.

6.

Show HN: Magic Beans – auto import of `lodash` method by typing ` .foo`(marketplace.visualstudio.com ↗)

1 points · by self_refactor · 7y ago · discuss

7.

Show HN: Large suite of VSCode light themes(16 themes so far)(marketplace.visualstudio.com ↗)

1 points · by self_refactor · 7y ago · discuss

8.

Mixing sequential and parallel promises in JavaScript(medium.com ↗)

1 points · by self_refactor · 8y ago · discuss

9.

Show HN: Run Jest on single file upon file save(marketplace.visualstudio.com ↗)

1 points · by self_refactor · 8y ago · discuss

comment 8y ago · link · parent

Location:Levski,Bulgaria

Remote:Yes

Willing to relocate:only to Germany or Austria

Technologies:Node.js,Typescript,Javascript,React.js,Redux,Redux-observable,Redux-saga,SEO,Docker,HTML,CSS,LESS

Résumé/CV: http://bit.ly/2G3omT0

Email: deyan8284@gmail.com

11.

Show HN: Commit-message – Assisted generation of commit messages(github.com ↗)

1 points · by self_refactor · 9y ago · discuss

12.

Show HN: String-fn – string manipulation library(github.com ↗)

4 points · by self_refactor · 9y ago · discuss

13.

Show HN: Dep-Fn – Convert NPM Versioning to GitHub Tags(github.com ↗)

2 points · by self_refactor · 9y ago · discuss

14.

Show HN: Tag-fn – lazy generation of GitHub tags(github.com ↗)

2 points · by self_refactor · 9y ago · discuss

comment 9y ago · link · parent

Remove the need of parentheses on if else statements

if foo === 'FOO' && bar > 7 {

  console.log(bar)

  return true
}else if typeof foo === 'string'{

  return false
}

return null

16.

Show HN: Google-serp – scrape Google search results with headless browser(github.com ↗)

4 points · by self_refactor · 9y ago · discuss

comment 9y ago · link · parent

Partial paste from https://survivejs.com/blog/rambda-interview/#how-does-rambda... ---

The main reason for the better performance is that Rambda methods only need to take care for currying and execution, while Ramda methods cover more use cases. Therefore Ramda have more elaborate boilerplate around the actual execution, which results in slower performance.

We can see an illustration of that in the code of `find` method of Ramda and Rambda.

Ramda:

var _curry2 = require('./internal/_curry2');

var _dispatchable = require('./internal/_dispatchable');

var _xfind = require('./internal/_xfind');

module.exports = _curry2(_dispatchable(['find'], _xfind, function find(fn, list) {

  var idx = 0;

  var len = list.length;

  while (idx < len) {

    if (fn(list[idx])) {

      return list[idx];

    }

    idx += 1;

  }
}));

Rambda:

function find(fn, arr){

  if (arr === undefined) {

    return holder => find(fn, holder)

  }

  return arr.find(fn)
}

18.

Show HN: Rambda – Faster alternative to Ramda in just 10kB(github.com ↗)

5 points · by self_refactor · 9y ago · 2 comments

19.

Show HN: Phobetor – browser automation library with Nightmare.js(github.com ↗)

2 points · by self_refactor · 9y ago · discuss

20.

String-fn string manipulation library(github.com ↗)

1 points · by self_refactor · 9y ago · discuss

21.

Rambda – Lightweight alternative to Ramda(github.com ↗)

1 points · by self_refactor · 9y ago · discuss

22.

Linux MP3 player able to modify the sound with Tuna.js API(github.com ↗)

1 points · by self_refactor · 10y ago · discuss