sunesimonsen
Re:Property-Based Testing for the People
on Monday January 06, 2025 @12:41PM (#42612858)
I think property based testing becomes a lot easier when you can just use normal asserts like this: https://github.com/unexpectedjs/unchecked
Re:Preact Signals
on Wednesday September 07, 2022 @06:23AM (#32748781)
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
Re:Show HN: A 1KB CSS-in-JS library with all the bells and whistles
on Monday December 07, 2020 @05:16PM (#25338433)
Re:Show HN: A 1KB CSS-in-JS library with all the bells and whistles
on Monday December 07, 2020 @05:14PM (#25338403)
You are actually right - I should update the readme with unpkg information:
import { css, classes } from "https://unpkg.com/[email protected]/dist/bundle.esm.min.js";
Beating Levenshtein with Ukkonen's algorithm
Test Full Virtual DOM – Unexpected-React
Re:Forall.js: Idris-like static types and invariant checks for JavaScript
on Saturday April 22, 2017 @02:37AM (#14171380)
An alternative that is much easier to adopt, is to use unexpected-check http://unexpected.js.org/unexpected-check/
React testing: enzyme vs. unexpected-react
Re:Learn Emacs Lisp in 15 minutes
on Sunday July 28, 2013 @02:06PM (#6117464)
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.First batch of videos from the Øredev conference 2011
http://oredev.org/tmp/videos-2011
A lot of great videos from the Øredev conference.
Re:Sublime Package Control – a Sublime Text 2 Package Manager
on Wednesday August 31, 2011 @12:47PM (#2946356)
Does Textmate users never learn? - "Yay let's use another proprietary editor as our most important tool" :-/