Better HN
topnewbestaskshowjobs
Log inSign up

raibosome

107 karma · joined Nov 25, 2018 (8y ago) · 46 submissions

AI Engineer and Android/iOS Developer.

Interests: AI/ML/DL, NLP, Linguistics, Languages

Twitter: @remykarem

Submissions

1.

Hacking the Python syntax: Ternary operator(remykarem.medium.com ↗)

1 points · by raibosome · 4y ago · discuss

2.

Show HN: Py2pddl – Convert Python classes to PDDL files(github.com ↗)

5 points · by raibosome · 6y ago · discuss

3.

6174, the Kaprekar Constant(kailowrh.wordpress.com ↗)

2 points · by raibosome · 6y ago · discuss

comment 6y ago · link · parent

I have 3 pet projects.

(1) Bython, a basic Python interpreter written in C. I just want to have a taste of what it's like programming out a language so I won't go too far. It is dynamically typed and has automatic memory management. https://github.com/remykarem/bython. PRs welcome!

(2) minishell. This is a simple shell with only 2 commands: either you (i) hit enter to view 10 files of a folder at a time, or you (ii) enter a filename and view nbytes. I built this because a co-worker wanted to view a folder with 20+GB of files but couldn't do it with an `ls`. With this, I hope that we can casually explore a folder without having to print everything. https://github.com/remykarem/minishell.

(3) Scrollable Python documentation, a hack from the scrollable interface found in https://allennlp.org/tutorials. Use case is for people who are explaining Python code. https://github.com/remykarem/scrollable-python-documentation.

My command of C isn't that great so if you're interested to collaborate, I'm happy to be your apprentice :)

comment 6y ago · link · parent

Nice, I deno about this.

comment 6y ago · link · parent

You need a way to organise and prioritise these. Use a Trello board.

Because you're self-studying, you're sort of going to a self-study university taking different modules from different faculties. This Trello board spells out your self-study university curriculum and you're in charge of it.

Here is a 5-step process to build this curriculum.

Firstly, create say 3 lists on the Trello board: ML, CS and Math. Each list represents a 'faculty'.

Then, for every list, create Trello cards where each card is a 'module'. For example, you would create 'Data structures & algorithms' in the CS list and 'Decision trees' under ML.

The next step is to figure out for each module if it's something you either (i) wish to know or (ii) must know. You can use Trello labels or even use the Trello separators for this.

This following step requires a bit of work and it's the fun part, only because it's self-study. For each module, list down (you can list things in a card) the resources you have for that module. For this there are various resources you can get from the comments, search engines, and your peers. Consider the different modes of instruction: books, e-books, videos, lecture notes, slides, articles, blog posts, online learning platforms and so on. Choose what's best for you. If you can't decide just pick something first and find another time to source for another material.

Lastly, prioritise the modules. This can be done by easily dragging the modules which you want to do first on top of the list (having considered what you wish to know and what you must know). Set, say, top 3 modules for each list then you'd like to do for the next 2 weeks.

This is the high-level curriculum planning. If you plan on a micro-level planning like what modules to do for this week or for today, that I leave it to you.

comment 6y ago · link · parent

I do exactly this!

8.

Illustrated: Self-Attention(towardsdatascience.com ↗)

2 points · by raibosome · 7y ago · discuss

9.

Naive Bayes Classifier for Categorical and Continuous Data(remykarem.github.io ↗)

2 points · by raibosome · 7y ago · discuss

comment 7y ago · link · parent

Shameless plug but if anybody wants to look at Naive Bayes classifiers for continuous and categorical dat, I wrote a library here:

https://github.com/remykarem/mixed-naive-bayes

11.

Show HN: Mixed Naive Bayes for categorical and continuous data, written in NumPy(github.com ↗)

5 points · by raibosome · 7y ago · discuss

12.

Typographing: Choose Fonts from Different Filters(typographing.com ↗)

2 points · by raibosome · 7y ago · discuss

13.

Illustrated: CNN Architectures(towardsdatascience.com ↗)

1 points · by raibosome · 7y ago · discuss

14.

Things I Learnt from fast.ai v3(towardsdatascience.com ↗)

75 points · by raibosome · 7y ago · 7 comments

15.

Efficient Neural Architecture Search(towardsdatascience.com ↗)

4 points · by raibosome · 7y ago · discuss

comment 7y ago · link · parent

Okay I think this is more elegant than my workaround. But it doesn’t work for directories, does it?

comment 7y ago · link · parent

Thanks for pointing out! Now everyone’s Bashing me in their comments.

comment 7y ago · link · parent

As pointed out, the alias should be

  function del() {
    mv “$@“ ~/.Trash
  }
instead. Thanks @floatingatoll!

19.

Stop Using `rm` in Bash. Use `del`

35 points · by raibosome · 7y ago · 74 comments

comment 7y ago · link · parent

Say no more to copying code line-by-line to Jupyter notebook. This conversion just needs your code to be paragraphed, like how codes should be. Comments are converted to markdowns. Codes are converted to cell codes. It's as easy as running pip install p2j and run p2j your_code.py

Pull requests are welcome!

21.

Convert Python source code (.py) to Jupyter notebook (.ipynb) with p2j(github.com ↗)

2 points · by raibosome · 7y ago · 1 comment

22.

Counting No. Of Parameters in Deep Learning Models(towardsdatascience.com ↗)

1 points · by raibosome · 7y ago · discuss

comment 7y ago · link · parent

See how attention is used for neural machine translation. One of the examples is Google’s NMT which powers Google Translate.

24.

Attention in Deep Learning(towardsdatascience.com ↗)

1 points · by raibosome · 7y ago · 1 comment

12