Readit News logoReadit News
pokernaming commented on CyberChef – The Cyber Swiss Army Knife   gchq.github.io/CyberChef/... · Posted by u/simonpure
kekebo · 4 years ago
Is anyone aware of cli tools with similar functionality (besides chepy[0])?

I appreciate the magnitude of cyberchefs operations, but having to switch to the browser for these tasks can be cumbersome at times.

[0] https://chepy.readthedocs.io/en/latest/

Edit: I had missed that cyberchef offers a node API exposing most of its operations: https://github.com/gchq/CyberChef/wiki/Node-API

pokernaming commented on Termux is an Android terminal emulator and Linux environment app with no rooting   termux.com/... · Posted by u/ZnZirconium
ericol · 5 years ago
I found Termux a while ago, and thought it was interesting. then I found you can run python, ffmpeg and youtube-dl on it, and now I think it's the best thing since sliced bread. I'm still to try to run Jupyter on it, but I think it might be able to.

As all my computers run Linux these days, it also has replaced all my "from-x-to-android" transfer apps.

pokernaming · 5 years ago
I am interested in knowing more about your file share set up
pokernaming commented on Editors (Vim)   missing.csail.mit.edu/202... · Posted by u/Austin_Conlon
adamredwoods · 6 years ago
I respect Vim, I've seen it used with impressive speed, BUT I am so used to command-s to save, that I don't feel ready to :w enter all the time. VS Code is powerful, and learning the keyboard shortcuts for that are getting better every day (command-shift-p format-selection enter).
pokernaming · 6 years ago
VScode has a vim plugin. You can easily customise your key bindings as well.
pokernaming commented on Editors (Vim)   missing.csail.mit.edu/202... · Posted by u/Austin_Conlon
chongli · 6 years ago
As a long time vim user, I’ve tried VSCode a few times and I cannot for the life of me figure out what all the hype is about. Can anyone who is proficient with it explain the philosophy behind it and what makes it so great? This is a sincere question, not a rhetorical one.
pokernaming · 6 years ago
I use vscode daily for everything, from note taking to programming. Here are my pros and cons.

Pros: - Has plugins for anything.You're doing C++, just install C++ plugin and you're good to go. Want vim key bindings there's a plugin for that as well. I use a plugin that can scrape competitive coding websites and automatically create tests for a problem. - Git, snippets, etc all modern IDE features built-in. - It is also found on many websites as an editor.

Cons: - Since it's electron. System requirements are on the higher end.

pokernaming commented on Ask HN: What's your quarantine side project?    · Posted by u/dhr
taphangum · 6 years ago
I've spent a decent amount of time learning over the time that this quarantine has been going on.

A major issue that I've seen is that of most beginner-focused educational content not being fast enough to learn with for the more experienced developer. This along with the fact that time is often a big issue for us. I've had numerous times where I had to learn a new framework within a 1-2 week time span in order to plug some work gap or speed up a project, and found no legitimate resources that could allow an intermediate developer like me to learn faster.

This is why I am currently creating content targeted specifically at intermediate to advanced developers and teaching new languages and frameworks (using the 'constructivist' method) in a way that makes the process of learning them much more efficient. In short, faster.

It's a little rough around the edges but you can check out the blog where I share my current tutorials here: https://fromtoschool.com.

To gain a better understanding of why the method of teaching that I've described is more efficient than others for the intermediate developer, check out this post: https://fromtoschool.com/why-most-programming-tutorials-are-....

pokernaming · 6 years ago
Yep, I would also suggest https://learnxinyminutes.com/ to learn any new porgramming language quickly if you have experience in similar languages.
pokernaming commented on Naïve Bayes for Machine Learning   blog.floydhub.com/naive-b... · Posted by u/ReDeiPirati
baron_harkonnen · 6 years ago
>Seriously, that's the algorithm. It's that simple.

It's funny because when I saw that line I thought I would be pedantic and double check to see if you got the laplacian smoothing correct (because in practice it's never "that simple" for any numeric algorithm) and then realized that you don't understand how to implement Naive Bayes' at all.

For starters you aren't using probability. If you want to put all of the words in each document together into a two dictionaries of counts, then for each word in the unclassified document you want to look at the product of the probability of those words appearing in the spam corpus vs the non-spam corpus. That probability is n_word/total_words the corpus.

This is where you need to do some smoothing because if a word does not appear in the one of the corpora then you will get a probability of 0 for that class. Smoothing just adds 1 to the numerator and N_classes to the denominator. It is the equivalent of assuming a weakly informative uniform prior.

pokernaming · 6 years ago
> That probability is n_word/total_words the corpus.

In this case, wouldn't it actually be better to just drop the denominator, because it will be the same for both (spam & not spam).

u/pokernaming

KarmaCake day8August 5, 2019View Original