reyan
Re:Don't use markdown for documentation (2018)
on Tuesday March 24, 2020 @03:15PM (#22677909)
This is just too much. Nobody wants to have a linter for their code “documentation”! Oh we’re gonna have the linter in our CI pipeline too probably.
Re:Don't depend on JavaScript to render your page
on Saturday March 14, 2015 @09:02AM (#9202474)
Please don't use inline CSS in your page. In order to read the cached version [1] I had to manually remove the sidebar because it overlayed the main content with inline 'position: fixed'.
[1] http://webcache.googleusercontent.com/search?q=cache:9UMu5i7...
Re:ECMAScript 6
on Sunday February 22, 2015 @05:04PM (#9091366)
Run this in your browser's JavaScript console:
socket.destroy()
Re:R: the good parts
on Monday April 07, 2014 @04:53PM (#7549407)
How do you deal with interoperability? You Android clients use your Shiny frontend over HTTP? Have you used rserve?
Re:P values are not as reliable as many scientists assume
on Wednesday February 12, 2014 @05:50PM (#7227945)
This is the correct xkcd for this analogy http://xkcd.com/882/, not #1132.
Re:CSS source map support, network performance analysis and more in Fi...
on Tuesday February 11, 2014 @08:06PM (#7221809)
Great progress. I think it would be better if you replace those pie charts with bar plots. Better use of the space, much better for comparison.
Re:Toward Go 1.3
on Tuesday February 11, 2014 @06:11PM (#7221238)
I think many of us want Go to be something it doesn't want to and will never be. There is potential for a fast, simple, statically typed language; borrowing good ideas from Lisp, ML and others (and NOT resulting in something like Scala).
Re:Don't Learn to Code, Learn to Program – But Come Back in 10 Years
on Wednesday February 05, 2014 @07:31PM (#7187883)
Yes I have watched Bret Victor's talk. Narrow minded or not, Brooks's predictions held true for more than a decade after the time of writing. I'd like to read your counter-arguments.
I'd say architecture and advances in neuroscience are tangential here. I think the core of the problem is still somewhere else.
* sidenote: Lisp machines weren't at least completely _ignored_ by academia.
Re:Don't Learn to Code, Learn to Program – But Come Back in 10 Years
on Wednesday February 05, 2014 @05:35PM (#7187352)
I think the author should read Fred Brooks's "No Silver Bullet". Many of his arguments are still valid after 28 years. "There is no single development, in either technology or in management technique, that by itself promises even one order-of-magnitude improvement in productivity, in reliability, in simplicity."
Re:Rap Genius Traffic Has Dropped By Over 80%
on Sunday December 29, 2013 @05:25PM (#6981745)
I don't argue the merits, but the BMW case is obviously different (BMW core business, dependency on Google results, etc.), hence the disproportionate reaction.
Re:Data looks better naked
on Monday December 23, 2013 @10:27AM (#6954688)
This (rather old) paper is still worth reading: Cleveland, W. S. (1984), "Graphical Perception and Graphical Methods for Analyzing Scientific Data"
http://courses.ischool.berkeley.edu/i247/f05/readings/Clevel...
Re:Bill Gates funds creation of graphene condoms
on Friday November 22, 2013 @12:25PM (#6782181)
Soot is the first known environmental carcinogen (https://en.wikipedia.org/wiki/Chimney_sweeps'_carcinoma).
Re:Ruby Tips Part 4
on Monday October 14, 2013 @04:11PM (#6549339)
Another invaluable resource is 'Ruby Best Practices' by Gregory Brown. You can download the pdf for free (http://majesticseacreature.com/rbp-book/pdfs/rbp_1-0.pdf).
Re:A simple git branching model
on Friday September 27, 2013 @08:32PM (#6460389)
You can easily squash those experimental commits and have "incremental, atomic" commits in history. What it gives you is the freedom with a clean slate after each commit. And no stashing doesn't work because the next experiment might depend on the last one. Not happy? Interactively rebase HEAD~n and get rid of all the experimental stuff. Changed your mind? Git reflog is your friend.
Re:A Course in Machine Learning
on Sunday September 15, 2013 @04:01PM (#6390107)
Isn't Murphy's book more up to date and comprehensive as a reference?
Edit: Andrew Ng's Coursera course is CS229A (http://cs229a.stanford.edu/), not really watered down.
Re:Learn X in Y minutes where X = Go
on Wednesday September 04, 2013 @08:21AM (#6326961)
This is great. I suggest adding fallthrough statement in one of the switch cases.
Re:WebKit has implemented srcset
on Wednesday August 21, 2013 @10:22PM (#6254726)
Original blog post: https://www.webkit.org/blog/2910/improved-support-for-high-r...
> Note that at the moment WebKit only supports the resolution modifiers (e.g. 1x, 2x, 3x).
The official [draft] specification: http://www.w3.org/html/wg/drafts/srcset/w3c-srcset/
The dimensions in the srcset attribute are the maximum (viewport) dimensions that an image is intended for. e.g.:
<img src="pear-mobile.jpeg" srcset="pear-mobile.jpeg 720w, pear-tablet.jpeg 1280w, pear-desktop.jpeg 1x" alt="The pear is juicy.">
Re:House of Lords debates pardon for Alan Turing
on Friday July 19, 2013 @02:41PM (#6072054)
It's interesting that you talk about others' logical fallacies, yet you started the thread with a fallacy (appeal to majority).
Re:Useful Unix commands for data science
on Monday July 15, 2013 @04:34PM (#6048392)
A short and nice read is Unix for Poets by Kenneth Ward Church:
http://www.stanford.edu/class/cs124/kwc-unix-for-poets.pdf
Re:YouCompleteMe - A code-completion engine for Vim
on Tuesday July 09, 2013 @01:54AM (#6011319)
You don't really need to completely uninstall homebrewed python. Just `brew unlink python` and after installation `brew link python`.
The Science of Why We Don’t Believe Science
Re:Please use git pull --rebase
on Monday April 29, 2013 @08:49PM (#5629831)
Or use git-smart (https://github.com/geelen/git-smart). It adds three commands to git. One of them 'smart-pull' which "will detect the best way to grab the changes from the server and update your local branch, using a git rebase -p if there's no easier way. It'll also stash/pop local changes if need be."
Re:What Python developers need to know before migrating to Go
on Wednesday April 24, 2013 @12:16PM (#5602297)
Did you use Python bindings for libsvm?
Re:Workflow in tmux
on Saturday April 13, 2013 @06:00AM (#5543026)
In iTerm2 I use command+f and expand the selection using tab/shift+tab.
Re:Our tiny jQuery/Bootstrap rich text editor is now open-source
on Sunday April 07, 2013 @10:35AM (#5507319)
Hotlinking raw.github.com assets has a rate limit. The demo is not working properly (apparently because of jquery.hotkeys.js).
Re:Zsh-lovers – tips, tricks and examples for the Z shell
on Saturday March 30, 2013 @03:33PM (#5466393)
More on zsh globbing http://openclassroom.stanford.edu/MainFolder/VideoPage.php?c...
Re:Learning JavaScript - my experience and advice
on Monday March 25, 2013 @12:46AM (#5435541)
Another book which I really liked is JavaScript Patterns by Stoyan Stefanov.
Re:Learn how to test Rails using Test::Unit instead of Rspec
on Thursday March 21, 2013 @05:33PM (#5419227)
Even better with the new syntax:
expect(article.slug).to match(/[^\w-]/)
Re:Learn how to test Rails using Test::Unit instead of Rspec
on Thursday March 21, 2013 @05:31PM (#5419218)
Not really. At least RSpec's creator doesn't think so (http://blog.davidchelimsky.net/2012/05/13/spec-smell-explici...).