Viewing profile — thebelal
thebelal
HN member- Joined
- Thu, Jan 02, 2014, 6:55 PM UTC
- HN karma
- 74
- Public activity
- 38 items
- HN profile
- View on Hacker News ↗
About thebelal
Recent public activity
-
comment
Comment #44996350
There is a quarto-webr extension to do this. A bunch of real world examples are at https://quarto-webr.thecoatlessprofessor.com/qwebr-community...
-
comment
Comment #28236846
An earlier attempt of this is http://csvy.org/ , but AFAIK it has never really caught on.
-
comment
Comment #27629342
One of the cancers they mention is pancreatic cancer. A quick Google search suggests the prevalence of pancreatic cancer in the population is 13 per 100,000. So if you gave this te…
- story
-
comment
Comment #24437127
I use right assignment in this way all the time, you should try it Joe :)
-
comment
Comment #21184661
FWIW `scan()` is going to be much faster if you are just reading doubles from standard input than `as.numeric(readLines())`.
-
comment
Comment #20554789
1632[0] is the first in a series of entertaining alternate history novels, where an entire West Virginian town is transported to the middle of the Thirty Years war. It touches on s…
- story
-
comment
Comment #15619630
While it is true that S was originally a macro layer around FORTRAN code R has always been primarily written in C. Very little of R core is in FORTRAN, and essentially none of it i…
-
comment
Comment #15490491
While the order of the walls in Super Hexagon is random, each level has a predetermined set of walls. Once you identify which wall pattern is coming you know exactly the maneuver n…
-
comment
Comment #15324416
FWIW I have been using vim with Colemak for quite a few years now, with only movie remains needed to get movement back on the home row [0] 0: https://github.com/jimhester/dotfiles/…
-
comment
Comment #14988602
Dvorak users in this thread should really give Colemak [1] a try. Dvorak has a number of issues [2] in modern usage and is also harder to learn; many more keys change from their QW…
-
comment
Comment #13632939
"user:foo" will search an organisation named foo.
-
comment
Comment #13516919
Colemak changes relatively few keys from qwerty, especially compared to Dvorak. I use colemak full time and can still touch type qwerty reasonably fast.
-
comment
Comment #13499536
Agreed, if there was just a little more editor support and use early on the whole CSV mess could have been avoided. They actually display fairly well in vim
- story
- story
-
comment
Comment #12409320
Looks like you can play with the interactive editor as discussed in the paper at https://ohmlang.github.io/editor
-
comment
Comment #11867155
1. There is a log plot at the end of the article 2. The author posted the exact search terms used for all languages in an earlier post [0] [0]: http://r4stats.com/articles/how-to-s…
-
comment
Comment #10920812
This is even easier to do with awk. awk -e '!a[$0]++' This also preserves the original input order, which is a nice property.
-
comment
Comment #10812397
I personally would recommend colemak [1] rather than Dvorak. While both are improvements over QWERTY colemak only moves 17 keys from their QWERTY positions, while Dvorak moves near…
-
comment
Comment #10388269
The rvest implementation was the main thing that seemed like an R port of the python implementation rather than best use of rvest. An alternate (simpler) implementation of the rves…
-
comment
Comment #10164579
This is IMHO the real benefit to zsh over bash. You can set zsh to share history between sessions and they are interleaved based on the time the commands were run. No more closing …
-
comment
Comment #10164567
Great to hear you find per-directory-history useful! (I wrote it) On the topic of the article I have per directory history going back to ~2013 when I wrote the script.
-
comment
Comment #9893384
For those interested in viewing this code in context is is at ( https://github.com/vim/vim/blob/db9bc0b7931d252cf578c1cd298a... ) Also note that RealWaitForChar has been completely…