Better HN
topnewbestaskshowjobs
Log inSign up

sunesimonsen

12 karma · joined May 17, 2011 (15y ago) · 13 submissions

Submissions

comment 1y ago · link · parent

I think property based testing becomes a lot easier when you can just use normal asserts like this: https://github.com/unexpectedjs/unchecked

comment 4y ago · link · parent

Really interesting to see Preact adopt this kind of model.

I have been working on a similar programming model for a while, where this kind of state management is the only approach:

https://github.com/sunesimonsen/dependable-view https://github.com/sunesimonsen/dependable-state

The library has other kinds of agendas like being able to run without a build step, being really small and allow multiple versions in the page.

Examples: https://github.com/sunesimonsen/dependable-example-hackernew... https://github.com/sunesimonsen/dependable-example-todomvc

comment 5y ago · link · parent

Here we go https://github.com/sunesimonsen/stylewars#unpkgcom

comment 5y ago · link · parent

You are actually right - I should update the readme with unpkg information:

import { css, classes } from "https://unpkg.com/stylewars@1.6.0/dist/bundle.esm.min.js";

5.

Show HN: A 1KB CSS-in-JS library with all the bells and whistles(github.com ↗)

6 points · by sunesimonsen · 5y ago · 6 comments

6.

Beating Levenshtein with Ukkonen's algorithm(github.com ↗)

2 points · by sunesimonsen · 9y ago · discuss

7.

Test Full Virtual DOM – Unexpected-React(survivejs.com ↗)

1 points · by sunesimonsen · 9y ago · discuss

comment 9y ago · link · parent

An alternative that is much easier to adopt, is to use unexpected-check http://unexpected.js.org/unexpected-check/

9.

React testing: enzyme vs. unexpected-react(medium.com ↗)

7 points · by sunesimonsen · 9y ago · discuss

comment 13y ago · link · parent

It actually works similar enough that I switch between Vim and Evil daily without getting annoyed. I usually use Vim from the terminal. The follow things you asked about are all working:

  Macros
  Repeat
  :'<,'>s/foo/bar/gi
  :%s/foo\(bar\)/bar\1/
It is very actively developed and quite stable. There are of cause Vim features that are not implemented yet, but the core seams to be very well covered.

11.

First batch of videos from the Øredev conference 2011(oredev.org ↗)

1 points · by sunesimonsen · 14y ago · discuss

comment 15y ago · link · parent

Does Textmate users never learn? - "Yay let's use another proprietary editor as our most important tool" :-/