Better HN
topnewbestaskshowjobs
Log inSign up

sunny256

13 karma · joined Jun 12, 2014 (12y ago) · 13 submissions

[ my public key: https://keybase.io/sunny256; my proof: https://keybase.io/sunny256/sigs/8IUgmqKvQ01QwICyCr-XNj94Wyg0W2U4fYCLal955L8 ]
Submissions

1.

Arithmetic, Population, and Energy (Dr. Albert A. Bartlett, 2002)(youtube.com ↗)

1 points · by sunny256 · 8y ago · discuss

comment 8y ago · link · parent

I've created a script for this, it applies the staged changes to a fresh clone and executes the command you specify. To quote from --help:

If you have lots of unrelated uncommitted changes in the current repository and want to split up the commit, how can you easily check if the changes passes the test suite? With all the other unrelated changes it can be hard to make sure that only relevant changes becomes part of the commit, and that they don't result in regressions. This script clones the repository to the directory ".testadd.tmp" in the current directory and applies the staged changes there (unless -u/--unmodified or -p/--pristine is specified), chdirs to the same relative directory in the clone and executes the command specified on the command line there.

It's available from

https://github.com/sunny256/utils/blob/master/git-testadd

and the test suite (place it in a subdirectory below the script) is at

https://github.com/sunny256/utils/blob/master/tests/git-test...

It's stable, and I've been using it almost every day for 1.5 years. It also works with binary files.

3.

The Top 500 supercomputer list is out, and it's now 100% Linux(top500.org ↗)

4 points · by sunny256 · 9y ago · discuss

4.

Shellshock, a spaceshooter game written in Bash(github.com ↗)

5 points · by sunny256 · 10y ago · 1 comment

5.

SQLite 3.9.0 released with JSON support, indexes on expressions and more(sqlite.org ↗)

6 points · by sunny256 · 11y ago · discuss

6.

Git 2.6.0 released(git.kernel.org ↗)

3 points · by sunny256 · 11y ago · discuss

7.

GTD in 15 Minutes – A Pragmatic Guide to Getting Things Done(hamberg.no ↗)

1 points · by sunny256 · 11y ago · discuss

8.

Organic 'computers' made of DNA could process data inside our bodies(m.phys.org ↗)

2 points · by sunny256 · 11y ago · discuss

9.

How Facebook, Apple and Twitter are ending online equality(computerworld.com ↗)

11 points · by sunny256 · 11y ago · 3 comments

10.

The basic principles of security (and why they matter)(ocsmag.com ↗)

3 points · by sunny256 · 11y ago · discuss

11.

What does a £2,500 record sound like?(theguardian.com ↗)

1 points · by sunny256 · 11y ago · discuss

12.

10 most common rookie mistakes in public speaking(blog.prezi.com ↗)

4 points · by sunny256 · 11y ago · discuss