HNHacker News
TopNewBestAskShowJobs

strikingloo

316 karma · joined October 5, 2018

Computer Scientist and Software Developer. Into algorithms, Statistics and fun problems.
submissionscomments
strikingloo··on Why is every rationalist blog post way too long?
I love the rationalist blogosphere but agree with this 100%. I was actually having a very similar thought this morning (specifically about the book reviews in the ACX contest and how they seem to keep getting longer).
strikingloo··on How to Create a Spoiler Tag in HTML
Today I learned. Thanks!
strikingloo··on The Unreasonable Effectiveness of Inlining CSS
I like GA4, but never got around to removing google-analytics.com/analytics.js. You mean GA4 doesn't need that now to function and I've been loading it for nothing all this time? I'll look into removing that one.

And normally I set all images to loading='lazy', I just realized from your comment that for this post I hadn't. Great catch, and fixed it already.

Thanks for all the feedback!

strikingloo··on Show HN: Alpaca.cpp – Run an Instruction-Tuned Chat-Style LLM on a MacBook
Okay for what is worth, I was getting that as a warning but the ./chat executable works anyway. So give it a try if it is being compiled!
strikingloo··on Show HN: Alpaca.cpp – Run an Instruction-Tuned Chat-Style LLM on a MacBook
same problem, haven't found a solution. Please let me know if you do
strikingloo··on Show HN: Create a Skill Tree to Track Your Learning Progress
Update. Even though I didn't use the DOT syntax exactly, I added some syntactic improvements so that expressinga more complex dependency graph is easier. Now it allows for edges specified as {1,2,3} {4,5,6} (skills 4, 5 and 6 all depend on 1, 2 and 3), and the levels now can be expressed as 1 {skill 1, skill 2, skill 3}
strikingloo··on Show HN: Create a Skill Tree to Track Your Learning Progress
Oh, I had used a program that used the DOT syntax without knowing that was its name. GraphViz was its name I think, but I may be wrong.

Thank you!

strikingloo··on How life sciences work: Findings of a year-long investigation (2019)
After this, Guzey went on to work on the NGO [New Science](https://newscience.org/)
strikingloo··on Ask HN: Programming 101 online course recommendations?
Hi! If you want to learn programming, I'd recommend FreeCodeCamp, to learn the basics of Web Development. I found their course pretty great many years ago when I was getting started.

I hope you find it useful! Let me know if there's any other help I can give you.

strikingloo··on What Helped me be more Productive as a Software Developer
Hey everyone, I'd love it if you guys told me whether this article was useful to you, and what I should've added for it to be worth reading.

Thanks!

strikingloo··on Feature Visualization with Convolutional Neural Networks (in TensorFlow)
1_ I hadn't thought of that. To be honest, my main concern was generating the most aesthetically interesting pictures I could. However the "textures" you'd get from optimiing for the last layers would really be just repeating shapes, albeit maybe a bit smaller than you're seeing in my post. Kinda like zooming out.

2_ Oh ok, I get it now. But that's not what the program is doing. I don't generate a vector for the single layer I am maximizing, I generate an image and run the whole CNN from input to that layer, all through. Then I optimize for that layer's output.

Edit to add: As stated in the post, when I "maximize for a filter", the exact function I am maximizing is the average output for that filter over the whole image.

strikingloo··on Feature Visualization with Convolutional Neural Networks (in TensorFlow)
Hi, those are really good questions! I'll do my best.

1_ I started with a small one and then kept rescaling because the literature said convergence was faster and the results were "better" that way, but to be honest I didn't even try starting from a big image. I just kinda took their word for it.

For a (not too academic, but very well put) example, see this: https://towardsdatascience.com/how-to-visualize-convolutiona... If you start with a big image, you get whatever "shape" the filter is generating, many times, but kind of small. If you start with a small image and keep rescaling, you get less of the shapes, each of them bigger.

That makes for subjectively cooler visuals, and that's pretty much it.

2_ I'm not entirely sure I get this one. Don't the filters apply to the three (RGB) channels simultaneously? Or do you mean a filter actually refers to the transformation for a single channel rather than the one to a whole pixel? Other than that, with regards to the ease of visualization, it's actually kind of hard to display all of the filters in a visually interesting way that isn't just "Here's the 240 filter images I made with this layer", so I had to make a trade-off between 'here are some of the cooler images' and 'I want each layer I tried to be represented in this'. I'm still sort of new to presenting visual information of this kind, so if you have any advice on how to display more of the images, I'm all ears.

Have a nice weekend!

strikingloo··on Shell Productivity Tips and Tricks (tutorial for beginners)
Hi! I made the paragraph mentioning my previous article more prominent, do you think it's clearer now? Thanks for the feedback, this is one of the reasons why I like sharing my articles on HN.
strikingloo··on Shell Productivity Tips and Tricks (tutorial for beginners)
Hi! I'm the writer.

I figured git deserved an article on its own, rather than mentioning it in passing in a bash article.

About cp and rm, I actually wrote about more basic commands in the previous article, also linked there: http://www.datastuff.tech/programming/terminal-tutorial-more...

Though seeing your comment makes me think I could just combine both articles into a longer one.

Thanks for the feedback!

strikingloo··on LSTM: How to Train Neural Networks to Write Like Lovecraft
Thanks! I hadn't thought of doing Markov Chains since I was focusing on RNN/LSTMs, but I think I'll try that for the next article, see how that goes.
strikingloo··on LSTM: How to Train Neural Networks to Write Like Lovecraft
Hey guys, I'm the writer. As you can see from the post, I'm still very much learning.

What I want the most from this site is for more experienced people to help me out with some of my questions.

Here they come:

- Can you use Batch Normalization (the one from tf.keras) on an LSTM layer? Or will it break the model?

- How do you deal with extremely infrequent words if you do a word-based LSTM (with a one-hot encode of each word in the corpus?)? Do you remove them? Replace them? Cluster them?

- Do you think there's any other architecture that would've had better results -while still not taking too long to train-?

strikingloo··on Machine Learning Books That Helped Me Level Up
I agree! Personally, I'd advice anyone who starts reading these books to also practice everything they read on them, and maybe keep all of those projects on GitHub for potential employers to see them.
strikingloo··on Machine Learning Books That Helped Me Level Up
Bishop's looks like an awesome book, and it's on my reading list after many colleagues recommended it to me. I wouldn't have added it to the list though, because I haven't read it yet.
strikingloo··on K-Means Clustering: Unsupervised Learning Applied on Magic:The Gathering
Here you go! http://www.datastuff.tech/data-analysis/magic-the-gathering-...
strikingloo··on Results of Applying K-Means Clustering to Magic: The Gathering (Part 2)
So after the previous article, some people wanted to see what the results were. Here are some of the insights I could get. Let me know what you think!
strikingloo··on K-Means Clustering: Unsupervised Learning Applied on Magic:The Gathering
https://github.com/StrikingLoo/MtGRecommender/blob/master/mt... Here you go!
strikingloo··on K-Means Clustering: Unsupervised Learning Applied on Magic:The Gathering
Awesome! I'll work on that side of the article then, I'll probably have it ready by tomorrow!
strikingloo··on K-Means Clustering: Unsupervised Learning Applied on Magic:The Gathering
It's visible on the notebook, but I will add them to the article if more people insist. I'm still kinda new to writing, and wasn't sure if it would make the article better or worse. As a summary, I can tel you one of the clusters learned all about elves and green cards, there was a cluster that played Tron, and so on.
strikingloo··on How to Start Using Curl and Why: Hands-On Introduction
Awesome, so what are some things that are not on the help page you think would make this more useful?
strikingloo··on How to Start Using Curl and Why: Hands-On Introduction
Hi everyone! Please tell me what you think of this tutorial, and if you have any interesting tips or scripts I could've added to it. I'm still learning, so all feedback is extremely valuable.
strikingloo··on SIMD Intro:Comparing SIMD Assembly with C on a Trivially Concurrent Algorithm
Thanks! I'll definitely check that out.
strikingloo··on SIMD Intro:Comparing SIMD Assembly with C on a Trivially Concurrent Algorithm
Thank you very much! Nitpicky readers are the kind of readers I look forward to, since they're the ones that help me learn the most. That's why I thought this site would be a good place to post. That said, I learned those two things in class, but I see I didn't make them come accross at all. I'll see how to make that clearer.

Thanks for your reply!