miniblog.
Jul 22, 2015
Benchmarking correctly is hard. Criterion generates HTML reports:
https://www.serpentine.com/criterion/fibber.html
and performs linear regression to measure noise!
https://www.serpentine.com/software/criterion/
www.serpentine.com/criterion/fibber.html
Wilfred Hughes
Jul 21, 2015
Found my first genuine bug using quickcheck! It can be hard to write properties, but
https://fsharpforfunandprofit.com/posts/property-based-testing-2/
is very helpful.
Choosing properties for property-based testing | F# for fun and profit
Or, I want to use PBT, but I can never think of any properties to use
Wilfred Hughes
Jul 21, 2015
Nifty Emacs command of the day: helm-imenu. It lets you jump to definitions within a file, but also gives you an overview of that file.
Wilfred Hughes
Jul 20, 2015
ENSIME is a very nice Scala package for Emacs:
https://www.troikatech.com/blog/2014/11/26/ensime-and-emacs-as-a-scala-ide
-- why don't more languages offer an 'inspect type' feature?
ENSIME and Emacs as a Scala IDE
“Maybe Emacs is not enough.”
Wilfred Hughes
Jul 20, 2015
Writing an autocomplete tool for IDEs is an interesting problem. Rust is using AST pruning, C# uses lazy compilation
https://www.reddit.com/r/rust/comments/3a4qbj/racer_rustc_update/cs9w3ny
Wilfred Hughes
Jul 19, 2015
I'm having fun with quickcheck, but it definitely takes careful thought. You need tests that can be parameterised over a range of inputs.
Wilfred Hughes
Jul 19, 2015
I really like that Rust's build tool compiles all the files in your examples/ directory by default. It means examples actually work!
Wilfred Hughes
Jul 19, 2015
Today's useful, less known Emacs command: helm-all-mark-rings. It lets you jump to anywhere on the mark ring in any buffer!
Wilfred Hughes
Jul 18, 2015
There are serious proposals for removing trigraphs in the next C++ version:
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4086.html
Nice to see some simplification.
Removing trigraphs??!
www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4086.html
Wilfred Hughes
Jul 17, 2015
Woah, dash.el has really nice pattern matching! (-let [(_ _ _ in-string in-comment &rest _) (syntax-ppss)] (or in-string in-comment))
Wilfred Hughes
Jul 16, 2015
"Stories take an average of 8 seconds to load, by far the slowest single content type on Facebook."
https://media.fb.com/2015/05/12/instantarticles/
(web is bonkers!)
Wilfred Hughes
Jul 16, 2015
CSS browser prefixes have become a compatibility issue:
https://groups.google.com/forum/m/#
!topic/mozilla.compatibility/ekZBqfOnzTc/discussion (interesting Facebook sends browser-specific CSS for perf!)
Redirecting to Google Groups
groups.google.com/forum/m/#
Wilfred Hughes
Jul 16, 2015
GCC 5: Faster binaries, better warning, nicer output, more standards support. Fantastic, but too much to fit in a tweet!
Wilfred Hughes
Jul 16, 2015
GCC 5 defaults to C11 (from C89)! Fixes a paper cut for new C developers.
GCC 5 Release Series — Changes, New Features, and Fixes - GNU Project
gcc.gnu.org/gcc-5/changes.html
Wilfred Hughes
Jul 14, 2015
OH at the last Emacs meetup: "What shell do you use? Zsh, bash, ...?" "I use Korn 93!" — I've never met two elispers with the same workflow.
Wilfred Hughes
1
...
20
21
22
23
24
...
44
Showing 316-330 of 650 posts