Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
abhirag
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
abhirag
9y ago
Custom css is supported for html export, from the docs at ( https://orgmode.org/manual/CSS-support.html ) -- The HTML export back-end includes a compact default style in each exported HTML file. To override the default s
32.
▲
by
abhirag
9y ago
Well done! I hope things are better now :) Quick suggestion: Include a line describing what the website does on the main page, users can go to the about page and figure it out but it would be better to have a quick intro of what the site is
33.
▲
by
abhirag
9y ago
"Word if you learn it is just fine generating a ToC or autonumbering sections, figures, and tables." : but can it do this? -- [Common Lisp Quick Reference]( http://clqr.boundp.org/clqr-a4-booklet-all.pdf )
34.
▲
by
abhirag
9y ago
For the ideas and philosophy behind J have a look at the paper [Notation as a Tool of Thought]( http://www.eecg.toronto.edu/%7Ejzhu/csc326/readings/iverson.... ) by Kenneth Iverson. He originally presented this
35.
▲
by
abhirag
9y ago
Kindly also read this article before deciding -- [ http://www.catonmat.net/blog/browserling-cameroon/ ]. I know the current article seems a bit tone-deaf but judging him on that alone wouldn't be fair.
36.
▲
by
abhirag
9y ago
The fact that they are Indians is totally irrelevant here but the fact that they are humans and deserve to be treated like one, is not. Don't get me wrong, I am against people calling Peter names and I didn't participate in bashin
37.
▲
by
abhirag
9y ago
HN is not a hive-mind, stop trying to make it one and get off your high horse. The Facebook messages didn't seem like they were from people who thought they were entitled to anything, I saw two people trying to ask him politely, with s
38.
▲
by
abhirag
9y ago
Returning a function would be returning a callable object, which is what I was alluding to. The section under "Decorator Toolbox" contains no suggested usecases for returning a non-callable object, will try and think of something.
39.
▲
by
abhirag
9y ago
Not the OP but I think he was referring to the restrictions python puts on lambda expressions: - they can only contain a single expression - they cannot contain statements
40.
▲
by
abhirag
9y ago
"Decorators for preconditions" indeed looks neat, reminds me of Clojure which has both preconditions and postconditions built in.
41.
▲
by
abhirag
9y ago
Thanks, I stand corrected :) That makes me wonder , I have not been able to imagine a usecase for it when it doesn't return a callable, the article doesn't help in that regard either. Got some thinking to do I guess.
42.
▲
by
abhirag
9y ago
Technically a better definition would be -- "A decorator is a callable object which takes in a callable object and returns a callable object" but I agree that it is much easier wrapping one's head around it when the callable
43.
▲
by
abhirag
9y ago
Just here to say that I love Vexlio, it is an impressive piece of software, thanks for all your work :) I hadn't taken the Lua API seriously till now though, seems fun, will try it soon :)
44.
▲
by
abhirag
9y ago
Agreed :) when linking with native libraries conda definitely helps a lot. I was merely trying to point to the fact that after the recent release of SciPy we finally have binary wheels for Windows for the whole SciPy ecosystem.
45.
▲
by
abhirag
9y ago
I assume you are referring to the issues related to installation of external GUI frameworks in virtual environments mentioned here -- [ https://matplotlib.org/faq/virtualenv_faq.html ], I am afraid pipenv doesn't so
46.
▲
by
abhirag
9y ago
Have a look at pipenv - [ https://docs.pipenv.org/ ], it provides deterministic builds and sane package management for python and is the officially recommended Python packaging tool now. If dependency management is your major
47.
▲
by
abhirag
9y ago
"I wish I would understand even a fraction of the stuff that's going on with software synths." -- May I suggest trying syntorial[ https://www.syntorial.com/ ] If you want to create music without fiddling with U
48.
▲
by
abhirag
9y ago
I use pinboard archival account -- https://pinboard.in/
49.
▲
by
abhirag
9y ago
Not the OP but I know that feeling of one's skill as a musician plateauing. Your feeling of "so what now" is exactly the thing you need. When trying to acquire any skill, practice alone doesn't cut it, you need a practic
50.
▲
by
abhirag
9y ago
Well clearly the answer was, "By teaching him recursion at age 6 and passing the age incremented by 1 as an argument because what kind of monster would let kids play with mutable state" :D
51.
▲
by
abhirag
9y ago
This might be of interest to you :) -- Probability Through Problems[ http://www.springer.com/in/book/9780387950631 ]
52.
▲
by
abhirag
9y ago
I think your example can be simplified :) Recursion + memoization provides most of the benefits of dynamic programming, including usually the same running time and well backtracking is recursion so the strategy can very well be -- Explore t
53.
▲
by
abhirag
9y ago
Not the OP but I use org-mode to write articles for my website and also to manage my dotfiles, this-- [ http://abhirag.in/articles/org/i3_setup.html ] is just an org-mode file exported to html, you can also see the
54.
▲
by
abhirag
9y ago
Try the wee-slack plugin[ https://github.com/wee-slack/wee-slack ], it uses the Slack API and I have been using it on my Android phone(using Termux) and my Linux laptop, works great :)
55.
▲
by
abhirag
9y ago
Nice. 'Course there's an Emacs mode to do that. Good ol' M-x artist-mode. Relevant xkcd -- [ https://xkcd.com/378/ ] Jokes aside, maybe you can use that for inspiration :)
56.
▲
by
abhirag
9y ago
I also use i3 and customizing it is a lot of fun :D This( http://abhirag.in/articles/org/i3_setup.html ) is my i3 setup with literate dotfiles, hope you find it helpful in switching to i3 :)
57.
▲
by
abhirag
9y ago
Pipenv is definitely a game changer. Soon enough the Anaconda distribution wouldn't be necessary to get the SciPy stack installed on Windows[1], pipenv would just work™. This would enable sharing of Jupyter Notebooks backed by determin
58.
▲
Hints for Computer System Design (Butler Lampson)
(microsoft.com)
2 points
by
abhirag
9y ago
|
0 comments
59.
▲
by
abhirag
9y ago
I read Nix Pills and they were very informative -- https://nixos.org/nixos/nix-pills/
60.
▲
by
abhirag
9y ago
As long as we are on the topic of Linux shell commands I would like to share a tip which has helped me, whenever you are using wildcards with rm you can first test them with ls and see the files that will be deleted and then replace the ls
More ›